]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Format mpsqrt.c
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4
5 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6
7 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8
9 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10
11 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12
132013-02-26 Roland McGrath <roland@hack.frob.com>
14
15 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16 [$(build-shared = yes].
17
182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19
20 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21 (__mul): Reduce iterations for calculating mantissa.
22
23 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24 MPTWO.
25 (__mpranred): Likewise.
26
27 [BZ #15160]
28 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30
312013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32
33 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34 Define __attribute__.
35
362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37
38 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39 unused.
40 * posix/regex_internal.h (__attribute): Remove.
41 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42 (re_string_context_at): Likewise.
43 (bitset_not): Use __attribute__ and mark function as possibly
44 unused.
45 (bitset_merge): Likewise.
46 (bitset_mask): Likewise.
47 (re_string_char_size_at): Likewise.
48 (re_string_wchar_at): Likewise.
49 (re_string_elem_size_at): Likewise.
50
512013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52
53 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54 code.
55 (cc32): Likewise.
56
57 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
58 (__acr): Likewise.
59 (__cpy): Likewise.
60 (norm): Likewise.
61 (denorm): Likewise.
62 (__dbl_mp): Likewise.
63 (add_magnitudes): Likewise.
64 (sub_magnitudes): Likewise.
65 (__mul): Likewise.
66 (__inv): Likewise.
67
68 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69 style.
70
71 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
72 style.
73
74 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
75 code.
76
77 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
78 up changes with default code.
79 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
80 Likewise.
81
822013-02-24 Allan McRae <allan@archlinux.org>
83
84 * manual/socket.texi (The Internet Namespace): Order menu items
85 to match that in the file.
86
87 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
88 node listing of the info page menu.
89
902013-02-21 Joseph Myers <joseph@codesourcery.com>
91
92 [BZ #13550]
93 * sysdeps/i386/bp-asm.h: Remove file.
94 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
95 (PARMS): Do not use macros from bp-asm.h.
96 (S1): Likewise.
97 (S2): Likewise.
98 (SIZE): Likewise.
99 (__mpn_add_n): Do not use BP_SYM
100 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
101 "bp-asm.h".
102 (PARMS): Do not use macros from bp-asm.h.
103 (S1): Likewise.
104 (SIZE): Likewise.
105 (__mpn_addmul_1): Do not use BP_SYM
106 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
107 "bp-asm.h".
108 (PARMS): Do not use macros from bp-asm.h.
109 (SIGMSK): Likewise.
110 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
117 "bp-asm.h".
118 (PARMS): Do not use macros from bp-asm.h.
119 (__frexp): Do not use BP_SYM.
120 (frexp): Likewise.
121 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
122 "bp-asm.h".
123 (PARMS): Do not use macros from bp-asm.h.
124 (__frexpf): Do not use BP_SYM.
125 (frexpf): Likewise.
126 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
127 "bp-asm.h".
128 (PARMS): Do not use macros from bp-asm.h.
129 (__frexpl): Do not use BP_SYM.
130 (frexpl): Likewise.
131 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
132 "bp-asm.h".
133 (PARMS): Do not use macros from bp-asm.h.
134 (__remquo): Do not use BP_SYM.
135 (remquo): Likewise.
136 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
137 "bp-asm.h".
138 (PARMS): Do not use macros from bp-asm.h.
139 (__remquof): Do not use BP_SYM.
140 (remquof): Likewise.
141 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
142 "bp-asm.h".
143 (PARMS): Do not use macros from bp-asm.h.
144 (__remquol): Do not use BP_SYM.
145 (remquol): Likewise.
146 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
147 "bp-asm.h".
148 (PARMS): Do not use macros from bp-asm.h.
149 (DEST): Likewise.
150 (SRC): Likewise.
151 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
152 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
153 "bp-asm.h".
154 (PARMS): Do not use macros from bp-asm.h.
155 (strlen): Do not use BP_SYM.
156 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
157 "bp-asm.h".
158 (PARMS): Do not use macros from bp-asm.h.
159 (S1): Likewise.
160 (S2): Likewise.
161 (SIZE): Likewise.
162 (__mpn_add_n): Do not use BP_SYM.
163 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
164 "bp-asm.h".
165 (PARMS): Do not use macros from bp-asm.h.
166 (S1): Likewise.
167 (SIZE): Likewise.
168 (__mpn_addmul_1): Do not use BP_SYM.
169 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
170 weak_alias.
171 (bzero): Likewise.
172 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
173 "bp-asm.h".
174 (PARMS): Do not use macros from bp-asm.h.
175 (S): Likewise.
176 (SIZE): Likewise.
177 (__mpn_lshift): Do not use BP_SYM.
178 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
179 "bp-asm.h".
180 (PARMS): Do not use macros from bp-asm.h.
181 (DEST): Likewise.
182 (SRC): Likewise.
183 (LEN): Likewise.
184 (memcpy): Likewise. Do not use BP_SYM.
185 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
186 libc_hidden_def and weak_alias.
187 (mempcpy): Do not use BP_SYM in weak_alias.
188 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
189 "bp-asm.h".
190 (PARMS): Do not use macros from bp-asm.h.
191 (DEST): Likewise.
192 (LEN): Likewise.
193 [!BZERO_P] (CHR): Likewise.
194 (memset): Likewise. Do not use BP_SYM.
195 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
196 "bp-asm.h".
197 (PARMS): Do not use macros from bp-asm.h.
198 (S1): Likewise.
199 (SIZE): Likewise.
200 (__mpn_mul_1): Do not use BP_SYM.
201 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
202 "bp-asm.h".
203 (PARMS): Do not use macros from bp-asm.h.
204 (S): Likewise.
205 (SIZE): Likewise.
206 (__mpn_rshift): Do not use BP_SYM.
207 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
208 "bp-asm.h".
209 (PARMS): Do not use macros from bp-asm.h.
210 (STR): Likewise.
211 (CHR): Likewise.
212 (strchr): Likewise. Do not use BP_SYM.
213 (index): Do not use BP_SYM in weak_alias.
214 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
215 "bp-asm.h".
216 (PARMS): Do not use macros from bp-asm.h.
217 (DEST): Likewise.
218 (SRC): Likewise.
219 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
220 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
221 "bp-asm.h".
222 (PARMS): Do not use macros from bp-asm.h.
223 (strlen): Do not use BP_SYM.
224 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
225 "bp-asm.h".
226 (PARMS): Do not use macros from bp-asm.h.
227 (S1): Likewise.
228 (S2): Likewise.
229 (SIZE): Likewise.
230 (__mpn_sub_n): Do not use BP_SYM.
231 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
232 "bp-asm.h".
233 (PARMS): Do not use macros from bp-asm.h.
234 (S1): Likewise.
235 (SIZE): Likewise.
236 (__mpn_submul_1): Do not use BP_SYM.
237 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
238 "bp-asm.h".
239 (PARMS): Do not use macros from bp-asm.h.
240 (S1): Likewise.
241 (S2): Likewise.
242 (SIZE): Likewise.
243 (__mpn_add_n): Do not use BP_SYM.
244 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
245 weak_alias.
246 (bzero): Likewise.
247 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
248 "bp-asm.h".
249 (PARMS): Do not use macros from bp-asm.h.
250 (BLK2): Likewise.
251 (LEN): Likewise.
252 (memcmp): Do not use BP_SYM.
253 (bcmp): Do not use BP_SYM in weak_alias.
254 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
255 "bp-asm.h".
256 (PARMS): Do not use macros from bp-asm.h.
257 (DEST): Likewise.
258 (SRC): Likewise.
259 (LEN): Likewise.
260 (memcpy): Likewise. Do not use BP_SYM.
261 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
262 "bp-asm.h".
263 (PARMS): Do not use macros from bp-asm.h.
264 (DEST): Likewise.
265 (SRC): Likewise.
266 (LEN): Likewise.
267 (memmove): Likewise. Do not use BP_SYM.
268 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
269 "bp-asm.h".
270 (PARMS): Do not use macros from bp-asm.h.
271 (DEST): Likewise.
272 (SRC): Likewise.
273 (LEN): Likewise.
274 (__mempcpy): Likewise. Do not use BP_SYM.
275 (mempcpy): Do not use BP_SYM in weak_alias.
276 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
277 "bp-asm.h".
278 (PARMS): Do not use macros from bp-asm.h.
279 (DEST): Likewise.
280 (LEN): Likewise.
281 [!BZERO_P] (CHR): Likewise.
282 (memset): Likewise. Do not use BP_SYM.
283 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
284 "bp-asm.h".
285 (PARMS): Do not use macros from bp-asm.h.
286 (STR2): Likewise.
287 (strcmp): Do not use BP_SYM.
288 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
289 "bp-asm.h".
290 (PARMS): Do not use macros from bp-asm.h.
291 (STR): Likewise.
292 (DELIM): Likewise.
293 [USE_AS_STRTOK_R] (SAVE): Likewise.
294 (FUNCTION): Likewise. Do not use BP_SYM.
295 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
296 aliases.
297 (strtok_r): Likewise.
298 (__GI___strtok_r): Likewise.
299 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
300 (PARMS): Do not use macros from bp-asm.h.
301 (S): Likewise.
302 (SIZE): Likewise.
303 (__mpn_lshift): Do not use BP_SYM.
304 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
305 (PARMS): Do not use macros from bp-asm.h.
306 (STR): Likewise.
307 (CHR): Likewise.
308 (__memchr): Do not use BP_SYM.
309 (memchr): Do not use BP_SYM in weak_alias.
310 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
311 (PARMS): Do not use macros from bp-asm.h.
312 (BLK2): Likewise.
313 (LEN): Likewise.
314 (memcmp): Do not use BP_SYM.
315 (bcmp): Do not use BP_SYM in weak_alias.
316 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
317 (PARMS): Do not use macros from bp-asm.h.
318 (S1): Likewise.
319 (SIZE): Likewise.
320 (__mpn_mul_1): Do not use BP_SYM.
321 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
322 "bp-asm.h".
323 (PARMS): Do not use macros from bp-asm.h.
324 (STR): Likewise.
325 (CHR): Likewise.
326 (__rawmemchr): Do not use BP_SYM.
327 (rawmemchr): Do not use BP_SYM in weak_alias.
328 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
329 (PARMS): Do not use macros from bp-asm.h.
330 (S): Likewise.
331 (SIZE): Likewise.
332 (__mpn_rshift): Do not use BP_SYM.
333 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
334 (PARMS): Do not use macros from bp-asm.h.
335 (SIGMSK): Likewise.
336 (__sigsetjmp): Likewise. Do not use BP_SYM.
337 * sysdeps/i386/start.S: Do not include "bp-sym.h".
338 (_start): Do not use BP_SYM.
339 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
340 (PARMS): Do not use macros from bp-asm.h.
341 (DEST): Likewise.
342 (SRC): Likewise.
343 (__stpcpy): Likewise. Do not use BP_SYM.
344 (stpcpy): Do not use BP_SYM in weak_alias.
345 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
346 "bp-asm.h".
347 (PARMS): Do not use macros from bp-asm.h.
348 (DEST): Likewise.
349 (SRC): Likewise.
350 (LEN): Likewise.
351 (__stpncpy): Likewise. Do not use BP_SYM.
352 (stpncpy): Do not use BP_SYM in weak_alias.
353 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
354 (PARMS): Do not use macros from bp-asm.h.
355 (STR): Likewise.
356 (CHR): Likewise.
357 (strchr): Likewise. Do not use BP_SYM.
358 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
359 "bp-asm.h".
360 (PARMS): Do not use macros from bp-asm.h.
361 (STR): Likewise.
362 (CHR): Likewise.
363 (__strchrnul): Likewise. Do not use BP_SYM.
364 (strchrnul): Do not use BP_SYM in weak_alias.
365 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
366 "bp-asm.h".
367 (PARMS): Do not use macros from bp-asm.h.
368 (STOP): Likewise.
369 (strcspn): Do not use BP_SYM.
370 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
371 "bp-asm.h".
372 (PARMS): Do not use macros from bp-asm.h.
373 (STR): Likewise.
374 (STOP): Likewise.
375 (strpbrk): Likewise. Do not use BP_SYM.
376 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
377 "bp-asm.h".
378 (PARMS): Do not use macros from bp-asm.h.
379 (STR): Likewise.
380 (CHR): Likewise.
381 (strrchr): Likewise. Do not use BP_SYM.
382 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
383 (PARMS): Do not use macros from bp-asm.h.
384 (SKIP): Likewise.
385 (strspn): Do not use BP_SYM.
386 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
387 (PARMS): Do not use macros from bp-asm.h.
388 (STR): Likewise.
389 (DELIM): Likewise.
390 (SAVE): Likewise.
391 (FUNCTION): Likewise. Do not use BP_SYM.
392 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
393 aliases.
394 (strtok_r): Likewise.
395 (__GI___strtok_r): Likewise.
396 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
397 (PARMS): Do not use macros from bp-asm.h.
398 (S1): Likewise.
399 (S2): Likewise.
400 (SIZE): Likewise.
401 (__mpn_sub_n): Do not use BP_SYM.
402 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
403 "bp-asm.h".
404 (PARMS): Do not use macros from bp-asm.h.
405 (S1): Likewise.
406 (SIZE): Likewise.
407 (__mpn_submul_1): Do not use BP_SYM.
408 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
409 <bp-sym.h>.
410 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
411 and <bp-asm.h>.
412 (PARMS): Do not use macros from bp-asm.h.
413 (FLAGS): Likewise.
414 (PTID): Likewise.
415 (TLS): Likewise.
416 (CTID): Likewise.
417 (__clone): Do not use BP_SYM.
418 (clone): Do not use BP_SYM in weak_alias.
419 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
420 and <bp-asm.h>.
421 (PARMS): Do not use macros from bp-asm.h.
422 (LEN): Likewise.
423 (__mmap64): Do not use BP_SYM.
424 (mmap64): Do not use BP_SYM in weak_alias.
425 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
426 <bp-sym.h> and <bp-asm.h>.
427 (PARMS): Do not use macros from bp-asm.h.
428 (__posix_fadvise64_l64): Do not use BP_SYM.
429 * sysdeps/unix/sysv/linux/i386/semtimedop.S
430 (PARMS): Do not use macros from bp-asm.h.
431 (NSOPS): Likewise.
432 (semtimedop): Do not use BP_SYM.
433 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
434 and <bp-asm.h>.
435
4362013-02-21 Allan McRae <allan@archlinux.org>
437
438 * manual/message.texi (Charset conversion in gettext):
439 Move @end statement to beginning of line.
440
4412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
442
443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
444 static.
445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
446 Likewise.
447
448 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
449 (denorm): Likewise.
450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
452
4532013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
454
455 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
456 tail-call to the resolved function if pltexit isn't needed.
457
4582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
459
460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
461 or Y being zero as being unlikely.
462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
463 Likewise.
464
4652013-02-20 Carlos O'Donell <carlos@redhat.com>
466
467 * manual/nss.texi (System Databases and Name Service Switch):
468 Remove frobnicate @pxref.
469
4702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
471
472 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
473 __attribute__ ((unused)) to __attribute__ ((__unused__)).
474
4752013-02-20 Petr Machata <pmachata@redhat.com>
476
477 * elf/elf.h (R_ARM_TARGET1): New macro.
478 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
479 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
480 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
481 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
482 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
483 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
484 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
485 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
486 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
487 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
488 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
489 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
490 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
491 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
492 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
493 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
494 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
495 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
496 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
497 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
498 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
499 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
500 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
501 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
502 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
503 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
504 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
505 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
506 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
507 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
508 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
509 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
510 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
511 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
512 (R_ARM_THM_GOT_BREL12): Likewise.
513 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
514 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
515 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
516 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
517 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
518 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
519 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
520 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
521 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
522
5232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
524
525 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
526 __attribute_used__ to __attribute__ ((unused)).
527
5282013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
529
530 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
531 powerpc mpa.c.
532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
533 comment formatting.
534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
535
5362013-02-19 Joseph Myers <joseph@codesourcery.com>
537
538 [BZ #13550]
539 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
540 Remove macro.
541 (ENTER): Remove both macro definitions.
542 (LEAVE): Likewise.
543 (CHECK_BOUNDS_LOW): Likewise.
544 (CHECK_BOUNDS_HIGH): Likewise.
545 (CHECK_BOUNDS_BOTH): Likewise.
546 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
547 (RETURN_BOUNDED_POINTER): Likewise.
548 (RETURN_NULL_BOUNDED_POINTER): Likewise.
549 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
550 (POP_ERRNO_LOCATION_RETURN): Likewise.
551 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
552 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
553 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
554 macros.
555 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
556 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
557 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
558 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
559 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
560 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
561 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
562 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
563 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
564 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
565 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
566 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
567 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
568 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
569 removed macros.
570 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
571 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
572 macros.
573 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
574 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
575 * sysdeps/i386/i586/memset.S (memset): Likewise.
576 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
577 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
578 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
579 macros.
580 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
581 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
582 Change uses of L(2) to L(out).
583 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
584 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
585 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
586 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
587 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
588 removed macros.
589 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
590 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
591 macros.
592 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
593 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
594 (RETURN): Do not use macro LEAVE.
595 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
596 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
597 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
598 * sysdeps/i386/i686/memset.S (memset): Likewise.
599 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
600 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
601 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
602 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
603 Likewise.
604 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
605 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
606 L(1_2) and L(1_3) into L(1).
607 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
608 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
609 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
610 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
611 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
612 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
613 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
614 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
615 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
616 macros.
617 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
618 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
619 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
620 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
621 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
622 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
623 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
624 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
625 * sysdeps/i386/strcspn.S (strcspn): Likewise.
626 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
627 * sysdeps/i386/strrchr.S (strrchr): Likewise.
628 * sysdeps/i386/strspn.S (strspn): Likewise.
629 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
630 conditional code.
631 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
632 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
633 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
634 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
635 L(1_3) into L(1_1).
636 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
637 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
638 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
639 macros.
640 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
641
6422013-02-19 Jakub Jelinek <jakub@redhat.com>
643
644 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
645 macro.
646
6472013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
648
649 * math/atest-exp.c (exp_mpn): Remove ROUND.
650 * math/atest-exp2.c (exp_mpn): Likewise.
651 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
652
653 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
654 * stdlib/tst-tls-atexit-lib.c: Likewise.
655 * stdlib/tst-tls-atexit.c: Likewise.
656
6572013-02-18 Mike Frysinger <vapier@gentoo.org>
658
659 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
660 and __attribute_alloc_size__.
661
6622013-02-18 Mike Frysinger <vapier@gentoo.org>
663
664 * include/programs/xmalloc.h: Change __attribute_alloc_size to
665 __attribute_alloc_size__.
666 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
667 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
668
6692013-02-18 Mike Frysinger <vapier@gentoo.org>
670
671 * include/programs/xmalloc.h: New file.
672 * catgets/gencat.c: Include it.
673 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
674 * elf/pldd.c: Likewise.
675 * iconv/iconv_charmap.c: Likewise.
676 * iconv/iconvconfig.c: Likewise.
677 * iconv/strtab.c: Likewise.
678 * locale/programs/locale.c: Likewise.
679 * locale/programs/localedef.h: Likewise.
680 * locale/programs/simple-hash.c: Likewise.
681 * nscd/nscd.h: Likewise.
682 * nss/makedb.c: Likewise.
683 * sysdeps/generic/ldconfig.h: Likewise.
684
6852013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
686
687 * Versions.def: Add GLIBC_2.18.
688 * include/link.h (struct link_map): New member l_tls_dtor_count.
689 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
690 (__call_tls_dtors): Likewise.
691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
692 __cxa_thread_atexit_impl.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
694 Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
696 Likewise.
697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
698 Likewise.
699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
700 Likewise.
701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
703 Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
705 Likewise.
706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
708 Likewise.
709 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
710 (tests): Add test case tst-tls-atexit.
711 (modules-names): Add shared library for tst-tls-atexit.
712 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
713 (GLIBC_PRIVATE): Add __call_tls_dtors.
714 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
715 for libstdc++.
716 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
717 * stdlib/tst-tls-atexit.c: New test case.
718 * stdlib/tst-tls-atexit-lib.c: New test case.
719
720 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
721
722 * elf/Versions (ld): Add _dl_find_dso_for_object.
723 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
724 * elf/dl-open.c (_dl_find_dso_for_object): New function.
725 (dl_open_worker): Use _dl_find_dso_for_object.
726 * elf/dl-sym.c (do_sym): Likewise.
727 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
728
7292013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
730
731 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
732 Syntactic changes only.
733 (_dl_runtime_profile): Do a tail-call to the resolved function.
734
7352013-02-17 Joseph Myers <joseph@codesourcery.com>
736
737 [BZ #13550]
738 * sysdeps/x86_64/bp-asm.h: Remove file.
739 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
740 <bp-sym.h> and <bp-asm.h>.
741 (__clone): Do not use BP_SYM.
742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
743 <bp-sym.h> and <bp-asm.h>.
744 * sysdeps/unix/x86_64/sysdep.S: Likewise.
745 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
746 "bp-asm.h".
747 (_setjmp): Do not use BP_SYM.
748 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
749 "bp-asm.h".
750 (setjmp): Do not use BP_SYM.
751 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
752 libc_hidden_def.
753 (mempcpy): Do not use BP_SYM in weak_alias.
754 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
755 "bp-asm.h".
756 (strchr): Do not use BP_SYM.
757 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
758 "bp-asm.h".
759 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
760 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
761 (_start): Do not use BP_SYM.
762 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
763 "bp-asm.h".
764 (strcat): Do not use BP_SYM.
765 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
766 "bp-asm.h".
767 (STRCMP): Do not use BP_SYM.
768 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
769 "bp-asm.h".
770 (STRCPY): Do not use BP_SYM.
771 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
772 "bp-asm.h".
773 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
774 "bp-asm.h".
775 (FUNCTION): Do not use BP_SYM.
776 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
777 weak_alias.
778 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
779
7802013-02-17 Andreas Jaeger <aj@suse.de>
781
782 * time/Versions: Sort entries.
783 * string/Versions: Likewise.
784 * resolv/Versions: Likewise.
785 * posix/Versions: Likewise.
786 * iconv/Versions: Likewise.
787 * elf/Versions: Likewise.
788 * wcsmbs/Versions: Likewise.
789
7902013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
791
792 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
793 loop termination condition.
794
795 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
796 variable to calculate EZ.
797 (__sqr): Likewise.
798
799 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
800 the lower precision input.
801
8022013-02-15 Joseph Myers <joseph@codesourcery.com>
803
804 [BZ #13550]
805 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
806 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
807 (run-via-rtld-prefix): Do not handle %-bp tests.
808 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
809 (all-object-suffixes): Remove .ob.
810 (bppfx): Remove variable.
811 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
812 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
813 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
814 [$(build-bounded) = yes] (libtype.ob): Likewise.
815 * Makerules (elide-routines.ob): Remove variable.
816 (do-tests-clean): Do not handle *-bp.out.
817 (common-mostlyclean): Do not handle *-bp and *-bp.out.
818 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
819 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
820 (tests): Do not include $(tests-bp.out).
821 (xtests): Do not include $(xtests-bp.out).
822 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
823 [$(build-bounded) = yes] ($(addprefix
824 $(objpfx),$(binaries-bounded))): Remove rule.
825 ($(objpfx)%-bp.out): Remove rule.
826 * config.make.in (build-bounded): Remove variable.
827 * crypt/Makefile [$(build-bounded) = yes]
828 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
829 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
830 append to variable.
831 [$(build-bounded) = yes] (install-lib): Likewise.
832 [$(build-bounded) = yes] (generated): Likewise.
833 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
834 Remove rule.
835 * intl/Makefile [$(build-bounded) = yes]
836 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
837 * math/Makefile [$(build-bounded) = yes]
838 ($(tests:%=$(objpfx)%-bp): Likewise.
839 * misc/Makefile [$(build-bounded) = yes]
840 ($(objpfx)tst-tsearch-bp): Likewise.
841 * nptl/Makeconfig (bounded-thread-library): Remove variable.
842 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
843 Remove dependency.
844 * string/Makefile (o-objects.ob): Remove variable.
845 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
846 (CFLAGS-.ob): Remove variable.
847 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
848 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
849 both definitions of variable.
850 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
851 (ASFLAGS-.ob): Remove variable.
852
8532013-02-14 Joseph Myers <joseph@codesourcery.com>
854
855 [BZ #13550]
856 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
857 Remove __BOUNDED_POINTERS__ from condition.
858 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
859 * string/bits/string2.h [!__NO_STRING_INLINES &&
860 !__BOUNDED_POINTERS__]: Likewise.
861 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
862 Likewise.
863 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
864 Remove conditional code.
865 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
866 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
867 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
868 condition.
869
870 [BZ #13550]
871 * csu/libc-start.c: Do not include <bp-sym.h>.
872 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
873 * elf/dl-open.c: Do not include <bp-sym.h>.
874 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
875 * math/fegetenv.c: Do not include <bp-sym.h>.
876 (fegetenv): Do not use BP_SYM in versioned symbols.
877 * nptl/sysdeps/pthread/bits/libc-lockP.h
878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
879 <bp-sym.h>.
880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
881 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
883 (__pthread_mutex_destroy): Likewise.
884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
885 (__pthread_mutex_lock): Likewise.
886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
887 (__pthread_mutex_trylock): Likewise.
888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
889 (__pthread_mutex_unlock): Likewise.
890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
891 (__pthread_mutexattr_init): Likewise.
892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
893 (__pthread_mutexattr_destroy): Likewise.
894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
895 (__pthread_mutexattr_settype): Likewise.
896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
897 (__pthread_rwlock_init): Likewise.
898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
899 (__pthread_rwlock_destroy): Likewise.
900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
901 (__pthread_rwlock_rdlock): Likewise.
902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
903 (__pthread_rwlock_tryrdlock): Likewise.
904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
905 (__pthread_rwlock_wrlock): Likewise.
906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
907 (__pthread_rwlock_trywrlock): Likewise.
908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
909 (__pthread_rwlock_unlock): Likewise.
910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
911 (__pthread_key_create): Likewise.
912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
913 (__pthread_setspecific): Likewise.
914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
915 (__pthread_getspecific): Likewise.
916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
917 Likewise.
918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
919 (_pthread_cleanup_push_defer): Likewise.
920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
921 (_pthread_cleanup_pop_restore): Likewise.
922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
923 (pthread_setcancelstate): Likewise.
924 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
925 <bp-sym.h>.
926 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
927 (memchr): Do not use BP_SYM in weak_alias.
928 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
929 (fegetenv): Do not use BP_SYM in versioned symbols.
930 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
931 (fesetenv): Do not use BP_SYM in versioned symbols.
932 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
933 (feupdateenv): Do not use BP_SYM in versioned symbols.
934 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
935 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
936 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
937 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
938 (open64): Do not use BP_SYM in weak_alias.
939 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
940 (fegetenv): Do not use BP_SYM in versioned symbols.
941 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
942 (fesetenv): Do not use BP_SYM in versioned symbols.
943 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
944 (feupdateenv): Do not use BP_SYM in versioned symbols.
945 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
946 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
947 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
948 (feraiseexcept): Do not use BP_SYM in versioned symbols.
949 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
950 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
951 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
952 <bp-sym.h>.
953 (__libc_start_main): Do not use BP_SYM.
954
9552013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
956
957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
958 redundant return line.
959 (norm): Likewise.
960 (denorm): Likewise.
961 (dbl_mp): Likewise.
962 (sub_magnitudes): Likewise.
963 (__add): Likewise.
964 (__sub): Likewise.
965 (__mul): Likewise.
966 (__inv): Likewise.
967 (__dvd): Likewise.
968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
969 (norm): Likewise.
970 (denorm): Likewise.
971 (dbl_mp): Likewise.
972 (sub_magnitudes): Likewise.
973 (__add): Likewise.
974 (__sub): Likewise.
975 (__mul): Likewise.
976 (__inv): Likewise.
977 (__dvd): Likewise.
978
979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
980 instead of __mul.
981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
982 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
983 (cc32): Likewise.
984
985 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
986 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
988 of __mul for squares.
989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
990 function
991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
992 Likewise.
993 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
994 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
995
9962013-02-13 Joseph Myers <joseph@codesourcery.com>
997
998 [BZ #13550]
999 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1000 code.
1001 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1002 prototype or function definition. Rename ubp_* variables and
1003 parameters. Remove argv definitions conditional on
1004 [__BOUNDED_POINTERS__].
1005 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1006 * elf/dl-runtime.c (_dl_fixup): Likewise.
1007 * include/set-hooks.h (RUN_HOOK): Likewise.
1008 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1009 definition.
1010 * string/strcpy.c (strcpy): Do not use __unbounded.
1011 * sysdeps/generic/frame.h (struct layout): Likewise.
1012 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1013 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1014 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1015 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1016 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1017 (__backtrace): Likewise.
1018 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1019 use __ptrvalue.
1020 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1021 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1022 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1023 Likewise.
1024 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1025 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1026 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1027 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1028 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1029 Do not use __unbounded.
1030 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1031 Rename __unboundedrlimits parameter to rlimits in prototype.
1032 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1033 Do not use __unbounded.
1034 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1035 not use __ptrvalue.
1036 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1037 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1038 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1039 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1040 __ptrvalue or __unbounded.
1041 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1042 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1043 use __unbounded.
1044 (__new_msgctl): Do not use __ptrvalue.
1045 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1046 __unbounded.
1047 (__libc_msgrcv): Do not use __ptrvalue.
1048 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1049 startup_info): Do not use __unbounded.
1050 (__libc_start_main): Likewise. Rename ubp_* variables and
1051 parameters. Remove argv definitions conditional on
1052 [__BOUNDED_POINTERS__].
1053 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1054 __ptrvalue.
1055 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1056 use __unbounded.
1057 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1058 or __ptrvalue.
1059 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1060 use __unbounded.
1061 (__new_shmctl): Do not use __ptrvalue.
1062 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1063 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1064 Likewise.
1065 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1067 (__libc_sigaction): Likewise.
1068 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1069 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1070 Likewise.
1071 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1072
10732013-02-13 Ondřej Bílka <neleai@seznam.cz>
1074
1075 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1076
1077 * string/mempcpy.c: Implement by calling memcpy.
1078
10792013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1080
1081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1082
1083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1084 evaluation.
1085
1086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1087 values in the mantissa.
1088
1089 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1090 minimize writes to Z.
1091 (sub_magnitudes): Simplify code a bit.
1092
10932013-02-12 Roland McGrath <roland@hack.frob.com>
1094
1095 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1096 from the message. The linker prefixes all warnings with that already.
1097
10982013-02-12 Andreas Schwab <schwab@suse.de>
1099
1100 [BZ #15078]
1101 * posix/regexec.c (extend_buffers): Add parameter min_len.
1102 (check_matching): Pass minimum needed length.
1103 (clean_state_log_if_needed): Likewise.
1104 (get_subexp): Likewise.
1105 * posix/Makefile (tests): Add bug-regex34.
1106 (bug-regex34-ENV): Define.
1107 * posix/bug-regex34.c: New file.
1108
1109 [BZ #11561]
1110 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1111 elements compare against the byte sequence of it, not its name.
1112 * posix/Makefile (tests): Add bug-regex35.
1113 (bug-regex35-ENV): Define.
1114 * posix/bug-regex35.c: New file.
1115
11162013-02-11 Tom de Vries <tom@codesourcery.com>
1117
1118 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1119 comment.
1120 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1121 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1122 (CHECK_EOL): Add undef.
1123
11242013-02-11 Ondřej Bílka <neleai@seznam.cz>
1125
1126 * bits/stdlib-bsearch.h: New file.
1127 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1128 * stdlib/stdlib.h: Likewise.
1129
11302013-02-11 Roland McGrath <roland@hack.frob.com>
1131
1132 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1133 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1134 declaration.
1135 * manual/search.texi (Array Search Function): Add missing const in
1136 lfind prototype.
1137 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1138 declaration to use rlim_t.
1139 (Basic Scheduling Functions): Remove erroneous const from
1140 sched_getparam prototype. Remove erroneous * from
1141 sched_get_priority_max and sched_get_priority_min prototypes.
1142 (Resource Usage): Fix summary @comment on vtimes to refer to
1143 sys/vtimes.h rather than vtimes.h.
1144 Add missing *s in vtimes prototype.
1145 (Limits on Resources): Fix ulimit prototype to return long int.
1146 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1147 prototypes to use long int rather than double.
1148 (BSD Random): Fix initstate and setstate to use char *, not void *.
1149 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1150 prototype to make second argument 'struct aiocb64 *const[]'.
1151 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1152 (Status of AIO Operations): Remove erroneous const in aio_return and
1153 aio_return64 prototypes.
1154 (Synchronizing I/O): Fix sync prototype to return void.
1155 * manual/startup.texi (Suboptions): Remove an erroneous const in
1156 getsubopt prototype.
1157 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1158 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1159 use size_t rather than int.
1160 (Scanning All Users): Likewise for getpwent_r.
1161 (Setting Groups): Add missing const to setgroups prototype.
1162 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1163 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1164 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1165 'const void *' rather than 'const char *'.
1166 (Host Address Functions): Likewise for inet_ntop.
1167 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1168 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1169 ssize_t for return value.
1170 (Sending Data): Likewise for send, sendto, sendmsg.
1171 (Socket Option Functions): Add a missing const in setsockopt prototype.
1172 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1173 use wchar_t for the argument.
1174 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1175 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1176 take no arguments.
1177 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1178 double/float/long double for second argument.
1179 Fix return types of significand, significandf, significandl.
1180 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1181 argument in fchmod prototype.
1182 (File Owner): Use uid_t and gid_t in fchown prototype.
1183 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1184 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1185 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1186 use 'const struct dirent **' as argument types to CMP function pointer
1187 argument.
1188 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1189 (File Times): Fix summary magic @comment for struct utimbuf and utime
1190 to refer to utime.h, not time.h.
1191 * manual/string.texi (Argz Functions): Add missing const in
1192 argz_extract and argz_next prototypes.
1193 (Finding Tokens in a String): Likewise for basename.
1194 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1195 (Copying and Concatenation): Fix typo in wmemmove prototype.
1196 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1197 (Signal Stack): Remove erroneous const in sigstack prototype.
1198 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1199 prototype.
1200 (Simple Calendar Time): Likewise for stime.
1201 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1202 prototype.
1203 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1204 say sys/sysctl.h instead.
1205 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1206 and vsyslog prototypes.
1207
12082013-02-11 Tom de Vries <tom@codesourcery.com>
1209
1210 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1211 Remove.
1212
12132013-02-11 Roland McGrath <roland@hack.frob.com>
1214
1215 * misc/sys/mman.h: Fix typo in mremap comment.
1216
12172013-02-08 Roland McGrath <roland@hack.frob.com>
1218
1219 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1220 the '\0' terminator.
1221
12222013-02-08 Joseph Myers <joseph@codesourcery.com>
1223
1224 [BZ #13550]
1225 * debug/segfault.c: Don't include <bp-checks.h>.
1226 * sysdeps/generic/bp-checks.h: Remove file.
1227 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1228 (__GETDENTS): Don't use CHECK_N.
1229 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1230 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1231 (__getgroups): Don't use CHECK_N.
1232 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1233 (setgroups): Don't use CHECK_N.
1234 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1235 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1236 (__libc_msgrcv): Don't use CHECK_N.
1237 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1238 (__libc_msgsnd): Don't use CHECK_N.
1239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1240 <bp-checks.h>.
1241 (__libc_pread): Don't use CHECK_N.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1243 include <bp-checks.h>.
1244 (__libc_pread64): Don't use CHECK_N.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1246 include <bp-checks.h>.
1247 (__libc_pwrite): Don't use CHECK_N.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1249 include <bp-checks.h>.
1250 (__libc_pwrite64): Don't use CHECK_N.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1252 <bp-checks.h>.
1253 (__libc_pread): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1255 include <bp-checks.h>.
1256 (__libc_pread64): Don't use CHECK_N.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1258 include <bp-checks.h>.
1259 (__libc_pwrite): Don't use CHECK_N.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1261 include <bp-checks.h>.
1262 (__libc_pwrite64): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1264 (do_pread): Don't use CHECK_N.
1265 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1266 (do_pread64): Don't use CHECK_N.
1267 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1268 (do_pwrite): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1270 (do_pwrite64): Don't use CHECK_N.
1271 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1272 (__libc_readv): Don't use CHECK_N.
1273 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1274 (semop): Don't use CHECK_N.
1275 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1276 <bp-checks.h>.
1277 (semtimedop): Don't use CHECK_N.
1278 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1279 (__libc_pread): Don't use CHECK_N.
1280 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1281 <bp-checks.h>.
1282 (__libc_pread64): Don't use CHECK_N.
1283 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1284 <bp-checks.h>.
1285 (__libc_pwrite): Don't use CHECK_N.
1286 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1287 <bp-checks.h>.
1288 (__libc_pwrite64): Don't use CHECK_N.
1289 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1290 <bp-checks.h>.
1291 (__libc_msgrcv): Don't use CHECK_N.
1292 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1293 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1294 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1295 (__libc_writev): Don't use CHECK_N.
1296
12972013-02-08 Roland McGrath <roland@hack.frob.com>
1298
1299 * string/strcpy.c: Removed unused variable.
1300
1301 * Makeconfig (+sysdep-includes): Define with := rather than =.
1302 Use an existing include/ subdir of each sysdeps dir before it.
1303
13042013-02-08 Carlos O'Donell <carlos@redhat.com>
1305
1306 * nscd/connection.c (register_traced_file): Comment function.
1307 [HAVE_INOTIFY] (union __inev): Define.
1308 [HAVE_INOTIFY] (inotify_check_files): New function.
1309 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1310 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1311 clear_db_cache.
1312 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1313
13142013-02-08 Carlos O'Donell <carlos@redhat.com>
1315
1316 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1317 loaded if not already and that a failure is permanent.
1318
13192013-02-08 Carlos O'Donell <carlos@redhat.com>
1320
1321 [BZ #15006]
1322 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1323 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1324
13252013-02-08 Joseph Myers <joseph@codesourcery.com>
1326
1327 [BZ #13550]
1328 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1329 (CHECK_1_NULL_OK): Likewise.
1330 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1331 (__fxstat): Do not use CHECK_1.
1332 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1333 <bp-checks.h>.
1334 (___fxstat64): Do not use CHECK_1.
1335 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1336 <bp-checks.h>.
1337 (__fxstatat): Do not use CHECK_1.
1338 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1339 <bp-checks.h>.
1340 (__fxstatat64): Do not use CHECK_1.
1341 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1342 <bp-checks.h>.
1343 (__fxstat): Do not use CHECK_1.
1344 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1345 <bp-checks.h>.
1346 (__fxstatat): Do not use CHECK_1.
1347 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1348 <bp-checks.h>.
1349 (__getresgid): Do not use CHECK_1.
1350 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1351 <bp-checks.h>.
1352 (__getresuid): Do not use CHECK_1.
1353 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1354 <bp-checks.h>.
1355 (__lxstat): Do not use CHECK_1.
1356 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1357 <bp-checks.h>.
1358 (__old_msgctl): Do not use CHECK_1.
1359 (__new_msgctl): Likewise.
1360 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1361 <bp-checks.h>.
1362 (__new_setrlimit): Do not use CHECK_1.
1363 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1364 <bp-checks.h>.
1365 (__old_shmctl): Do not use CHECK_1.
1366 (__new_shmctl): Likewise.
1367 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1368 <bp-checks.h>.
1369 (__xstat): Do not use CHECK_1.
1370 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1371 (__lxstat): Do not use CHECK_1.
1372 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1373 <bp-checks.h>.
1374 (___lxstat64): Do not use CHECK_1.
1375 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1376 (__old_msgctl): Do not use CHECK_1.
1377 (__new_msgctl): Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1379 <bp-checks.h>.
1380 (__gettimeofday): Do not use CHECK_1.
1381 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1382 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1383 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1384 <bp-checks.h>.
1385 (__gettimeofday): Do not use CHECK_1.
1386 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1387 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1388 (__new_shmctl): Do not use CHECK_1.
1389 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1390 <bp-checks.h>.
1391 (do_sigtimedwait): Do not use CHECK_1.
1392 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1393 <bp-checks.h>.
1394 (do_sigwaitinfo): Do not use CHECK_1.
1395 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1396 <bp-checks.h>.
1397 (msgctl): Do not use CHECK_1.
1398 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1399 <bp-checks.h>.
1400 (shmctl): Do not use CHECK_1.
1401 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1402 (ustat): Do not use CHECK_1.
1403 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1404 <bp-checks.h>.
1405 (__fxstat): Do not use CHECK_1.
1406 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1407 <bp-checks.h>.
1408 (__fxstatat): Do not use CHECK_1.
1409 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1410 <bp-checks.h>.
1411 (__lxstat): Do not use CHECK_1.
1412 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1413 <bp-checks.h>.
1414 (__xstat): Do not use CHECK_1.
1415 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1416 (__xstat): Do not use CHECK_1.
1417 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1418 (___xstat64): Do not use CHECK_1.
1419
1420 [BZ #13550]
1421 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1422 definitions.
1423 (CHECK_BOUNDS_HIGH): Likewise.
1424 * string/strcpy.c: Do not include <bp-checks.h>.
1425 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1426
14272013-02-07 Roland McGrath <roland@hack.frob.com>
1428
1429 * nscd/nscd-client.h (__nscd_drop_map_ref):
1430 Add __attribute__ ((unused)).
1431 * nis/nss-nisplus.h (niserr2nss): Likewise.
1432
1433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1434 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1435
1436 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1437 Remove inline keyword.
1438 * include/rounding-mode.h (round_away): Likewise.
1439 * libio/wfileops.c (adjust_wide_data): Likewise.
1440 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1441 (__m128i_strloadu_tolower): Likewise.
1442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1443 (__m128i_strloadu_tolower): Likewise.
1444 * time/mktime.c (ydhms_diff): Likewise.
1445 * locale/elem-hash.h (elem_hash): Likewise.
1446 * locale/setlocale.c (setdata): Likewise.
1447 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1448 (re_string_wchar_at): Likewise.
1449 (bitset_not, bitset_merge, bitset_mask): Likewise.
1450 [!(__GNUC__ > 3)] (inline): Remove macro.
1451 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1452 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1453 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1454 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1455 * string/memcmp.c (memcmp_bytes): Likewise.
1456 * locale/programs/locarchive.c (compute_hashval): Likewise.
1457 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1458 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1459 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1460 * nss/getent.c (print_rpc, print_protocols): Likewise.
1461 (print_passwd, print_group, print_aliases): Likewise.
1462 * nis/nss-nisplus.h (niserr2nss): Likewise.
1463 * nscd/connections.c (restart_p): Likewise.
1464 Change return type to bool.
1465
14662013-02-05 Roland McGrath <roland@hack.frob.com>
1467
1468 * Makeconfig (all-Depend-files): Add existing
1469 $(sorted-subdirs:=/Depend) files.
1470 (all-subdirs): Remove nss.
1471 * sysdeps/unix/inet/Subdirs: Add it here instead.
1472 * hesiod/Depend: New file.
1473
1474 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1475 instead of calling alloca.
1476
1477 * io/lseek.c (__lseek): Rename to __libc_lseek.
1478 Define __lseek as an alias.
1479
1480 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1481
14822013-02-04 Carlos O'Donell <carlos@redhat.com>
1483
1484 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1485 else clause and remove check for non-standard endianness.
1486
14872013-02-04 David S. Miller <davem@davemloft.net>
1488
1489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1490
14912013-02-04 Joseph Myers <joseph@codesourcery.com>
1492
1493 [BZ #13550]
1494 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1495 (__ubp_memchr): Remove prototype.
1496 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1497 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1498 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1499 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1500 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1501 Remove alias.
1502 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1503 (__ubp_memchr): Likewise.
1504 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1505 (__ubp_memchr): Likewise.
1506 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1507 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1508 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1509 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1510 CHECK_STRING.
1511 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1512 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1513 (__getcwd): Do not use CHECK_STRING.
1514 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1515 <bp-checks.h>.
1516 (__real_chown): Do not use CHECK_STRING.
1517 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1518 <bp-checks.h>.
1519 (fchownat): Do not use CHECK_STRING.
1520 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1521 CHECK_STRING.
1522 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1523 <bp-checks.h>.
1524 (__lchown): Do not use CHECK_STRING.
1525 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1526 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1527 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1528 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1530 include <bp-checks.h>.
1531 (truncate64): Do not use CHECK_STRING.
1532 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1533 <bp-checks.h>.
1534 (__real_chown): Do not use CHECK_STRING.
1535 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1536 <bp-checks.h>.
1537 (__lchown): Do not use CHECK_STRING.
1538 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1539 <bp-checks.h>.
1540 (__chown): Do not use CHECK_STRING.
1541 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1542 <bp-checks.h>.
1543 (truncate64): Do not use CHECK_STRING.
1544 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1545 Likewise.
1546 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1547 (__xmknod): Do not use CHECK_STRING.
1548 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1549 <bp-checks.h>.
1550 (__xmknodat): Do not use CHECK_STRING.
1551 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1552 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1553
15542013-02-04 Andreas Schwab <schwab@suse.de>
1555
1556 [BZ #14142]
1557 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1558 * include/netdb.h: Likewise for h_errno.
1559 * elf/tst-stackguard1.c: Include <tls.h>.
1560
15612013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1562
1563 * elf/link.h (struct link_map): Extend the l_addr comment.
1564 * include/link.h (struct link_map): Likewise.
1565
15662013-02-01 Joseph Myers <joseph@codesourcery.com>
1567
1568 [BZ #13550]
1569 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1570 (BOUNDED_1): Remove macro.
1571 * debug/backtrace.c: Don't include <bp-checks.h>.
1572 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1573 (__backtrace): Likewise.
1574 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1575 <bp-checks.h>.
1576 (__backtrace): Don't use BOUNDED_1.
1577 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1578 <bp-checks.h>.
1579 (__backtrace): Don't use BOUNDED_1.
1580 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1581 (__backtrace): Don't use BOUNDED_1.
1582 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1583 (shmat): Don't use BOUNDED_N.
1584
15852013-01-31 Joseph Myers <joseph@codesourcery.com>
1586
1587 [BZ #13550]
1588 * sysdeps/generic/bp-start.h: Remove file.
1589 * csu/libc-start.c: Don't include <bp-start.h>.
1590 (LIBC_START_MAIN): Set up __environ directly instead of using
1591 INIT_ARGV_and_ENVIRON.
1592 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1593 <bp-start.h>.
1594
1595 [BZ #13550]
1596 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1597 definitions.
1598 (CHECK_FCNTL): Likewise.
1599 (CHECK_N_PAGES): Likewise.
1600
1601 [BZ #13550]
1602 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1603 definitions.
1604 (CHECK_SIGSET_NULL_OK): Likewise.
1605 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1606 <bp-checks.h>.
1607 (sigpending): Don't use CHECK_SIGSET.
1608 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1609 <bp-checks.h>.
1610 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1611 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1612 <bp-checks.h>.
1613 (do_sigsuspend): Don't use CHECK_SIGSET.
1614 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1615 use CHECK_SIGSET.
1616 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1617 (do_sigwait): Don't use CHECK_SIGSET.
1618 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1619 use CHECK_SIGSET.
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1621 include <bp-checks.h>.
1622 (sigpending): Don't use CHECK_SIGSET.
1623 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1624 include <bp-checks.h>.
1625 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1626 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1627 <bp-checks.h>.
1628 (sigpending): Don't use CHECK_SIGSET.
1629 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1630 <bp-checks.h>.
1631 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1632
1633 [BZ #13550]
1634 * sysdeps/generic/bp-semctl.h: Remove file.
1635 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1636 <bp-checks.h> and <bp-semctl.h>.
1637 (__old_semctl): Don't use CHECK_SEMCTL.
1638 (__new_semctl): Likewise.
1639 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1640 and <bp-semctl.h>.
1641 (__old_semctl): Don't use CHECK_SEMCTL.
1642 (__new_semctl): Likewise.
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1644 <bp-checks.h> and <bp-semctl.h>.
1645 (__old_semctl): Don't use CHECK_SEMCTL.
1646 (__new_semctl): Likewise.
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1648 <bp-checks.h> and <bp-semctl.h>.
1649 (semctl): Don't use CHECK_SEMCTL.
1650
1651 [BZ #13550]
1652 * Makerules (elide-bp-thunks): Remove variable.
1653 (elide-routines.oS): Don't use $(elide-bp-thunks).
1654 (elide-routines.os): Likewise.
1655 (elide-routines.o): Likewise.
1656 (elide-routines.op): Likewise.
1657 (elide-routines.og): Likewise.
1658 (objects): Don't use $(bp-thunks).
1659 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1660 include.
1661 (common-generated): Do not add s-proto-bp.d.
1662 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1663 (int): Likewise.
1664 (typ): Likewise.
1665 Do not generate makefile rules for bounded-pointer thunks.
1666 * sysdeps/generic/bp-thunks.h: Remove file.
1667 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1668 * sysdeps/unix/s-proto-bp.S: Likewise.
1669
1670 [BZ #15062]
1671 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1672 parts of result separately when argument is not close to line from
1673 -i to i and one part of argument is small.
1674 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1675 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1676 * math/libm-test.inc (cacos_test): Add more tests.
1677 (casin_test): Likewise.
1678 (casinh_test): Likewise.
1679 * sysdeps/i386/fpu/libm-test-ulps: Update.
1680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1681
16822013-01-31 David S. Miller <davem@davemloft.net>
1683
1684 * po/de.po: Update from translation team.
1685
16862013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1687
1688 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1689
16902013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1691
1692 * configure.in (_AC_PROG_CC_C89): New definition.
1693 * configure: Regenerate.
1694
1695 * configure.in (AC_PROG_CPP): New definition.
1696 * configure: Regenerate.
1697
16982013-01-23 Joseph Myers <joseph@codesourcery.com>
1699
1700 * debug/tst-backtrace.h: New file.
1701 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1702 (ret): Remove variable.
1703 (x): Likewise.
1704 (FAIL): Remove macro.
1705 (NO_INLINE): Likewise.
1706 (fn1): Use match function instead of strstr.
1707 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1708 (ret): Remove variable.
1709 (x): Likewise.
1710 (FAIL): Remove macro.
1711 (NO_INLINE): Likewise.
1712 (fn): Use match function instead of strstr.
1713 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1714 (ret): Remove variable.
1715 (x): Likewise.
1716 (FAIL): Remove macro.
1717 (NO_INLINE): Likewise.
1718 (handle_signal): Use match function instead of strstr.
1719 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1720 (ret): Remove variable.
1721 (x): Likewise.
1722 (FAIL): Remove macro.
1723 (NO_INLINE): Likewise.
1724 (handle_signal): Use match function instead of strstr.
1725
17262013-01-23 Roland McGrath <roland@hack.frob.com>
1727
1728 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1729
17302013-01-23 David S. Miller <davem@davemloft.net>
1731
1732 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1733 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1734 argument of CAS if possible.
1735 * sysdeps/sparc/sparc64/bits/atomic.h
1736 (__arch_compare_and_exchange_val_32_acq): Likewise.
1737 (__arch_compare_and_exchange_val_64_acq): Likewise.
1738
17392013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1740
1741 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1742 * sysdeps/posix/ulimit.c: ... this.
1743 Include <limits.h>.
1744 * sysdeps/unix/bsd/ulimit.c: Remove file.
1745
17462013-01-23 Adam Conrad <adconrad@0c3.net>
1747
1748 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1749 (LDFLAGS-tst-array5): Likewise.
1750
17512013-01-23 Joseph Myers <joseph@codesourcery.com>
1752
1753 [BZ #15036]
1754 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1755 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1756 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1757 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1758
17592013-01-21 David S. Miller <davem@davemloft.net>
1760
1761 * sysdeps/sparc/backtrace.c: New file.
1762 * sysdeps/sparc/sparc32/backtrace.h: New file.
1763 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1764 * sysdeps/sparc/sparc64/backtrace.h: New file.
1765 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1766 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1767 -funwind-tables.
1768
17692013-01-21 Andreas Schwab <schwab@suse.de>
1770
1771 [BZ #15020]
1772 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1773 closed its stdout.
1774
17752013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1776
1777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1778 "mpa2.h".
1779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1780
17812013-01-18 Joseph Myers <joseph@codesourcery.com>
1782 Mark Mitchell <mark@codesourcery.com>
1783 Tom de Vries <tom@codesourcery.com>
1784 Paul Pluzhnikov <ppluzhnikov@google.com>
1785
1786 * debug/tst-backtrace2.c: New file.
1787 * debug/tst-backtrace3.c: Likewise.
1788 * debug/tst-backtrace4.c: Likewise.
1789 * debug/tst-backtrace5.c: Likewise.
1790 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1791 (CFLAGS-tst-backtrace3.c): Likewise.
1792 (CFLAGS-tst-backtrace4.c): Likewise.
1793 (CFLAGS-tst-backtrace5.c): Likewise.
1794 (LDFLAGS-tst-backtrace2): Likewise.
1795 (LDFLAGS-tst-backtrace3): Likewise.
1796 (LDFLAGS-tst-backtrace4): Likewise.
1797 (LDFLAGS-tst-backtrace5): Likewise.
1798 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1799 tst-backtrace4 and tst-backtrace5.
1800
18012013-01-18 Anton Blanchard <anton@samba.org>
1802 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1803
1804 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1805 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1806 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1807 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1809 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1810 "+r" and remove output regs list as redundant. Add explicit inline
1811 asm to specify register of return val to work around compiler codegen
1812 bug. Remove (int) cast on return value. Add return type parameter to
1813 use in macro so that this macro does not truncate return value for
1814 64-bit values.
1815 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1816 pass to INTERNAL_VSYSCALL_NCS.
1817 (INLINE_VSYSCALL): Add 'long int' as return type to
1818 INTERNAL_VSYSCALL_NCS macro invocation.
1819 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1820 INTERNAL_VSYSCALL_NCS macro invocation.
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1822
18232013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1824
1825 [BZ #14496]
1826 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1827 Fix application of SIMD FP exception mask.
1828
1829 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1830 mp_no from a power of two.
1831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1832 __mpexp_twomm1. Use __pow_mp.
1833
1834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1835 multiplication.
1836
18372013-01-17 David S. Miller <davem@davemloft.net>
1838
1839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1840
18412013-01-17 Joseph Myers <joseph@codesourcery.com>
1842
1843 [BZ #15023]
1844 * include/complex.h: Condition contents on [!_COMPLEX_H].
1845 (__kernel_casinhf): New prototype.
1846 (__kernel_casinh): Likewise.
1847 (__kernel_casinhl): Likewise.
1848 * math/Makefile (libm_calls): Add k_casinh.
1849 * math/k_casinh.c: New file.
1850 * math/k_casinhf.c: Likewise.
1851 * math/k_casinhl.c: Likewise.
1852 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1853 finite nonzero arguments.
1854 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1855 finite nonzero arguments.
1856 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1857 finite nonzero arguments.
1858 * math/s_casinh.c: Do not include <float.h>.
1859 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1860 * math/s_casinhf.c: Do not include <float.h>.
1861 (__casinhf): Move code for finite nonzero arguments to
1862 k_casinhf.c.
1863 * math/s_casinhl.c: Do not include <float.h>.
1864 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1865 redefine.
1866 (__casinhl): Move code for finite nonzero arguments to
1867 k_casinhl.c.
1868 * math/libm-test.inc (cacos_test): Add more tests.
1869 * sysdeps/i386/fpu/libm-test-ulps: Update.
1870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1871
18722013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1873
1874 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1875 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1876 [!HAVE_MREMAP]: Remove [defined linux] case.
1877 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1878
18792013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1880
1881 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1882
18832013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1884
1885 * elf/elf.h (R_386_SIZE32): New relocation.
1886 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1887 R_386_SIZE32.
1888 (elf_machine_rela): Likewise.
1889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1890 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1891
18922013-01-17 Joseph Myers <joseph@codesourcery.com>
1893
1894 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1895 (FP_FAST_FMA): Do not define.
1896 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1897 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1898 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1899 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1900 !_SOFT_FLOAT]: Likewise.
1901 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1902 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1903 value.
1904 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1905 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1906 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1908 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1909 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1910 file.
1911
19122013-01-16 Andreas Schwab <schwab@suse.de>
1913
1914 [BZ #14327]
1915 * include/stdlib.h (__mktemp): Add declaration.
1916 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1917 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1918
19192013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1920
1921 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1922 definitions.
1923 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1924 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1925 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1926 definitions here.
1927 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1928 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1929 definitions.
1930 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1931 and ONE.
1932 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1933 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1934 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1935 definitions.
1936 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1937 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1938 definitions.
1939 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1940
1941 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1942
19432013-01-15 David S. Miller <davem@davemloft.net>
1944
1945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1946 trunc{,f} to libm-sysdep_routes.
1947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1949 file.
1950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1952 file.
1953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1954 file.
1955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1957 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1958 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1959 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1960 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1961 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1962 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1963
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1965 nearbyint{,f} to libm-sysdep_routes.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1968 New file.
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1970 file.
1971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1972 New file.
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1974 file.
1975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1977 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1978 file.
1979 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1981 file.
1982 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1983 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1984 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1985
1986 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1987 libc_feholdexcept and libc_fesetenv.
1988
19892013-01-15 Mike Frysinger <vapier@gentoo.org>
1990
1991 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1992
19932013-01-14 David S. Miller <davem@davemloft.net>
1994
1995 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1996 (SPARC_ASM_VIS2_IFUNC): Likewise.
1997 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1999 use of 'siam' instruction.
2000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2001 Likewise.
2002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2003 Likewise.
2004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2005 Likewise.
2006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2011 file.
2012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2013 file.
2014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2015 file.
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2017 file.
2018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2023 new VIS2 routines.
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2027 Likewise.
2028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2033 routines to libm-sysdep_routines.
2034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2035
2036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2037 fdim/fdimf to libm-sysdep_routines.
2038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2039 file.
2040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2042 file.
2043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2046 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2047 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2048 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2049 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2050
20512013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2052
2053 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2054 to optimize copies.
2055
2056 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2059
2060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2061 local variable MPTWO.
2062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2063 Likewise.
2064
20652013-01-13 Mike Frysinger <vapier@gentoo.org>
2066
2067 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2068 GLOB_NOESCAPE.
2069
20702013-01-13 Mike Frysinger <vapier@gentoo.org>
2071
2072 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2073
20742013-01-13 Mike Frysinger <vapier@gentoo.org>
2075
2076 * manual/pattern.texi (glob_t): Document gl_flags.
2077 (glob64_t): Likewise.
2078
20792013-01-11 David S. Miller <davem@davemloft.net>
2080
2081 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2082 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2083 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2084 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2085 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2086 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2087 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2088 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2089 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2090 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2091 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2092 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2093 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2094
2095 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2096 sparc V9 rather than using V8 code.
2097 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2098 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2099
2100 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2101 Move to...
2102 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2103 Here.
2104
21052013-01-11 Roland McGrath <roland@hack.frob.com>
2106
2107 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2108 not in the main loop.
2109 * configure: Regenerated.
2110
21112013-01-11 Joseph Myers <joseph@codesourcery.com>
2112
2113 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2114 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2115 to just #else.
2116 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2117 [!__GLIBC_HAVE_LONG_LONG] case.
2118 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2119 condition to just #else.
2120 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2121 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2122 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2123 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2124 unconditional.
2125 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2126 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2127 #elif condition to just #else.
2128 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2129 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2130 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2131 #elif condition to just #else.
2132
21332013-01-11 Steve Ellcey <sellcey@mips.com>
2134
2135 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2136 (EF_MIPS_ARCH_64): Fix value.
2137 (EF_MIPS_ARCH_32R2): New.
2138 (EF_MIPS_ARCH_64R2): New.
2139
21402013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 * Makeconfig (+link-pie-before-libc): New.
2143 (+link-pie-after-libc): Likewise.
2144 (+link-pie-tests): Likewise.
2145 (+link-pie): Rewritten.
2146 (link-before-libc): Remove $(config-LDFLAGS).
2147 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2148 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2149 (config-LDFLAGS): Renamed to ...
2150 (rtld-LDFLAGS): This.
2151 (rtld-tests-LDFLAGS): New macro.
2152 (link-libc-rpath-link): Likewise.
2153 (link-libc-tests-rpath-link): Likewise.
2154 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2155 (link-libc): Prepand $(link-libc-rpath-link).
2156 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2157 (test-program-prefix): New macro.
2158 (test-via-rtld-prefix): Likewise.
2159 (test-program-cmd): Likewise.
2160 (host-test-program-cmd): Likewise.
2161 * Makefile ($(common-objpfx)testrun.sh): Replace
2162 $(run-program-prefix) with $(test-program-prefix).
2163 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2164 $(rtld-LDFLAGS).
2165 ($(common-objpfx)shlib.lds): Likewise.
2166 (build-module-helper): Likewise.
2167 ($(common-objpfx)format.lds): Likewise.
2168 * Rules (binaries-pie-tests): New.
2169 (binaries-pie-notests): Likewise.
2170 (binaries-pie): Rewritten.
2171 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2172 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2173 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2174 (make-test-out): Replace $(host-built-program-cmd) with
2175 $(host-test-program-cmd).
2176 * config.make.in (build-hardcoded-path-in-tests): New variable.
2177 * configure.in (--enable-hardcoded-path-in-tests): New configure
2178 option.
2179 (hardcoded_path_in_tests): New AC_SUBST.
2180 * configure: Regenerated.
2181 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2182 $(built-program-cmd) with $(test-program-cmd).
2183 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2184 (test_program_cmd): This.
2185 * elf/Makefile ($(objpfx)order.out): Run test with
2186 $(test-program-prefix).
2187 ($(objpfx)order2.out): Likewise.
2188 ($(objpfx)tst-initorder.out): Likewise.
2189 ($(objpfx)tst-initorder2.out): Likewise.
2190 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2191 $(test-program-cmd).
2192 ($(objpfx)tst-array1-static.out): Likewise.
2193 ($(objpfx)tst-array2.out): Likewise.
2194 ($(objpfx)tst-array3.out): Likewise.
2195 ($(objpfx)tst-array4.out): Likewise.
2196 ($(objpfx)tst-array5.out): Likewise.
2197 ($(objpfx)tst-array5-static.out): Likewise.
2198 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2199 $(test-program-cmd).
2200 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2201 $(run-program-prefix) with $(test-program-prefix).
2202 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2203 (test_program_prefix): This.
2204 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2205 $(run-program-prefix) with $(test-program-prefix).
2206 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2207 (test_program_prefix): This.
2208 * iconvdata/tst-tables.sh: Likewise.
2209 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2210 $(run-program-prefix) with $(test-program-prefix).
2211 ($(objpfx)tst-translit.out): Likewise.
2212 ($(objpfx)tst-gettext2.out): Likewise.
2213 ($(objpfx)tst-gettext4.out): Likewise.
2214 ($(objpfx)tst-gettext6.out): Likewise.
2215 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2216 (test_program_prefix): This.
2217 * intl/tst-gettext2.sh: Likewise.
2218 * intl/tst-gettext4.sh Likewise.
2219 * intl/tst-gettext6.sh: Likewise.
2220 * intl/tst-translit.sh: Likewise.
2221 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2222 with $(test-program-cmd).
2223 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2224 $(run-program-prefix) with $(test-program-prefix).
2225 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2226 (test_program_prefix): This.
2227 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2228 $(run-program-prefix) with $(test-program-prefix).
2229 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2230 (test_program_prefix): This.
2231 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2232 * posix/Makefile ($(objpfx)globtest.out): Replace
2233 $(run-via-rtld-prefix) and $(test-wrapper) with
2234 $(test-program-prefix) and $(test-via-rtld-prefix).
2235 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2236 $(test-program-prefix).
2237 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2238 $(host-test-program-cmd).
2239 (tst-spawn-ARGS): Likewise.
2240 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2241 $(test-program-prefix).
2242 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2243 (test_via_rtld_prefix): This.
2244 (test_wrapper): Renamed to ...
2245 (test_program_prefix): This.
2246 (run_program_prefix): Replaced by test_program_prefix.
2247 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2248 (test_program_prefix): This.
2249 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2250 with $(host-test-program-cmd).
2251 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2252 $(run-program-prefix) with $(test-program-prefix).
2253 ($(objpfx)tst-printf.out): Likewise.
2254 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2255 $(test-program-cmd).
2256 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2257 (test_program_prefix): This.
2258 * stdio-common/tst-unbputc.sh: Likewise.
2259 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2260 $(run-program-prefix) with $(test-program-prefix).
2261 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2262 (test_program_prefix): This.
2263 * string/Makefile ($(objpfx)tst-svc.out): Replace
2264 $(built-program-cmd) with $(test-program-cmd).
2265
22662013-01-11 Andreas Jaeger <aj@suse.de>
2267
2268 [BZ #15003]
2269 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2270 value. Sync with Linux 3.7.
2271
22722013-01-10 David S. Miller <davem@davemloft.net>
2273
2274 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2275 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2276 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2277
22782013-01-10 Roland McGrath <roland@hack.frob.com>
2279
2280 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2281 never set.
2282 * configure: Regenerated.
2283
22842013-01-10 David S. Miller <davem@davemloft.net>
2285
2286 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2287 sparc V9 rather than using V8 code.
2288 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2289 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2290
22912013-01-10 Roland McGrath <roland@hack.frob.com>
2292
2293 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2294 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2295 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2296 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2297 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2298 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2299 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2300 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2301 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2302 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2303 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2304 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2305 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2306 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2307 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2308 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2309 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2310 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2311 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2312 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2313 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2314 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2315 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2316 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2317 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2318 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2319 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2320
23212013-01-10 David S. Miller <davem@davemloft.net>
2322
2323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2324
23252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * posix/Makefile (tests-static): New variable.
2328 (tests): Add $(tests-static).
2329 (tst-exec-static-ARGS): New variable.
2330 (tst-spawn-static-ARGS): Likewise.
2331 * posix/tst-exec-static.c: New file.
2332 * posix/tst-spawn-static.c: Likewise.
2333 * posix/tst-exec.c: Support run directly.
2334 * posix/tst-spawn.c: Likewise.
2335
23362013-01-10 Joseph Myers <joseph@codesourcery.com>
2337
2338 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2339 long.
2340 * math/bits/mathcalls.h (llrint): Likewise.
2341 (llround): Likewise.
2342 * stdlib/stdlib.h (struct drand48_data): Likewise.
2343 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2344 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2346 Likewise.
2347 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2348 Likewise.
2349 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2350 (elf_greg_t): Likewise.
2351 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2352 (__jmp_buf): Likewise.
2353 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2354 definitions.
2355 (llrint): Likewise, for all definitions.
2356 (llrintl): Likewise.
2357
2358 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2359 Remove [__GNUC__] condition.
2360 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2361 condition to just [__USE_ISOC99].
2362 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2363
23642013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2365
2366 [BZ #14200]
2367 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2368 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2369 defined.
2370 (_POSIX_V6_ILP32_OFF32): Likewise.
2371 (_XBS5_ILP32_OFF32): Likewise.
2372 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2373 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2374
23752013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2376
2377 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2378
2379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2380 doubles __mpexp_twomm1. Adjust usage.
2381 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2382 Remove.
2383
23842013-01-10 Andreas Schwab <schwab@suse.de>
2385
2386 [BZ #14964]
2387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2388 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2389
23902013-01-09 David S. Miller <davem@davemloft.net>
2391
2392 [BZ #15003]
2393 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2394 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2395 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2396 TCP_FASTOPEN): Define.
2397 (tcp_repair_opt): New structure.
2398 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2399 enum values.
2400 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2401 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2402 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2403 (tcp_cookie_transactions): New structure.
2404
24052013-01-09 Anton Blanchard <anton@samba.org>
2406
2407 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2408 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2409 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2410 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2411
24122013-01-09 Joseph Myers <joseph@codesourcery.com>
2413
2414 * include/features.h (__USE_ANSI): Remove.
2415
24162013-01-09 Roland McGrath <roland@hack.frob.com>
2417
2418 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2419
2420 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2421
24222013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2423
2424 * sysdeps/s390/fpu/libm-test-ulps: Update.
2425
2426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2427
2428 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2429 (__acr): Likewise.
2430 (__cpy): Likewise.
2431 (norm): Likewise.
2432 (denorm): Likewise.
2433 (__mp_dbl): Likewise.
2434 (__dbl_mp): Likewise.
2435 (add_magnitudes): Likewise.
2436 (sub_magnitudes): Likewise.
2437 (__add): Likewise.
2438 (__sub): Likewise.
2439 (__mul): Likewise.
2440 (__inv): Likewise.
2441 (__dvd): Likewise.
2442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2443 (__acr): Likewise.
2444 (__cpy): Likewise.
2445 (norm): Likewise.
2446 (denorm): Likewise.
2447 (__mp_dbl): Likewise.
2448 (__dbl_mp): Likewise.
2449 (add_magnitudes): Likewise.
2450 (sub_magnitudes): Likewise.
2451 (__add): Likewise.
2452 (__sub): Likewise.
2453 (__mul): Likewise.
2454 (__inv): Likewise.
2455 (__dvd): Likewise.
2456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2457 (__acr): Likewise.
2458 (__cpy): Likewise.
2459 (norm): Likewise.
2460 (denorm): Likewise.
2461 (__mp_dbl): Likewise.
2462 (__dbl_mp): Likewise.
2463 (add_magnitudes): Likewise.
2464 (sub_magnitudes): Likewise.
2465 (__add): Likewise.
2466 (__sub): Likewise.
2467 (__mul): Likewise.
2468 (__inv): Likewise.
2469 (__dvd): Likewise.
2470
24712013-01-08 Joseph Myers <joseph@codesourcery.com>
2472
2473 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2474 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2475 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2476 2 && __USE_EXTERN_INLINES]: Likewise.
2477
24782013-01-08 Andreas Jaeger <aj@suse.de>
2479
2480 [BZ# 14985]
2481 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2482 Remove.
2483 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2484 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2485
24862013-01-07 Anton Blanchard <anton@samba.org>
2487
2488 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2489 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2490 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2491 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2492 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2493 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2494 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2495 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2497 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2498 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2499 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2502 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2503 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2506 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2508 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2509 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2510 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2511 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2513 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2514 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2515 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2518 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2520 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2521 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2522 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2527 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2528 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2530 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2531
25322013-01-07 Joseph Myers <joseph@codesourcery.com>
2533
2534 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2535 (__MALLOC_PMT): Likewise.
2536 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2537 [__GNUC__], only on [_LIBC].
2538 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2539 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2540 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2541 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2542 forward declaration.
2543 (realloc_hook_ini): Likewise.
2544 (memalign_hook_ini): Likewise.
2545 (__libc_memalign): Do not use __MALLOC_PMT in variable
2546 declaration.
2547 (__libc_valloc): Likewise.
2548 (__libc_pvalloc): Likewise.
2549 (__libc_calloc): Likewise.
2550 (__posix_memalign): Likewise.
2551
2552 [BZ #14996]
2553 * math/s_casinh.c: Include <float.h>.
2554 (__casinh): Do not do computation with squaring and square root
2555 for large arguments.
2556 * math/s_casinhf.c: Include <float.h>.
2557 (__casinhf): Do not do computation with squaring and square root
2558 for large arguments.
2559 * math/s_casinhl.c: Include <float.h>.
2560 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2561 (__casinhl): Do not do computation with squaring and square root
2562 for large arguments.
2563 * math/libm-test.inc (casin_test): Add more tests.
2564 (casinh_test): Likewise.
2565 * sysdeps/i386/fpu/libm-test-ulps: Update.
2566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2567
25682013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2571 (__x86_64_raw_data_cache_size): Likewise.
2572 (__x86_64_data_cache_size_half): Likewise.
2573 (__x86_64_raw_data_cache_size_half): Likewise.
2574 (__x86_64_shared_cache_size): Likewise.
2575 (__x86_64_raw_shared_cache_size): Likewise.
2576 (__x86_64_shared_cache_size_half): Likewise.
2577 (__x86_64_raw_shared_cache_size_half): Likewise.
2578 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2579 to ...
2580 (__x86_data_cache_size): This.
2581 (__x86_64_raw_data_cache_size): Renamed to ...
2582 (__x86_raw_data_cache_size): This.
2583 (__x86_64_data_cache_size_half): Renamed to ...
2584 (__x86_data_cache_size_half): This.
2585 (__x86_64_raw_data_cache_size_half): Renamed to ...
2586 (__x86_raw_data_cache_size_half): This.
2587 (__x86_64_shared_cache_size): Renamed to ...
2588 (__x86_shared_cache_size): This.
2589 (__x86_64_raw_shared_cache_size): Renamed to ...
2590 (__x86_raw_shared_cache_size): This.
2591 (__x86_64_shared_cache_size_half): Renamed to ...
2592 (__x86_shared_cache_size_half): This.
2593 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2594 (__x86_raw_shared_cache_size_half): This.
2595 * sysdeps/x86_64/memcpy.S: Updated.
2596 * sysdeps/x86_64/memset.S: Likewise.
2597 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2598 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2599 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2600
26012013-01-04 David S. Miller <davem@davemloft.net>
2602
2603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2604
26052013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2606
2607 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2608 1 to avoid redefinition warning.
2609 (__USE_GNU): Don't define.
2610 (init_signaling_nan): Protoize.
2611
2612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2613
26142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2615
2616 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2618 (__cpymn): Likewise.
2619 (norm): Remove commented code.
2620 (denorm): Likewise.
2621 (__mp_dbl): Likewise.
2622 (__inv): Likewise.
2623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2624 (__cpymn): Likewise.
2625 (norm): Remove commented code.
2626 (denorm): Likewise.
2627 (__mp_dbl): Likewise.
2628 (__inv): Likewise.
2629
2630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2631 mp_no value for 1.0 and 2.0.
2632 (norm): Use RADIXI instead of radixi.d.
2633 (denorm): Likewise.
2634 (__mul): Use 0.0 instead of zero.d.
2635 * sysdeps/powerpc/powerpc64/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
26412013-01-04 Joseph Myers <joseph@codesourcery.com>
2642
2643 [BZ #14994]
2644 * math/s_casinh.c (__casinh): Reduce finite argument to first
2645 quadrant then set signs of results at the end.
2646 * math/s_casinhf.c (__casinhf): Likewise.
2647 * math/s_casinhl.c (__casinhl): Likewise.
2648 * math/libm-test.inc (casin_test): Add more tests.
2649 (casinh_test): Likewise.
2650 * sysdeps/i386/fpu/libm-test-ulps: Update.
2651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2652
26532013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2654
2655 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2656
2657 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2658
2659 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2660 declarations.
2661 (denorm): Likewise.
2662 (__mp_dbl): Likewise.
2663 (__inv): Likewise.
2664
2665 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2666 and adjust the header comment.
2667
2668 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2669 variable name from declaration.
2670
26712013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2674 Initialize COMMON_CPUID_INDEX_7 element.
2675 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2676 (CPUID_RTM): Likewise.
2677 (HAS_RTM): Likewise.
2678 (COMMON_CPUID_INDEX_7): New enum.
2679
26802013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2681
2682 [BZ #14981]
2683 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2684 size is zero, record memory as freed.
2685
26862013-01-03 Andreas Jaeger <aj@suse.de>
2687
2688 * po/ia.po: Add new Interlingua translation.
2689
26902012-01-03 Allan McRae <allan@archlinux.org>
2691
2692 * locale/programs/localedef.c: Fix description of '--posix' flag.
2693
26942013-01-02 Joseph Myers <joseph@codesourcery.com>
2695
2696 * NEWS: Update dates in second copyright notice.
2697 * README: Update copyright dates in example.
2698 * manual/libc.texinfo: Update copyright dates.
2699 * scripts/test-installation.pl: Update copyright date in --version
2700 output.
2701
2702 * hurd/ctty-input.c: Fix copyright notice formatting.
2703 * hurd/ctty-output.c: Likewise.
2704 * hurd/dtable.c: Likewise.
2705 * hurd/hurd-raise.c: Likewise.
2706 * hurd/hurdprio.c: Likewise.
2707 * hurd/msgportdemux.c: Likewise.
2708 * misc/sys/file.h: Likewise.
2709 * misc/sys/ioctl.h: Likewise.
2710 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2711 * sysdeps/mach/hurd/chdir.c: Likewise.
2712 * sysdeps/mach/hurd/fchdir.c: Likewise.
2713 * sysdeps/mach/hurd/rename.c: Likewise.
2714 * sysdeps/mach/hurd/rmdir.c: Likewise.
2715 * sysdeps/mach/hurd/seekdir.c: Likewise.
2716 * sysdeps/mach/hurd/setsid.c: Likewise.
2717 * sysdeps/posix/wait3.c: Likewise.
2718
2719 * All files with FSF copyright notices: Update copyright dates
2720 using scripts/update-copyrights.
2721 * intl/plural.c: Regenerated.
2722 * locale/programs/charmap-kw.h: Likewise.
2723 * locale/programs/locfile-kw.h: Likewise.
2724
27252013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2726
2727 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2728 four values.
2729
2730 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2731 calculation loop and add branch prediction.
2732
2733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2734 check access beyond bounds of m1np.
2735
2736 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2737 MPTWO.
2738 (__inv): Remove local variable MPTWO to use the global
2739 constant.
2740 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2741 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2742 variable MPTWO.
2743 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2744 MP3HALFS static const.
2745
27462013-01-01 David S. Miller <davem@davemloft.net>
2747
2748 * po/ca.po: Update from translation team.
2749
27502013-01-01 Joseph Myers <joseph@codesourcery.com>
2751
2752 * scripts/update-copyrights: New file.
2753 * Makeconfig: Reformat copyright notice.
2754 * ctype/ctype.h: Likewise.
2755 * debug/swprintf_chk.c: Likewise.
2756 * elf/dl-cache.c: Likewise.
2757 * elf/dl-debug.c: Likewise.
2758 * elf/dl-object.c: Likewise.
2759 * grp/initgroups.c: Likewise.
2760 * hurd/Makefile: Likewise.
2761 * hurd/hurd/signal.h: Likewise.
2762 * hurd/hurdfault.c: Likewise.
2763 * hurd/hurdioctl.c: Likewise.
2764 * hurd/hurdlookup.c: Likewise.
2765 * hurd/intr-msg.c: Likewise.
2766 * iconv/gconv_open.c: Likewise.
2767 * libio/swprintf.c: Likewise.
2768 * locale/lc-ctype.c: Likewise.
2769 * locale/nl_langinfo.c: Likewise.
2770 * mach/Machrules: Likewise.
2771 * mach/Makefile: Likewise.
2772 * malloc/obstack.h: Likewise.
2773 * manual/Makefile: Likewise.
2774 * manual/tsort.awk: Likewise.
2775 * misc/bits/stab.def: Likewise.
2776 * nis/nis_print_group_entry.c: Likewise.
2777 * nis/nis_table.c: Likewise.
2778 * nis/nss_compat/compat-pwd.c: Likewise.
2779 * nis/nss_compat/compat-spwd.c: Likewise.
2780 * po/Makefile: Likewise.
2781 * posix/fnmatch.c: Likewise.
2782 * posix/regex.h: Likewise.
2783 * resolv/Makefile: Likewise.
2784 * resolv/nss_dns/dns-network.c: Likewise.
2785 * resolv/res_hconf.c: Likewise.
2786 * scripts/gen-sorted.awk: Likewise.
2787 * soft-fp/soft-fp.h: Likewise.
2788 * stdio-common/printf.h: Likewise.
2789 * stdlib/monetary.h: Likewise.
2790 * stdlib/random.c: Likewise.
2791 * stdlib/random_r.c: Likewise.
2792 * sysdeps/generic/Makefile: Likewise.
2793 * sysdeps/gnu/Makefile: Likewise.
2794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2822 * sysdeps/mach/hurd/errnos.awk: Likewise.
2823 * sysdeps/mach/hurd/fork.c: Likewise.
2824 * sysdeps/mach/hurd/getcwd.c: Likewise.
2825 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2826 * sysdeps/mach/hurd/mmap.c: Likewise.
2827 * sysdeps/mach/hurd/utimes.c: Likewise.
2828 * sysdeps/mach/hurd/xmknod.c: Likewise.
2829 * sysdeps/posix/profil.c: Likewise.
2830 * sysdeps/posix/readdir_r.c: Likewise.
2831 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2832 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2833 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2834 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2836 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2837 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2838 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2840 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2842 * sysdeps/pthread/lio_listio.c: Likewise.
2843 * sysdeps/sparc/dl-procinfo.h: Likewise.
2844 * sysdeps/unix/i386/sysdep.S: Likewise.
2845 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2846 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2847 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2848 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2850 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2851 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2852 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2853 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2854 * sysdeps/wordsize-32/divdi3.c: Likewise.
2855 * time/sys/time.h: Likewise.
2856 * wcsmbs/Makefile: Likewise.
2857
28582013-01-01 David S. Miller <davem@davemloft.net>
2859
2860 * po/fr.po: Update from translation team.
2861
2862 * catgets/gencat.c: Update copyright year.
2863 * csu/version.c: Likewise.
2864 * debug/catchsegv.sh: Likewise.
2865 * debug/pcprofiledump.c: Likewise.
2866 * debug/xtrace.sh: Likewise.
2867 * elf/ldconfig.c: Likewise.
2868 * elf/ldd.bash.in: Likewise.
2869 * elf/pldd.c: Likewise.
2870 * elf/sotruss.ksh: Likewise.
2871 * elf/sprof.c: Likewise.
2872 * iconv/iconv_prog.c: Likewise.
2873 * iconv/iconvconfig.c: Likewise.
2874 * locale/programs/locale.c: Likewise.
2875 * locale/programs/localedef.c: Likewise.
2876 * login/programs/pt_chown.c: Likewise.
2877 * malloc/memusage.sh: Likewise.
2878 * malloc/memusagestat.c: Likewise.
2879 * malloc/mtrace.pl: Likewise.
2880 * nscd/nscd.c: Likewise.
2881 * nss/getent.c: Likewise.
2882 * nss/makedb.c: Likewise.
2883 * posix/getconf.c: Likewise.
2884
28852012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2886
2887 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2888 numbers.
2889
28902012-12-30 Mike Frysinger <vapier@gentoo.org>
2891
2892 * math/bits/mathcalls.h (modf): Use __nonnull.
2893
28942012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2895
2896 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2897 (split): Use macro CN instead of the bare value.
2898 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2899 could be used.
2900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2901 instead of the bare value.
2902 (power1): Likewise.
2903
29042012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2905
2906 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2907 __ATAN_TWOM.
2908 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2909
2910 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2911 their values.
2912 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2914 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2915 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2916
29172012-12-28 Andreas Jaeger <aj@suse.de>
2918
2919 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2920 values are from Linux 3.7.
2921
2922 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2923 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2924
29252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2926
2927 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2928 TRUE case.
2929
2930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2931 (norm): Likewise.
2932 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2933 variables with preprocessor constants.
2934 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2935 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2936 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2937
29382012-12-27 Bruno Haible <bruno@clisp.org>
2939
2940 [BZ #14317]
2941 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2942 only if needed.
2943
29442012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2945
2946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2947 and use variable directly.
2948 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2949
2950 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2951 MPONE.
2952 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2954 variable MPONE.
2955 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2957 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2958 include directive. Remove local variable MPONE.
2959 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2960 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2961 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2962
29632012-12-25 David S. Miller <davem@davemloft.net>
2964
2965 * version.h (RELEASE): Set to "development".
2966 (VERSION): Set to "2.17.90".
2967 * NEWS: Add 2.18 section.
2968
29692012-12-21 David S. Miller <davem@davemloft.net>
2970
2971 * po/hr.po: Update from translation team.
2972
29732012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2974
2975 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2976
29772012-12-19 Steve Ellcey <sellcey@mips.com>
2978
2979 * NEWS: Mention new memcpy for MIPS.
2980
29812012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2982
2983 * manual/contrib.texi (Contributors): Spelling correction.
2984
29852012-12-15 David S. Miller <davem@davemloft.net>
2986
2987 * po/ru.po: Update from translation team.
2988
29892012-12-13 David S. Miller <davem@davemloft.net>
2990
2991 * NEWS: Mention IFUNC testsuite enhancements.
2992
2993 * po/pl.po: Update from translation team.
2994 * po/bg.po: Likewise.
2995
2996 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2997 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2998
29992012-12-11 David S. Miller <davem@davemloft.net>
3000
3001 * po/sv.po: Update from translation team.
3002
3003 * po/vi.po: Update from translation team.
3004
3005 * po/cs.po: Update from translation team.
3006
3007 * po/de.po: Update from translation team.
3008 * po/eo.po: Likewise.
3009 * po/nl.po: Likewise.
3010
30112012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3012
3013 [BZ #14246]
3014 * manual/argp.texi (Argp Helper Functions): Move node to follow
3015 Argp Parsing State.
3016
3017 [BZ #14872]
3018 * manual/conf.texi (Limits on File System Capacity): Mention if
3019 terminating null is included in the max size.
3020
30212012-12-10 Andreas Jaeger <aj@suse.de>
3022
3023 * po/cs.po: Update from translation team.
3024
30252012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3026
3027 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3028 void pointer and cast to uintptr_t.
3029 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3030 path.
3031 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3032 * sysdeps/s390/s390-64/memset.S: Likewise.
3033
30342012-12-08 Benno Schulenberg <bensberg@justemail.net>
3035
3036 [BZ #14833]
3037 * menual/message.texi (Message Translation): Fix typos.
3038 (Helper programs for gettext): Likewise.
3039
30402012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3041
3042 [BZ #14898]
3043 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3044 Change to -1.
3045
30462012-12-07 David S. Miller <davem@davemloft.net>
3047
3048 * po/libc.pot: Update.
3049
30502012-12-07 Richard Henderson <rth@redhat.com>
3051
3052 [BZ #10114]
3053 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3054 normal/normal case to before the switch.
3055 (_FP_DIV): Likewise.
3056
30572012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3058 Mike Frysinger <vapier@gentoo.org>
3059
3060 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3061 check for __NR_fadvise64_64.
3062
30632012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3064
3065 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3066 0, not just to plain "0" as a statement.
3067 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3068 with cw.
3069
30702012-12-06 Joseph Myers <joseph@codesourcery.com>
3071
3072 * NEWS: Use sourceware.org in Bugzilla URL.
3073
30742012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3075
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3077 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3078
3079 * stdio-common/tst-put-error.c (do_test): Add newline to the
3080 padded test to ensure flush.
3081
30822012-12-05 Jeff Law <law@redhat.com>
3083
3084 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3085
30862012-12-05 Joseph Myers <joseph@codesourcery.com>
3087
3088 * README: Don't refer to ports add-on as distributed separately.
3089 Mention AArch64 in list of systems supported in the ports add-on.
3090
3091 * LICENSES: Add more non-FSF copyright and license notices.
3092
3093 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3094 ((unused)).
3095
3096 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3097
3098 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3099 10000 as width of padded output.
3100
31012012-12-04 Joseph Myers <joseph@codesourcery.com>
3102
3103 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3104
3105 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3106 variable LX with __attribute__ ((unused)).
3107 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3108 Likewise.
3109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3111 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3112 with __attribute__ ((unused)).
3113
31142012-12-04 David S. Miller <davem@abraco.davemloft.net>
3115
3116 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3117
31182012-12-04 Joseph Myers <joseph@codesourcery.com>
3119
3120 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3121 (CFLAGS-nldbl-acos.c): New variable.
3122 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3213 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3214 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3215 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3216 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3217 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3218 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3219
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3221 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3222
3223 [BZ #14914]
3224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3225 whole low double instead of just low 47 bits when splitting values
3226 into two parts.
3227
32282012-12-03 Allan McRae <allan@archlinux.org>
3229
3230 * manual/stdio.texi (Predefined Printf Handlers): Remove
3231 @hsep and @vsep usage.
3232
32332012-12-03 Mike Frysinger <vapier@gentoo.org>
3234
3235 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3236 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3237
32382012-12-03 Jeff Law <law@redhat.com>
3239
3240 * time/sys/time.h (settimeofday): Do not mark TV argument
3241 as __nonnull.
3242
32432012-12-01 Mike Frysinger <vapier@gentoo.org>
3244
3245 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3246 when currently writing and seek to current position when not.
3247 * libio/Makefile (tests): Remove bug-fclose1.
3248 * libio/bug-fclose1.c: Delete.
3249
32502012-12-01 Joseph Myers <joseph@codesourcery.com>
3251
3252 * manual/arith.texi (feenableexcept): Fix typo.
3253 (fedisableexcept): Likewise.
3254
32552012-11-30 Roland McGrath <roland@hack.frob.com>
3256
3257 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3258 second, differently-typed declaration, rather than a cast.
3259
32602012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3261
3262 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3263 * include/rpc/svc.h: ... here.
3264
32652012-11-30 Aurelien Jarno <aurel32@debian.org>
3266
3267 [BZ #13013]
3268 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3269 depending n and resplen2 to catch cases where answer
3270 equals answerp2.
3271
32722012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3273
3274 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3275 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3276
32772012-11-29 Mike Frysinger <vapier@gentoo.org>
3278
3279 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3280
32812012-11-29 Roland McGrath <roland@hack.frob.com>
3282
3283 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3284
32852012-11-28 Jeff Law <law@redhat.com>
3286
3287 [BZ #13761]
3288 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3289 dataset_temporary. Track alloca usage into alloca_used.
3290 If dataset is large allocate and release it via malloc/free.
3291
32922012-06-04 Florian Weimer <fweimer@redhat.com>
3293
3294 [BZ #14197]
3295 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3296
32972012-11-28 David S. Miller <davem@davemloft.net>
3298
3299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3300
33012012-11-28 Joseph Myers <joseph@codesourcery.com>
3302
3303 [BZ #14803]
3304 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3305 of pi/2 rounded to nearest to 64 bits.
3306 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3307 nearest to 64 bits.
3308 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3309 bits.
3310
33112012-11-28 Jeff Law <law@redhat.com>
3312 Martin Osvald <mosvald@redhat.com>
3313
3314 [BZ #14889]
3315 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3316 * sunrpc/svc.c: Include time.h.
3317 (__svc_accept_failed): New function.
3318 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3319 any reason other than EINTR, call __svc_accept_failed.
3320 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3321 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3322
33232012-11-28 Andreas Schwab <schwab@suse.de>
3324
3325 * scripts/abilist.awk: Also handle indirect functions in .opd
3326 section.
3327
33282012-11-28 Joseph Myers <joseph@codesourcery.com>
3329
3330 [BZ #13881]
3331 * sysdeps/x86/fpu/powl_helper.c: New file.
3332 * sysdeps/x86/fpu/Makefile: Likewise.
3333 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3334 (p3): New object.
3335 (__ieee754_powl): Use __powl_helper for finite arguments except
3336 integer exponents below 8.
3337 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3338 (p3): New object.
3339 (__ieee754_powl): Use __powl_helper for finite arguments except
3340 integer exponents below 8.
3341 * math/libm-test.inc (pow_test): Add more tests and enable some
3342 previously disabled tests.
3343 * sysdeps/i386/fpu/libm-test-ulps: Update.
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3345
33462012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3347 Carlos O'Donell <carlos_odonell@mentor.com>
3348
3349 * nss/makedb.c (is_prime): Assert that input is odd and greater
3350 than 4. Note that fact in a comment too.
3351 (next_prime): Add 4 to input.
3352
33532012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3354
3355 [BZ #11741]
3356 * libio/Makefile (tests): Add test case tst-fwrite-error.
3357 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3358 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3359 * libio/tst-fwrite-error.c: New test case.
3360
33612012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3362
3363 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3364 before casting to void *.
3365 * include/libc-internal.h (__pointer_type): New macro.
3366 (__integer_if_pointer_type_sub): Likewise.
3367 (__integer_if_pointer_type): Likewise.
3368 (cast_to_integer): Likewise.
3369 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3370 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3371 before casting to atomic64_t.
3372 (atomic_exchange_acq): Likewise.
3373 (__arch_exchange_and_add_body): Likewise.
3374 (__arch_add_body): Likewise.
3375 (atomic_add_negative): Likewise.
3376 (atomic_add_zero): Likewise.
3377
33782012-11-26 Joseph Myers <joseph@codesourcery.com>
3379
3380 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3381 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3382 (add_fdes): Likewise.
3383 (linear_search_fdes): Likewise.
3384 (binary_search_unencoded_fdes): Likewise.
3385
33862012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3387
3388 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3389
33902012-11-24 Adam Conrad <adconrad@0c3.net>
3391
3392 * configure.in: Autodetect C++ header directories.
3393 * configure: Regenerated.
3394
33952012-11-23 Mike Frysinger <vapier@gentoo.org>
3396
3397 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3398
33992012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3400
3401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3402
34032012-11-22 Joseph Myers <joseph@codesourcery.com>
3404
3405 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3406 LDBL_MANT_DIG == 106]: Disable some tests.
3407 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3408 Likewise.
3409 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3410 Likewise.
3411
3412 [BZ #14871]
3413 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3414 input for small inputs. Return +/- pi/2 for large inputs.
3415 * math/libm-test.inc (atan_test): Add more tests.
3416
3417 * sysdeps/generic/unwind-dw2-fde-glibc.c
3418 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3419 __attribute__ ((unused)).
3420
3421 [BZ #14645]
3422 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3423 x * y if x and y are nonzero and z is zero.
3424
3425 [BZ #14811]
3426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3427 nonzero exponents with absolute value below 0x1p-117 to +/-
3428 0x1p-117.
3429
3430 [BZ #14869]
3431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3432 up arguments below 2**-450, not just those below 2**-500.
3433 * math/libm-test.inc (hypot_test): Add another test.
3434
3435 [BZ #14868]
3436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3437 Return a+b for ratio over 2**120, not 2**60.
3438 * math/libm-test.inc (hypot_test): Add another test.
3439
3440 * math/libm-test.inc (clog_test): Use
3441 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3442 (clog10_test): Likewise.
3443
3444 [BZ #6778]
3445 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3446
34472012-11-22 Andreas Schwab <schwab@suse.de>
3448
3449 * sysdeps/i386/fpu/libm-test-ulps: Update.
3450
34512012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3452
3453 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3454 printf output with newline.
3455
34562012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3457
3458 [BZ #14865]
3459 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3460 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3461 -z nodlopen, -z initfirst and -z execstack support.
3462 * configure: Regenerated.
3463
3464 * elf/elf.h (DF_1_NODIRECT): New macro.
3465 (DF_1_IGNMULDEF): Likewise.
3466 (DF_1_NOKSYMS): Likewise.
3467 (DF_1_NOHDR): Likewise.
3468 (DF_1_EDITED): Likewise.
3469 (DF_1_NORELOC): Likewise.
3470 (DF_1_SYMINTPOSE): Likewise.
3471 (DF_1_GLOBAUDIT): Likewise.
3472 (DF_1_SINGLETON): Likewise.
3473 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3474 DT_1_SUPPORTED_MASK bits.
3475 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3476
34772012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3478
3479 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3480
34812012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3482
3483 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3484 macro.
3485
3486 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3487 (sendmmsg): Move declarations...
3488 * socket/sys/socket.h: ... here.
3489 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3490 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3491 include it from...
3492 * socket/recvmmsg.c: ... this new file.
3493 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3494 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3495 definition of __sendmmsg hidden.
3496 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3497 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3498 Move ENOSYS stub into and include it from...
3499 * socket/sendmmsg.c: ... this new file.
3500 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3501 (sysdep_routines): Move recvmmsg and sendmmsg...
3502 * socket/Makefile (routines): ... here.
3503 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3504 (GLIBC_PRIVATE): Add __sendmmsg.
3505 * include/sys/socket.h (__sendmmsg): Add declarations.
3506 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3507 sendmmsg.
3508
35092012-11-20 Joseph Myers <joseph@codesourcery.com>
3510
3511 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3512 variable I1 with __attribute__ ((unused)).
3513 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3514
35152012-11-19 Joseph Myers <joseph@codesourcery.com>
3516
3517 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3518 DUMMY variables with __attribute__ ((unused)).
3519
3520 * bits/byteswap.h: Include <bits/types.h>.
3521 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3522
35232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3524
3525 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3526 string_t. Do not manually set errno.
3527 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3528 length with __strnlen. Make sure to both set errno and return it on
3529 failure.
3530
35312012-11-19 David S. Miller <davem@davemloft.net>
3532
3533 With help from Joseph Myers.
3534 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3535 very large arguments properly.
3536 * math/libm-test.inc (atan_test): New tests.
3537 (atan2_test): New tests.
3538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3540
35412012-11-19 Joseph Myers <joseph@codesourcery.com>
3542
3543 [BZ #14856]
3544 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3545 Define to 3.
3546
3547 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3548 [POSIX] (EADDRNOTAVAIL): Likewise.
3549 [POSIX] (EAFNOSUPPORT): Likewise.
3550 [POSIX] (EALREADY): Likewise.
3551 [POSIX] (ECONNABORTED): Likewise.
3552 [POSIX] (ECONNREFUSED): Likewise.
3553 [POSIX] (ECONNRESET): Likewise.
3554 [POSIX] (EDESTADDRREQ): Likewise.
3555 [POSIX] (EDQUOT): Likewise.
3556 [POSIX] (EHOSTUNREACH): Likewise.
3557 [POSIX] (EIDRM): Likewise.
3558 [POSIX] (EISCONN): Likewise.
3559 [POSIX] (ELOOP): Likewise.
3560 [POSIX] (EMULTIHOP): Likewise.
3561 [POSIX] (ENETDOWN): Likewise.
3562 [POSIX] (ENETUNREACH): Likewise.
3563 [POSIX] (ENOBUFS): Likewise.
3564 [POSIX] (ENODATA): Likewise.
3565 [POSIX] (ENOLINK): Likewise.
3566 [POSIX] (ENOMSG): Likewise.
3567 [POSIX] (ENOPROTOOPT): Likewise.
3568 [POSIX] (ENOSR): Likewise.
3569 [POSIX] (ENOSTR): Likewise.
3570 [POSIX] (ENOTCONN): Likewise.
3571 [POSIX] (ENOTSOCK): Likewise.
3572 [POSIX] (EOPNOTSUPP): Likewise.
3573 [POSIX] (EOVERFLOW): Likewise.
3574 [POSIX] (EPROTO): Likewise.
3575 [POSIX] (EPROTONOSUPPORT): Likewise.
3576 [POSIX] (EPROTOTYPE): Likewise.
3577 [POSIX] (ESTALE): Likewise.
3578 [POSIX] (ETIME): Likewise.
3579 [POSIX] (ETXTBSY): Likewise.
3580 [POSIX] (EWOULDBLOCK): Likewise.
3581 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3582 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3583 [POSIX] (SEEK_CUR): Likewise.
3584 [POSIX] (SEEK_END): Likewise.
3585 [POSIX || UNIX98] (mode_t): Do not require.
3586 [POSIX] (off_t): Likewise.
3587 [POSIX] (pid_t): Likewise.
3588 [POSIX] (sys/stat.h): Do not allow header.
3589 [POSIX] (unistd.h): Likewise.
3590 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3591 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3592 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3593 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3594 require.
3595 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3596 sigevent): Specify elements.
3597 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3598 entry.
3599 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3600 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3601
3602 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3603 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3604 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3605 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3606 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3607 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3608 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3609 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3611 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3612 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3613 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3614 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3616 Likewise.
3617 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3618 Likewise.
3619 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3620 Likewise.
3621 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3622 Likewise.
3623 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3624 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3625 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3626 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3628 Specify lower bound on value.
3629 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3635 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3636 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3637 value.
3638 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3639 as optional.
3640 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3656 entry.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3658 optional.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3665 Likewise.
3666 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3667 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3668 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3671 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3672 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3673 as optional.
3674 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3675 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3676 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3677 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3678 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3679 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3680 specify as optional.
3681 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3682 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3683 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3684 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3685 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3686 [XPG3] (NL_LANGMAX): Likewise.
3687 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3688 [POSIX || XPG3] (NL_NMAX): Likewise.
3689 [POSIX || XPG3] (NL_SETMAX): Likewise.
3690 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3691 [XPG3] (NZERO): Likewise.
3692 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3693 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3694 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3695 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3696 (REG_ERANGE): Expect.
3697 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3698 optional-constant.
3699 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3700 Use (void) in prototype.
3701 [POSIX] (*_t): Allow.
3702 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3703 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3704 (WRDE_BADVAL): Expect.
3705
3706 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3707 expect.
3708 [XPG3 || XPG4] (O_RSYNC): Likewise.
3709 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3710 Likewise.
3711 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3712 [XPG3 || XPG4] (sigqueue): Likewise.
3713 [XPG3 || XPG4] (sigtimedwait): Likewise.
3714 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3715 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3716 [XPG3 || XPG4] (vsnprintf): Likewise.
3717 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3718 Likewise.
3719 [XPG3 || XPG4] (blksize_t): Likewise.
3720 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3721 Likewise.
3722 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3723 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3724 [XPG3 || XPG4] (struct itimerspec): Likewise.
3725 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3726 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3727 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3728 [XPG3 || XPG4] (clockid_t): Likewise.
3729 [XPG3 || XPG4] (timer_t): Likewise.
3730 [XPG3 || XPG4] (clock_getres): Likewise.
3731 [XPG3 || XPG4] (clock_gettime): Likewise.
3732 [XPG3 || XPG4] (clock_settime): Likewise.
3733 [XPG3 || XPG4] (nanosleep): Likewise.
3734 [XPG3 || XPG4] (timer_create): Likewise.
3735 [XPG3 || XPG4] (timer_delete): Likewise.
3736 [XPG3 || XPG4] (timer_gettime): Likewise.
3737 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3738 [XPG3 || XPG4] (timer_settime): Likewise.
3739 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3740 [XPG3 || XPG4] (getlogin_r): Likewise.
3741 [XPG3 || XPG4] (pread): Likewise.
3742 [XPG3 || XPG4] (pthread_atfork): Likewise.
3743 [XPG3 || XPG4] (pwrite): Likewise.
3744
3745 [BZ #14835]
3746 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3747 <bits/siginfo.h>.
3748
37492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3750
3751 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3752 finalizing MALLSTREAM.
3753
3754 * sysdeps/mach/hurd/syncfs.c: New file.
3755
37562012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3757
3758 [BZ #14719]
3759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3760 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3761 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3762 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3763 (_nss_dns_gethostbyname4_r): Likewise.
3764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3765 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3766
37672012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3768
3769 [BZ #13763]
3770 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3771
37722012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3773
3774 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3775 * elf/cache.c (print_entry): Print ",AArch64" for
3776 FLAG_AARCH64_LIB64
3777
3778 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3779 * elf/cache.c (print_entry): Print ",hard-float" for
3780 FLAG_ARM_LIBHF.
3781
37822012-11-18 David S. Miller <davem@davemloft.net>
3783
3784 With help from Joseph Myers.
3785 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3786 cutoff to 2**-13.
3787 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3788 cutoff to 2**-25.
3789 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3790 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3791 small.
3792 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3793 * math/libm-test.inc (y0_test): New tests.
3794 (y1_test): New tests.
3795 * sysdeps/i386/fpu/libm-test-ulps: Update.
3796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3798
37992012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3800
3801 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3802 64-bit targets.
3803 * configure: Regenerated.
3804
38052012-11-17 David S. Miller <davem@davemloft.net>
3806
3807 [BZ #14811]
3808 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3809 nonzero exponents with absolute value below 0x1p-128 to +/-
3810 0x1p-128.
3811
38122012-11-17 Joseph Myers <joseph@codesourcery.com>
3813
3814 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3815
3816 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3817
3818 * posix/getconf-speclist.c: New file.
3819 * posix/posix-envs.def: Likewise.
3820 * posix/confstr.c (START_ENV_GROUP): New macro.
3821 (END_ENV_GROUP): Likewise.
3822 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3823 (KNOWN_PRESENT_ENV_STRING): Likewise.
3824 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3825 (UNKNOWN_ENVIRONMENT): Likewise.
3826 (confstr): Include posix-envs.def instead of handling
3827 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3828 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3829 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3830 (END_ENV_GROUP): Likewise.
3831 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3832 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3833 (UNKNOWN_ENVIRONMENT): Likewise.
3834 (__sysconf): Include posix-envs.def instead of handling associated
3835 cases directly here.
3836 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3837 preprocessing getconf-speclist.c rather than running getconf or
3838 generating empty file.
3839
38402012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3841
3842 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3843
38442012-11-16 Andrej Lajovic <natrij@gmail.com>
3845
3846 [BZ #14672]
3847 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3848
38492012-11-16 David S. Miller <davem@davemloft.net>
3850
3851 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3852 smaller than LDBL_EPSILON/2.0L, just return xm1.
3853
38542012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3855
3856 * elf/tst-array1.c (init): Set constructor priority to 1000.
3857 (fini): Set destructor priority to 1000.
3858 * elf/tst-array2dep.c: Likewise.
3859
38602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3861
3862 [BZ #11741]
3863 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3864 (_IO_new_file_xsputn): Also return EOF if none of the input
3865 data was written when overflow failed.
3866 * libio/iopadn.c (_IO_padn): Likewise.
3867 * libio/iowpadn.c (_IO_wpadn): Likewise.
3868 * stdio-common/tst-put-error.c: Add copyright notice.
3869 (do_test): Add case for printing padded string.
3870 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3871 _IO_padn returned error.
3872 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3873 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3874 return EOF.
3875
38762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3877
3878 * libio/libioP.h: Add comment note that the references to C++
3879 bits are now obsolete.
3880
38812012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3882
3883 * math/libm-test.inc (check_complex): Use asprintf.
3884
38852012-11-14 Joseph Myers <joseph@codesourcery.com>
3886
3887 * debug/pcprofiledump.c (print_version): Update copyright year.
3888 * malloc/memusagestat.c (print_version): Likewise.
3889
38902012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 [BZ #14831]
3893 * elf/Makefile (tests): Add tst-audit8.
3894 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3895 ($(objpfx)tst-audit8.out): New target.
3896 (tst-audit8-ENV): New variable.
3897 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3898 audit if l_reloc_result is NULL.
3899 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3900 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3901 * elf/tst-audit8.c: New file.
3902
39032012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3904
3905 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3906 * misc/Makefile (CFLAGS-select.c): Define.
3907 * posix/Makefile (CFLAGS-pause.c): Define.
3908
39092012-11-13 David S. Miller <davem@davemloft.net>
3910
3911 * crypt/Makefile: Move test targets after toplevel Rules
3912 inclusion. Grab any necessary sysdep routines when linking.
3913 * crypt/md5.c (md5_process_block): Remove define, we will always
3914 name it __md5_process_block.
3915 (md5_finish_ctx): Update md5_process_block call.
3916 (md5_stream): Likewise.
3917 (md5_process_bytes): Likewise.
3918 (md5_process_block): Rename to __md5_process_block and move to ...
3919 * crypt/md5-block.c: ... here.
3920 * crypt/sha256.c (sha256_process_block): Move to ...
3921 * crypt/sha256-block.c: ... here.
3922 * crypt/sha512.c (sha512_process_block): Move to ...
3923 * crypt/sha512-block.c: ... here.
3924 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3925 path.
3926 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3927 * sysdeps/sparc/sparc64/multiarch/Makefile
3928 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3929 crypt subdir.
3930 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3931 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3932 multiarch changes.
3933 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3934 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3935 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3936 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3937 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3938 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3939 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3940 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3941 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3942 file.
3943 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3944 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3945 file.
3946 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3947
39482012-11-13 Joseph Myers <joseph@codesourcery.com>
3949
3950 * timezone/tzselect.ksh: Update from tzcode git revision
3951 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3952 * timezone/zdump.c: Likewise.
3953 * timezone/zic.c: Likewise.
3954 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3955 in TZVERSION setting, not $(PKGVERSION).
3956 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3957 REPORT_BUGS_TO settings.
3958
3959 [BZ #14838]
3960 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3961 macro.
3962
39632012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3964
3965 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3966 detection to immediately after _FP_ROUND().
3967 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3968 bits are 0.
3969
39702012-11-11 David S. Miller <davem@davemloft.net>
3971
3972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3973 inttypes.h
3974 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3975 __close rather than their public counterparts.
3976
39772012-11-10 Joseph Myers <joseph@codesourcery.com>
3978
3979 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3980 file.
3981 [UNIX98] (sem_timedwait): Do not expect.
3982 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3983 [XPG4 || UNIX98] (sockatmark): Do not expect.
3984 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3985 (clock_getcpuclockid): Do not expect.
3986 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3987 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3988 Do not expect.
3989 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3990 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3991 [UNIX98] (vwscanf): Likewise.
3992 [UNIX98] (vswscanf): Likewise.
3993
39942012-11-09 Joseph Myers <joseph@codesourcery.com>
3995
3996 * timezone/version.h: Remove file.
3997 * timezone/README: Do not refer to version.h.
3998 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3999 $(objpfx)version.h.
4000 ($(objpfx)zdump.o): Likewise.
4001 ($(objpfx)version.h): New target.
4002
4003 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4004 2012i.
4005 * timezone/README: Don't mention modification to tzselect.ksh.
4006 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4007 work on unmodified tzselect.ksh. Substitute version numbers in
4008 tzselect.ksh.
4009
4010 * Makefile (format-me): Remove.
4011 (INSTALL): Adjust indentation. Use commands directly instead of
4012 using $(format-me).
4013
4014 * aclocal.m4 (ACX_PKGVERSION): New macro.
4015 (ACX_BUGURL): Likewise.
4016 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4017 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4018 (REPORT_BUGS_TO): Likewise.
4019 * configure: Regenerated.
4020 * config.h.in (PKGVERSION): New macro.
4021 (REPORT_BUGS_TO): Likewise.
4022 * config.make.in (PKGVERSION): New variable.
4023 (PKGVERSION_TEXI): Likewise.
4024 (REPORT_BUGS_TO): Likewise.
4025 (REPORT_BUGS_TEXI): Likewise.
4026 * Makefile (format-me): Use -I$(common-objpfx)manual.
4027 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4028 ($(common-objpfx)manual/%): New target.
4029 (manual/%): Remove target.
4030 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4031 (print_version): Use PKGVERSION.
4032 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4033 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4034 and REPORT_BUGS_TO.
4035 ($(objpfx)xtrace): Likewise.
4036 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4037 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4038 (print_version): Use PKGVERSION.
4039 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4040 (do_version): Use PKGVERSION.
4041 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4042 REPORT_BUGS_TO.
4043 (common-ldd-rewrite): Likewise.
4044 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4045 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4046 (print_version): Use PKGVERSION.
4047 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4048 * elf/pldd.c (argp_program_bug_address): Remove variable.
4049 (more_help): New function.
4050 (argp): Use more_help.
4051 (print_version): Use PKGVERSION.
4052 * elf/sln.c (main): Use PKGVERSION.
4053 (usage): Use REPORT_BUGS_TO.
4054 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4055 (top level): Use PKGVERSION.
4056 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4057 (print_version): Use PKGVERSION.
4058 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4059 (print_version): Use PKGVERSION.
4060 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4061 (print_version): Use PKGVERSION.
4062 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4063 (print_version): Use PKGVERSION.
4064 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4065 (print_version): Use PKGVERSION.
4066 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4067 (print_version): Use PKGVERSION.
4068 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4069 and BUGURL.
4070 ($(objpfx)memusage): Likewise.
4071 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4072 (do_version): Use PKGVERSION.
4073 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4074 (print_version): Use PKGVERSION.
4075 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4076 ($PKGVERSION): New variable.
4077 ($REPORT_BUGS_TO): Likewise.
4078 (usage): Use $REPORT_BUGS_TO.
4079 (top level): Use $PKGVERSION.
4080 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4081 ($(objpfx)pkgvers.texi): New rule.
4082 ($(objpfx)stamp-pkgvers): Likewise.
4083 * manual/install.texi: Include pkgvers.texi.
4084 (--with-pkgversion): Document new configure option.
4085 (--with-bugurl): Likewise.
4086 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4087 than necessarily for this particular distribution. Use
4088 REPORT_BUGS_TO for where to report bugs.
4089 * INSTALL: Regenerated.
4090 * manual/libc.texinfo: Include pkgvers.texi.
4091 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4092 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4093 (print_version): Use PKGVERSION.
4094 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4095 (print_version): Use PKGVERSION.
4096 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4097 (print_version): Use PKGVERSION.
4098 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4099 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4100 macro.
4101 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4102 (print_version): Use PKGVERSION.
4103 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4104 (print_version): Use PKGVERSION.
4105 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4106 and PKGVERSION.
4107
4108 * timezone/checktab.awk: Update from tzcode 2012i.
4109 * timezone/ialloc.c: Likewise.
4110 * timezone/private.h: Likewise.
4111 * timezone/scheck.c: Likewise.
4112 * timezone/tzfile.h: Likewise.
4113 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4114 (TZVERSION): Hardcode tzcode version number.
4115 * timezone/zdump.c: Update from tzcode 2012i.
4116 * timezone/zic.c: Likewise.
4117 * timezone/version.h: New file.
4118 * timezone/README: Describe version.h. Update upstream location.
4119
4120 [BZ #14824]
4121 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4122 (mktemp): Enable declaration.
4123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4127 Likewise.
4128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4129 Likewise.
4130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4131 Likewise.
4132 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4133 Likewise.
4134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4135 Likewise.
4136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4137 Likewise.
4138
4139 [BZ #14821]
4140 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4141 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4142 for copies of such integer values.
4143 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4144 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4145
41462012-11-09 Andreas Jaeger <aj@suse.de>
4147
4148 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4149 definitions and declarations that are provided by
4150 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4151
41522012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4153
4154 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4155 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4156 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4157 definition.
4158
41592012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4160
4161 * elf/elf.h: Update comment before AArch64 relocations.
4162
41632012-11-07 David S. Miller <davem@davemloft.net>
4164
4165 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4166 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4167 (__start_context): Declare.
4168 (__makecontext_ret): Delete.
4169 (__makecontext): Hook up __start_context instead of
4170 __makecontext_ret.
4171 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4172 (sysdep_routines): Add __start_context when in stdlib.
4173
41742012-11-07 Joseph Myers <joseph@codesourcery.com>
4175
4176 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4177 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4178 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4179 hardcoded "nm".
4180 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4181 (READELF): New variable. Use it instead of hardcoded "readelf".
4182
41832012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4184
4185 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4186 * sysdeps/x86/Makefile: Here.
4187 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4188 * sysdeps/x86/tst-xmmymm.sh: This.
4189
41902012-11-07 Joseph Myers <joseph@codesourcery.com>
4191
4192 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4193 expectations.
4194 [UNIX98] (pthread_barrier_t): Do not expect.
4195 [UNIX98] (pthread_barrierattr_t): Likewise.
4196 [UNIX98] (pthread_spinlock_t): Likewise.
4197 [UNIX98] (pthread_barrier_destroy): Likewise.
4198 [UNIX98] (pthread_barrier_init): Likewise.
4199 [UNIX98] (pthread_barrier_wait): Likewise.
4200 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4201 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4202 [UNIX98] (pthread_barrierattr_init): Likewise.
4203 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4204 [UNIX98] (pthread_getcpuclockid): Likewise.
4205 [UNIX98] (pthread_mutex_timedlock): Likewise.
4206 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4207 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4208 [UNIX98] (pthread_sigmask): Likewise.
4209 [UNIX98] (pthread_spin_destroy): Likewise.
4210 [UNIX98] (pthread_spin_init): Likewise.
4211 [UNIX98] (pthread_spin_lock): Likewise.
4212 [UNIX98] (pthread_spin_trylock): Likewise.
4213 [UNIX98] (pthread_spin_unlock): Likewise.
4214 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4215 Do not expect.
4216 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4217 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4218 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4219 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4220 [XPG3 || XPG4] (pthread_key_t): Likewise.
4221 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4222 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4223 [XPG3 || XPG4] (pthread_once_t): Likewise.
4224 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4225 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4226 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4227 [XPG3 || XPG4] (pthread_t): Likewise.
4228
4229 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4230 not expect.
4231 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4232
4233 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4234 Change function return type to int.
4235
4236 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4237 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4238 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4239 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4240 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4241 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4242 [!POSIX] (posix_madvise): Likewise.
4243 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4244 && !UNIX98].
4245 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4246 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4247 (mode_t): Likewise.
4248 (posix_mem_offset): Likewise.
4249 (posix_typed_mem_get_info): Likewise.
4250 (posix_typed_mem_open): Likewise.
4251
4252 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4253 Change condition to [XOPEN2K8].
4254
4255 * conform/conformtest.pl: Preprocess allow-header data with -x c
4256 instead of from stdin.
4257 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4258 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4259 [C99-based standards] (cerfc): Likewise.
4260 [C99-based standards] (cexp2): Likewise.
4261 [C99-based standards] (cexpm1): Likewise.
4262 [C99-based standards] (clog10): Likewise.
4263 [C99-based standards] (clog1p): Likewise.
4264 [C99-based standards] (clog2): Likewise.
4265 [C99-based standards] (clgamma): Likewise.
4266 [C99-based standards] (ctgamma): Likewise.
4267 [C99-based standards] (cerff): Likewise.
4268 [C99-based standards] (cerfcf): Likewise.
4269 [C99-based standards] (cexp2f): Likewise.
4270 [C99-based standards] (cexpm1f): Likewise.
4271 [C99-based standards] (clog10f): Likewise.
4272 [C99-based standards] (clog1pf): Likewise.
4273 [C99-based standards] (clog2f): Likewise.
4274 [C99-based standards] (clgammaf): Likewise.
4275 [C99-based standards] (ctgammaf): Likewise.
4276 [C99-based standards] (cerfl): Likewise.
4277 [C99-based standards] (cerfcl): Likewise.
4278 [C99-based standards] (cexp2l): Likewise.
4279 [C99-based standards] (cexpm1l): Likewise.
4280 [C99-based standards] (clog10l): Likewise.
4281 [C99-based standards] (clog1pl): Likewise.
4282 [C99-based standards] (clog2l): Likewise.
4283 [C99-based standards] (clgammal): Likewise.
4284 [C99-based standards] (ctgammal): Likewise.
4285 * conform/data/inttypes.h-data [C99-based standards]: Include
4286 stdint.h-data. Remove all expectations for stdint.h contents.
4287 [C99-based standards] (PRI*): Do not allow.
4288 [C99-based standards] (SCN*): Likewise.
4289 [C99-based standards] (*_t): Likewise.
4290 [C99-based-standards] (PRId8): Expect macro.
4291 [C99-based-standards] (PRIi8): Likewise.
4292 [C99-based-standards] (PRIo8): Likewise.
4293 [C99-based-standards] (PRIu8): Likewise.
4294 [C99-based-standards] (PRIx8): Likewise.
4295 [C99-based-standards] (PRIX8): Likewise.
4296 [C99-based-standards] (SCNd8): Likewise.
4297 [C99-based-standards] (SCNi8): Likewise.
4298 [C99-based-standards] (SCNo8): Likewise.
4299 [C99-based-standards] (SCNu8): Likewise.
4300 [C99-based-standards] (SCNx8): Likewise.
4301 [C99-based-standards] (PRIdLEAST8): Likewise.
4302 [C99-based-standards] (PRIiLEAST8): Likewise.
4303 [C99-based-standards] (PRIoLEAST8): Likewise.
4304 [C99-based-standards] (PRIuLEAST8): Likewise.
4305 [C99-based-standards] (PRIxLEAST8): Likewise.
4306 [C99-based-standards] (PRIXLEAST8): Likewise.
4307 [C99-based-standards] (SCNdLEAST8): Likewise.
4308 [C99-based-standards] (SCNiLEAST8): Likewise.
4309 [C99-based-standards] (SCNoLEAST8): Likewise.
4310 [C99-based-standards] (SCNuLEAST8): Likewise.
4311 [C99-based-standards] (SCNxLEAST8): Likewise.
4312 [C99-based-standards] (PRIdFAST8): Likewise.
4313 [C99-based-standards] (PRIiFAST8): Likewise.
4314 [C99-based-standards] (PRIoFAST8): Likewise.
4315 [C99-based-standards] (PRIuFAST8): Likewise.
4316 [C99-based-standards] (PRIxFAST8): Likewise.
4317 [C99-based-standards] (PRIXFAST8): Likewise.
4318 [C99-based-standards] (SCNdFAST8): Likewise.
4319 [C99-based-standards] (SCNiFAST8): Likewise.
4320 [C99-based-standards] (SCNoFAST8): Likewise.
4321 [C99-based-standards] (SCNuFAST8): Likewise.
4322 [C99-based-standards] (SCNxFAST8): Likewise.
4323 [C99-based-standards] (PRId16): Likewise.
4324 [C99-based-standards] (PRIi16): Likewise.
4325 [C99-based-standards] (PRIo16): Likewise.
4326 [C99-based-standards] (PRIu16): Likewise.
4327 [C99-based-standards] (PRIx16): Likewise.
4328 [C99-based-standards] (PRIX16): Likewise.
4329 [C99-based-standards] (SCNd16): Likewise.
4330 [C99-based-standards] (SCNi16): Likewise.
4331 [C99-based-standards] (SCNo16): Likewise.
4332 [C99-based-standards] (SCNu16): Likewise.
4333 [C99-based-standards] (SCNx16): Likewise.
4334 [C99-based-standards] (PRIdLEAST16): Likewise.
4335 [C99-based-standards] (PRIiLEAST16): Likewise.
4336 [C99-based-standards] (PRIoLEAST16): Likewise.
4337 [C99-based-standards] (PRIuLEAST16): Likewise.
4338 [C99-based-standards] (PRIxLEAST16): Likewise.
4339 [C99-based-standards] (PRIXLEAST16): Likewise.
4340 [C99-based-standards] (SCNdLEAST16): Likewise.
4341 [C99-based-standards] (SCNiLEAST16): Likewise.
4342 [C99-based-standards] (SCNoLEAST16): Likewise.
4343 [C99-based-standards] (SCNuLEAST16): Likewise.
4344 [C99-based-standards] (SCNxLEAST16): Likewise.
4345 [C99-based-standards] (PRIdFAST16): Likewise.
4346 [C99-based-standards] (PRIiFAST16): Likewise.
4347 [C99-based-standards] (PRIoFAST16): Likewise.
4348 [C99-based-standards] (PRIuFAST16): Likewise.
4349 [C99-based-standards] (PRIxFAST16): Likewise.
4350 [C99-based-standards] (PRIXFAST16): Likewise.
4351 [C99-based-standards] (SCNdFAST16): Likewise.
4352 [C99-based-standards] (SCNiFAST16): Likewise.
4353 [C99-based-standards] (SCNoFAST16): Likewise.
4354 [C99-based-standards] (SCNuFAST16): Likewise.
4355 [C99-based-standards] (SCNxFAST16): Likewise.
4356 [C99-based-standards] (PRId32): Likewise.
4357 [C99-based-standards] (PRIi32): Likewise.
4358 [C99-based-standards] (PRIo32): Likewise.
4359 [C99-based-standards] (PRIu32): Likewise.
4360 [C99-based-standards] (PRIx32): Likewise.
4361 [C99-based-standards] (PRIX32): Likewise.
4362 [C99-based-standards] (SCNd32): Likewise.
4363 [C99-based-standards] (SCNi32): Likewise.
4364 [C99-based-standards] (SCNo32): Likewise.
4365 [C99-based-standards] (SCNu32): Likewise.
4366 [C99-based-standards] (SCNx32): Likewise.
4367 [C99-based-standards] (PRIdLEAST32): Likewise.
4368 [C99-based-standards] (PRIiLEAST32): Likewise.
4369 [C99-based-standards] (PRIoLEAST32): Likewise.
4370 [C99-based-standards] (PRIuLEAST32): Likewise.
4371 [C99-based-standards] (PRIxLEAST32): Likewise.
4372 [C99-based-standards] (PRIXLEAST32): Likewise.
4373 [C99-based-standards] (SCNdLEAST32): Likewise.
4374 [C99-based-standards] (SCNiLEAST32): Likewise.
4375 [C99-based-standards] (SCNoLEAST32): Likewise.
4376 [C99-based-standards] (SCNuLEAST32): Likewise.
4377 [C99-based-standards] (SCNxLEAST32): Likewise.
4378 [C99-based-standards] (PRIdFAST32): Likewise.
4379 [C99-based-standards] (PRIiFAST32): Likewise.
4380 [C99-based-standards] (PRIoFAST32): Likewise.
4381 [C99-based-standards] (PRIuFAST32): Likewise.
4382 [C99-based-standards] (PRIxFAST32): Likewise.
4383 [C99-based-standards] (PRIXFAST32): Likewise.
4384 [C99-based-standards] (SCNdFAST32): Likewise.
4385 [C99-based-standards] (SCNiFAST32): Likewise.
4386 [C99-based-standards] (SCNoFAST32): Likewise.
4387 [C99-based-standards] (SCNuFAST32): Likewise.
4388 [C99-based-standards] (SCNxFAST32): Likewise.
4389 [C99-based-standards] (PRId64): Likewise.
4390 [C99-based-standards] (PRIi64): Likewise.
4391 [C99-based-standards] (PRIo64): Likewise.
4392 [C99-based-standards] (PRIu64): Likewise.
4393 [C99-based-standards] (PRIx64): Likewise.
4394 [C99-based-standards] (PRIX64): Likewise.
4395 [C99-based-standards] (SCNd64): Likewise.
4396 [C99-based-standards] (SCNi64): Likewise.
4397 [C99-based-standards] (SCNo64): Likewise.
4398 [C99-based-standards] (SCNu64): Likewise.
4399 [C99-based-standards] (SCNx64): Likewise.
4400 [C99-based-standards] (PRIdLEAST64): Likewise.
4401 [C99-based-standards] (PRIiLEAST64): Likewise.
4402 [C99-based-standards] (PRIoLEAST64): Likewise.
4403 [C99-based-standards] (PRIuLEAST64): Likewise.
4404 [C99-based-standards] (PRIxLEAST64): Likewise.
4405 [C99-based-standards] (PRIXLEAST64): Likewise.
4406 [C99-based-standards] (SCNdLEAST64): Likewise.
4407 [C99-based-standards] (SCNiLEAST64): Likewise.
4408 [C99-based-standards] (SCNoLEAST64): Likewise.
4409 [C99-based-standards] (SCNuLEAST64): Likewise.
4410 [C99-based-standards] (SCNxLEAST64): Likewise.
4411 [C99-based-standards] (PRIdFAST64): Likewise.
4412 [C99-based-standards] (PRIiFAST64): Likewise.
4413 [C99-based-standards] (PRIoFAST64): Likewise.
4414 [C99-based-standards] (PRIuFAST64): Likewise.
4415 [C99-based-standards] (PRIxFAST64): Likewise.
4416 [C99-based-standards] (PRIXFAST64): Likewise.
4417 [C99-based-standards] (SCNdFAST64): Likewise.
4418 [C99-based-standards] (SCNiFAST64): Likewise.
4419 [C99-based-standards] (SCNoFAST64): Likewise.
4420 [C99-based-standards] (SCNuFAST64): Likewise.
4421 [C99-based-standards] (SCNxFAST64): Likewise.
4422 [C99-based-standards] (PRIdMAX): Likewise.
4423 [C99-based-standards] (PRIiMAX): Likewise.
4424 [C99-based-standards] (PRIoMAX): Likewise.
4425 [C99-based-standards] (PRIuMAX): Likewise.
4426 [C99-based-standards] (PRIxMAX): Likewise.
4427 [C99-based-standards] (PRIXMAX): Likewise.
4428 [C99-based-standards] (SCNdMAX): Likewise.
4429 [C99-based-standards] (SCNiMAX): Likewise.
4430 [C99-based-standards] (SCNoMAX): Likewise.
4431 [C99-based-standards] (SCNuMAX): Likewise.
4432 [C99-based-standards] (SCNxMAX): Likewise.
4433 [C99-based-standards] (PRIdPTR): Likewise.
4434 [C99-based-standards] (PRIiPTR): Likewise.
4435 [C99-based-standards] (PRIoPTR): Likewise.
4436 [C99-based-standards] (PRIuPTR): Likewise.
4437 [C99-based-standards] (PRIxPTR): Likewise.
4438 [C99-based-standards] (PRIXPTR): Likewise.
4439 [C99-based-standards] (SCNdPTR): Likewise.
4440 [C99-based-standards] (SCNiPTR): Likewise.
4441 [C99-based-standards] (SCNoPTR): Likewise.
4442 [C99-based-standards] (SCNuPTR): Likewise.
4443 [C99-based-standards] (SCNxPTR): Likewise.
4444 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4445 allow.
4446 * conform/data/stdint.h-data: Update comments to clarify
4447 requirements.
4448 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4449 type.
4450 [C99-based standards] (INT8_MAX): Likewise.
4451 [C99-based standards] (INT16_MIN): Likewise.
4452 [C99-based standards] (INT16_MAX): Likewise.
4453 [C99-based standards] (INT32_MIN): Likewise.
4454 [C99-based standards] (INT32_MAX): Likewise.
4455 [C99-based standards] (INT64_MIN): Likewise.
4456 [C99-based standards] (INT64_MAX): Likewise.
4457 [C99-based standards] (UINT8_MAX): Likewise.
4458 [C99-based standards] (UINT16_MAX): Likewise.
4459 [C99-based standards] (UINT32_MAX): Likewise.
4460 [C99-based standards] (UINT64_MAX): Likewise.
4461 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4462 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4463 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4464 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4465 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4466 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4467 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4468 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4469 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4470 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4471 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4472 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4473 [C99-based standards] (INT_FAST8_MIN): Likewise.
4474 [C99-based standards] (INT_FAST8_MAX): Likewise.
4475 [C99-based standards] (INT_FAST16_MIN): Likewise.
4476 [C99-based standards] (INT_FAST16_MAX): Likewise.
4477 [C99-based standards] (INT_FAST32_MIN): Likewise.
4478 [C99-based standards] (INT_FAST32_MAX): Likewise.
4479 [C99-based standards] (INT_FAST64_MIN): Likewise.
4480 [C99-based standards] (INT_FAST64_MAX): Likewise.
4481 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4482 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4483 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4484 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4485 [C99-based standards] (INTPTR_MIN): Likewise.
4486 [C99-based standards] (INTPTR_MAX): Likewise.
4487 [C99-based standards] (UINTPTR_MAX): Likewise.
4488 [C99-based standards] (INTMAX_MIN): Likewise.
4489 [C99-based standards] (INTMAX_MAX): Likewise.
4490 [C99-based standards] (UINTMAX_MAX): Likewise.
4491 [C99-based standards] (PTRDIFF_MIN): Likewise.
4492 [C99-based standards] (PTRDIFF_MAX): Likewise.
4493 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4494 [C99-based standards] (SIZE_MAX): Likewise.
4495 [C99-based standards] (WCHAR_MAX): Likewise.
4496 [C99-based standards] (WINT_MAX): Likewise.
4497 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4498 constraint on value.
4499 [C99-based standards] (WCHAR_MIN): Likewise.
4500 [C99-based standards] (WINT_MIN): Likewise.
4501 [C99-based standards] (*_t): Allow.
4502 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4503 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4504 Include math.h-data and complex.h-data. Remove all expectations
4505 of math.h and complex.h contents.
4506 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4507 at end of line.
4508 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4509 (struct tm): Expect tag.
4510 [C99-based-standards] (wcstof): Expect function.
4511 [C99-based-standards] (wcstold): Likewise.
4512 [C99-based-standards] (wcstoll): Likewise.
4513 [C99-based-standards] (wcstoull): Likewise.
4514 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4515 macro-int-constant. Specify type.
4516 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4517 constraint on value.
4518 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4519 Specify type.
4520 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4521 Specify value.
4522 [ISO C standards]: Do not allow headers.
4523 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4524 wcs[abcdefghijklmnopqrstuvwxyz]*.
4525 [ISO C standards] (*_t): Do not allow.
4526 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4527 Expect function.
4528 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4529 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4530 Specify type.
4531 [ISO C standards]: Do not allow headers.
4532 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4533 is[abcdefghijklmnopqrstuvwxyz]*.
4534 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4535 to[abcdefghijklmnopqrstuvwxyz]*.
4536 [ISO C standards] (*_t): Do not allow.
4537 * conform/data/stdalign.h-data: New file.
4538 * conform/data/stdbool.h-data: Likewise.
4539 * conform/data/stdnoreturn.h-data: Likewise.
4540
45412012-11-07 Roland McGrath <roland@hack.frob.com>
4542
4543 [BZ #14815]
4544 * manual/filesys.texi (Directory Entries): Typo fix.
4545 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4546
45472012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4548
4549 * elf/elf.h (EM_AARCH64): New macro.
4550 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4551 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4552 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4553 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4554 (R_AARCH64_TLSDESC): Likewise.
4555 (NT_ARM_TLS): Likewise.
4556 (NT_ARM_HW_BREAK): Likewise.
4557 (NT_ARM_HW_WATCH): Likewise.
4558
45592012-11-07 Joseph Myers <joseph@codesourcery.com>
4560
4561 [BZ #14811]
4562 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4563 (__ieee754_powl): Saturate nonzero exponents with absolute value
4564 below 0x1p-79 to +/- 0x1p-79.
4565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4566 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4567 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4568 nonzero exponents with absolute value below 0x1p-32 to +/-
4569 0x1p-32.
4570 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4571 (__ieee754_powl): Saturate nonzero exponents with absolute value
4572 below 0x1p-79 to +/- 0x1p-79.
4573 * math/libm-test.inc (pow_test): Add more tests.
4574
45752012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4576
4577 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4578 _dl_s390_cap_flags with kernel. Increase string length.
4579 (_dl_s390_platforms): Add z196 and zEC12.
4580
45812012-11-07 Joseph Myers <joseph@codesourcery.com>
4582
4583 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4584 Change XOPEN21K to XOPEN2K.
4585
45862012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4587
4588 * string/memmove.c: Use memcpy when possible.
4589
45902012-11-06 Andreas Jaeger <aj@suse.de>
4591
4592 * po/eo.po: Update from translation team.
4593
45942012-11-06 Joseph Myers <joseph@codesourcery.com>
4595
4596 [BZ #14793]
4597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4598 exponent and small x and y exponents, scale x or y up. Increase
4599 by 2 the exponent used in scaling up.
4600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4601 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4602 * math/libm-test.inc (fma_test): Add more tests.
4603 (fma_test_towardzero): Likewise.
4604 (fma_test_downward): Likewise.
4605 (fma_test_upward): Likewise.
4606
46072012-11-05 Joseph Myers <joseph@codesourcery.com>
4608
4609 [BZ #14805]
4610 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4611 fenv_t *.
4612
4613 [BZ #14801]
4614 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4615 namespace for names of struct fields.
4616 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4617 fenv_t fields.
4618 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4619 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4620
46212012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4622
4623 [BZ #3665]
4624 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4625
46262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4627
4628 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4629 PTR_DEMANGLE.
4630
4631 [BZ #5246]
4632 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4633 PTR_DEMANGLE.
4634
46352012-11-04 Joseph Myers <joseph@codesourcery.com>
4636
4637 [BZ #14797]
4638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4639 definitely overflow as x * y not x * y + z.
4640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4642 * math/libm-test.inc (fma_test): Add more tests.
4643 (fma_test_towardzero): Likewise.
4644 (fma_test_downward): Likewise.
4645 (fma_test_upward): Likewise.
4646
46472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4648
4649 [BZ #157]
4650
4651 * include/stub-tag.h: Remove file.
4652 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4653 '#include' of it.
4654 * manual/maint.texi (Porting): Don't reference it.
4655 * Makerules ($(objpfx)stubs): Likewise.
4656 * dirent/closedir.c: Don't include <stub-tag.h>.
4657 * dirent/dirfd.c: Likewise.
4658 * dirent/fdopendir.c: Likewise.
4659 * dirent/getdents.c: Likewise.
4660 * dirent/getdents64.c: Likewise.
4661 * dirent/opendir.c: Likewise.
4662 * dirent/readdir.c: Likewise.
4663 * dirent/readdir64.c: Likewise.
4664 * dirent/readdir64_r.c: Likewise.
4665 * dirent/readdir_r.c: Likewise.
4666 * dirent/rewinddir.c: Likewise.
4667 * dirent/seekdir.c: Likewise.
4668 * dirent/telldir.c: Likewise.
4669 * gmon/profil.c: Likewise.
4670 * grp/setgroups.c: Likewise.
4671 * inet/if_index.c: Likewise.
4672 * io/access.c: Likewise.
4673 * io/chdir.c: Likewise.
4674 * io/chmod.c: Likewise.
4675 * io/chown.c: Likewise.
4676 * io/close.c: Likewise.
4677 * io/dup.c: Likewise.
4678 * io/dup2.c: Likewise.
4679 * io/dup3.c: Likewise.
4680 * io/euidaccess.c: Likewise.
4681 * io/faccessat.c: Likewise.
4682 * io/fchdir.c: Likewise.
4683 * io/fchmod.c: Likewise.
4684 * io/fchmodat.c: Likewise.
4685 * io/fchown.c: Likewise.
4686 * io/fchownat.c: Likewise.
4687 * io/fcntl.c: Likewise.
4688 * io/flock.c: Likewise.
4689 * io/fstatfs.c: Likewise.
4690 * io/fstatfs64.c: Likewise.
4691 * io/fstatvfs.c: Likewise.
4692 * io/fstatvfs64.c: Likewise.
4693 * io/futimens.c: Likewise.
4694 * io/fxstat.c: Likewise.
4695 * io/fxstat64.c: Likewise.
4696 * io/fxstatat.c: Likewise.
4697 * io/fxstatat64.c: Likewise.
4698 * io/getcwd.c: Likewise.
4699 * io/isatty.c: Likewise.
4700 * io/lchmod.c: Likewise.
4701 * io/lchown.c: Likewise.
4702 * io/link.c: Likewise.
4703 * io/linkat.c: Likewise.
4704 * io/lseek.c: Likewise.
4705 * io/lseek64.c: Likewise.
4706 * io/lxstat64.c: Likewise.
4707 * io/mkdir.c: Likewise.
4708 * io/mkdirat.c: Likewise.
4709 * io/mkfifo.c: Likewise.
4710 * io/mkfifoat.c: Likewise.
4711 * io/open.c: Likewise.
4712 * io/open64.c: Likewise.
4713 * io/openat.c: Likewise.
4714 * io/openat64.c: Likewise.
4715 * io/pipe.c: Likewise.
4716 * io/pipe2.c: Likewise.
4717 * io/poll.c: Likewise.
4718 * io/posix_fadvise.c: Likewise.
4719 * io/posix_fadvise64.c: Likewise.
4720 * io/posix_fallocate.c: Likewise.
4721 * io/posix_fallocate64.c: Likewise.
4722 * io/read.c: Likewise.
4723 * io/readlink.c: Likewise.
4724 * io/readlinkat.c: Likewise.
4725 * io/rmdir.c: Likewise.
4726 * io/sendfile.c: Likewise.
4727 * io/sendfile64.c: Likewise.
4728 * io/statfs.c: Likewise.
4729 * io/statfs64.c: Likewise.
4730 * io/statvfs.c: Likewise.
4731 * io/statvfs64.c: Likewise.
4732 * io/symlink.c: Likewise.
4733 * io/symlinkat.c: Likewise.
4734 * io/ttyname.c: Likewise.
4735 * io/ttyname_r.c: Likewise.
4736 * io/umask.c: Likewise.
4737 * io/unlink.c: Likewise.
4738 * io/unlinkat.c: Likewise.
4739 * io/utime.c: Likewise.
4740 * io/utimensat.c: Likewise.
4741 * io/write.c: Likewise.
4742 * io/xmknod.c: Likewise.
4743 * io/xmknodat.c: Likewise.
4744 * io/xstat.c: Likewise.
4745 * io/xstat64.c: Likewise.
4746 * login/getpt.c: Likewise.
4747 * login/grantpt.c: Likewise.
4748 * login/unlockpt.c: Likewise.
4749 * math/e_acoshl.c: Likewise.
4750 * math/e_acosl.c: Likewise.
4751 * math/e_asinl.c: Likewise.
4752 * math/e_atan2l.c: Likewise.
4753 * math/e_atanhl.c: Likewise.
4754 * math/e_coshl.c: Likewise.
4755 * math/e_expl.c: Likewise.
4756 * math/e_fmodl.c: Likewise.
4757 * math/e_gammal_r.c: Likewise.
4758 * math/e_hypotl.c: Likewise.
4759 * math/e_j0l.c: Likewise.
4760 * math/e_j1l.c: Likewise.
4761 * math/e_jnl.c: Likewise.
4762 * math/e_lgammal_r.c: Likewise.
4763 * math/e_log10l.c: Likewise.
4764 * math/e_log2l.c: Likewise.
4765 * math/e_logl.c: Likewise.
4766 * math/e_powl.c: Likewise.
4767 * math/e_rem_pio2l.c: Likewise.
4768 * math/e_sinhl.c: Likewise.
4769 * math/e_sqrtl.c: Likewise.
4770 * math/fclrexcpt.c: Likewise.
4771 * math/fedisblxcpt.c: Likewise.
4772 * math/feenablxcpt.c: Likewise.
4773 * math/fegetenv.c: Likewise.
4774 * math/fegetexcept.c: Likewise.
4775 * math/fegetround.c: Likewise.
4776 * math/feholdexcpt.c: Likewise.
4777 * math/fesetenv.c: Likewise.
4778 * math/fesetround.c: Likewise.
4779 * math/feupdateenv.c: Likewise.
4780 * math/fgetexcptflg.c: Likewise.
4781 * math/fraiseexcpt.c: Likewise.
4782 * math/fsetexcptflg.c: Likewise.
4783 * math/ftestexcept.c: Likewise.
4784 * math/k_cosl.c: Likewise.
4785 * math/k_rem_pio2l.c: Likewise.
4786 * math/k_sinl.c: Likewise.
4787 * math/k_tanl.c: Likewise.
4788 * math/s_asinhl.c: Likewise.
4789 * math/s_atanl.c: Likewise.
4790 * math/s_cbrtl.c: Likewise.
4791 * math/s_erfl.c: Likewise.
4792 * math/s_expm1l.c: Likewise.
4793 * math/s_log1pl.c: Likewise.
4794 * math/s_tanhl.c: Likewise.
4795 * misc/acct.c: Likewise.
4796 * misc/brk.c: Likewise.
4797 * misc/chflags.c: Likewise.
4798 * misc/chroot.c: Likewise.
4799 * misc/fchflags.c: Likewise.
4800 * misc/fgetxattr.c: Likewise.
4801 * misc/flistxattr.c: Likewise.
4802 * misc/fremovexattr.c: Likewise.
4803 * misc/fsetxattr.c: Likewise.
4804 * misc/fsync.c: Likewise.
4805 * misc/ftruncate.c: Likewise.
4806 * misc/futimes.c: Likewise.
4807 * misc/futimesat.c: Likewise.
4808 * misc/getdomain.c: Likewise.
4809 * misc/getdtsz.c: Likewise.
4810 * misc/gethostid.c: Likewise.
4811 * misc/gethostname.c: Likewise.
4812 * misc/getloadavg.c: Likewise.
4813 * misc/getpagesize.c: Likewise.
4814 * misc/getsysstats.c: Likewise.
4815 * misc/getxattr.c: Likewise.
4816 * misc/gtty.c: Likewise.
4817 * misc/ioctl.c: Likewise.
4818 * misc/lgetxattr.c: Likewise.
4819 * misc/listxattr.c: Likewise.
4820 * misc/llistxattr.c: Likewise.
4821 * misc/lremovexattr.c: Likewise.
4822 * misc/lsetxattr.c: Likewise.
4823 * misc/lutimes.c: Likewise.
4824 * misc/madvise.c: Likewise.
4825 * misc/mincore.c: Likewise.
4826 * misc/mlock.c: Likewise.
4827 * misc/mlockall.c: Likewise.
4828 * misc/mmap.c: Likewise.
4829 * misc/mprotect.c: Likewise.
4830 * misc/msync.c: Likewise.
4831 * misc/munlock.c: Likewise.
4832 * misc/munlockall.c: Likewise.
4833 * misc/munmap.c: Likewise.
4834 * misc/preadv.c: Likewise.
4835 * misc/preadv64.c: Likewise.
4836 * misc/ptrace.c: Likewise.
4837 * misc/pwritev.c: Likewise.
4838 * misc/pwritev64.c: Likewise.
4839 * misc/readv.c: Likewise.
4840 * misc/reboot.c: Likewise.
4841 * misc/remap_file_pages.c: Likewise.
4842 * misc/removexattr.c: Likewise.
4843 * misc/revoke.c: Likewise.
4844 * misc/select.c: Likewise.
4845 * misc/setdomain.c: Likewise.
4846 * misc/setegid.c: Likewise.
4847 * misc/seteuid.c: Likewise.
4848 * misc/sethostid.c: Likewise.
4849 * misc/sethostname.c: Likewise.
4850 * misc/setregid.c: Likewise.
4851 * misc/setreuid.c: Likewise.
4852 * misc/setxattr.c: Likewise.
4853 * misc/sstk.c: Likewise.
4854 * misc/stty.c: Likewise.
4855 * misc/swapoff.c: Likewise.
4856 * misc/swapon.c: Likewise.
4857 * misc/sync.c: Likewise.
4858 * misc/syncfs.c: Likewise.
4859 * misc/syscall.c: Likewise.
4860 * misc/truncate.c: Likewise.
4861 * misc/ualarm.c: Likewise.
4862 * misc/usleep.c: Likewise.
4863 * misc/ustat.c: Likewise.
4864 * misc/utimes.c: Likewise.
4865 * misc/vhangup.c: Likewise.
4866 * misc/writev.c: Likewise.
4867 * posix/_exit.c: Likewise.
4868 * posix/alarm.c: Likewise.
4869 * posix/execve.c: Likewise.
4870 * posix/fexecve.c: Likewise.
4871 * posix/fork.c: Likewise.
4872 * posix/fpathconf.c: Likewise.
4873 * posix/getaddrinfo.c: Likewise.
4874 * posix/getegid.c: Likewise.
4875 * posix/geteuid.c: Likewise.
4876 * posix/getgid.c: Likewise.
4877 * posix/getgroups.c: Likewise.
4878 * posix/getlogin.c: Likewise.
4879 * posix/getlogin_r.c: Likewise.
4880 * posix/getpgid.c: Likewise.
4881 * posix/getpid.c: Likewise.
4882 * posix/getppid.c: Likewise.
4883 * posix/getresgid.c: Likewise.
4884 * posix/getresuid.c: Likewise.
4885 * posix/getsid.c: Likewise.
4886 * posix/getuid.c: Likewise.
4887 * posix/glob64.c: Likewise.
4888 * posix/nanosleep.c: Likewise.
4889 * posix/pathconf.c: Likewise.
4890 * posix/pause.c: Likewise.
4891 * posix/posix_madvise.c: Likewise.
4892 * posix/pread.c: Likewise.
4893 * posix/pread64.c: Likewise.
4894 * posix/pwrite.c: Likewise.
4895 * posix/pwrite64.c: Likewise.
4896 * posix/sched_getaffinity.c: Likewise.
4897 * posix/sched_getp.c: Likewise.
4898 * posix/sched_gets.c: Likewise.
4899 * posix/sched_primax.c: Likewise.
4900 * posix/sched_primin.c: Likewise.
4901 * posix/sched_rr_gi.c: Likewise.
4902 * posix/sched_setaffinity.c: Likewise.
4903 * posix/sched_setp.c: Likewise.
4904 * posix/sched_sets.c: Likewise.
4905 * posix/sched_yield.c: Likewise.
4906 * posix/setgid.c: Likewise.
4907 * posix/setlogin.c: Likewise.
4908 * posix/setpgid.c: Likewise.
4909 * posix/setresgid.c: Likewise.
4910 * posix/setresuid.c: Likewise.
4911 * posix/setsid.c: Likewise.
4912 * posix/setuid.c: Likewise.
4913 * posix/sleep.c: Likewise.
4914 * posix/spawni.c: Likewise.
4915 * posix/sysconf.c: Likewise.
4916 * posix/times.c: Likewise.
4917 * posix/wait.c: Likewise.
4918 * posix/wait3.c: Likewise.
4919 * posix/wait4.c: Likewise.
4920 * posix/waitpid.c: Likewise.
4921 * resolv/gai_sigqueue.c: Likewise.
4922 * resource/getpriority.c: Likewise.
4923 * resource/getrlimit.c: Likewise.
4924 * resource/getrusage.c: Likewise.
4925 * resource/nice.c: Likewise.
4926 * resource/setpriority.c: Likewise.
4927 * resource/setrlimit.c: Likewise.
4928 * resource/ulimit.c: Likewise.
4929 * rt/aio_cancel.c: Likewise.
4930 * rt/aio_fsync.c: Likewise.
4931 * rt/aio_read.c: Likewise.
4932 * rt/aio_sigqueue.c: Likewise.
4933 * rt/aio_suspend.c: Likewise.
4934 * rt/aio_write.c: Likewise.
4935 * rt/clock_getres.c: Likewise.
4936 * rt/clock_gettime.c: Likewise.
4937 * rt/clock_nanosleep.c: Likewise.
4938 * rt/clock_settime.c: Likewise.
4939 * rt/lio_listio.c: Likewise.
4940 * rt/mq_close.c: Likewise.
4941 * rt/mq_getattr.c: Likewise.
4942 * rt/mq_notify.c: Likewise.
4943 * rt/mq_open.c: Likewise.
4944 * rt/mq_receive.c: Likewise.
4945 * rt/mq_send.c: Likewise.
4946 * rt/mq_setattr.c: Likewise.
4947 * rt/mq_timedreceive.c: Likewise.
4948 * rt/mq_timedsend.c: Likewise.
4949 * rt/mq_unlink.c: Likewise.
4950 * rt/shm_open.c: Likewise.
4951 * rt/shm_unlink.c: Likewise.
4952 * rt/timer_create.c: Likewise.
4953 * rt/timer_delete.c: Likewise.
4954 * rt/timer_getoverr.c: Likewise.
4955 * rt/timer_gettime.c: Likewise.
4956 * rt/timer_settime.c: Likewise.
4957 * setjmp/__longjmp.c: Likewise.
4958 * setjmp/setjmp.c: Likewise.
4959 * signal/kill.c: Likewise.
4960 * signal/killpg.c: Likewise.
4961 * signal/raise.c: Likewise.
4962 * signal/sigaction.c: Likewise.
4963 * signal/sigaltstack.c: Likewise.
4964 * signal/sigblock.c: Likewise.
4965 * signal/sigignore.c: Likewise.
4966 * signal/sigintr.c: Likewise.
4967 * signal/signal.c: Likewise.
4968 * signal/sigpause.c: Likewise.
4969 * signal/sigpending.c: Likewise.
4970 * signal/sigqueue.c: Likewise.
4971 * signal/sigreturn.c: Likewise.
4972 * signal/sigset.c: Likewise.
4973 * signal/sigsetmask.c: Likewise.
4974 * signal/sigstack.c: Likewise.
4975 * signal/sigsuspend.c: Likewise.
4976 * signal/sigtimedwait.c: Likewise.
4977 * signal/sigvec.c: Likewise.
4978 * signal/sigwait.c: Likewise.
4979 * signal/sigwaitinfo.c: Likewise.
4980 * signal/sysv_signal.c: Likewise.
4981 * socket/accept.c: Likewise.
4982 * socket/accept4.c: Likewise.
4983 * socket/bind.c: Likewise.
4984 * socket/connect.c: Likewise.
4985 * socket/getpeername.c: Likewise.
4986 * socket/getsockname.c: Likewise.
4987 * socket/getsockopt.c: Likewise.
4988 * socket/isfdtype.c: Likewise.
4989 * socket/listen.c: Likewise.
4990 * socket/recv.c: Likewise.
4991 * socket/recvfrom.c: Likewise.
4992 * socket/recvmsg.c: Likewise.
4993 * socket/send.c: Likewise.
4994 * socket/sendmsg.c: Likewise.
4995 * socket/sendto.c: Likewise.
4996 * socket/setsockopt.c: Likewise.
4997 * socket/shutdown.c: Likewise.
4998 * socket/sockatmark.c: Likewise.
4999 * socket/socket.c: Likewise.
5000 * socket/socketpair.c: Likewise.
5001 * stdio-common/ctermid.c: Likewise.
5002 * stdio-common/cuserid.c: Likewise.
5003 * stdio-common/remove.c: Likewise.
5004 * stdio-common/rename.c: Likewise.
5005 * stdio-common/renameat.c: Likewise.
5006 * stdio-common/tempname.c: Likewise.
5007 * stdlib/getcontext.c: Likewise.
5008 * stdlib/makecontext.c: Likewise.
5009 * stdlib/setcontext.c: Likewise.
5010 * stdlib/swapcontext.c: Likewise.
5011 * stdlib/system.c: Likewise.
5012 * streams/fattach.c: Likewise.
5013 * streams/fdetach.c: Likewise.
5014 * streams/getmsg.c: Likewise.
5015 * streams/getpmsg.c: Likewise.
5016 * streams/putmsg.c: Likewise.
5017 * streams/putpmsg.c: Likewise.
5018 * sysdeps/unix/bsd/getpt.c: Likewise.
5019 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5020 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5021 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5023 Likewise.
5024 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5025 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5026 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5027 * sysvipc/msgctl.c: Likewise.
5028 * sysvipc/msgget.c: Likewise.
5029 * sysvipc/msgrcv.c: Likewise.
5030 * sysvipc/msgsnd.c: Likewise.
5031 * sysvipc/semctl.c: Likewise.
5032 * sysvipc/semget.c: Likewise.
5033 * sysvipc/semop.c: Likewise.
5034 * sysvipc/semtimedop.c: Likewise.
5035 * sysvipc/shmat.c: Likewise.
5036 * sysvipc/shmctl.c: Likewise.
5037 * sysvipc/shmdt.c: Likewise.
5038 * sysvipc/shmget.c: Likewise.
5039 * termios/tcdrain.c: Likewise.
5040 * termios/tcflow.c: Likewise.
5041 * termios/tcflush.c: Likewise.
5042 * termios/tcgetattr.c: Likewise.
5043 * termios/tcgetpgrp.c: Likewise.
5044 * termios/tcsendbrk.c: Likewise.
5045 * termios/tcsetattr.c: Likewise.
5046 * termios/tcsetpgrp.c: Likewise.
5047 * time/adjtime.c: Likewise.
5048 * time/clock.c: Likewise.
5049 * time/getitimer.c: Likewise.
5050 * time/gettimeofday.c: Likewise.
5051 * time/setitimer.c: Likewise.
5052 * time/settimeofday.c: Likewise.
5053 * time/stime.c: Likewise.
5054 * time/time.c: Likewise.
5055
50562012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5057
5058 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5059 /usr/old/bin.
5060
5061 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5062 instead of spaces.
5063 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5064
50652012-11-03 Joseph Myers <joseph@codesourcery.com>
5066
5067 [BZ #14796]
5068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5069 FE_TONEAREST before applying Dekker multiplication and Knuth
5070 addition. Clear inexact exceptions and check for exact zero
5071 results afterwards.
5072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5073 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5075 * math/libm-test.inc (fma_test): Add more tests.
5076 (fma_test_towardzero): Likewise.
5077 (fma_test_downward): Likewise.
5078 (fma_test_upward): Likewise.
5079 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5080 function.
5081 (libc_fesetround): New macro.
5082 (libc_fesetroundf): Likewise.
5083 (libc_fesetroundl): Likewise.
5084 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5085 function.
5086 (libc_fesetround_387): Likewise.
5087 (libc_fesetroundf): New macro.
5088 (libc_fesetround): Likewise.
5089 (libc_fesetroundl): Likewise.
5090 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5091 function.
5092 (libc_fesetroundf): New macro.
5093 (libc_fesetround): Likewise.
5094 (libc_fesetroundl): Likewise.
5095 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5096 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5097 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5098 libm_hidden_ver.
5099 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5100 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5101 libm_hidden_def.
5102 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5103 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5104 libm_hidden_ver.
5105 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5106 libm_hidden_def.
5107
5108 [BZ #3439]
5109 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5110 integer constant usable in #if and use that to give value to enum
5111 constant.
5112 (FE_DIVBYZERO): Likewise.
5113 (FE_UNDERFLOW): Likewise.
5114 (FE_OVERFLOW): Likewise.
5115 (FE_INVALID): Likewise.
5116 (FE_INVALID_SNAN): Likewise.
5117 (FE_INVALID_ISI): Likewise.
5118 (FE_INVALID_IDI): Likewise.
5119 (FE_INVALID_ZDZ): Likewise.
5120 (FE_INVALID_IMZ): Likewise.
5121 (FE_INVALID_COMPARE): Likewise.
5122 (FE_INVALID_SOFTWARE): Likewise.
5123 (FE_INVALID_SQRT): Likewise.
5124 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5125 (FE_TONEAREST): Likewise.
5126 (FE_TOWARDZERO): Likewise.
5127 (FE_UPWARD): Likewise.
5128 (FE_DOWNWARD): Likewise.
5129 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5130 (FE_DIVBYZERO): Likewise.
5131 (FE_OVERFLOW): Likewise.
5132 (FE_UNDERFLOW): Likewise.
5133 (FE_INEXACT): Likewise.
5134 (FE_TONEAREST): Likewise.
5135 (FE_DOWNWARD): Likewise.
5136 (FE_UPWARD): Likewise.
5137 (FE_TOWARDZERO): Likewise.
5138 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5139 (FE_UNDERFLOW): Likewise.
5140 (FE_OVERFLOW): Likewise.
5141 (FE_DIVBYZERO): Likewise.
5142 (FE_INVALID): Likewise.
5143 (FE_TONEAREST): Likewise.
5144 (FE_TOWARDZERO): Likewise.
5145 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5146 (FE_OVERFLOW): Likewise.
5147 (FE_UNDERFLOW): Likewise.
5148 (FE_DIVBYZERO): Likewise.
5149 (FE_INEXACT): Likewise.
5150 (FE_TONEAREST): Likewise.
5151 (FE_TOWARDZERO): Likewise.
5152 (FE_UPWARD): Likewise.
5153 (FE_DOWNWARD): Likewise.
5154 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5155 (FE_DIVBYZERO): Likewise.
5156 (FE_OVERFLOW): Likewise.
5157 (FE_UNDERFLOW): Likewise.
5158 (FE_INEXACT): Likewise.
5159 (FE_TONEAREST): Likewise.
5160 (FE_DOWNWARD): Likewise.
5161 (FE_UPWARD): Likewise.
5162 (FE_TOWARDZERO): Likewise.
5163
51642012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5165
5166 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5167
51682012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5169
5170 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5171 commands. Quote $PWD.
5172 (blacklist_exports): Don't use remove_newlines. Replace "declare
5173 -x" by "export".
5174 (remove_newlines): Remove.
5175
51762012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5179 * stdlib/stdlib.h (atof): Moved to ...
5180 * include/bits/stdlib-float.h: Here. New file.
5181 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5182 * stdlib/bits/stdlib-float.h: New file.
5183 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5184 -mno-sse -mno-mmx.
5185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5186 <xmmintrin.h>.
5187
51882012-11-02 Joseph Myers <joseph@codesourcery.com>
5189
5190 * conform/conformtest.pl (@headers): Add fenv.h.
5191 * conform/data/fenv.h-data: New file.
5192 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5193 include of <math/fenv.h>.
5194
5195 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5196 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5197 && !UNIX98]. Enables tests for XOPEN2K8.
5198 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5199 POSIX2008]: Likewise.
5200
5201 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5202 (struct rusage): Do not expect type or its members.
5203
5204 [BZ #3439]
5205 * math/math.h (FP_NAN): Define macro to integer constant usable in
5206 #if and use that to give value to enum constant.
5207 (FP_INFINITE): Likewise.
5208 (FP_ZERO): Likewise.
5209 (FP_SUBNORMAL): Likewise.
5210 (FP_NORMAL): Likewise.
5211
52122012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5213
5214 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5215 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5216 arguments.
5217
52182012-11-02 Roland McGrath <roland@hack.frob.com>
5219
5220 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5221 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5222 autoconf-time if not.
5223 * configure.in: Remove AC_PREREQ.
5224
52252012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5226
5227 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5228 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5229 of the internal implementation.
5230
52312012-11-02 Joseph Myers <joseph@codesourcery.com>
5232
5233 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5234 except include of <misc/sys/syslog.h>.
5235
52362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5237
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5239 function returns with a NULL context exit with zero.
5240
52412012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5242
5243 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5244
52452012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5246
5247 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5248 (run_program_cmd): This.
5249 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5250 (tst_langinfo): New variable. Use it.
5251
52522012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5253
5254 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5255 floating point opcodes.
5256
52572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5258
5259 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5260 variable.
5261
5262 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5263
5264 * sysdeps/mach/hurd/powerpc: Remove directory.
5265 * sysdeps/mach/powerpc: Likewise.
5266
52672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5268
5269 * scripts/check-local-headers.sh: Ignore c++ headers.
5270
52712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5272
5273 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5274 __libc_cleanup_region_start argument.
5275
52762012-11-01 Joseph Myers <joseph@codesourcery.com>
5277
5278 [BZ #14784]
5279 [BZ #14785]
5280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5281 x * y using scaling, not as x * y + z.
5282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5283 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5284 * math/libm-test.inc (fma_test): Add more tests.
5285 (fma_test_towardzero): Likewise.
5286 (fma_test_downward): Likewise.
5287 (fma_test_upward): Likewise.
5288
52892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5290
5291 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5292
52932012-10-31 Joseph Myers <joseph@codesourcery.com>
5294
5295 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5296 New variable.
5297
52982012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5299
5300 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5301
53022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5303
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5305 Fix sort order.
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5307 Likewise.
5308
53092012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5310
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5312 Fix the order of the list for glibc 2.17.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5314 Likewise.
5315
53162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5317
5318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5319
53202012-10-31 Joseph Myers <joseph@codesourcery.com>
5321
5322 [BZ #14610]
5323 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5324 for low part of x being zero before using __atanl (y).
5325 * math/libm-test.inc (atan2_test): Add another test.
5326
5327 * manual/install.texi (Configuring and compiling): Document
5328 general use of test-wrapper and test-wrapper-env.
5329 * INSTALL: Regenerated.
5330
5331 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5332 (__fma): Do not extract and scale down low bits on after-rounding
5333 systems when result rounded to normal precision would have normal
5334 exponent.
5335 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5336 (__fmal): Do not extract and scale down low bits on after-rounding
5337 systems when result rounded to normal precision would have normal
5338 exponent.
5339 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5340 (__fmal): Do not extract and scale down low bits on after-rounding
5341 systems when result rounded to normal precision would have normal
5342 exponent.
5343 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5344 macro.
5345 (fma_test): Add more tests.
5346 (fma_test_towardzero): Likewise.
5347 (fma_test_downward): Likewise.
5348 (fma_test_upward): Likewise.
5349
53502012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5351
5352 * sysdeps/i386/tininess.h: Renamed to ...
5353 * sysdeps/x86/tininess.h: This.
5354 * sysdeps/x86_64/tininess.h: Removed.
5355
53562012-10-30 Joseph Myers <joseph@codesourcery.com>
5357
5358 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5359 input. Use $(build-program-cmd).
5360 ($(objpfx)tst-array1-static.out): Likewise.
5361 ($(objpfx)tst-array2.out): Likewise.
5362 ($(objpfx)tst-array3.out): Likewise.
5363 ($(objpfx)tst-array4.out): Likewise.
5364 ($(objpfx)tst-array5.out): Likewise.
5365 ($(objpfx)tst-array5-static.out): Likewise.
5366
53672012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5368
5369 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5370 if defined.
5371
5372 * nss/nsswitch.h (nss_interface_function): Provide new
5373 macro for use with NSS functions.
5374 * grp/initgroups.c: Use new macro.
5375 * nss/getXXbyYY.c: Likewise.
5376 * nss/getXXbyYY_r.c: Likewise.
5377 * nss/getXXent.c: Likewise.
5378 * nss/getXXent_r.c: Likewise.
5379 * sysdeps/posix/getaddrinfo.c: Likewise.
5380
53812012-10-30 Andreas Jaeger <aj@suse.de>
5382
5383 * po/ru.po: Update Russion translation from translation project.
5384
53852012-10-30 Joseph Myers <joseph@codesourcery.com>
5386
5387 [BZ #14152]
5388 [BZ #14783]
5389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5390 result and shift together with sticky bit instead of replicating
5391 round-to-nearest rounding.
5392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5394 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5395 missing underflow exceptions.
5396 (fma_test_towardzero): Add more tests.
5397 (fma_test_downward): Likewise.
5398 (fma_test_upward): Likewise.
5399
5400 [BZ #14047]
5401 * sysdeps/generic/tininess.h: New file.
5402 * sysdeps/i386/tininess.h: Likewise.
5403 * sysdeps/sh/tininess.h: Likewise.
5404 * sysdeps/x86_64/tininess.h: Likewise.
5405 * stdlib/tst-strtod-underflow.c: Likewise.
5406 * stdlib/tst-tininess.c: Likewise.
5407 * stdlib/strtod_l.c: Include <tininess.h>.
5408 (round_and_return): Do not set errno for exact underflow cases.
5409 Force an underflow exception when setting errno for underflow.
5410 Determine underflow based on rounding to normal precision if
5411 TININESS_AFTER_ROUNDING.
5412 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5413 ERANGE for exact underflow cases.
5414 * stdlib/Makefile (tests): Add tst-tininess and
5415 tst-strtod-underflow.
5416 ($(objpfx)tst-tininess): Use $(link-libm).
5417 ($(objpfx)tst-strtod-underflow): Likewise.
5418
54192012-10-30 Andreas Jaeger <aj@suse.de>
5420
5421 [BZ#14767]
5422 * elf/Makefile (tests): Remove conditional for have-initfini-array
5423 since this is now always required and the variable does not exist
5424 anymore.
5425 (tests-static): Likewise.
5426 (modules-names): Likewise.
5427
5428 * po/eo.po: Add Esperanto translation from translation project.
5429
5430 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5431 merged with constructor/destructor.
5432 (init_array): Likewise.
5433 * elf/tst-array2dep.c (fini_array): Likewise.
5434 (init_array): Likewise.
5435
54362012-10-29 Mike Frysinger <vapier@gentoo.org>
5437
5438 * manual/message.texi: Delete @cartouche tags.
5439
54402012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5441
5442 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5443 EOPNOTSUPP.
5444 * sysdeps/mach/hurd/fsync.c: Likewise.
5445
5446 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5447 [_POSIX_REALTIME_SIGNALS]: Change condition to
5448 [_POSIX_REALTIME_SIGNALS > 0].
5449
54502012-10-27 Andreas Jaeger <aj@suse.de>
5451
5452 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5453 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5455 [__WORDSIZE != 64]: Likewise.
5456
54572012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5458
5459 * iconvdata/tst-table.sh: Remove ${SHELL}.
5460 * iconvdata/tst-tables.sh: Likewise.
5461
54622012-10-25 David S. Miller <davem@davemloft.net>
5463
5464 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5465 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5466 of strtoull.
5467
5468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5469 ifunc-impl-list.c
5470 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5471 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5472 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5473 file.
5474
54752012-10-25 Roland McGrath <roland@hack.frob.com>
5476
5477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5478 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5479 __getdirentries.
5480
54812012-10-25 Joseph Myers <joseph@codesourcery.com>
5482 Jim Blandy <jimb@codesourcery.com>
5483
5484 * scripts/cross-test-ssh.sh: New file.
5485 * manual/install.texi (Configuring and compiling): Document use of
5486 cross-test-ssh.sh.
5487 * INSTALL: Regenerated.
5488
54892012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5490
5491 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5492 EOPNOTSUPP.
5493
54942012-10-25 Joseph Myers <joseph@codesourcery.com>
5495
5496 * Makeconfig (run-program-prefix): Fix comment.
5497
54982012-10-24 Joseph Myers <joseph@codesourcery.com>
5499 Jim Blandy <jimb@codesourcery.com>
5500
5501 * Makeconfig (test-wrapper): New variable,
5502 (test-wrapper-env): Likewise.
5503 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5504 (run-built-tests): Define to yes.
5505 (run-program-prefix): Use $(test-wrapper).
5506 (built-program-cmd): Likewise.
5507 * Rules (make-test-out): Use $(test-wrapper-env) and
5508 $(host-built-program-cmd).
5509 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5510 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5511 tst-pathopt.sh.
5512 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5513 $(test-wrapper-env) to tst-rtld-load-self.sh.
5514 ($(objpfx)order2.out): Use $(test-wrapper).
5515 ($(objpfx)tst-initorder.out): Likewise.
5516 ($(objpfx)tst-initorder2.out): Likewise.
5517 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5518 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5519 (test_wrapper_env): New variable. Use it to run ld.so.
5520 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5521 Use it to run ld.so.
5522 (test_wrapper_env): Likewise.
5523 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5524 $(test-wrapper) to run-iconv-test.sh.
5525 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5526 (ICONV): Use $test_wrapper.
5527 * posix/Makefile ($(objpfx)globtest.out): Pass
5528 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5529 globtest.sh, not $(run-program-prefix).
5530 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5531 (test_wrapper): Likewise.
5532 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5533 set together with run_via_rtld_prefix.
5534 (run_program_prefix): Define in terms of test_wrapper and
5535 run_via_rtld_prefix.
5536
55372012-10-24 Roland McGrath <roland@hack.frob.com>
5538
5539 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5540 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5541 Targets removed.
5542
5543 [BZ #14743]
5544 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5545 Declare __clock_getres, __clock_gettime, __clock_settime,
5546 __clock_nanosleep, and __clock_getcpuclockid.
5547 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5548 Remove librt_hidden_def (clock_gettime).
5549 * sysdeps/unix/clock_gettime.c: Likewise.
5550 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5551 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5552 * rt/clock_getres.c: Define __clock_getres as an alias.
5553 * sysdeps/posix/clock_getres.c: Likewise.
5554 * rt/clock_settime.c: Define __clock_settime as an alias.
5555 * sysdeps/unix/clock_settime.c: Likewise.
5556 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5557 * sysdeps/unix/clock_nanosleep.c: Likewise.
5558 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5559 * rt/clock-compat.c: New file.
5560 * rt/Makefile (librt-routines): Add clock-compat and move
5561 $(clock-routines) to ...
5562 (routines): ... here, new variable.
5563 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5564 Don't add get_clockfreq here.
5565 * rt/Versions (libc: GLIBC_2.17): New version set.
5566 Add clock_* symbols here.
5567 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5568 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5569 (GLIBC_2.17): Add clock_* symbols.
5570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5574 Likewise.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5576 Likewise.
5577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5581 * NEWS: Mention the move.
5582
5583 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5584 Use __open, __read, __close rather than their public counterparts.
5585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5586 (__get_clockfreq_via_cpuinfo): Likewise.
5587 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5588 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5589
5590 * config.h.in (HAVE_IFUNC): New #undef.
5591 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5592 was successful.
5593 * configure: Regenerated.
5594
55952012-10-24 Mike Frysinger <vapier@gentoo.org>
5596
5597 * configure.in: Move READELF check to start of file.
5598 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5599 libc_cv_asm_gnu_indirect_function in the process.
5600 * configure: Regenerated.
5601
56022012-10-24 Mike Frysinger <vapier@gentoo.org>
5603
5604 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5605 send the output to /dev/null.
5606 (libc_cv_cc_with_libunwind): Likewise.
5607 (libc_cv_as_noexecstack): Likewise.
5608 * configure: Regenerate.
5609
56102012-10-24 Joseph Myers <joseph@codesourcery.com>
5611
5612 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5613
5614 * posix/globtest.sh (TMPDIR): Do not set.
5615 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5616 (testout): Likewise.
5617
56182012-10-24 Andreas Jaeger <aj@suse.de>
5619
5620 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5621 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5622 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5623 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5624 posix_fadvise64, posix_fallocate64.
5625
5626 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5627 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5628 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5629 Likewise.
5630 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5631 Likewise.
5632 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5633
5634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5635 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5636 <bits/fcntl-linux.h>.
5637 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5638
5639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5640 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5641 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5642 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5643 [__WORDSIZE != 64]: Likewise.
5644
56452012-10-23 Joseph Myers <joseph@codesourcery.com>
5646
5647 * Makeconfig (run-built-tests): New variable.
5648 * Rules [$(cross-compiling) = yes]: Change condition to
5649 [$(run-built-tests) = no].
5650 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5651 to [$(run-built-tests) = yes].
5652 * elf/Makefile [$(cross-compiling) = no]: Likewise
5653 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5654 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5655 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5656 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5657 * io/Makefile [$(cross-compiling) = no]: Likewise.
5658 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5659 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5660 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5661 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5662 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5663 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5664 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5665 * string/Makefile [$(cross-compiling) = no]: Likewise.
5666
5667 * posix/Makefile ($(objpfx)globtest.out): Pass
5668 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5669 $(rtld-installed-name).
5670 * posix/globtest.sh (elf_objpfx): Remove variable.
5671 (rtld_installed_name): Likewise.
5672 (library_path): Likewise.
5673 (run_program_prefix): New variable. Use for running globtest
5674 binary.
5675
56762012-10-23 Jim Blandy <jimb@codesourcery.com>
5677 Joseph Myers <joseph@codesourcery.com>
5678
5679 * Makeconfig (host-built-program-cmd): New variable.
5680 * elf/Makefile (tst-stackguard1-ARGS): Use
5681 $(host-built-program-cmd).
5682 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5683 (tst-spawn-ARGS): Likewise.
5684 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5685
56862012-10-23 Joseph Myers <joseph@codesourcery.com>
5687 Jim Blandy <jimb@codesourcery.com>
5688
5689 * Makeconfig (run-via-rtld-prefix): New variable.
5690 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5691 (built-program-cmd): Likewise.
5692
56932012-10-22 Andreas Jaeger <aj@suse.de>
5694
5695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5696 __O_RSYNC if it exists, otherwise to O_SYNC.
5697
56982012-10-22 Jim Blandy <jimb@codesourcery.com>
5699 Joseph Myers <joseph@codesourcery.com>
5700
5701 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5702 /dev/null.
5703 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5704 from /dev/null
5705 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5706 /dev/null.
5707
57082012-10-22 Andreas Jaeger <aj@suse.de>
5709
5710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5711 Define always.
5712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5713
5714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5715 bits/fcntl-linux.h.
5716
5717 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5718 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5719
5720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5721 to __O_LARGEFILE.
5722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5723 to __O_LARGEFILE.
5724
57252012-10-21 Jim Blandy <jimb@codesourcery.com>
5726 Joseph Myers <joseph@codesourcery.com>
5727
5728 * config.make.in (NM): New variable.
5729
57302012-10-21 Andreas Jaeger <aj@suse.de>
5731
5732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5733 definitions and declarations that are provided by
5734 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5735
57362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5737
5738 [BZ #14683]
5739 * elf/Makefile (tests-static): Add tst-leaks1-static.
5740 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5741 ($(objpfx)tst-leaks1-static): New rule.
5742 ($(objpfx)tst-leaks1-static-mem): Likewise.
5743 (tst-leaks1-static-ENV): New macro.
5744 * elf/dl-open.c (dl_open_worker): Check the main application
5745 only if SHARED is defined.
5746 * elf/tst-leaks1-static.c: New file.
5747
57482012-10-20 Andreas Jaeger <aj@suse.de>
5749
5750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5751 generic values for Linux.
5752 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5753 and declarations that are provided by <bits/fcntl-linux.h> and
5754 include <bits/fcntl-linux.h>.
5755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5757
57582012-10-20 Roland McGrath <roland@hack.frob.com>
5759
5760 * io/fcntl.h: Move include of <bits/types.h> to the top and
5761 include it unconditionally.
5762
57632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5764
5765 * wcsmbs/Makefile (tests-ifunc): New variable.
5766 (tests): Add $(tests-ifunc).
5767 * wcsmbs/test-wcschr-ifunc.c: New file.
5768 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5769 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5770 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5771 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5772 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5773
5774 * string/Makefile (tests-ifunc): New variable.
5775 (tests): Add $(tests-ifunc).
5776 * string/test-memccpy.c (TEST_NAME): New macro.
5777 * string/test-memchr.c (TEST_NAME): Likewise.
5778 * string/test-memcmp.c (TEST_NAME): Likewise.
5779 * string/test-memcpy.c (TEST_NAME): Likewise.
5780 * string/test-memmem.c (TEST_NAME): Likewise.
5781 * string/test-memmove.c (TEST_NAME): Likewise.
5782 * string/test-memset.c (TEST_NAME): Likewise.
5783 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5784 * string/test-stpcpy.c (TEST_NAME): Likewise.
5785 * string/test-stpncpy.c (TEST_NAME): Likewise.
5786 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5787 * string/test-strcasestr.c (TEST_NAME): Likewise.
5788 * string/test-strcat.c (TEST_NAME): Likewise.
5789 * string/test-strchr.c (TEST_NAME): Likewise.
5790 * string/test-strcmp.c(TEST_NAME): Likewise.
5791 * string/test-strcpy.c (TEST_NAME): Likewise.
5792 * string/test-strcspn.c (TEST_NAME): Likewise.
5793 * string/test-strlen.c (TEST_NAME): Likewise.
5794 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5795 * string/test-strncmp.c (TEST_NAME): Likewise.
5796 * string/test-strncpy.c (TEST_NAME): Likewise.
5797 * string/test-strnlen.c (TEST_NAME): Likewise.
5798 * string/test-strpbrk.c (TEST_NAME): Likewise.
5799 * string/test-strrchr.c (TEST_NAME): Likewise.
5800 * string/test-strspn.c (TEST_NAME): Likewise.
5801 * string/test-strstr.c (TEST_NAME): Likewise.
5802 * string/test-bcopy-ifunc.c: New file.
5803 * string/test-bzero-ifunc.c: Likewise.
5804 * string/test-memccpy-ifunc.c: Likewise.
5805 * string/test-memchr-ifunc.c: Likewise.
5806 * string/test-memcmp-ifunc.c: Likewise.
5807 * string/test-memcpy-ifunc.c: Likewise.
5808 * string/test-memmem-ifunc.c: Likewise.
5809 * string/test-memmove-ifunc.c: Likewise.
5810 * string/test-mempcpy-ifunc.c: Likewise.
5811 * string/test-memset-ifunc.c: Likewise.
5812 * string/test-rawmemchr-ifunc.c: Likewise.
5813 * string/test-stpcpy-ifunc.c: Likewise.
5814 * string/test-stpncpy-ifunc.c: Likewise.
5815 * string/test-strcasecmp-ifunc.c: Likewise.
5816 * string/test-strcasestr-ifunc.c: Likewise.
5817 * string/test-strcat-ifunc.c: Likewise.
5818 * string/test-strchr-ifunc.c: Likewise.
5819 * string/test-strchrnul-ifunc.c: Likewise.
5820 * string/test-strcmp-ifunc.c: Likewise.
5821 * string/test-strcpy-ifunc.c: Likewise.
5822 * string/test-strcspn-ifunc.c: Likewise.
5823 * string/test-strlen-ifunc.c: Likewise.
5824 * string/test-strncasecmp-ifunc.c: Likewise.
5825 * string/test-strncat-ifunc.c: Likewise.
5826 * string/test-strncmp-ifunc.c: Likewise.
5827 * string/test-strncpy-ifunc.c: Likewise.
5828 * string/test-strnlen-ifunc.c: Likewise.
5829 * string/test-strpbrk-ifunc.c: Likewise.
5830 * string/test-strrchr-ifunc.c: Likewise.
5831 * string/test-strspn-ifunc.c: Likewise.
5832 * string/test-strstr-ifunc.c: Likewise.
5833
5834 * debug/Makefile (tests-ifunc): New variable.
5835 (tests): Add $(tests-ifunc).
5836 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5837 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5838 * debug/test-stpcpy_chk-ifunc.c: New file.
5839 * debug/test-strcpy_chk-ifunc.c: Likewise.
5840
58412012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5842
5843 [BZ #13601]
5844 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5845 header is not read in.
5846
58472012-10-19 Joseph Myers <joseph@codesourcery.com>
5848
5849 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5850 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5851 directly. Pass built executable to script as
5852 $(built-program-cmd).
5853 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5854 $testprogram without using LD_LIBRARY_PATH and $ldso.
5855
5856 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5857 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5858 $(rtld-installed-name).
5859 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5860 (rtld_installed_name): Likewise.
5861 (library_path): Likewise.
5862 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5863 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5864 $(run-program-prefix) to tst-tables.sh.
5865 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5866 it to run tst-table-from and tst-table-to.
5867 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5868 Pass it to tst-table.sh.
5869 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5870 $(run-program-prefix) to tst-gettext.sh.
5871 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5872 tst-translit.sh.
5873 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5874 tst-gettext2.sh.
5875 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5876 to run tst-gettext.
5877 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5878 to run tst-gettext2.
5879 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5880 to run tst-translit.
5881 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5882 $(run-program-prefix) to tst-mtrace.sh.
5883 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5884 to run tst-mtrace.
5885 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5886 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5887 $(rtld-installed-name).
5888 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5889 (rtld_installed_name): Likewise.
5890 (run_program_prefix): New variable. Use it to run wordexp-test.
5891
5892 * Makeconfig (ARCH): Remove all definitions.
5893 (machine): Likewise.
5894 [ARCH]: Remove conditional code.
5895 [!objdir]: Give error.
5896 [!objdir] (objpfx): Remove.
5897 [!objdir] (common-objpfx): Likewise.
5898 [!objdir] (common-objdir): Likewise.
5899 * configure.in (config_makefile): Remove. Hardcode Makefile in
5900 AC_CONFIG_FILES call.
5901 * configure: Regenerated.
5902
5903 [BZ #13888]
5904 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5905 or TMPDIR.
5906 (testout): Likewise.
5907
5908 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5909 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5910 $(rtld-installed-name).
5911 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5912 (rtld_installed_name): Likwise.
5913 (runit): Remove function.
5914 (run_getconf): New variable, Use it for running getconf binary.
5915
59162012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5917
5918 [BZ #14716]
5919 * string/test-memmem.c (check_result): New function.
5920 (do_one_test): Use it.
5921 (check1): New function.
5922 (test_main): Use it.
5923
59242012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5925
5926 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5927
59282012-10-18 Joseph Myers <joseph@codesourcery.com>
5929
5930 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5931 (_G_LSEEK64): Likewise.
5932 (_G_MMAP64): Likewise.
5933 (_G_FSTAT64): Likewise.
5934 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5935 (_G_LSEEK64): Likewise.
5936 (_G_MMAP64): Likewise.
5937 (_G_FSTAT64): Likewise.
5938 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5939 unconditional. Call __mmap64 directly.
5940 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5941 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5942 __lseek64 directly.
5943 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5944 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5945 __mmap64 directly.
5946 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5947 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5948 __lseek64 directly.
5949 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5950 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5951 __lseek64 directly.
5952 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5953 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5954 __lseek64 directly.
5955 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5956 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5957 __fxstat64 directly.
5958 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5959 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5960 unconditional.
5961 (freopen64) [!_G_OPEN64]: Remove conditional code.
5962 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5963 unconditional.
5964 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5965 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5966 unconditional.
5967 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5968 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5969 unconditional.
5970 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5971 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5972 unconditional.
5973 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5974 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5975 unconditional.
5976 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5977 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5978 unconditional.
5979 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5980 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5981 unconditional.
5982 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5983
59842012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5985
5986 [BZ #12140]
5987 * manual/memory.texi (Malloc Tunable Parameters): Add note
5988 about free list pointers overwriting some perturb bytes.
5989 Wording suggested by Roland McGrath.
5990
59912012-10-17 Joseph Myers <joseph@codesourcery.com>
5992
5993 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5994 (lgamma_test): Likewise.
5995 (tgamma_test): Likewise.
5996
59972012-10-16 Florian Weimer <fweimer@redhat.com>
5998
5999 [BZ #14700]
6000 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6001 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6002
60032012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6004
6005 * NEWS: Mention BZ #14716.
6006 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6007 when removing AVAILABLE1_USES_J macro.
6008
60092012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6010
6011 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6012 (__bswap_64): __uint64_t for unsigned 64-bit int.
6013
60142012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6015
6016 * include/string.h (memmem): Declare libc hidden alias.
6017 * string/memmem.c (memmem): Define libc hidden alias.
6018 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6019 __read, __close instead of open, read, close.
6020
60212012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6022
6023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6024 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6025 global and hidden.
6026 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6027 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6028 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6029 Likewise.
6030 (__rawmemchr_sse2): Likewise.
6031 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6032 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6033 (__strchr_sse2): Likewise.
6034 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6035 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6036 (__strcasecmp_sse2): Likewise.
6037 (__strncasecmp_sse2): Likewise.
6038 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6039 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6040 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6041 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6042 (__strrchr_sse2): Likewise.
6043 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6044 ifunc-impl-list.c.
6045 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6046 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6047 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6048 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6049 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6051 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6052 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6053 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6054 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6055 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6056 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6057 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6058 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6059 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6060 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6061 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6062 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6063 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6064 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6066 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6067 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6068 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6069 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6070 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6071 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6072 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6073 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6074 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6075
6076 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6077 global and hidden.
6078 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6079 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6080 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6081 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6082 Likewise.
6083 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6084 Likewise.
6085 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6086 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6087 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6088 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6089 ifunc-impl-list.c.
6090 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6108 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6124 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6126 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6127 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6128 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6129 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6131
6132 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6133 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6134 * include/ifunc-impl-list.h: New file.
6135 * misc/ifunc-impl-list.c: Likewise.
6136 * misc/Makefile (routines): Add ifunc-impl-list.
6137 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6138 * string/test-string.h: Include <ifunc-impl-list.h>.
6139 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6140 impl_array): New variables.
6141 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6142 are defined.
6143 (test_init): Call __libc_ifunc_impl_list to initialize
6144 func_list if TEST_IFUNC and TEST_NAME are defined.
6145
6146 * string/Makefile (strop-tests): Add bcopy and bzero.
6147 * string/test-bcopy.c: New file.
6148 * string/test-bzero.c: Likewise.
6149 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6150 defined.
6151 * string/test-memset.c: Support bzero test if TEST_BZERO is
6152 defined.
6153 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6154 __libc_memmove.
6155 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6156 __libc_memset.
6157 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6158 of memset.
6159
61602012-10-10 Joseph Myers <joseph@codesourcery.com>
6161
6162 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6163 * configure: Regenerated.
6164
6165 * Makeconfig (+link-static-before-libc): Don't include
6166 $(link-static-libc).
6167
6168 * libio/libio.h (_IO_pos_t): Remove.
6169
61702012-10-10 Alexandre Oliva <aoliva@redhat.com>
6171
6172 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6173 McGrath.
6174
61752012-10-10 Alexandre Oliva <aoliva@redhat.com>
6176
6177 * crypt/crypt-entry.c: Include fips-private.h.
6178 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6179 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6180 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6181 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6182
61832012-10-10 Alexandre Oliva <aoliva@redhat.com>
6184
6185 * crypt/crypt-private.h: Include stdbool.h.
6186 (_ufc_setup_salt_r): Return bool.
6187 * crypt/crypt-entry.c: Include errno.h.
6188 (__crypt_r): Return NULL with EINVAL for bad salt.
6189 * crypt/crypt_util.c (bad_for_salt): New.
6190 (_ufc_setup_salt_r): Check that salt is long enough and within
6191 the specified alphabet.
6192 * crypt/badsalttest.c: New file.
6193 * crypt/Makefile (tests): Add it.
6194 ($(objpfx)badsalttest): New.
6195
61962012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6197
6198 * NEWS: Add entry for BZ #14602.
6199
62002012-10-09 Joseph Myers <joseph@codesourcery.com>
6201
6202 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6203 type-generic.
6204 * math/libm-test.inc: Update comment listing what functions and
6205 macros are tested.
6206 (isgreater_test): New function.
6207 (isgreaterequal_test): Likewise.
6208 (isless_test): Likewise.
6209 (islessequal_test): Likewise.
6210 (islessgreater_test): Likewise.
6211 (isunordered_test): Likewise.
6212 (main): Call the new functions.
6213
62142012-10-09 Roland McGrath <roland@hack.frob.com>
6215
6216 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6217 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6218 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6219 * sysdeps/i386/configure: Regenerated.
6220 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6221 * sysdeps/mach/configure: Regenerated.
6222 * sysdeps/mach/hurd/configure: Regenerated.
6223 * sysdeps/powerpc/configure: Regenerated.
6224 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6225 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6226 * sysdeps/s390/s390-32/configure: Regenerated.
6227 * sysdeps/s390/s390-64/configure: Regenerated.
6228 * sysdeps/sh/configure: Regenerated.
6229 * sysdeps/sparc/configure: Regenerated.
6230 * sysdeps/unix/sysv/linux/configure: Regenerated.
6231 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6232 * sysdeps/x86_64/configure: Regenerated.
6233
6234 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6235 defined. Don't check if MAP is NULL.
6236
62372012-10-09 Joseph Myers <joseph@codesourcery.com>
6238
6239 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6240 (_G_stat64): Likewise.
6241 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6242 (_G_stat64): Likewise.
6243 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6244 instead of struct _G_stat64.
6245 * libio/fileops.c (mmap_remap_check): Likewise.
6246 (decide_maybe_mmap): Likewise.
6247 (_IO_new_file_seekoff): Likewise.
6248 (_IO_file_stat): Likewise.
6249 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6250 _G_off64_t.
6251 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6252 instead of struct _G_stat64.
6253 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6254
62552012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6256
6257 [BZ #14602]
6258 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6259 Replace with ...
6260 (CHECK_EOL): New macro.
6261 (two_way_short_needle): Check beginning of haystack for EOL. Use
6262 CHECK_EOL.
6263 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6264 Replace with CHECK_EOL.
6265 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6266 Replace with CHECK_EOL.
6267
62682012-10-08 Joseph Myers <joseph@codesourcery.com>
6269
6270 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6271 type-generic.
6272 * math/libm-test.inc: Update comment listing what functions and
6273 macros are tested.
6274 (finite_test): New function.
6275 (isinf_test): Likewise.
6276 (isnan_test): Likewise.
6277 (fpclassify_test): Test subnormal input.
6278 (isfinite_test): Likewise.
6279 (isnormal_test): Likewise.
6280 (main): Call the new functions.
6281
62822012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6283
6284 [BZ #14660]
6285 * Makerules (%.dynsym): Force C locale when running
6286 $(OBJDUMP) --dynamic-syms.
6287
62882012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6289
6290 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6291 <stdint.h>.
6292
62932012-10-06 David S. Miller <davem@davemloft.net>
6294
6295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6296 upper 32-bits of the length value in %o2 since we use branch-on-register
6297 tests which consider the entire 64-bit register.
6298
62992012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6300
6301 * string/test-strstr.c (check2): Add a test for page boundary.
6302
63032012-10-05 David S. Miller <davem@davemloft.net>
6304
6305 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6306 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6307 file.
6308 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6309 sysdep_routines.
6310 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6311 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6312 and bzero when HWCAP_SPARC_CRYPTO is present.
6313
63142012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6315
6316 [BZ #14602]
6317 * string/test-strstr.c (check2): New function.
6318 (test_main): Call check2.
6319
6320 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6321 and bug-strchr1.
6322 * string/bug-strcasestr1.c (do_test): Moved to ...
6323 * string/test-strcasestr.c (check1): Here. New function.
6324 (do_one_test): Break out result checking code into ...
6325 (check_result): This. New function.
6326 (do_one_test): Call check_result.
6327 (test_main): Call check1.
6328 * string/bug-strchr1.c (do_test): Moved to ...
6329 * string/test-strchr.c (check1): Here. New function.
6330 (do_one_test): Break out result checking code into ...
6331 (check_result): This. New function.
6332 (do_one_test): Call check_result.
6333 (test_main): Call check1.
6334 * string/bug-strstr1.c (main): Moved to ...
6335 * string/test-strstr.c (check1): Here. New function.
6336 (do_one_test): Break out result checking code into ...
6337 (check_result): This. New function.
6338 (do_one_test): Call check_result.
6339 (test_main): Call check1.
6340 * string/bug-strcasestr1.c: Removed.
6341 * string/bug-strchr1.c: Likewise.
6342 * string/bug-strstr1.c: Likewise.
6343
6344 * elf/Makefile (dl-routines): Add hwcaps.
6345 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6346 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6347 (_dl_important_hwcaps): Moved to ...
6348 * elf/dl-hwcaps.c: Here. New file.
6349 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6350
6351 [BZ #14557]
6352 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6353 if IS_IN_rtld isn't defined.
6354
6355 * elf/dl-support.c (_dl_sysinfo_map): New.
6356 Include "get-dynamic-info.h" and "setup-vdso.h".
6357 (_dl_non_dynamic_init): Call setup_vdso.
6358 * elf/dynamic-link.h: Don't include <assert.h>.
6359 (elf_get_dynamic_info): Moved to ...
6360 * elf/get-dynamic-info.h: Here. New file.
6361 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6362 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6363 * elf/setup-vdso.h: Here. New file.
6364 * elf/rtld.c: Include "setup-vdso.h".
6365 (dl_main): Call setup_vdso.
6366
63672012-10-05 Joseph Myers <joseph@codesourcery.com>
6368
6369 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6370 creal in comment listing functions tested. List finite, isinf,
6371 isnan, isless, islessequal, isgreater, isgreaterequal,
6372 islessgreater, isunordered, lgamma_r and pow10 as functions and
6373 macros not tested. Mention which functions not tested are aliases
6374 for other functions. Fix typo. Note that signs of NaNs are not
6375 tested.
6376
6377 * scripts/config.guess: Update from config.git.
6378 * scripts/config.sub: Likewise.
6379
63802012-10-04 Roland McGrath <roland@hack.frob.com>
6381
6382 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6383 * misc/madvise.c (madvise): Renamed to __madvise.
6384 Make madvise a weak alias.
6385 * include/sys/mman.h: Declare __madvise.
6386 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6387 * sysdeps/unix/syscalls.list
6388 (madvise): Make __madvise the strong name, and madvise a weak alias.
6389 * sysdeps/unix/sysv/linux/syscalls.list
6390 (madvise, mmap): Remove redundant entries.
6391 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6392 * malloc/malloc.c (mtrim): Likewise.
6393 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6394
63952012-10-03 Roland McGrath <roland@hack.frob.com>
6396
6397 * sysdeps/mach/hurd/dl-cache.c: File removed.
6398 * config.h.in (USE_LDCONFIG): New #undef.
6399 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6400 * configure: Regenerated.
6401 * elf/Makefile (dl-routines): Add dl-cache only under
6402 [$(use-ldconfig) = yes].
6403 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6404 cache on [USE_LDCONFIG].
6405 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6406 [USE_LDCONFIG].
6407 * elf/rtld.c (dl_main): Likewise.
6408
64092012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6410
6411 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6412 _SC_LEVEL4_CACHE_LINESIZE.
6413
64142012-10-03 Roland McGrath <roland@hack.frob.com>
6415
6416 * sysdeps/unix/bsd/confstr.h: File removed.
6417
64182012-10-02 Alexandre Oliva <aoliva@redhat.com>
6419
6420 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6421 sys/sdt-config.h.
6422
64232012-10-02 Roland McGrath <roland@hack.frob.com>
6424
6425 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6426 Make 'mapoff' field ElfW(Off) rather than off_t.
6427
64282012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6429
6430 * nscd/Makefile: Remove nscd-cflags and all its users.
6431 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6432 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6433
6434 [BZ #10631]
6435 * malloc.c (malloc_printerr): Clarify error message.
6436
64372012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6438
6439 [BZ #14648]
6440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6441 Set bit_FMA_Usable if FMA is supported.
6442 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6443 macro.
6444 (bit_FMA4_Usable): Updated.
6445 (index_FMA_Usable): New macro.
6446 (CPUID_FMA): Likewise
6447 (HAS_FMA): Defined with bit_FMA_Usable.
6448
64492012-10-01 Roland McGrath <roland@hack.frob.com>
6450
6451 * bits/types.h (__swblk_t): Type removed.
6452 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6453 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6455 (__SWBLK_T_TYPE): Likewise.
6456 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6457 (__SWBLK_T_TYPE): Likewise.
6458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6459 (__SWBLK_T_TYPE): Likewise.
6460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6461 (__SWBLK_T_TYPE): Likewise.
6462
64632012-10-01 Patsy Franklin <pfrankli@redhat.com>
6464 Honza Horak <hhorak@redhat.com>
6465
6466 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6467 (xdr_mapname): Use YPMAXMAP as maxsize.
6468 (xdr_peername): Use YPMAXPEER as maxsize.
6469 (xdr_keydat): Use YPAXRECORD as maxsize.
6470 (xdr_valdat): Use YPMAXRECORD as maxsize.
6471
64722012-10-01 Roland McGrath <roland@hack.frob.com>
6473
6474 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6475
6476 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6477 * csu/init-first.c: ... here.
6478 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6479 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6480 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6481 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6482 * sysdeps/i386/init-first.c: File removed.
6483 * sysdeps/sh/init-first.c: File removed.
6484
64852012-10-01 Joseph Myers <joseph@codesourcery.com>
6486
6487 [BZ #14645]
6488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6489 if x * y might underflow to zero and z is zero.
6490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6492 * math/libm-test.inc (min_subnorm_value): New variable.
6493 (fma_test): Add more tests.
6494 (fma_test_towardzero): Likewise.
6495 (fma_test_downward): Likewise
6496 (fma_test_upward): Likewise.
6497 (initialize): Set min_subnorm_value.
6498
64992012-09-29 Joseph Myers <joseph@codesourcery.com>
6500
6501 [BZ #14638]
6502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6503 0 + 0.
6504 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6505 mode for addition resulting in exact zero.
6506 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6508 exact 0 + 0.
6509 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6511 * math/libm-test.inc (fma_test): Add more tests.
6512 (fma_test_towardzero): New function.
6513 (fma_test_downward): Likewise.
6514 (fma_test_upward): Likewise.
6515 (main): Call the new functions.
6516
65172012-09-28 David S. Miller <davem@davemloft.net>
6518
6519 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6520
65212012-09-28 Roland McGrath <roland@hack.frob.com>
6522
6523 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6524 instead of SIGALRM.
6525
6526 * sysdeps/gnu/_G_config.h: Moved to ...
6527 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6528 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6529 * sysdeps/generic/_G_config.h: ... here.
6530
6531 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6532
6533 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6534
6535 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6536 Conditionalize target on [libnss_test1.so-version].
6537
6538 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6539
6540 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6541 (elfobjdir): Move out of conditionals.
6542
6543 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6544 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6545 (__nss_lookup_function): Conditionalize label remove_from_tree on
6546 [!DO_STATIC_NSS || SHARED], matching its only use.
6547
65482012-09-28 David S. Miller <davem@davemloft.net>
6549
6550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6551 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6552 file.
6553 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6554 sysdep_routines.
6555 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6557 when HWCAP_SPARC_CRYPTO is present.
6558
65592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6560
6561 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6562
65632012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6564
6565 [BZ #6530]
6566 * stdio-common/vfprintf.c (process_string_arg): Revert
6567 2000-07-22 change.
6568
65692011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6570
6571 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6572 for testcase.
6573 * stdio-common/tst-sprintf.c: Include <locale.h>
6574 (main): Test sprintf's handling of incomplete multibyte
6575 characters.
6576
65772012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6578
6579 * elf/dl-runtime.c (VERSYMIDX): Removed.
6580 * elf/dl-version.c (VERSYMIDX): Likewise.
6581 * elf/do-rel.h (VERSYMIDX): Likewise.
6582 (VALIDX): Likewise.
6583 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6584 * elf/rtld.c (VALIDX): Likewise.
6585 (ADDRIDX): Likewise.
6586 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6587 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6588 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6589 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6590 (VALIDX): Likewise.
6591 (ADDRIDX): Likewise.
6592
65932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6594
6595 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6596
65972012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6598
6599 [BZ #11438]
6600 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6601 to global scope.
6602 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6603 addresses are in the same scope as 192.0.2/24.
6604 * posix/gai.conf: Document new scope table defaults.
6605
66062012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6607
6608 [BZ #5298]
6609 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6610 for ftell. Compute offsets from write pointers instead.
6611 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6612
66132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6614
6615 [BZ #14543]
6616 * libio/Makefile (tests): New test case tst-fseek.
6617 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6618 combination works in wide mode.
6619 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6620 state when the external buffer state changes.
6621
66222012-09-27 David S. Miller <davem@davemloft.net>
6623
6624 [BZ #14376]
6625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6626 pass reloc->r_addend in as the 'high' argument to
6627 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6628
6629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6630
66312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6632
6633 * rt/tst-aio2.c: Include <pthread.h>.
6634 * rt/tst-aio3.c: Likewise.
6635
66362012-09-27 Steve Ellcey <sellcey@mips.com>
6637
6638 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6639
66402012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6641
6642 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6643 contents on [SHARED].
6644
66452012-09-26 Marek Polacek <polacek@redhat.com>
6646
6647 [BZ #14530]
6648 [BZ #13741]
6649 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6650 for C++ and GCC <4.3 as well as for non GCC compilers.
6651
66522012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6653
6654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6655
66562012-09-25 Roland McGrath <roland@hack.frob.com>
6657
6658 * Makefile.in (all, install): Declare with .PHONY.
6659 Reported by Michael Hope <michael.hope@linaro.org>.
6660
66612012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6662
6663 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6664 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6665 system header.
6666 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6667 Likewise.
6668 (sydep_routines): Add the new and the internal functions.
6669 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6670 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6672 (GLIBC_2.17): Add the new function.
6673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6674 (GLIBC_2.17): Likewise.
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6676 (GLIBC_2.17): Likewise.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6678 (GLIBC_2.17): Likewise.
6679 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6680
66812012-09-25 Alan Modra <amodra@gmail.com>
6682
6683 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6684 Add release barrier before setting once_control to say
6685 initialisation is done. Add hints on lwarx. Use macro in
6686 place of isync.
6687 (clear_once_control): Add release barrier.
6688
66892012-09-25 Joseph Myers <joseph@codesourcery.com>
6690
6691 [BZ #13629]
6692 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6693 specially.
6694 * math/s_clog10.c (__clog10): Likewise.
6695 * math/s_clog10f.c (__clog10f): Likewise.
6696 * math/s_clog10l.c (__clog10l): Likewise.
6697 * math/s_clogf.c (__clogf): Likewise.
6698 * math/s_clogl.c (__clogl): Likewise.
6699 * math/Makefile (libm-calls): Add x2y2m1.
6700 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6701 (__x2y2m1): Likewise.
6702 (__x2y2m1l): Likewise.
6703 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6704 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6709 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6710 * sysdeps/i386/fpu/libm-test-ulps: Update.
6711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6712
6713 [BZ #14621]
6714 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6715 int as type of variable DEPTH.
6716 (glob): Use size_t instead of int as type of variables NEWCOUNT
6717 and OLD_PATHC.
6718
67192012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6720
6721 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6722 Add s_sincosf-sse2.
6723 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6724 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6725 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6726 macros for using routine as __sincosf_ia32.
6727 Use macro for function declaration and weak_alias.
6728 * sysdeps/i386/fpu/libm-test-ulps: Update.
6729
6730 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6732
6733 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6734 subnormal argument.
6735 * math/s_cexpf.c (__cexpf): Likewise.
6736 * math/s_csinf.c (__csinf): Likewise.
6737 * math/s_csinhf.c (__csinhf): Likewise.
6738 * math/s_ctanf.c (__ctanf): Likewise.
6739 * math/s_ctanhf.c (__ctanhf): Likewise.
6740 * math/s_ccosh.c (__ccoshf): Likewise.
6741 * math/s_cexp.c (__cexpl): Likewise.
6742 * math/s_csin.c (__csin): Likewise.
6743 * math/s_csinh.c (__csinh): Likewise.
6744 * math/s_ctan.c (__ctan): Likewise.
6745 * math/s_ctanh.c (ctanh): Likewise.
6746 * math/s_ccoshl.c (__ccoshl): Likewise.
6747 * math/s_cexpl.c (__cexpl): Likewise.
6748 * math/s_csinl.c (__csinl): Likewise.
6749 * math/s_csinhl.c (__csinhl): Likewise.
6750 * math/s_ctanl.c (__ctanl): Likewise.
6751 * math/s_ctanhl.c (__ctanhl): Likewise.
6752
67532012-09-25 Joseph Myers <joseph@codesourcery.com>
6754
6755 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6756 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6757 (_IO_off_t): Define to __off_t, not _G_off_t.
6758 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6759 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6760 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6761 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6762 type of __dummy and __dummy2 fields.
6763 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6764 (_G_ssize_t): Likewise.
6765 (_G_off_t): Likewise.
6766 (_G_pid_t): Likewise.
6767 (_G_uid_t): Likewise.
6768 (_G_wchar_t): Likewise.
6769 (_G_wint_t): Likewise.
6770 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6771 (_G_ssize_t): Likewise.
6772 (_G_off_t): Likewise.
6773 (_G_pid_t): Likewise.
6774 (_G_uid_t): Likewise.
6775 (_G_wchar_t): Likewise.
6776 (_G_wint_t): Likewise.
6777 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6778 (_G_ssize_t): Likewise.
6779 (_G_off_t): Likewise.
6780 (_G_pid_t): Likewise.
6781 (_G_uid_t): Likewise.
6782 (_G_wchar_t): Likewise.
6783 (_G_wint_t): Likewise.
6784
67852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6786
6787 * malloc/arena.c: Include malloc-sysdep.h.
6788 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6789 is sufficient to shrink the heap or an unmap is needed.
6790 * sysdeps/generic/malloc-sysdep.h: New file. Define
6791 new function check_may_shrink_heap.
6792 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6793 new function check_may_shrink_heap.
6794
67952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6796
6797 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6798 comments.
6799
68002012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6801
6802 * catgets/test-gencat.sh: Add "set -e".
6803 * elf/tst-pathopt.sh: Likewise.
6804 * grp/tst_fgetgrent.sh: Likewise.
6805 * iconvdata/run-iconv-test.sh: Likewise.
6806 * intl/tst-gettext.sh: Likewise.
6807 * intl/tst-gettext2.sh: Likewise.
6808 * intl/tst-gettext4.sh: Likewise.
6809 * intl/tst-gettext6.sh: Likewise.
6810 * intl/tst-translit.sh: Likewise.
6811 * io/ftwtest-sh: Likewise.
6812 * libio/test-freopen.sh: Likewise.
6813 * malloc/tst-mtrace.sh: Likewise.
6814 * posix/globtest.sh: Likewise.
6815 * posix/tst-getconf.sh: Likewise.
6816 * posix/wordexp-tst.sh: Likewise.
6817 * stdio-common/tst-printf.sh: Likewise.
6818 * stdio-common/tst-unbputc.sh: Likewise.
6819 * stdlib/tst-fmtmsg.sh: Likewise.
6820 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6821 * catgets/Makefile: Do not specify -e option when running
6822 testsuite shell scripts.
6823 * elf/Makefile: Likewise.
6824 * grp/Makefile: Likewise.
6825 * iconvdata/Makefile: Likewise.
6826 * intl/Makefile: Likewise.
6827 * io/Makefile: Likewise.
6828 * libio/Makefile: Likewise.
6829 * malloc/Makefile: Likewise.
6830 * posix/Makefile: Likewise.
6831 * stdio-common/Makefile: Likewise.
6832 * stdlib/Makefile: Likewise.
6833 * sysdeps/x86_64/Makefile: Likewise.
6834
6835 * io/ftwtest-sh: Add copyright header.
6836 * posix/globtest.sh: Likewise.
6837 * posix/tst-getconf.sh: Likewise.
6838 * posix/wordexp-tst.sh: Likewise.
6839 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6840
68412012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6842
6843 [BZ #13679]
6844 * Makeconfig (+link): Defined as $(+link-static) if
6845 $(build-shared) isn't yes.
6846 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6847 isn't yes.
6848 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6849
6850 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6851
6852 [BZ #14562]
6853 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6854 new chunk size with MALLOC_ALIGN_MASK.
6855
68562012-09-24 Joseph Myers <joseph@codesourcery.com>
6857
6858 [BZ #5044]
6859 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6860 <rounding-mode.h>.
6861 (__printf_fphex): Determine rounding using get_rounding_mode and
6862 round_away.
6863 * stdio-common/tst-printf-round.c (struct hex_test): New
6864 structure.
6865 (hex_tests): New variable.
6866 (test_hex_in_one_mode): New function.
6867 (do_test): Also run tests for hex float output.
6868
68692012-09-21 Joseph Myers <joseph@codesourcery.com>
6870
6871 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6872 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6873 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6874 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6875 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6876 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6877 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6878 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6879
68802012-09-20 Joseph Myers <joseph@codesourcery.com>
6881
6882 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6883 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6884 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6885 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6886
68872012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6888
6889 [BZ #14579]
6890 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6891 mode only.
6892 * elf/tst-rtld-load-self.sh: New test.
6893 * elf/Makefile: Run it.
6894
68952012-09-18 Joseph Myers <joseph@codesourcery.com>
6896
6897 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6898 (tst-writev-ENV): Remove.
6899 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6900
69012012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6902
6903 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6904
69052012-09-17 Joseph Myers <joseph@codesourcery.com>
6906
6907 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6908 unconditional.
6909 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6910 Likewise.
6911 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6912 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6913 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6914 Likewise.
6915
69162012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6917
6918 [BZ #14587]
6919 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6920 * config.make.in (have-cpp-asm-debuginfo): Removed.
6921 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6922 * configure: Regenerated.
6923
69242012-09-14 Joseph Myers <joseph@codesourcery.com>
6925
6926 [BZ #5044]
6927 * stdio-common/printf_fp.c: Include <stdbool.h> and
6928 <rounding-mode.h>.
6929 (___printf_fp): Determine rounding using get_rounding_mode and
6930 round_away.
6931 * stdio-common/tst-printf-round.c: New file.
6932 * stdio-common/Makefile (tests): Add tst-printf-round.
6933 (link-libm): New variable.
6934 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6935
69362012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6937
6938 [BZ #14576]
6939 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6940 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6941 Likewise.
6942 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6943 Likewise.
6944
69452012-09-13 Joseph Myers <joseph@codesourcery.com>
6946
6947 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6948 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6949 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6950 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6951
69522012-09-12 Joseph Myers <joseph@codesourcery.com>
6953
6954 [BZ #14518]
6955 * include/rounding-mode.h: New file.
6956 * sysdeps/generic/get-rounding-mode.h: Likewise.
6957 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6958 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6959 (MAX_VALUE): New macro.
6960 (MIN_VALUE): Likewise.
6961 (overflow_value): New function.
6962 (underflow_value): Likewise.
6963 (round_and_return): Use overflow_value and underflow_value to
6964 determine return values in overflow and underflow cases. Use
6965 round_away to determine rounding depending on rounding mode.
6966 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6967 determine return values in overflow and underflow cases.
6968 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6969 (struct test_results): New structure.
6970 (struct test): Use struct test_results to store expected results
6971 for all rounding modes.
6972 (TEST): Include expected results for all rounding modes.
6973 (test_in_one_mode): New function.
6974 (do_test): Use test_in_one_mode to compute and check results.
6975 Check results for all rounding modes.
6976 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6977 $(link-libm).
6978
69792012-12-09 Allan McRae <allan@archlinux.org>
6980
6981 * sysdeps/i386/fpu/libm-test-ulps: Update
6982
69832012-09-11 Joseph Myers <joseph@codesourcery.com>
6984
6985 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6986 (_G_int32_t): Likewise.
6987 (_G_uint16_t): Likewise.
6988 (_G_uint32_t): Likewise.
6989 (_G_HAVE_BOOL): Likewise.
6990 (_G_HAVE_ATEXIT): Likewise.
6991 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6992 (_G_HAVE_IO_FILE_OPEN): Likewise.
6993 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6994 (_G_int32_t): Likewise.
6995 (_G_uint16_t): Likewise.
6996 (_G_uint32_t): Likewise.
6997 (_G_HAVE_BOOL): Likewise.
6998 (_G_HAVE_ATEXIT): Likewise.
6999 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7000 (_G_HAVE_IO_FILE_OPEN): Likewise.
7001 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7002 (_G_int32_t): Likewise.
7003 (_G_uint16_t): Likewise.
7004 (_G_uint32_t): Likewise.
7005 (_G_HAVE_BOOL): Likewise.
7006 (_G_HAVE_ATEXIT): Likewise.
7007 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7008 (_G_HAVE_IO_FILE_OPEN): Likewise.
7009
70102012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7011
7012 * csu/libc-tls.c: Update copyright years.
7013
70142012-09-10 Joseph Myers <joseph@codesourcery.com>
7015
7016 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7017 [!_G_USING_THUNKS]: Remove conditional code.
7018 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7019 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7020
7021 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7022 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7023 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7024 (_G_VTABLE_LABEL_PREFIX): Likewise.
7025 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7026 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7027 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7028 (_G_VTABLE_LABEL_PREFIX): Likewise.
7029 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7030 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7031 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7032 (_G_VTABLE_LABEL_PREFIX): Likewise.
7033 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7034
70352012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7036
7037 * libio/Makefile: Include ../Makeconfig before tests.
7038 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7039 only if $(build-shared) is yes.
7040
7041 * iconv/gconv_db.c: Update copyright years.
7042
70432012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7044
7045 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7046 unwind info if defined PIC. Fix special cases description.
7047 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7048
7049 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7050 DP_HI_MASK entry.
7051 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7052
70532012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7054
7055 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7056
7057 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7058 is NULL.
7059
7060 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7061 (LDLIBS-tst-chk4): This.
7062 (LDFLAGS-tst-chk5): Renamed to ...
7063 (LDLIBS-tst-chk5): This.
7064 (LDFLAGS-tst-chk6): Renamed to ...
7065 (LDLIBS-tst-chk6): This.
7066 (LDFLAGS-tst-lfschk4): Renamed to ...
7067 (LDLIBS-tst-lfschk4): This.
7068 (LDFLAGS-tst-lfschk5): Renamed to ...
7069 (LDLIBS-tst-lfschk5): This.
7070 (LDFLAGS-tst-lfschk6): Renamed to ...
7071 (LDLIBS-tst-lfschk6): This.
7072
7073 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7074 on $(common-objpfx)soversions.mk.
7075
70762012-09-07 Joseph Myers <joseph@codesourcery.com>
7077
7078 [BZ #10014]
7079 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7080 example host name.
7081
70822012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7083
7084 * malloc/arena.c (arena_get_retry): New function that gets
7085 another arena for the caller to try its request on.
7086 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7087 current arena cannot fulfill the request.
7088 (__libc_memalign): Likewise.
7089 (__libc_memalign): Likewise.
7090 (__libc_pvalloc): Likewise.
7091 (__libc_calloc): Likewise.
7092
70932012-09-05 John Tobey <john.tobey@gmail.com>
7094
7095 [BZ #13542]
7096 * manual/arith.texi (Operations on Complex): Fix description
7097 of carg branch cut.
7098
70992012-09-06 Joseph Myers <joseph@codesourcery.com>
7100
7101 [BZ #10014]
7102 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7103 host name.
7104
7105 [BZ #10038]
7106 * manual/memory.texi (Memory): Make order of menu items match
7107 order of sections.
7108
71092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7110
7111 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7112 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7113 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7114
71152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 * csu/libc-tls.c (static_dtv): Renamed to ...
7118 (_dl_static_dtv): This. Make it global.
7119 (_dl_initial_dtv): Removed.
7120 (__libc_setup_tls): Updated.
7121 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7122 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7123 DL_INITIAL_DTV.
7124
71252012-09-06 Petr Machata <pmachata@redhat.com>
7126
7127 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7128 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7129 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7130 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7131
71322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7133
7134 [BZ #14545]
7135 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7136 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7137 freeing dtv[-1].
7138
71392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7140
7141 [BZ #14544]
7142 * Makeconfig (link-static-before-libc): Replace $(+prector)
7143 with $(+prectorT).
7144 (link-static-after-libc): Replace $(+postctor) with
7145 $(+postctorT).
7146 (link-bounded): Replace $(+prector)/$(+postctor) with
7147 $(+prectorT)/$(+postctorT).
7148 (+prectorT): New macro.
7149 (+postctorT): Likewise.
7150
71512012-09-06 Joseph Myers <joseph@codesourcery.com>
7152
7153 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7154 (round_str): Handle values above the maximum for IBM long double
7155 as inexact.
7156 * stdlib/tst-strtod-round.c (tests): Regenerated.
7157
71582012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7159
7160 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7161 assembler flag.
7162 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7163 zarch_nohighgprs around the zarch optimized routines.
7164 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7165 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7166 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7167 for zarch.
7168
71692012-09-05 David S. Miller <davem@davemloft.net>
7170
7171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7172
7173 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7174 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7175 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7176 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7177 entries.
7178
71792012-09-05 Alexandre Oliva <aoliva@redhat.com>
7180
7181 * malloc/arena.c: Fold copyright years.
7182 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7183
71842012-09-05 Alexandre Oliva <aoliva@redhat.com>
7185
7186 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7187
71882012-09-05 Alexandre Oliva <aoliva@redhat.com>
7189
7190 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7191
71922012-09-05 Alexandre Oliva <aoliva@redhat.com>
7193
7194 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7195 change internal state upon failure.
7196
71972012-09-05 Alexandre Oliva <aoliva@redhat.com>
7198
7199 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7200 * malloc/memusage.c (mmap): Likewise.
7201 (mmap64, mremap): Likewise. Adjust name in comment.
7202
72032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7204
7205 * libio/fileops.c: Fix typos in comments.
7206 * libio/oldfileops.c: Likewise.
7207 * libio/wfileops.c: Likewise.
7208
72092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7210
7211 [BZ #1349]
7212 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7213 (tst-malloc-usable-ENV): Set environment for test case.
7214 * malloc/hooks.c (malloc_check_get_size): New function to get
7215 requested size.
7216 * malloc/malloc.c (musable): Use malloc_check_get_size.
7217 * malloc/tst-malloc-usable.c: New test case.
7218
72192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7220
7221 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7222
72232012-09-05 Allan McRae <allan@archlinux.org>
7224
7225 [BZ #13966]
7226 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7227 determine header location.
7228 * configure: Regenerated.
7229
72302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7231
7232 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7233 float format.
7234 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7235 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7236 format.
7237 (test): Regenerate.
7238
72392012-09-04 David S. Miller <davem@davemloft.net>
7240
7241 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7242 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7243 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7244
72452012-09-04 Florian Weimer <fweimer@redhat.com>
7246
7247 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7248 failures.
7249
7250 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7251
72522012-09-04 Joseph Myers <joseph@codesourcery.com>
7253
7254 [BZ #9914]
7255 * libio/iogetdelim.c: Include <limits.h>.
7256 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7257 + len + 1 would overflow.
7258
72592012-09-03 Andreas Jaeger <aj@suse.de>
7260
7261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update.
7263
72642012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7265
7266 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7267 Add s_sinf-sse2, s_conf-sse2.
7268
7269 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7270 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7271 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7272 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7273
7274 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7275 for using routine as __sinf_ia32.
7276 Use macro for function declaration and weak_alias.
7277 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7278 for using routine as __cosf_ia32.
7279 Use macro for function declaration and weak_alias.
7280
7281 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7282 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7283
7284 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7285 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7287
7288 * math/libm-test.inc (cos_test): Add more test cases.
7289 (sin_test): Likewise.
7290 (sincos_test): Likewise.
7291
72922012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7293
7294 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7295 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7296 hidden.
7297 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7298
72992012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7300
7301 [BZ #14538]
7302 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7303 first element of the GOT.
7304 (elf_machine_load_address): Return the difference between
7305 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7306
73072012-09-01 Allan McRae <allan@archlinux.org>
7308
7309 [BZ #13412]
7310 * configure.in (AWK): Require gawk version 3.0 or later.
7311 * configure: Regenerated.
7312
73132012-09-01 Joseph Myers <joseph@codesourcery.com>
7314
7315 * sysdeps/unix/sysv/linux/kernel-features.h
7316 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7318 [__NR_clock_getres]: Make code unconditional.
7319 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7320 (clock_getcpuclockid): Remove code left unreachable by removal of
7321 conditionals.
7322 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7323 code unconditional.
7324 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7325 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7326 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7327 Make code unconditional.
7328 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7329 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7330 * sysdeps/unix/sysv/linux/clock_settime.c
7331 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7332 conditional code.
7333 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7335
73362012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7337
7338 [BZ #14476]
7339 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7340 scripts/test-installation.pl.
7341
7342 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7343 and $ld_so_version if it is set.
7344
73452012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7346
7347 [BZ #14516]
7348 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7349 failure if reading from procfs failed.
7350 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7351
73522012-08-27 Joseph Myers <joseph@codesourcery.com>
7353
7354 * sysdeps/unix/sysv/linux/kernel-features.h
7355 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7356 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7357 Remove conditional code.
7358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7359 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7360 Remove conditional code.
7361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7362 * sysdeps/unix/sysv/linux/i386/fxstat.c
7363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7365 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7366 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7368 * sysdeps/unix/sysv/linux/i386/lxstat.c
7369 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7371 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7372 Remove conditional code.
7373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7374 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7375 Remove conditional code.
7376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7378 <kernel-features.h>.
7379 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7380 Remove.
7381 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7382 Remove conditional code.
7383 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7384 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7385 Remove conditional.
7386
73872012-08-27 Mike Frysinger <vapier@gentoo.org>
7388
7389 [BZ #5400]
7390 * NEWS: Add fixed bug number.
7391
73922012-08-27 Joseph Myers <joseph@codesourcery.com>
7393
7394 [BZ #14519]
7395 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7396 underflowing exponent in case of negative sign.
7397 * stdlib/tst-strtod-round-data: Add more tests.
7398 * stdlib/tst-strtod-round.c (tests): Regenerated.
7399
7400 [BZ #3479]
7401 * stdlib/strtod_l.c (NDIG): Remove.
7402 (HEXNDIG): Likewise.
7403 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7404 smallest representable value.
7405 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7406 lie within an exact representation of 1/2 ulp of the result.
7407 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7408 unconditionally.
7409 (TENS_P9_IDX): Define unconditionally.
7410 (TENS_P9_SIZE): Likewise.
7411 (TENS_P10_IDX): Likewise.
7412 (TENS_P10_SIZE): Likewise.
7413 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7414 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7415 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7416 entries for 10^2^13 and 10^2^14.
7417 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7418 (TENS_P13_IDX): Define.
7419 (TENS_P13_SIZE): Likewise.
7420 (TENS_P14_IDX): Likewise.
7421 (TENS_P14_SIZE): Likewise.
7422 (_fpioconst_pow10): Change array size to
7423 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7424 unconditional.
7425 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7426 1024]: Add entries for 10^2^13 and 10^2^14.
7427 [LAST_POW10 > _LAST_POW10]: Remove #error.
7428 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7429 (_fpioconst_pow10): Change array size to
7430 FPIOCONST_POW10_ARRAY_SIZE.
7431 * stdlib/gen-fpioconst.c: New file.
7432 * stdlib/gen-tst-strtod-round.c: Likewise.
7433 * stdlib/tst-strtod-round-data: Likewise.
7434 * stdlib/tst-strtod-round.c: Likewise.
7435 * stdlib/Makefile (tests): Add tst-strtod-round.
7436
7437 [BZ #14459]
7438 * stdlib/strtod_l.c: Include <stdint.h>.
7439 (NDEBUG): Do not define.
7440 (round_and_return): Change EXPONENT parameter to type intmax_t.
7441 Rearrange calculations to avoid internal overflow possibilities.
7442 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7443 Rearrange calculations to avoid internal overflow possibilities.
7444 Assert that number fits inside MPNSIZE limbs.
7445 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7446 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7447 calculations and add assertions to avoid internal overflow
7448 possibilities. Add casts to avoid signed/unsigned operations.
7449 * stdlib/tst-strtod-overflow.c: New file.
7450 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7451
74522012-08-25 Marek Polacek <polacek@redhat.com>
7453
7454 * time/time.h: Fix some typos in comments.
7455
74562012-08-23 Roland McGrath <roland@hack.frob.com>
7457
7458 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7459 * posix/tst-rfc3484-2.c: Likewise.
7460 * posix/tst-rfc3484-3.c: Likewise.
7461
74622012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7463
7464 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7465 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7466
74672012-08-23 Joseph Myers <joseph@codesourcery.com>
7468
7469 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7470 #include of fxstatat64.c.
7471
74722012-08-22 Roland McGrath <roland@hack.frob.com>
7473
7474 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7475 * shadow/getspent_r.c: Likewise.
7476 * shadow/getspnam.c: Likewise.
7477 * shadow/getspnam_r.c: Likewise.
7478 * gshadow/getsgent.c: Likewise.
7479 * gshadow/getsgent_r.c: Likewise.
7480 * gshadow/getsgnam.c: Likewise.
7481 * gshadow/getsgnam_r.c: Likewise.
7482 * inet/getnetbyad.c: Likewise.
7483 * inet/getnetbyad_r.c: Likewise.
7484 * inet/getnetbynm.c: Likewise.
7485 * inet/getnetbynm_r.c: Likewise.
7486 * inet/getnetent.c: Likewise.
7487 * inet/getnetent_r.c: Likewise.
7488 * inet/getproto.c: Likewise.
7489 * inet/getproto_r.c: Likewise.
7490 * inet/getprtent.c: Likewise.
7491 * inet/getprtent_r.c: Likewise.
7492 * inet/getprtname.c: Likewise.
7493 * inet/getprtname_r.c: Likewise.
7494 * inet/getrpcbyname.c: Likewise.
7495 * inet/getrpcbyname_r.c: Likewise.
7496 * inet/getrpcbynumber.c: Likewise.
7497 * inet/getrpcbynumber_r.c: Likewise.
7498 * inet/getrpcent.c: Likewise.
7499 * inet/getrpcent_r.c: Likewise.
7500 * inet/getaliasent.c: Likewise.
7501 * inet/getaliasent_r.c: Likewise.
7502 * inet/getaliasname.c: Likewise.
7503 * inet/getaliasname_r.c: Likewise.
7504 * nscd/getgrgid_r.c: Likewise.
7505 * nscd/getgrnam_r.c: Likewise.
7506 * nscd/gethstbyad_r.c: Likewise.
7507 * nscd/gethstbynm3_r.c: Likewise.
7508 * nscd/getpwnam_r.c: Likewise.
7509 * nscd/getpwuid_r.c: Likewise.
7510 * nscd/getsrvbynm_r.c: Likewise.
7511 * nscd/getsrvbypt_r.c: Likewise.
7512 * nscd/gai.c: Likewise.
7513
7514 * configure.in (build_nscd): New substituted variable, set
7515 by --disable-build-nscd and defaults to $use_nscd.
7516 * configure: Regenerated.
7517 * config.make.in (build-nscd): New substituted variable.
7518 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7519 Change conditional to require [$(build-nscd) = yes] as well.
7520 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7521
7522 [BZ# 13696]
7523 * configure.in (use_nscd): New substituted variable, set by
7524 --disable-nscd. If enabled, define USE_NSCD.
7525 * configure: Regenerated.
7526 * config.h.in: Add USE_NSCD.
7527 * config.make.in (use-nscd): New substituted variable.
7528 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7529 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7530 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7531 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7532 (CFLAGS-getgrnam_r.c): Likewise.
7533 (CFLAGS-initgroups.c): Likewise.
7534 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7535 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7536 Variables removed.
7537 * inet/getnetgrent_r.c
7538 (nscd_setnetgrent): New function, broken out of ...
7539 (setnetgrent): ... here. Call it.
7540 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7541 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7542 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7543 * nscd/Makefile (routines, aux): Move definitions after include of
7544 Makeconfig. Conditionalize on [$(use-nscd) != no].
7545 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7546 Conditionalize on [USE_NSCD].
7547 (is_nscd, nscd_init_cb): Likewise.
7548 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7549 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7550 * nss/nss_db/db-init.c: Likewise.
7551 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7552 [USE_NSCD].
7553 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7554 (make_request): Use it.
7555 (cache_valid_p): New function.
7556 (__check_pf): Use it.
7557 * NEWS: Add item for --disable-nscd.
7558
75592012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7560
7561 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7562 to support sed >= 4.2.1-20-ga9bf076.
7563 * configure: Regenerated.
7564
75652012-08-22 Roland McGrath <roland@hack.frob.com>
7566
7567 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7568 Conditionalize whole body on [IREL].
7569
75702012-08-22 Jeff Law <law@redhat.com>
7571
7572 [BZ #14505]
7573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7574 if the family is PF_UNSPEC.
7575
75762012-08-22 Mike Frysinger <vapier@gentoo.org>
7577
7578 * Makerules (lib-version): Rename from V.
7579 (install-lib-nosubdir): Change V to lib-version.
7580
75812012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7582
7583 [BZ #14252]
7584 * powerpc32/power6/wcschr.c: New file.
7585 * powerpc32/power6/wcscpy.c: New file.
7586 * powerpc32/power6/wcsrchr.c: New file.
7587 * powerpc64/power6/wcschr.c: New file.
7588 * powerpc64/power6/wcscpy.c: New file.
7589 * powerpc64/power6/wcsrchr.c: New file.
7590
75912012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7592
7593 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7594 (two_way_short_needle): Use it.
7595 * string/strstr.c (AVAILABLE1_USES_J): Define.
7596 * string/strcasestr.c: Likewise.
7597
7598 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7599 array references.
7600 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7601
7602 [BZ #11607]
7603 * NEWS: Add an entry.
7604 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7605 define their defaults.
7606 (two_way_short_needle): Detect end-of-string on-the-fly.
7607 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7608 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7609 * string/bug-strcasestr1.c: New test.
7610 * string/Makefile: Run it.
7611
76122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7613
7614 [BZ #11607]
7615 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7616 the first character.
7617
76182012-08-21 Roland McGrath <roland@hack.frob.com>
7619
7620 * csu/elf-init.c (__libc_csu_irel): Function removed.
7621 * csu/libc-start.c (apply_irel): New function.
7622 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7623
76242012-08-21 Joseph Myers <joseph@codesourcery.com>
7625
7626 * sysdeps/unix/sysv/linux/kernel-features.h
7627 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7628 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7629 <kernel-features.h>.
7630 [__NR_fadvise64_64]: Make code unconditional.
7631 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7632 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7633 !__NR_fadvise64_64)]: Likewise.
7634 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7635 !__NR_fadvise64_64))]: Likewise.
7636 [__NR_fadvise64]: Make code unconditional.
7637 [!__NR_fadvise64]: Remove conditional code.
7638 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7639 <kernel-features.h>.
7640 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7641 unconditional.
7642 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7643 conditional code.
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7645 not include <kernel-features.h>.
7646 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7647 unconditional.
7648 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7649 conditional code.
7650 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7651 include <kernel-features.h>.
7652 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7653 unconditional.
7654 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7655 conditional code.
7656
76572012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7658
7659 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7660 slight instruction rearrangements per scrollpipe analysis.
7661 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7662
76632012-08-20 Roland McGrath <roland@hack.frob.com>
7664
7665 * manual/syslog.texi (syslog; vsyslog, closelog):
7666 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7667 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7668
7669 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7670 DSOCAPS to match condition on defining it.
7671
76722012-08-20 Joseph Myers <joseph@codesourcery.com>
7673
7674 * sysdeps/unix/sysv/linux/kernel-features.h
7675 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7680 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7681 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7683 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7684 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7685
7686 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7687 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7688
7689 * sysdeps/unix/sysv/linux/kernel-features.h
7690 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7691 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7692 unconditional.
7693 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7694 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7695 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7696 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7697 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7698 Make code unconditional.
7699 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7700 (__mmap64) [!__NR_mmap2]: Likewise.
7701 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7702 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7703 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7704 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7705 [__NR_mmap2]: Make code unconditional.
7706 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7707 (__mmap64) [!__NR_mmap2]: Likewise.
7708
77092012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7710
7711 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7712
77132012-08-18 Andreas Jaeger <aj@suse.de>
7714
7715 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7716
77172012-08-18 Mike Frysinger <vapier@gentoo.org>
7718
7719 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7720 * include/unistd.h (__have_sock_cloexec): Likewise.
7721 (__have_pipe2): Likewise.
7722 (__have_dup3): Likewise.
7723
77242012-08-18 Mike Frysinger <vapier@gentoo.org>
7725
7726 [BZ #9685]
7727 * include/unistd.h (__have_pipe2): Change define into an extern int.
7728 (__have_dup3): Likewise.
7729 * socket/have_sock_cloexec.c: Include fcntl.h.
7730 (__have_pipe2): New variable.
7731 (__have_dup3): Likewise.
7732
77332012-08-17 Mike Frysinger <vapier@gentoo.org>
7734
7735 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7736
77372012-08-17 Marek Polacek <polacek@redhat.com>
7738
7739 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7740 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7741
77422012-08-17 Roland McGrath <roland@hack.frob.com>
7743
7744 * configure.in: Add AC_SUBST for sysheaders.
7745 * configure: Regenerated.
7746 * config.make.in (sysheaders): New substituted variable.
7747
7748 * sysdeps/unix/mkfifo.c: Moved ...
7749 * sysdeps/posix/mkfifo.c: ... here.
7750 * sysdeps/unix/mkfifoat.c: Moved ...
7751 * sysdeps/posix/mkfifoat.c: ... here.
7752
7753 * sysdeps/unix/utime.c: Moved ...
7754 * sysdeps/posix/utime.c: ... here.
7755
7756 * sysdeps/unix/time.c: Moved ...
7757 * sysdeps/posix/time.c: ... here.
7758 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7759 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7760
7761 * sysdeps/unix/nice.c: Moved ...
7762 * sysdeps/posix/nice.c: ... here.
7763
7764 * sysdeps/unix/alarm.c: Moved ...
7765 * sysdeps/posix/alarm.c: ... here.
7766
7767 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7768
77692012-08-17 Jeff Law <law@redhat.com>
7770
7771 * intl/Makefile (codeset_mo): New variable.
7772 ($(codeset_mo)): New target.
7773 (tst-codeset.out): Depend on that. Remove explicit rule.
7774 (tst-gettext3.out, tst-gettext5.out): Likewise.
7775 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7776 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7777 * intl/tst-codeset.sh: Remove.
7778 * intl/tst-gettext3.sh: Likewise.
7779 * intl/tst-gettext5.sh: Likewise.
7780
77812012-08-17 Roland McGrath <roland@hack.frob.com>
7782
7783 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7784 * sysdeps/unix/syscalls.list: ... here.
7785
7786 * sysdeps/posix/getaddrinfo.c
7787 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7788 (gaiconf_init, gaiconf_reload): Use them.
7789 [!_STATBUF_ST_NSEC]
7790 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7791 Define using time_t rather than struct timespec.
7792
7793 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7794 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7795 Macros removed.
7796 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7797 [!NO_THREADS].
7798 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7799 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7800 Likewise.
7801
7802 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7803 __libc_cleanup_push argument.
7804
7805 * bits/param.h: New file.
7806 * misc/sys/param.h: New file.
7807 * include/sys/param.h: New file.
7808 * misc/Makefile (headers): Add bits/param.h.
7809 * sysdeps/generic/sys/param.h: File removed.
7810 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7811 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7812 * sysdeps/mach/hurd/bits/param.h: New file.
7813 * sysdeps/mach/hurd/sys/param.h: File removed.
7814
7815 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7816 last change.
7817
7818 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7819 [_IO_MTSAFE_IO].
7820 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7821 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7822 New macros.
7823
7824 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7825 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7826 rather than -D_IO_MTSAFE_IO conditionally.
7827 * stdio-common/Makefile (CPPFLAGS): Likewise.
7828 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7829 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7830 Use $(libio-mtsafe).
7831 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7832 of -D_IO_MTSAFE_IO.
7833 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7834 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7835 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7836 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7837 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7838 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7839 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7840 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7841 (CFLAGS-fread_u_chk.c): Likewise.
7842 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7843 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7844 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7845 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7846 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7847 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7848 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7849 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7850 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7851
7852 * libio/Makefile: Test [$(libc-reentrant) = yes]
7853 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7854
7855 * Makeconfig
7856 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7857 * sysdeps/pthread/configure: File removed.
7858 * sysdeps/pthread/Makeconfig: New file.
7859 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7860 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7861
78622012-08-16 Gary Benson <gbenson@redhat.com>
7863
7864 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7865 unmapping the first object in a namespace.
7866
78672012-08-16 Roland McGrath <roland@hack.frob.com>
7868
7869 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7870 (__internal_setnetgrent): ... this. Add internal_function to
7871 definition. Add libc_hidden_def.
7872 (setnetgrent): Update caller.
7873 (internal_endnetgrent): Renamed to ...
7874 (__internal_endnetgrent): ... this. Add internal_function to
7875 definition. Add libc_hidden_def.
7876 (endnetgrent): Update caller.
7877 (internal_getnetgrent_r): Renamed to ...
7878 (__internal_getnetgrent_r): ... this. Add internal_function to
7879 definition. Add libc_hidden_def.
7880 (__getnetgrent_r): Update caller.
7881 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7882
78832012-08-16 Joseph Myers <joseph@codesourcery.com>
7884
7885 * stdlib/longlong.h: Update from GCC.
7886
78872012-08-16 Roland McGrath <roland@hack.frob.com>
7888
7889 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7890 on _QL, which is set by umul_ppmm but never used.
7891 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7892 variables, which are set by GMP macros but never used.
7893 * stdio-common/_itowa.c (_itowa): Likewise.
7894 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7895 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7896
78972012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7898
7899 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7900 struct La_sh_regs is not constant.
7901 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7902 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7903 and struct La_sparc64_regs are not constant.
7904
79052012-08-16 Joseph Myers <joseph@codesourcery.com>
7906
7907 * sysdeps/unix/sysv/linux/kernel-features.h
7908 (__ASSUME_POSIX_TIMERS): Remove.
7909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7911 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7912 Make code unconditional.
7913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7914 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7915 Make code unconditional.
7916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7917 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7918 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7920 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7921 Make code unconditional.
7922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7923 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7924 (__libc_missing_posix_timers): Remove.
7925
79262012-08-15 Roland McGrath <roland@hack.frob.com>
7927
7928 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7929 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7930
7931 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7932
7933 * elf/dl-sym.c: Include <stdlib.h>.
7934
7935 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7936 constants, which avoids warnings in 32-bit builds.
7937
7938 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7939 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7940
7941 * misc/lseek.c: File moved to ...
7942 * io/lseek.c: ... here.
7943
7944 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7945
7946 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7947 shifting LEN more than 31 bits at once.
7948
79492012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7950
7951 [BZ #14195]
7952 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7953 segmentation fault for a case of two empty input strings.
7954 * string/test-strncasecmp.c (check1): Renamed to...
7955 (bz12205): ...this.
7956 (bz14195): Add new testcase for two empty input strings and N > 0.
7957 (test_main): Call new testcase, adapt for renamed function.
7958
79592012-08-15 Andreas Jaeger <aj@suse.de>
7960
7961 [BZ #14090]
7962 * crypt/md5test2.c: New test, based on test supplied by Serge
7963 Belyshev <belyshev@depni.sinp.msu.ru>.
7964 * crypt/Makefile (xtests): Add md5test-giant..
7965 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7966
79672012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7968
7969 [BZ #14090]
7970 * crypt/md5.c (md5_process_block): Don't assume the buffer
7971 length is less than 2**32.
7972 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7973 length is less than 2**64.
7974
79752012-08-15 Roland McGrath <roland@hack.frob.com>
7976
7977 * string/str-two-way.h: Include <sys/param.h>.
7978 (MAX): Macro removed.
7979
7980 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7981 Move #define and #undef of memmove to just before and after
7982 including <string.h>.
7983
7984 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7985 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7986 and after including <string.h>. Move declarations of
7987 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7988 to before #include "string/memmove.c".
7989
7990 * include/dirent.h: Declare __getdirentries.
7991
7992 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7993 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7994
79952012-08-14 Mike Frysinger <vapier@gentoo.org>
7996
7997 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7998 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7999 * sysdeps/i386/configure: Regenerated.
8000 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8001 STABS_CURRENT_FILE, and STABS_FUN.
8002 (END): Remove call to STABS_FUN_END.
8003 (STABS_CURRENT_FILE1): Delete.
8004 (STABS_CURRENT_FILE): Likewise.
8005 (STABS_FUN): Likewise.
8006 (STABS_FUN_END): Likewise.
8007 (STABS_FUN2): Likewise.
8008 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8009 * sysdeps/x86_64/configure: Regenerated.
8010
80112012-08-14 Roland McGrath <roland@hack.frob.com>
8012
8013 * elf/dl-open.c: Include <atomic.h>.
8014 * elf/dl-lookup.c: Likewise.
8015
80162012-08-14 Joseph Myers <joseph@codesourcery.com>
8017
8018 * sysdeps/unix/sysv/linux/kernel-features.h
8019 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8020 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8021 unconditionally.
8022 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8023 unconditionally.
8024 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8025 condition on __ASSUME_CLONE_THREAD_FLAGS.
8026
80272012-08-14 Andreas Jaeger <aj@suse.de>
8028
8029 * sysdeps/i386/fpu/libm-test-ulps: Update.
8030
80312012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8032
8033 * include/atomic.h (atomic_exchange_and_add): Split into ...
8034 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8035 New atomic macros.
8036
80372012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8038
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8040
80412012-08-13 Jeff Law <law@redhat.com>
8042
8043 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8044 null byte in the output string.
8045
80462012-08-10 Joseph Myers <joseph@codesourcery.com>
8047
8048 * sysdeps/unix/sysv/linux/kernel-features.h
8049 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8050 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8051 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8052 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8053 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8054 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8055 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8056
80572012-08-09 Jeff Law <law@redhat.com>
8058
8059 [BZ #13939]
8060 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8061 When avoid_arena is set, don't retry in the that arena. Pick the
8062 next one, whatever it might be.
8063 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8064 (arena_lock): Pass in new parameter to arena_get2.
8065 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8066 arena_get2.
8067 (__libc_malloc): Unify retrying after main arena failure with
8068 __libc_memalign version.
8069 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8070
80712012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8072
8073 [BZ #14166]
8074 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8075 to __redirect_strstr.
8076 (__strstr_sse42): Use typeof __redirect_strstr.
8077 (__strstr_ia32): Likewise.
8078 (__libc_strstr): New prototype.
8079 (strstr): Renamed to ...
8080 (__libc_strstr): This.
8081 (strstr): New strong alias of __libc_strstr.
8082 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8083 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8084 __redirect_time.
8085 Include <time.h>.
8086 (__libc_time): New prototype.
8087 (time_ifunc): Replace time with __libc_time.
8088 (time): New strong alias and hidden definition of __libc_time.
8089 (__GI_time): Remove strong alias.
8090 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8091 Include <stddef.h>.
8092 (memmove): Redefined to __redirect_memmove.
8093 (__memmove_sse2): Use typeof __redirect_memmove.
8094 (__memmove_ssse3): Likewise.
8095 (__memmove_ssse3_back): Likewise.
8096 (__libc_memmove): New prototype.
8097 (memmove): Renamed to ...
8098 (__libc_memmove): This.
8099 (memmove): New strong alias of __libc_memmove.
8100
81012012-08-08 Mark Salter <msalter@redhat.com>
8102
8103 * elf/elf.h
8104 (R_MN10300_TLS_GD): Define.
8105 (R_MN10300_TLS_LD): Likewise.
8106 (R_MN10300_TLS_LDO): Likewise.
8107 (R_MN10300_TLS_GOTIE): Likewise.
8108 (R_MN10300_TLS_IE): Likewise.
8109 (R_MN10300_TLS_LE): Likewise.
8110 (R_MN10300_TLS_DTPMOD): Likewise.
8111 (R_MN10300_TLS_DTPOFF): Likewise.
8112 (R_MN10300_TLS_TPOFF): Likewise.
8113 (R_MN10300_SYM_DIFF): Likewise.
8114 (R_MN10300_ALIGN): Likewise.
8115 (R_MN10300_NUM): Update.
8116
81172012-08-08 Joseph Myers <joseph@codesourcery.com>
8118
8119 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8120 Remove.
8121
81222012-08-08 Roland McGrath <roland@hack.frob.com>
8123
8124 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8125
8126 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8127 sysdeps/unix -> sysdeps/posix move.
8128 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8129
81302012-08-07 Allan McRae <allan@archlinux.org>
8131
8132 [BZ #14303]
8133 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8134 (SUNOS_CPP): Likewise.
8135 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8136 not found.
8137 (open_input): Call CPP using execvp.
8138
81392012-08-07 Joseph Myers <joseph@codesourcery.com>
8140
8141 * sysdeps/unix/sysv/linux/kernel-features.h
8142 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8143 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8144 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8145 (__ASSUME_WAITID_SYSCALL): Likewise.
8146 * sysdeps/unix/sysv/linux/dl-execstack.c
8147 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8148 code unconditional.
8149 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8150 conditional code.
8151 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8152 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8153 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8154 code.
8155 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8156 unconditional.
8157 [__ASSUME_WAITID_SYSCALL]: Likewise.
8158 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8159
81602012-08-07 Roland McGrath <roland@hack.frob.com>
8161
8162 * sysdeps/unix/closedir.c: Renamed to ...
8163 * sysdeps/posix/closedir.c: ... here.
8164 * sysdeps/unix/dirfd.c: Renamed to ...
8165 * sysdeps/posix/dirfd.c: ... here.
8166 * sysdeps/unix/dirstream.h: Renamed to ...
8167 * sysdeps/posix/dirstream.h: ... here.
8168 * sysdeps/unix/fdopendir.c: Renamed to ...
8169 * sysdeps/posix/fdopendir.c: ... here.
8170 * sysdeps/unix/opendir.c: Renamed to ...
8171 * sysdeps/posix/opendir.c: ... here.
8172 * sysdeps/unix/readdir.c: Renamed to ...
8173 * sysdeps/posix/readdir.c: ... here.
8174 * sysdeps/unix/readdir_r.c: Renamed to ...
8175 * sysdeps/posix/readdir_r.c: ... here.
8176 * sysdeps/unix/rewinddir.c: Renamed to ...
8177 * sysdeps/posix/rewinddir.c: ... here.
8178 * sysdeps/unix/seekdir.c: Renamed to ...
8179 * sysdeps/posix/seekdir.c: ... here.
8180 * sysdeps/unix/telldir.c: Renamed to ...
8181 * sysdeps/posix/telldir.c: ... here.
8182 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8183 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8184 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8185 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8186
8187 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8188 * bits/fcntl.h: ... here.
8189
8190 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8191 not 0.
8192 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8193 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8194 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8195 (struct flock): Move l_start, l_len to the beginning.
8196 Use __pid_t for l_pid.
8197 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8198 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8199 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8200 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8201 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8202 [__USE_LARGEFILE64] (struct flock64): New type.
8203 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8204
8205 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8206 * bits/dirent.h: ... here.
8207
8208 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8209 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8210
82112012-08-07 Joseph Myers <joseph@codesourcery.com>
8212
8213 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8214 Change from 2.6.0 to 2.6.16.
8215 * sysdeps/unix/sysv/linux/configure: Regenerated.
8216 * sysdeps/unix/sysv/linux/kernel-features.h
8217 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8218 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8219 version.
8220 (__ASSUME_UTIMES): Likewise.
8221 (__ASSUME_CLONE_STOPPED): Remove.
8222 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8223 architectures, not kernel version.
8224 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8225 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8226 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8227 (__ASSUME_WAITID_SYSCALL): Likewise.
8228 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8229 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8230 * README: State 2.6.16 as minimum Linux kernel version. Do not
8231 refer to older versions.
8232
82332012-08-06 Roland McGrath <roland@hack.frob.com>
8234
8235 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8236 Define alphasort64 as an alias.
8237 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8238 Define versionsort64 as an alias.
8239 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8240 Define scandir64 as an alias.
8241 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8242 Define scandirat64 as an alias.
8243 * dirent/alphasort64.c (alphasort64):
8244 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8245 * dirent/versionsort64.c: Likewise.
8246 * dirent/scandir64.c: Likewise.
8247 * dirent/scandirat64.c: Likewise.
8248 * sysdeps/wordsize-64/alphasort.c: File removed.
8249 * sysdeps/wordsize-64/alphasort64.c: File removed.
8250 * sysdeps/wordsize-64/scandir.c: File removed.
8251 * sysdeps/wordsize-64/scandir64.c: File removed.
8252 * sysdeps/wordsize-64/scandirat.c: File removed.
8253 * sysdeps/wordsize-64/scandirat64.c: File removed.
8254 * sysdeps/wordsize-64/versionsort.c: File removed.
8255 * sysdeps/wordsize-64/versionsort64.c: File removed.
8256 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8258 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8260 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8262 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8263 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8264
8265 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8267 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8269 [defined __arch64__ || defined __sparcv9]
8270 (__INO_T_MATCHES_INO64_T): New macro.
8271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8272 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8273 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8274 * sysdeps/unix/sysv/linux/bits/dirent.h
8275 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8276 (_DIRENT_MATCHES_DIRENT64): New macro.
8277
8278 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8279 Define lockf64 as an alias.
8280 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8281 Define fseeko64 as an alias.
8282 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8283 Define ftello64 as an alias.
8284 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8285 Define _IO_fgetpos64 and fgetpos64 as aliases.
8286 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8287 Define _IO_fsetpos64 and fsetpos64 as aliases.
8288 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8289 Conditionalize body on this.
8290 * libio/fseeko64.c: Likewise.
8291 * libio/ftello64.c: Likewise.
8292 * libio/iofgetpos64.c: Likewise.
8293 * libio/iofsetpos64.c: Likewise.
8294 * sysdeps/wordsize-64/lockf.c: File removed.
8295 * sysdeps/wordsize-64/lockf64.c: File removed.
8296 * sysdeps/wordsize-64/fseeko.c: File removed.
8297 * sysdeps/wordsize-64/fseeko64.c: File removed.
8298 * sysdeps/wordsize-64/ftello.c: File removed.
8299 * sysdeps/wordsize-64/ftello64.c: File removed.
8300 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8301 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8302 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8303 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8305 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8308 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8312 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8314
8315 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8317 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8319 [defined __arch64__ || defined __sparcv9]
8320 (__OFF_T_MATCHES_OFF64_T): New macro.
8321 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8322 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8324 (__OFF_T_MATCHES_OFF64_T): New macro.
8325
83262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8327
8328 * stdlib/secure-getenv.c (__secure_getenv): Replace
8329 GLIBC_2_16 with GLIBC_2_17.
8330
83312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8332
8333 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8334 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8335
83362012-08-03 David S. Miller <davem@davemloft.net>
8337
8338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8339
83402012-08-03 Joseph Myers <joseph@codesourcery.com>
8341
8342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8343 Remove.
8344 (__ASSUME_CORRECT_SI_PID): Likewise.
8345 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8346 (__ASSUME_TMPFS_NAME): Likewise.
8347 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8348 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8349 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8350 (HAVE_AUX_SECURE): Make definition unconditional.
8351 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8352 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8353
83542012-08-03 Roland McGrath <roland@hack.frob.com>
8355
8356 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8357 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8358 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8359 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8360 __eloop_threshold instead of SYMLOOP_MAX.
8361
8362 * sysdeps/generic/eloop-threshold.h: New file.
8363 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8364 of MAXSYMLINKS.
8365 * elf/chroot_canon.c (chroot_canon): Likewise.
8366
83672012-08-03 Joseph Myers <joseph@codesourcery.com>
8368
8369 [BZ #13717]
8370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8371 Change to 2.6.0 everywhere.
8372 * sysdeps/unix/sysv/linux/configure: Regenerated.
8373 * sysdeps/unix/sysv/linux/kernel-features.h
8374 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8375 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8376 kernel versions.
8377 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8378 (__ASSUME_FUTEX_REQUEUE): Remove.
8379 (__ASSUME_STATFS64): Define unconditionally.
8380 (__ASSUME_AT_SECURE): Likewise.
8381 (__ASSUME_CORRECT_SI_PID): Likewise.
8382 (__ASSUME_TGKILL): Define without depending on kernel version for
8383 i386.
8384 (__ASSUME_UTIMES): Likewise.
8385 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8386 kernel version.
8387 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8388 (__ASSUME_TMPFS_NAME): Likewise.
8389 * README: Update reference to Linux kernel versions.
8390
83912012-08-02 Marek Polacek <polacek@redhat.com>
8392
8393 [BZ# 14150]
8394 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8395 libc_cv_asm_type_prefix with %.
8396 * configure: Regenerated.
8397 * include/libc-symbols.h: Remove comment about
8398 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8399 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8400 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8401 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8402 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8403 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8404 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8405 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8406 * elf/tst-unique2mod1.c: Likewise.
8407 * elf/tst-unique1mod2.c: Likewise.
8408 * elf/tst-unique1mod1.c: Likewise.
8409 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8410 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8411 Replace ASM_TYPE_DIRECTIVE with .type.
8412 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8413 * sysdeps/i386/sysdep.h: Likewise.
8414 * sysdeps/x86_64/sysdep.h: Likewise.
8415 * sysdeps/sh/sysdep.h: Likewise.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8417 Do not define ASM_TYPE_DIRECTIVE.
8418 * sysdeps/powerpc/sysdep.h: Likewise.
8419 * sysdeps/powerpc/powerpc32/sysdep.h:
8420 Replace ASM_TYPE_DIRECTIVE with .type.
8421 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8422 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8423 * sysdeps/i386/fpu/e_powf.S: Likewise.
8424 * sysdeps/i386/fpu/e_expl.S: Likewise.
8425 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8427 * sysdeps/i386/fpu/e_pow.S: Likewise.
8428 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8430 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8431 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8432 * sysdeps/i386/fpu/e_log2.S: Likewise.
8433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8435 * sysdeps/i386/fpu/e_powl.S: Likewise.
8436 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8437 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8438 * sysdeps/i386/fpu/e_logl.S: Likewise.
8439 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8440 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8441 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8442 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8443 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8444 * sysdeps/i386/fpu/e_log.S: Likewise.
8445 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8446 * sysdeps/i386/fpu/e_logf.S: Likewise.
8447 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8448 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8449 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8450 * sysdeps/i386/fpu/e_log10.S: Likewise.
8451 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8452 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8453 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8454 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8455 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8456 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8457 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8458 * sysdeps/i386/i686/strtok.S: Likewise.
8459 * sysdeps/i386/i386-mcount.S: Likewise.
8460 * sysdeps/i386/strtok.S: Likewise.
8461 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8462 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8463 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8465 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8466 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8467 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8468 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8469 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8470 * sysdeps/x86_64/_mcount.S: Likewise.
8471 * sysdeps/x86_64/strtok.S: Likewise.
8472 * sysdeps/sh/_mcount.S: Likewise.
8473
84742012-08-01 Roland McGrath <roland@hack.frob.com>
8475
8476 * libio/iofopen.c: Include <fcntl.h>.
8477 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8478 (_IO_fopen64, fopen64): Define as aliases.
8479 * libio/iofopen64.c: Include <fcntl.h>.
8480 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8481 Conditionalize body on this.
8482 * sysdeps/wordsize-64/iofopen.c: File removed.
8483 * sysdeps/wordsize-64/iofopen64.c: File removed.
8484
84852012-08-01 Marek Polacek <polacek@redhat.com>
8486
8487 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8488 Use dlfcn directly instead of a variable.
8489 (binfmt-subdir): Do not define.
8490 (dlfcn): Likewise.
8491
84922012-08-01 Joseph Myers <joseph@codesourcery.com>
8493
8494 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8495 Remove all definitions.
8496 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8497 <kernel-features.h>.
8498 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8499 (miss_F_GETOWN_EX): Remove all definitions.
8500 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8501 macro definition.
8502 [!__ASSUME_FCNTL64]: Remove conditional code.
8503 [__ASSUME_FCNTL64]: Make code unconditional.
8504 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8505 <kernel-features.h>.
8506 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8507 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8508 (lockf64) [__NR_fcntl64]: Make code unconditional.
8509 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8510
8511 * sysdeps/unix/sysv/linux/kernel-features.h
8512 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8513 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8514 Make code unconditional.
8515 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8516 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8518 [__NR_vfork]: Make code unconditional.
8519 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8520 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8522 [__NR_vfork]: Make code unconditional.
8523 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8524 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8525
85262012-08-01 Roland McGrath <roland@hack.frob.com>
8527
8528 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8529 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8530
8531 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8532 Define mkstemp64 as an alias.
8533 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8534 Define mkstemps64 as an alias.
8535 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8536 Define mkostemp64 as an alias.
8537 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8538 Define mkostemps64 as an alias.
8539 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8540 Conditionalize body on this.
8541 * misc/mkostemp64.c: Likewise.
8542 * misc/mkostemps64.c: Likewise.
8543 * misc/mkstemps64.c: Likewise.
8544 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8545 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8546 * sysdeps/wordsize-64/mkostemp.c: File removed.
8547 * sysdeps/wordsize-64/mkstemp.c: File removed.
8548 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8552
8553 [BZ #14138]
8554 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8555 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8556 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8557 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8558
8559 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8560 compat_symbol macros from <shlib-compat.h> rather than the underlying
8561 default_symbol_version and symbol_version macros, so that DEFAULT
8562 lines in shlib-versions are respected.
8563 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8564
85652012-08-01 Florian Weimer <fweimer@redhat.com>
8566
8567 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8568 Declare with warn_unused_result.
8569 (setgid, setregid, setegid, setresgid): Likewise.
8570 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8571 Likewise.
8572 * WUR-REPORT: Remove set*id functions.
8573
85742012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8575
8576 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8577
85782012-07-31 Roland McGrath <roland@hack.frob.com>
8579
8580 * include/sys/socket.h (__libc_accept, __libc_accept4):
8581 Add attribute_hidden.
8582 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8583
8584 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8585 use of PTR_MANGLE.
8586 * inet/getnetgrent_r.c (setup): Likewise.
8587
8588 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8589
85902012-07-31 David S. Miller <davem@davemloft.net>
8591
8592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8593
85942012-07-31 Joseph Myers <joseph@codesourcery.com>
8595
8596 [BZ #13629]
8597 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8598 value between 1.0 and 2.0 and smaller part has absolute value less
8599 than 1.0.
8600 * math/s_clog10.c (__clog10): Likewise.
8601 * math/s_clog10f.c (__clog10f): Likewise.
8602 * math/s_clog10l.c (__clog10l): Likewise.
8603 * math/s_clogf.c (__clogf): Likewise.
8604 * math/s_clogl.c (__clogl): Likewise.
8605 * math/libm-test.inc (clog_test): Add more tests.
8606 (clog10_test): Likewise.
8607 * sysdeps/i386/fpu/libm-test-ulps: Update.
8608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8609
86102012-07-31 Florian Weimer <fweimer@redhat.com>
8611
8612 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8613 Exit with zero in case no suitable GID is found, and write a
8614 message to standard error.
8615
86162012-07-30 Roland McGrath <roland@hack.frob.com>
8617
8618 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8619 rather than to 1.
8620 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8621 (MAXPATHLEN): Removed.
8622 (NOGROUP, NODEV): New macros.
8623 (setbit, clrbit, isset, isclr): New macros.
8624 (howmany, roundup, powerof2): New macros.
8625 (DEV_BSIZE): New macro.
8626
8627 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8628 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8629
8630 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8631 definition on [!__NO_LONG_DOUBLE_MATH].
8632
8633 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8634 PTR_MANGLE and PTR_DEMANGLE.
8635
8636 * socket/accept4.c (accept4): Rename to __libc_accept4.
8637 Define accept4 as a weak alias.
8638
8639 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8640 on [_DIRENT_HAVE_D_TYPE].
8641 * io/ftw.c (ftw_dir): Likewise.
8642
8643 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8644
8645 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8646
8647 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8648 Use the BSD numbers rather than the arbitrary ones we had.
8649 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8650 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8651 (SIGXCPU, SIGXFSZ): New macros.
8652 (_NSIG): Now 32.
8653
8654 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8655 initializer on [_LIBC_REENTRANT].
8656
8657 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8658 definitions inside [_POSIX_MAPPED_FILES].
8659
8660 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8661
8662 * dirent/opendir.c: Include <fcntl.h>.
8663
8664 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8665 (__libc_getspecific): Likewise.
8666 (__libc_key_create): Likewise.
8667
8668 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8669 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8670 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8671 (tmpfile64): Define as alias.
8672 * sysdeps/wordsize-64/tmpfile.c: File removed.
8673 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8675 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8676
8677 * stdio-common/vfscanf.c: Include <stdbool.h>.
8678 * nss/makedb.c: Likewise.
8679 * stdio-common/_i18n_number.h: Likewise.
8680 * argp/argp-help.c: Likewise.
8681 * posix/wordexp.c: Likewise.
8682 * sysdeps/posix/spawni.c: Likewise.
8683 * nss/nss_files/files-initgroups.c: Likewise.
8684 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8685 * nss/nss_files/files-initgroups.c: Likewise.
8686 * nss/nss_db/db-netgrp.c: Likewise.
8687 * nss/nss_db/db-initgroups.c: Likewise.
8688 * io/fchmodat.c: Include <sys/stat.h>.
8689
8690 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8691 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8692
8693 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8694 [HAVE_MMAP].
8695
8696 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8697 Add multiple inclusion protection.
8698
86992012-07-27 David S. Miller <davem@davemloft.net>
8700
8701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8702
87032012-07-27 Gary Benson <gbenson@redhat.com>
8704
8705 [BZ #14298]
8706 * elf/rtld.c: Include <stap-probe.h>.
8707 (dl_main): Added static probes "init_start" and "init_complete".
8708 * elf/dl-load.c: Include <stap-probe.h>.
8709 (lose): Take new parameter "nsid".
8710 Added static probe "map_failed".
8711 (_dl_map_object_from_fd): Pass namespace id to lose.
8712 Added static probe "map_start".
8713 (open_verify): Pass namespace id to lose.
8714 * elf/dl-open.c: Include <stap-probe.h>.
8715 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8716 and "reloc_complete".
8717 * elf/dl-close.c: Include <stap-probe.h>.
8718 (_dl_close_worker): Added static probes "unmap_start" and
8719 "unmap_complete".
8720 * elf/rtld-debugger-interface.txt: New file documenting the above.
8721
87222012-07-26 Roland McGrath <roland@hack.frob.com>
8723
8724 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8725 rather than a string variable.
8726 * sunrpc/rpc_main.c (h_output): Likewise.
8727 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8728
87292012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8730
8731 * inet/check_native.c: New file.
8732
87332012-07-26 Joseph Myers <joseph@codesourcery.com>
8734
8735 [BZ #13629]
8736 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8737 if larger part has absolute value 1.0.
8738 * math/s_clog10.c (__clog10): Likewise.
8739 * math/s_clog10f.c (__clog10f): Likewise.
8740 * math/s_clog10l.c (__clog10l): Likewise.
8741 * math/s_clogf.c (__clogf): Likewise.
8742 * math/s_clogl.c (__clogl): Likewise.
8743 * math/libm-test.inc (clog_test): Add more tests.
8744 (clog10_test): Likewise.
8745 * sysdeps/i386/fpu/libm-test-ulps: Update.
8746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8747
8748 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8749 (pltexit): Likewise.
8750 (La_regs): Likewise.
8751 (La_retval): Likewise.
8752 (int_retval): Likewise.
8753 Update #error for removed macros to refer only to definitions in
8754 tst-audit.h.
8755 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8756 macro.
8757 (pltexit): Likewise.
8758 (La_regs): Likewise.
8759 (La_retval): Likewise.
8760 (int_retval): Likewise.
8761 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8762 macro.
8763 (pltexit): Likewise.
8764 (La_regs): Likewise.
8765 (La_retval): Likewise.
8766 (int_retval): Likewise.
8767 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8768 macro.
8769 (pltexit): Likewise.
8770 (La_regs): Likewise.
8771 (La_retval): Likewise.
8772 (int_retval): Likewise.
8773 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8774 macro.
8775 (pltexit): Likewise.
8776 (La_regs): Likewise.
8777 (La_retval): Likewise.
8778 (int_retval): Likewise.
8779 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8780 macro.
8781 (pltexit): Likewise.
8782 (La_regs): Likewise.
8783 (La_retval): Likewise.
8784 (int_retval): Likewise.
8785 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8786 macro.
8787 (pltexit): Likewise.
8788 (La_regs): Likewise.
8789 (La_retval): Likewise.
8790 (int_retval): Likewise.
8791 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8792 macro definitions in tst-audit.h.
8793 * sysdeps/i386/tst-audit.h: New file.
8794 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8795 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8796 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8797 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8798 * sysdeps/sh/tst-audit.h: Likewise.
8799 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8800 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8801 * sysdeps/x86_64/tst-audit.h: Likewise.
8802
88032012-07-26 Andreas Jaeger <aj@suse.de>
8804
8805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8806 ptrace.
8807
8808 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8809 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8810 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8811 PTRACE_O_MASK.
8812 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8813 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8814 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8815
8816 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8817 value.
8818
8819 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8820 _sigsys.
8821 (si_call_addr, si_syscall, si_arch): Define new macro.
8822 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8823 _sigsys.
8824 (si_call_addr, si_syscall, si_arch): Define new marcro.
8825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8826 _sigsys.
8827 (si_call_addr, si_syscall, si_arch): Define new macro.
8828 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8829 _sigsys.
8830 (si_call_addr, si_syscall, si_arch): Define new macro.
8831
88322012-07-25 Joseph Myers <joseph@codesourcery.com>
8833
8834 [BZ #13717]
8835 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8836 Change to 2.4.21 where previously 2.4.1.
8837 * sysdeps/unix/sysv/linux/configure: Regenerated.
8838 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8839 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8840 Linux kernel version.
8841 (__ASSUME_STD_AUXV): Remove.
8842 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8843 kernel version.
8844 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8845 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8846 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8847 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8848 (__ASSUME_NETLINK_SUPPORT): Likewise.
8849 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8850 (__no_netlink_support): Remove conditional definition.
8851 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8852 Remove.
8853 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8854 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8855 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8856 (if_nameindex_ioctl): Remove.
8857 (if_nameindex_netlink): Do not handle __no_netlink_support.
8858 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8859 code.
8860 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8861 Remove conditional code.
8862 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8863 code.
8864 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8865 unconditional.
8866 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8867 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8868 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8869 Remove.
8870 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8871 [!__ASSUME_STD_AUXV]: Remove conditional code.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8873 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8874 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8876 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8877 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8878 code.
8879 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8881 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8882 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8883 conditional code.
8884 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8886 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8887 code.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8889 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8890 conditional code.
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8892 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8893 code unconditional.
8894 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8895 conditional code.
8896 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8897 unconditional.
8898 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8899 conditional code.
8900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8901 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8902 unconditional.
8903 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8904 conditional code.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8906 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8907 code unconditional.
8908 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8909 conditional code.
8910 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8911 unconditional.
8912 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8913 conditional code.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8915 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8916 code unconditional.
8917 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8918 conditional code.
8919 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8920 unconditional.
8921 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8922 conditional code.
8923
89242012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8925
8926 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8927 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8928 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8929 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8930 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8931 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8932 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8933 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8934 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8935 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8936 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8937 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8938 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8939 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8940 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8941 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8944 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8947 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8948 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8949
89502012-07-25 Florian Weimer <fweimer@redhat.com>
8951
8952 * Versions.def: Add GLIBC_2.17.
8953 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8954 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8955 Introduce __libc_secure_getenv.
8956 * stdlib/Versions (2.17): Add secure_getenv
8957 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8958 * stdlib/secure-getenv.c: Rename __secure_getenv to
8959 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8960 symbol __secure_getenv for GLIBC_2.0.
8961 * stdlib/tst-secure-getenv.c: New.
8962 * stdlib/Makefile (tests): Add testcase.
8963 * manual/startup.texi (Environment Access): Document
8964 secure_getenv.
8965 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8966 __libc_secure_getenv.
8967 * inet/ruserpass.c (ruserpass): Likewise.
8968 * malloc/mtrace.c (mtrace): Likewise.
8969 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8970 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8971 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8972 * sysdeps/posix/tempname.c: Likewise. Evaluate
8973 HAVE_SECURE_GETENV.
8974 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8975 __secure_getenv to __libc_secure_getenv.
8976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8978 Likewise.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8980 Likewise.
8981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8988
89892012-07-25 Joseph Myers <joseph@codesourcery.com>
8990
8991 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8992 (struct La_i86_retval): Likewise.
8993 (struct La_x86_64_regs): Likewise.
8994 (struct La_x86_64_retval): Likewise.
8995 (struct La_x32_regs): Likewise.
8996 (struct La_x32_retval): Likewise.
8997 (struct La_ppc32_regs): Likewise.
8998 (struct La_ppc32_retval): Likewise.
8999 (struct La_ppc64_regs): Likewise.
9000 (struct La_ppc64_retval): Likewise.
9001 (struct La_sh_regs): Likewise.
9002 (struct La_sh_retval): Likewise.
9003 (struct La_s390_32_regs): Likewise.
9004 (struct La_s390_32_retval): Likewise.
9005 (struct La_s390_64_regs): Likewise.
9006 (struct La_s390_64_retval): Likewise.
9007 (struct La_sparc32_regs): Likewise.
9008 (struct La_sparc32_retval): Likewise.
9009 (struct La_sparc64_regs): Likewise.
9010 (struct La_sparc64_retval): Likewise.
9011 (struct audit_ifaces): Remove architecture-specific pltenter and
9012 pltexit members.
9013 * sysdeps/i386/ldsodefs.h: New file.
9014 * sysdeps/powerpc/ldsodefs.h: Likewise.
9015 * sysdeps/s390/ldsodefs.h: Likewise.
9016 * sysdeps/sh/ldsodefs.h: Likewise.
9017 * sysdeps/sparc/ldsodefs.h: Likewise.
9018 * sysdeps/x86_64/ldsodefs.h: Likewise.
9019
90202012-07-25 Marek Polacek <polacek@redhat.com>
9021
9022 [BZ #6808]
9023 * math/libm-test.inc (yn_test): Add another test.
9024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9025 to ERANGE when the result is +-Inf.
9026 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9027 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9028 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9029 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9030
90312012-07-24 Joseph Myers <joseph@codesourcery.com>
9032
9033 * conform/data/time.h-data (NULL): Use macro-constant. Require
9034 equal to 0.
9035 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9036 clock_t.
9037 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9038
90392012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9040
9041 * configure.in <sysdeps resolving>: Correct printing
9042 Implies_before.
9043 * configure: Regenerate.
9044
90452012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9046
9047 * math/w_ilogb.c: Include <limits.h>.
9048 * math/w_ilogbl.c: Likewise.
9049
90502012-07-20 Joseph Myers <joseph@codesourcery.com>
9051
9052 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9053 va_copy. Document allowing for unavailable va_copy only as
9054 pre-C99 compatibility.
9055 * manual/string.texi (Copying and Concatenation): Use va_copy
9056 instead of __va_copy in concat example.
9057
90582012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9059
9060 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9061 (__sendto): Use create_address_port. Initialize APORT and deallocate
9062 it if not null.
9063
9064 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9065 with O_NOLINK passed to __file_name_lookup.
9066
9067 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9068 with O_NOLINK passed to __file_name_lookup.
9069
9070 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9071 negative N or less than NGIDS.
9072
9073 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9074 type to string_t. Set ERANGE as errno and return it if NAME is not big
9075 enough. Use memcpy instead of strncpy.
9076
90772012-07-20 Joseph Myers <joseph@codesourcery.com>
9078
9079 * elf/Makefile (check-data): Remove.
9080 (localplt.data): New vpath directive.
9081 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9082 instead of $(check-data).
9083 * scripts/data/localplt-generic.data: Move to ...
9084 * sysdeps/generic/localplt.data: ... here.
9085 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9086 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9087 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9089 ... here.
9090 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9092 ... here.
9093 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9095 ... here.
9096 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9098 ... here.
9099 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9101 ... here.
9102 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9104 ... here.
9105
91062012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9107
9108 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9109 PPC32 and PPC64 files.
9110 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9111 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9112
91132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9114
9115 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9116 __makecontext_ret to ...
9117 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9118 ... here and call exit if uc_link is NULL. New file.
9119 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9120 __makecontext_ret.S.
9121 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9122 __makecontext_ret to ...
9123 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9124 ... here and call exit if uc_link is NULL. New file.
9125 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9126 __makecontext_ret.S.
9127
91282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9129
9130 * elf/elf.h (R_390_IRELATIVE): New definition.
9131 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9132 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9133 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9134 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9135 (elf_machine_lazy_rel): Likewise.
9136 * sysdeps/s390/dl-irel.h: New file.
9137 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9138 * sysdeps/s390/s390-64/memset.S: New asm code.
9139 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9140 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9141 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9142 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9143 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9144 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9145 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9146 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9147 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9148 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9149 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9150 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9151 * sysdeps/s390/s390-32/memset.S: New asm code.
9152 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9153
91542012-07-17 Marek Polacek <polacek@redhat.com>
9155
9156 [BZ #14349]
9157 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9158 * sysdeps/s390/s390-64/configure.in: Likewise.
9159 * sysdeps/sparc/configure.in: Likewise.
9160 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9161 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9162 * sysdeps/i386/configure.in: Likewise.
9163 * sysdeps/x86_64/configure.in: Likewise.
9164 * sysdeps/sh/configure.in: Likewise.
9165 * sysdeps/s390/s390-32/configure: Regenerated.
9166 * sysdeps/s390/s390-64/configure: Likewise.
9167 * sysdeps/x86_64/configure: Likewise.
9168 * sysdeps/sh/configure: Likewise.
9169 * sysdeps/powerpc/powerpc64/configure: Likewise.
9170 * sysdeps/powerpc/powerpc32/configure: Likewise.
9171 * sysdeps/sparc/configure: Likwise.
9172 * sysdeps/i386/configure: Likewise.
9173
9174 * elf/dl-open.c: Comment fixes.
9175
91762012-07-17 Joseph Myers <joseph@codesourcery.com>
9177
9178 * Makefile [CXX] (check-data): Remove.
9179 [CXX] (c++-types.data): New vpath directive.
9180 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9181 vpath. Do not allow for C++ type data being missing.
9182 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9183 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9184 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9185 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9186 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9187 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9188 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9190 ... here.
9191 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9193 ... here.
9194 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9196 ... here.
9197 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9199 ... here.
9200 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9202 ... here.
9203 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9205 ... here.
9206 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9208 ... here.
9209 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9211
9212 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9213 definitions to architecture-specific files.
9214 (TLS_IE): Likewise.
9215 (TLS_LD): Likewise.
9216 (TLS_GD): Likewise.
9217 * sysdeps/i386/tls-macros.h: New file.
9218 * sysdeps/powerpc/tls-macros.h: Likewise.
9219 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9220 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9221 * sysdeps/sh/tls-macros.h: Likewise.
9222 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9223 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9224 * sysdeps/x86_64/tls-macros.h: Likewise.
9225
92262012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9227
9228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9229 zero value for regular exit case.
9230
9231 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9232 (__start_context): Preserve zero value for regular exit case.
9233
92342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9235 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9236
9237 * manual/setjmp.texi (setcontext): Clarify normal process
9238 termination when uc_link is the null pointer.
9239 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9240 exit call.
9241
92422012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9243
9244 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9245 preprocessor. Test for each exception mask separately.
9246
92472012-07-16 Andreas Jaeger <aj@suse.de>
9248
9249 * po/ru.po: Update from translation team.
9250
92512012-07-15 Joseph Myers <joseph@codesourcery.com>
9252
9253 * conform/data/string.h-data (NULL): Use macro-constant. Require
9254 equal to 0.
9255 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9256 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9257 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9258 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9259 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9260
92612012-07-13 Andreas Jaeger <aj@suse.de>
9262
9263 * po/fr.po: Update from translation team.
9264
92652012-07-12 Marek Polacek <polacek@redhat.com>
9266
9267 [BZ #14173]
9268 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9269 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9270 loop condition.
9271
92722012-07-12 Joseph Myers <joseph@codesourcery.com>
9273
9274 [BZ #13717]
9275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9276 Change to 2.4.1 where previously 2.4.0.
9277 * sysdeps/unix/sysv/linux/configure: Regenerated.
9278 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9279 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9280 version.
9281 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9282 (__ASSUME_AT_CLKTCK): Remove.
9283 (__ASSUME_AT_PAGESIZE): Likewise.
9284 (__ASSUME_AT_XID): Likewise.
9285 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9286 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9287 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9288 unconditionally.
9289 (HAVE_AUX_PAGESIZE): Likewise.
9290 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9291 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9292 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9293
92942012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9295
9296 [BZ #14307]
9297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9298 the temporary buffer used to invoke __gethostbyname2_r,
9299 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9300 host_data / struct gaih_addrtuple.
9301 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9302 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9303 header file nss/nsswitch.h.
9304 * nss/nsswitch.h (global scope): Add definition of implementation
9305 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9306 resolv/nss_dns/dns-host.c).
9307
93082012-07-11 Andreas Jaeger <aj@suse.de>
9309
9310 * po/fr.po: Update from translation team.
9311
9312 * po/sv.po: Update from translation team
9313 * po/fr.po: Another update from translation team.
9314
93152012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9316
9317 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9318 for subnormals or multiply small sinh result by itself.
9319 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9321
93222012-07-11 David S. Miller <davem@davemloft.net>
9323
9324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9325
93262012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9327
9328 [BZ #14347]
9329 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9330 (INTERNAL_MARK): Shift it here.
9331
93322012-07-10 Marek Polacek <polacek@redhat.com>
9333
9334 [BZ #14151]
9335 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9336 libc_cv_asm_global_directive with .globl.
9337 * configure: Regenerated.
9338 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9339 with .globl.
9340 * sysdeps/i386/configure: Regenerated.
9341 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9342 with .globl.
9343 * sysdeps/x86_64/configure: Regenerated.
9344 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9345 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9346 * elf/tst-unique2mod2.c: Likewise.
9347 * elf/tst-unique2mod1.c: Likewise.
9348 * elf/tst-unique1mod2.c: Likewise.
9349 * elf/tst-unique1mod1.c: Likewise.
9350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9351 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9352 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9353 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9354 * sysdeps/mach/sysdep.h: Likewise.
9355 * sysdeps/i386/sysdep.h: Likewise.
9356 * sysdeps/i386/i386-mcount.S: Likewise.
9357 * sysdeps/x86_64/_mcount.S: Likewise.
9358 * sysdeps/x86_64/sysdep.h: Likewise.
9359 * sysdeps/sh/_mcount.S: Likewise.
9360 * sysdeps/sh/sysdep.h: Likewise.
9361 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9362 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9365 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9366 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9367 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9368 * locale/localeinfo.h: Likewise.
9369 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9370 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9371
93722012-07-09 Roland McGrath <roland@hack.frob.com>
9373
9374 [BZ #14336]
9375 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9376 system".
9377 * manual/message.texi (The Uniforum approach): Likewise.
9378 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9379 (glibc iconv Implementation): Likewise.
9380
93812012-07-09 Joseph Myers <joseph@codesourcery.com>
9382
9383 [BZ #14337]
9384 * math/s_clog.c (__clog): Avoid scaling a value down where that
9385 could result in underflow.
9386 * math/s_clog10.c (__clog10): Likewise.
9387 * math/s_clog10f.c (__clog10f): Likewise.
9388 * math/s_clog10l.c (__clog10l): Likewise.
9389 * math/s_clogf.c (__clogf): Likewise.
9390 * math/s_clogl.c (__clogl): Likewise.
9391 * math/libm-test.inc (clog_test): Add more tests.
9392 (clog10_test): Likewise.
9393 * sysdeps/i386/fpu/libm-test-ulps: Update.
9394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9395
93962012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9397
9398 [BZ #14283]
9399 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9400 by 7 not 8 to examine high bit of fractional part.
9401
9402 [BZ #14042]
9403 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9404 for call to __mcount_internal.
9405 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9406 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9407 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9408
94092012-07-06 Joseph Myers <joseph@codesourcery.com>
9410
9411 [BZ #14154]
9412 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9413 approximation for values within 0x1p-13f of an odd multiple of
9414 pi/4.
9415 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9416 exception. Add more tests.
9417 * sysdeps/i386/fpu/libm-test-ulps: Update.
9418
9419 [BZ #6778]
9420 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9421 inputs and return -1 for them. Do not check for +Inf in case not
9422 reachable for +Inf.
9423 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9424 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9426 and return -1 for them. Do not check for +Inf in case not
9427 reachable for +Inf.
9428 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9429 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9434 spurious underflow.
9435 * sysdeps/i386/fpu/libm-test-ulps: Update.
9436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9437
94382012-07-06 Mike Frysinger <vapier@gentoo.org>
9439
9440 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9441
94422012-07-05 Joseph Myers <joseph@codesourcery.com>
9443
9444 [BZ #14157]
9445 [BZ #14331]
9446 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9447 could result in spurious underflow. Scale down values above
9448 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9449 * math/s_csqrtf.c (__csqrtf): Likewise.
9450 * math/s_csqrtl.c (__csqrtl): Likewise.
9451 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9452 spurious underflow.
9453 * sysdeps/i386/fpu/libm-test-ulps: Update.
9454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9455
94562012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9457
9458 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9459 xopen-msg.sed.
9460 * catgets/xopen-msg.awk: New file.
9461 * catgets/xopen-msg.sed: Removed.
9462
9463 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9464 po2text.sed.
9465 * intl/po2test.awk: New file.
9466 * intl/po2test.sed: Removed.
9467
94682012-07-04 Joseph Myers <joseph@codesourcery.com>
9469
9470 [BZ #14328]
9471 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9472 or multiply small sinh result by itself.
9473 * math/s_ctanf.c (__ctanf): Likewise.
9474 * math/s_ctanh.c (__ctanh): Likewise.
9475 * math/s_ctanhf.c (__ctanhf): Likewise.
9476 * math/s_ctanhl.c (__ctanhl): Likewise.
9477 * math/s_ctanl.c (__ctanl): Likewise.
9478 * math/libm-test.inc (ctan_test_tonearest): New function.
9479 (ctan_test_towardzero): Likewise.
9480 (ctan_test_downward): Likewise.
9481 (ctan_test_upward): Likewise.
9482 (ctanh_test_tonearest): Likewise.
9483 (ctanh_test_towardzero): Likewise.
9484 (ctanh_test_downward): Likewise.
9485 (ctanh_test_upward): Likewise.
9486 (main): Call these new functions.
9487 * sysdeps/i386/fpu/libm-test-ulps: Update.
9488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9489
94902012-07-03 Mike Frysinger <vapier@gentoo.org>
9491
9492 * .gitignore: Delete /ports entry.
9493
94942012-07-03 Andreas Jaeger <aj@suse.de>
9495
9496 * po/bg.po: Update from translation team.
9497 * po/cs.po: Likewise.
9498 * po/de.po: Likewise.
9499 * po/hr.po: Likewise.
9500 * po/nl.pl: Likewise.
9501 * po/pl.po: Likewise.
9502 * po/vi.po: Likewise.
9503
95042012-07-03 Joseph Myers <joseph@codesourcery.com>
9505
9506 * Makeconfig [!+link] (+link-before-libc): New variable.
9507 [!+link] (+link-after-libc): Likewise.
9508 [!+link] (+link-tests): Likewise.
9509 [!+link] (+link): Define in terms of $(+link-before-libc) and
9510 $(+link-after-libc).
9511 [!+link-static] (+link-static-before-libc): New variable.
9512 [!+link-static] (+link-static-after-libc): Likewise.
9513 [!+link-static] (+link-static-tests): Likewise.
9514 [!+link-static] (+link-static): Define in terms of
9515 $(+link-static-before-libc) and $(+link-static-after-libc).
9516 [build-shared] (link-libc-before-gnulib): New variable.
9517 [build-shared] (link-libc-tests): Likewise.
9518 [build-shared] (link-libc): Define in terms of
9519 $(link-libc-before-gnulib).
9520 [!build-shared] (link-libc-tests): New variable.
9521 (link-libc-static-tests): New variable.
9522 [!gnulib] (gnulib-arch): New variable.
9523 [!gnulib] (gnulib-tests): Likewise.
9524 [!gnulib] (static-gnulib-arch): Likewise.
9525 [!gnulib] (static-gnulib-tests): Likewise.
9526 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9527 Define with "=" instead of ":=".
9528 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9529 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9530 * Rules (binaries-all-notests): New variable.
9531 (binaries-all-tests): Likewise.
9532 (binaries-static-notests): Likewise.
9533 (binaries-static-tests): Likewise.
9534 (binaries-all): Define using $(binaries-all-notests) and
9535 $(binaries-all-tests).
9536 (binaries-static): Define using $(binaries-static-notests) and
9537 $(binaries-static-tests).
9538 (binaries-shared-tests): New variable.
9539 (binaries-shared-notests): Likewise.
9540 (binaries-shared): Remove variable.
9541 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9542 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9543 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9544 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9545 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9546 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9547 * elf/Makefile (sln-modules): New variable.
9548 (extra-objs): Add $(sln-modules:=.o).
9549 (ldconfig-modules): Add static-stubs.
9550 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9551 * elf/static-stubs.c: New file.
9552
9553 [BZ #14283]
9554 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9555 by 7 not 8 to examine high bit of fractional part. Use volatile
9556 variables when splitting into final array of floats if
9557 __FLT_EVAL_METHOD__ != 0.
9558 * math/libm-test.inc (cos_test): Add another test.
9559 (sin_test): Likewise.
9560 * sysdeps/i386/fpu/libm-test-ulps: Update.
9561
9562 [BZ #14273]
9563 * math/libm-test.inc (cosh_test): Add more tests.
9564
9565 * version.h (RELEASE): Set to "development".
9566 (VERSION): Set to "2.16.90".
9567
95682012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9569
9570 * NEWS: Update copyright. Remove last-updated date.
9571 Mention math library bug fixes and timezone data changes.
9572 * README: Mention GNU/Hurd, x32, and HPPA support status.
9573
95742012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9575
9576 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9577
95782012-06-27 Andreas Jaeger <aj@suse.de>
9579
9580 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9581
95822012-06-25 Andreas Jaeger <aj@suse.de>
9583
9584 * sysdeps/s390/fpu/libm-test-ulps: Update.
9585
95862012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9587 Thomas Schwinge <thomas@codesourcery.com>
9588
9589 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9590 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9591 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9592 fanotify_mark.
9593
95942012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9595
9596 * sysdeps/mach/start.c: Remove file.
9597 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9598 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9599 * sysdeps/sh/init-first.c: Likewise.
9600
9601 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9602 registers for frame unwinding purposes, add CFI directives.
9603 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9605 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9606 Likewise.
9607
9608 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9609 __fortify_fail returning.
9610 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9611
9612 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9613 sysdeps/sh/____longjmp_chk.S.
9614 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9615 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9616 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9617 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9618
9619 * sysdeps/sh/abort-instr.h: New file.
9620 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9621 process in case exit returns.
9622
9623 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9624 initialize the GOT register before use.
9625
9626 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9627 calculation of ARGC > 4.
9628
9629 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9630 meaningful names to some local labels.
9631
96322012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9633 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9634
9635 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9636 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9637 (__arch_compare_and_exchange_val_16_acq): Likewise.
9638 (__arch_compare_and_exchange_val_32_acq): Likewise.
9639 (atomic_exchange_and_add): Fix gUSA sequence.
9640 (atomic_add): Likewise.
9641 (atomic_add_negative): Likewise.
9642 (atomic_add_zero): Likewise.
9643 (atomic_bit_test_set): Likewise.
9644
96452012-06-22 Andreas Schwab <schwab@redhat.com>
9646
9647 [BZ #13579]
9648 * include/link.h (struct link_map): Add l_free_initfini.
9649 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9650 l_initfini.
9651 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9652 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9653 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9654 set.
9655
96562012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9657
9658 * configure.in: Use AC_LANG_SOURCE.
9659 * configure: Regenerate.
9660
96612012-06-22 Roland McGrath <roland@hack.frob.com>
9662
9663 * configure.in (libc_cv_localstatedir): New substituted variable.
9664 * configure: Regenerated.
9665 * config.make.in (localstatedir): New variable, substituted from
9666 libc_cv_localstatedir.
9667 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9668 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9669 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9670 * sysdeps/gnu/configure: Regenerated.
9671
96722012-06-21 Jeff Law <law@redhat.com>
9673
9674 [BZ #14277]
9675 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9676 free. Simplify list management for _LIBC case.
9677
96782012-06-21 Joseph Myers <joseph@codesourcery.com>
9679
9680 [BZ #14273]
9681 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9682 Clear sign bit of 64-bit integer value before comparing against
9683 overflow value.
9684
9685 * sysdeps/mach/configure: Regenerated.
9686
96872012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9688
9689 [BZ #14278]
9690 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9691
96922012-06-21 Jeff Law <law@redhat.com>
9693
9694 [BZ #13882]
9695 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9696 uint16_t for elements in the "seen" array to avoid char overflows.
9697 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9698 * elf/dl-open.c (dl_open_worker): Likewise.
9699
97002012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9701
9702 * scripts/list-sources.sh: Scan PORTS for translations.
9703 * po/libc.pot: Regenerated.
9704
97052012-06-21 Andreas Jaeger <aj@suse.de>
9706
9707 [BZ #12194]
9708 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9709 warning.
9710 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9711 * bits/byteswap-16.h (__bswap_16): Likewise.
9712 * bits/byteswap.h (__bswap_constant_16): Likewise.
9713
97142012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9715
9716 [BZ #14117]
9717 * sysdeps/i386/fpu_control.h: Removed.
9718 * sysdeps/x86_64/fpu_control.h: Moved to ...
9719 * sysdeps/x86/fpu_control.h: Here.
9720
9721 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9722 (_FPU_SETCW): Likewise.
9723
97242012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9725
9726 [BZ #14117]
9727 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9728 * sysdeps/x86/fpu/bits/mathinline.h: This.
9729 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9730
9731 [BZ #14050]
9732 [BZ #14117]
9733 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9734 functions if __x86_64__ is defined.
9735
97362012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9737
9738 * string/endian.h: Add !__ASSEMBLER__ condition for including
9739 conversion interfaces.
9740
97412012-06-15 Joseph Myers <joseph@codesourcery.com>
9742
9743 [BZ #14241]
9744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9745 of ABS(x) in calculating zero to negative powers other than odd
9746 integers.
9747 * math/libm-test.inc (pow_test): Add more tests.
9748
97492012-06-15 Andreas Jaeger <aj@suse.de>
9750
9751 * manual/contrib.texi (Contributors): Update entry of Liubov
9752 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9753 Machado Filho.
9754
97552012-06-15 Cyril Hrubis <metan@ucw.cz>
9756
9757 * string/string.h: Add __wur to GNU version of strerror_r.
9758
97592012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9760
9761 [BZ #14229]
9762 * string/Makefile (tests): Add tst-strtok_r.
9763 * string/tst-strtok_r.c: New file.
9764 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9765 RAX_LP/RDX_LP on SAVE_PTR.
9766
97672012-06-14 Roland McGrath <roland@hack.frob.com>
9768
9769 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9770
97712012-06-14 Joseph Myers <joseph@codesourcery.com>
9772
9773 * libm_test.inc (csqrt_test): Allow more spurious underflow
9774 exceptions.
9775 (j0_test): Likewise.
9776 (j1_test): Likewise.
9777 (y0_test): Likewise.
9778 (y1_test): Likewise.
9779
97802012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9781
9782 * po/Makefile (libc.pot): Use UTF-8 charset.
9783
97842012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9785
9786 [BZ #14210]
9787 Suppress sign-conversion warning from FD_SET.
9788 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9789 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9790 not unsigned long int.
9791 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9792
97932012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9794
9795 [BZ #14050]
9796 [BZ #14117]
9797 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9798 __extern_always_inline instead of __extern_inline.
9799 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9800 (__signbit): Likewise.
9801 (__signbitl): Support C++ namespace.
9802 (lrintf): New inline function.
9803 (lrint): Likewise.
9804 (llrintf): Likewise.
9805 (llrint): Likewise.
9806 (fmaxf): Likewise.
9807 (fmax): Likewise.
9808 (fminf): Likewise.
9809 (fmin): Likewise.
9810 (rint): Likewise.
9811 (rintf): Likewise.
9812 (ceil): Likewise.
9813 (ceilf): Likewise.
9814 (floor): Likewise.
9815 (floorf): Likewise.
9816 (nearbyint): Likewise.
9817 (nearbyintf): Likewise.
9818
98192012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9820
9821 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9822 non-default versions.
9823
98242012-06-11 Roland McGrath <roland@hack.frob.com>
9825
9826 [BZ #14218]
9827 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9828
98292012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9830
9831 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9832 (FE_UPWARD, FE_DOWNWARD): Don't define.
9833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9834 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9835
9836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9837 reading it.
9838 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9840
98412012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9842
9843 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9845 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9846 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9847
98482012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9849
9850 [BZ #14117]
9851 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9852 * sysdeps/i386/fpu/Implies: New file.
9853 * sysdeps/x86_64/fpu/Implies: Likewise.
9854 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9855 * sysdeps/x86/fpu/bits/fenv.h: This.
9856
9857 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9858 __SSE_MATH__.
9859
98602012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9861
9862 [BZ #14134]
9863 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9864 character 0xffff that matches the last element of the
9865 conversion table.
9866
98672012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9868
9869 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9870 fmodl commit.
9871
98722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9873
9874 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9875 values higher than 25.6283.
9876
98772012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9878
9879 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9880 subnormal exponent extraction and add some __builtin_expect.
9881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9882 Fix for subnormal mantissa calculation.
9883
98842012-06-04 Mike Frysinger <vapier@gentoo.org>
9885
9886 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9887 cpu2 is -1 and errno is not ENOSYS.
9888
98892012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9890
9891 [BZ #14117]
9892 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9893 * sysdeps/x86/bits/string.h: This.
9894 * sysdeps/x86_64/bits/string.h: Removed.
9895
9896 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9897 if not compiling for x86-64, but compiling for >= i486.
9898
9899 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9900 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9901
9902 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9903 New macro from Linux kernel 3.4.0.
9904 (FP_XSTATE_MAGIC2): Likewise.
9905 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9906 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9907 (struct _fpx_sw_bytes): New struct.
9908 (struct _xsave_hdr): Likewise.
9909 (struct _ymmh_state): Likewise.
9910 (struct _xstate): Likewise.
9911
9912 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9913 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9914 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9915 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9916 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9917 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9918
9919 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9920 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9921 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9922 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9923 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9924 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9925
99262012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9927
9928 [BZ #13743]
9929 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9930 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9931 (sysdep_headers): Include sys/platform/ppc.h.
9932 * sysdeps/powerpc/test-gettimebase.c: Test for
9933 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9934 * manual/Makefile (appendices): Include platform.texi.
9935 * manual/contrib.texi (Contributors): Update @node pointers.
9936 * manual/maint.texi (Maintenance): Likewise.
9937 (Platform): New node.
9938 * manual/platform.texi: New file. Document the new features.
9939
99402012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9941 Jakub Jelinek <jakub@redhat.com>
9942
9943 [BZ #14188]
9944 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9945 where __builtin_expect is unavailable.
9946
99472012-06-03 David S. Miller <davem@davemloft.net>
9948
9949 * stdlib/longlong.h: Updated from GCC.
9950
99512012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9952
9953 [BZ #14042]
9954 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9955 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9956 __mcount_internal.
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9958 (GLIBC_2.16): Likewise.
9959
99602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9961
9962 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9963
99642012-06-01 Joseph Myers <joseph@codesourcery.com>
9965
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9967 (default-abi): New variable.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9969 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9970 variable.
9971 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9972 Likewise.
9973 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9974 Likewise.
9975 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9976 Likewise.
9977
9978 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9979 definition. Document in comment.
9980
99812012-06-01 David S. Miller <davem@davemloft.net>
9982
9983 * stdlib/longlong.h: Updated from GCC.
9984
99852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 [BZ #14117]
9988 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9989 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9990 sys/debugreg.h sys/io.h here.
9991 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9992 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9993 sys/io.h.
9994 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9995 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9996 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9997 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9998 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9999 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10000
10001 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10002 Define only if __x86_64__ is defined.
10003
100042012-06-01 Joseph Myers <joseph@codesourcery.com>
10005
10006 [BZ #14048]
10007 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10008 Use int64_t for variable i.
10009 * math/libm-test.inc (fmod_test): Add more tests.
10010
10011 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10012 z computation is not scheduled after fetestexcept.
10013 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10014 Use math_force_eval instead of asm to ensure calculation scheduled
10015 before exception test.
10016 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10017 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10018
100192012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10020
10021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10022 computation is not scheduled after fetestexcept.
10023
100242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10025
10026 [BZ #14117]
10027 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10028 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10029
100302012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10031
10032 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10033 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10034
100352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10036
10037 [BZ #14117]
10038 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10039 <bits/wordsize.h>.
10040 (__WCHAR_MIN): Support __WORDSIZE == 64.
10041 (__WCHAR_MAX): Likewise.
10042
10043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10044 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10045
10046 [BZ #14183]
10047 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10048 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10049
10050 [BZ #14117]
10051 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10052 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10053
10054 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10055 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10056
10057 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10058 Defined to 1 if __x86_64__ isn't defined.
10059 (_STAT_VER_LINUX_OLD): New.
10060 (st_atime): Remove duplicate.
10061 (st_mtime): Likewise.
10062 (st_ctime): Likewise.
10063
100642012-05-31 David S. Miller <davem@davemloft.net>
10065
10066 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10067 entries.
10068
100692012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10070
10071 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10072 gen-libm-test.pl.
10073
10074 [BZ #14132]
10075 * elf/dl-reloc.c: Include <_itoa.h>.
10076 (_dl_reloc_bad_type): Remove use of INTUSE.
10077 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10078 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10079 * stdio-common/psiginfo.c (psiginfo): Likewise.
10080 * stdio-common/psignal.c (psignal): Likewise.
10081 * string/strsignal.c (strsignal): Likewise.
10082 * include/signal.h (_sys_siglist): Declare hidden proto.
10083 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10084 INTVARDEF with libc_hidden_data_def.
10085 * stdio-common/itoa-udigits.c: Likewise.
10086 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10087 (_itoa_lower_digits_internal): Remove declaration.
10088 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10089 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10090 (_sys_sigabbrev_internal): Remove aliases.
10091 (_sys_siglist): Define hidden alias.
10092
100932012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10094
10095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10096 bits/sysctl.h.
10097
100982012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 [BZ #14117]
10101 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10102 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10103
10104 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10105 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10106 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10107 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10108 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10109 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10110
10111 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10112 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10113 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10114
10115 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10116 with __addr.
10117 (insw): Likewise.
10118 (insl): Likewise.
10119 (outsb): Likewise.
10120 (outsw): Likewise.
10121 (outsl): Likewise.
10122
10123 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10124 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10125 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10126
10127 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10128 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10129 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10130 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10131 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10132 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10133
10134 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10135 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10136
10137 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10138 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10139
10140 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10142 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10143
10144 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10145 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10146 to ...
10147 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10148
10149 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10150 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10151 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10152
10153 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10154 for x86-64.
10155 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10156
101572012-05-31 Joseph Myers <joseph@codesourcery.com>
10158
10159 * math/math.h (M_El): Use two more decimal places.
10160 (M_LOG2El): Likewise.
10161 (M_LOG10El): Likewise.
10162 (M_LN2l): Likewise.
10163 (M_LN10l): Likewise.
10164 (M_PIl): Likewise.
10165 (M_PI_2l): Likewise.
10166 (M_PI_4l): Likewise.
10167 (M_1_PIl): Likewise.
10168 (M_2_PIl): Likewise.
10169 (M_2_SQRTPIl): Likewise.
10170 (M_SQRT2l): Likewise.
10171 (M_SQRT1_2l): Likewise.
10172
101732012-05-31 David S. Miller <davem@davemloft.net>
10174
10175 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10176 values between float registers.
10177 * sysdeps/sparc/sparc64/memset.S: Likewise.
10178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10179
101802012-05-31 Mike Frysinger <vapier@gentoo.org>
10181
10182 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10183 -D_FORTIFY_SOURCE=1.
10184 (CPPFLAGS-tst-longjmp_chk.c): Define.
10185 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10186 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10187 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10188 CFLAGS-tst-wchar-h.c.
10189
101902012-05-31 Marek Polacek <polacek@redhat.com>
10191
10192 [BZ #14132]
10193 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10194 __endmntent_internal): Remove declaration.
10195 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10196 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10197 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10198
101992012-05-30 David S. Miller <davem@davemloft.net>
10200
10201 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10202 (___Q_simulate_exceptions): Use real FP ops rather than writing
10203 into the %fsr.
10204 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10205 Likewise.
10206
102072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10208
10209 [BZ #14117]
10210 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10211 * sysdeps/x86/bits/xtitypes.h: This.
10212
10213 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10214 * sysdeps/x86/bits/wordsize.h: This.
10215
10216 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10217 * sysdeps/x86/bits/huge_vall.h: This.
10218
10219 * sysdeps/i386/bits/select.h: Removed.
10220 * sysdeps/x86_64/bits/select.h: Renamed to ...
10221 * sysdeps/x86/bits/select.h: This.
10222
10223 * sysdeps/i386/bits/setjmp.h: Removed.
10224 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10225 * sysdeps/x86/bits/setjmp.h: This.
10226
10227 * sysdeps/i386/bits/mathdef.h: Removed.
10228 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10229 * sysdeps/x86/bits/mathdef.h: This.
10230
102312012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10232
10233 [BZ #14132]
10234 * include/sys/socket.h (__connect_internal)
10235 (__libc_sa_len_internal): Remove declaration.
10236 (__connect, __libc_sa_len): Declare hidden_proto.
10237 (SA_LEN): Remove use of INTUSE.
10238 * socket/connect.c: Add libc_hidden_def.
10239 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10240 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10241 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10242 alias.
10243 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10244 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10245 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10246 of adding _internal alias.
10247
102482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10249
10250 [BZ #14117]
10251 * sysdeps/i386/bits/link.h: Removed.
10252 * sysdeps/i386/bits/linkmap.h: Likewise.
10253 * sysdeps/x86_64/bits/link.h: Renamed to ...
10254 * sysdeps/x86/bits/link.h: This.
10255 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10256 * sysdeps/x86/bits/linkmap.h: This.
10257
10258 * sysdeps/i386/bits/endian.h: Removed.
10259 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10260 * sysdeps/x86/bits/endian.h: This.
10261
10262 * sysdeps/i386/bits/byteswap.h: Removed.
10263 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10264 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10265 * sysdeps/x86/bits/byteswap.h: This.
10266 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10267 * sysdeps/x86/bits/byteswap-16.h: This.
10268 * sysdeps/i386/Implies: Add x86.
10269 * sysdeps/x86_64/Implies: Likewise.
10270
102712012-05-30 David S. Miller <davem@davemloft.net>
10272
10273 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10274 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10275 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10276 (FP_TRAPPING_EXCEPTIONS): Define.
10277 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10278 (FP_TRAPPING_EXCEPTIONS): Define.
10279 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10280 subnormals only when inexact has been signalled or underflow
10281 exceptions are enabled.
10282 (_FP_PACK_CANONICAL): Likewise.
10283
102842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10285
10286 [BZ #14183]
10287 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10288 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10289
102902012-05-30 Richard Henderson <rth@twiddle.net>
10291
10292 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10293 with #ifndef NOT_IN_libc.
10294
10295 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10296 marked to avoid plt entry.
10297
102982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 [BZ #14112]
10301 * Makeconfig (default-abi): New macro.
10302 (abi-includes): Likewise.
10303 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10304 $(abi-$(default-abi)-lib-soname) for soname if defined.
10305 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10306 abi-variants.
10307 * Makefile (installed-stubs): Likewise.
10308 * include/stubs-biarch.h: Removed.
10309 * scripts/lib-names.awk: Only handle one library at a time.
10310 * scripts/soversions.awk: Remove WORDSIZE support.
10311 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10312 entries.
10313 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10314 Removed.
10315 (syscall-list-default-condition): Likewise.
10316 (syscall-list-default-condition): Likewise.
10317 (syscall-list-includes): Likewise.
10318 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10319 syscall-list-* with abi-*. Handle undefined abi-variants.
10320 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10321 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10322 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10323 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10324 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10325 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10326 Removed.
10327 (syscall-list-32-options): Likewise.
10328 (syscall-list-32-condition): Likewise.
10329 (syscall-list-64-options): Likewise.
10330 (syscall-list-64-condition): Likewise.
10331 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10332 macro.
10333 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10334 Renamed to ...
10335 (abi-*): This.
10336 (abi-64-ld-soname): New macro.
10337 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10338 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10339 Renamed to ...
10340 (abi-*): This.
10341 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10342 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10343
103442012-05-30 Joseph Myers <joseph@codesourcery.com>
10345
10346 * sysdeps/unix/sysv/linux/kernel-features.h
10347 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10348 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10349 include <kernel-features.h>.
10350 [!__NR_ftruncate64]: Remove conditional code.
10351 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10352 [__NR_ftruncate64]: Make code unconditional.
10353 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10354 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10355 include <kernel-features.h>.
10356 [!__NR_ftruncate64]: Remove conditional code.
10357 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10358 [__NR_ftruncate64]: Make code unconditional.
10359 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10361 include <kernel-features.h>.
10362 [!__NR_ftruncate64]: Remove conditional code.
10363 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10364 [__NR_ftruncate64]: Make code unconditional.
10365 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10367 include <kernel-features.h>.
10368 [!__NR_ftruncate64]: Remove conditional code.
10369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10370 [__NR_ftruncate64]: Make code unconditional.
10371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10372
10373 * configure.in (libc_cv_fpie): Weaken to a compile test using
10374 LIBC_TRY_CC_OPTION.
10375 * configure: Regenerated.
10376
103772012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10378
10379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10383 Refreshed.
10384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10390 Refreshed.
10391
103922012-05-27 David S. Miller <davem@davemloft.net>
10393
10394 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10395 (___Q_zero): New.
10396 (__Q_simulate_exceptions): Return void. Change to simulate
10397 exceptions by writing into the %fsr.
10398 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10399 (__Qp_handle_exceptions): Likewise.
10400 (numbers): Delete.
10401 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10402 __Qp_handle_exceptions.
10403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10404 __Qp_handle_exceptions.
10405 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10406 as unused and give dummy FP_RND_NEAREST initializer.
10407 (FP_INHIBIT_RESULTS): Define.
10408 (___Q_simulate_exceptions): Update declaration.
10409 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10410 formatting.
10411 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10412 as unused and give dummy FP_RND_NEAREST initializer.
10413 (__Qp_handle_exceptions): Update declaration.
10414 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10415 formatting.
10416
104172012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10418
10419 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10420 the temporary FPU control word.
10421 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10422 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10423 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10424 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10425 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10426 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10427 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10428 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10429 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10430 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10431 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10432
104332012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10434
10435 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10436 fields.
10437
104382012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10439
10440 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10441 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10442 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10443 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10444 Likewise.
10445 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10446 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10447 Likewise.
10448
104492012-05-27 Ulrich Drepper <drepper@gmail.com>
10450
10451 * po/h.po: Update from translation team.
10452
104532012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10454
10455 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10456
10457 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10458 handling of denormals.
10459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10460 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10461 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10462 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10464 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10466 Likewise.
10467
104682012-05-26 Marek Polacek <polacek@redhat.com>
10469
10470 [BZ #14152]
10471 * math/libm-test.inc (fma_test): Don't always expect underflow
10472 exception.
10473
104742012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10475
10476 [BZ #12416]
10477 * elf/tst-execstack.c: Include stackinfo.h.
10478 (do_test): Adjust test case to ensure that pthread_getattr_np
10479 behaviour remains the same after marking stack executable.
10480
104812012-05-25 Joseph Myers <joseph@codesourcery.com>
10482
10483 * sysdeps/unix/sysv/linux/kernel-features.h
10484 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10485 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10486 kernel-features.h.
10487 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10488 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10489 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10490 kernel-features.h.
10491 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10492 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10493
104942012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10495
10496 * configure.in: Define the default includes to being none.
10497 * configure: Regenerated.
10498
104992012-05-25 Roland McGrath <roland@hack.frob.com>
10500
10501 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10502 * sysdeps/x86_64/setjmp.S: Likewise.
10503 * sysdeps/i386/bsd-setjmp.S: Likewise.
10504 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10505 * sysdeps/i386/setjmp.S: Likewise.
10506 * sysdeps/i386/__longjmp.S: Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10508 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10509
10510 * include/stap-probe.h: New file.
10511 * configure.in: Handle --enable-systemtap.
10512 * configure: Regenerated.
10513 * config.h.in (USE_STAP_PROBE): New #undef.
10514 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10515 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10516 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10517
105182012-05-25 Joseph Myers <joseph@codesourcery.com>
10519
10520 [BZ #13717]
10521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10522 to 2.4.0 where earlier.
10523 * sysdeps/unix/sysv/linux/configure: Regenerated.
10524 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10525 <kernel-features.h>.
10526 [__ASSUME_32BITUIDS]: Make code unconditional.
10527 [!__ASSUME_32BITUIDS]: Remove conditional code.
10528 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10529 <kernel-features.h>.
10530 [__ASSUME_32BITUIDS]: Make code unconditional.
10531 [!__ASSUME_32BITUIDS]: Remove conditional code.
10532 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10533 [__ASSUME_32BITUIDS]: Make code unconditional.
10534 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10535 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10536 <kernel-features.h>.
10537 [__ASSUME_32BITUIDS]: Make code unconditional.
10538 [!__ASSUME_32BITUIDS]: Remove conditional code.
10539 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10540 <kernel-features.h>.
10541 [__ASSUME_32BITUIDS]: Make code unconditional.
10542 [!__ASSUME_32BITUIDS]: Remove conditional code.
10543 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10544 <kernel-features.h>.
10545 [__ASSUME_32BITUIDS]: Make code unconditional.
10546 [!__ASSUME_32BITUIDS]: Remove conditional code.
10547 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10548 <kernel-features.h>.
10549 [__ASSUME_32BITUIDS]: Make code unconditional.
10550 [!__ASSUME_32BITUIDS]: Remove conditional code.
10551 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10552 <kernel-features.h>.
10553 [__ASSUME_32BITUIDS]: Make code unconditional.
10554 [!__ASSUME_32BITUIDS]: Remove conditional code.
10555 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10556 <kernel-features.h>.
10557 [__ASSUME_32BITUIDS]: Make code unconditional.
10558 [!__ASSUME_32BITUIDS]: Remove conditional code.
10559 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10560 <kernel-features.h>.
10561 [__ASSUME_32BITUIDS]: Make code unconditional.
10562 [!__ASSUME_32BITUIDS]: Remove conditional code.
10563 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10564 <kernel-features.h>.
10565 [__ASSUME_32BITUIDS]: Make code unconditional.
10566 [!__ASSUME_32BITUIDS]: Remove conditional code.
10567 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10568 <kernel-features.h>.
10569 [__ASSUME_32BITUIDS]: Make code unconditional.
10570 [!__ASSUME_32BITUIDS]: Remove conditional code.
10571 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10572 <kernel-features.h>.
10573 [__ASSUME_32BITUIDS]: Make code unconditional.
10574 [!__ASSUME_32BITUIDS]: Remove conditional code.
10575 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10576 <kernel-features.h>.
10577 [__NR_setresgid] (__setresgid): Do not declare.
10578 [__ASSUME_32BITUIDS]: Make code unconditional.
10579 [!__ASSUME_32BITUIDS]: Remove conditional code.
10580 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10581 <kernel-features.h>.
10582 [__NR_setresuid] (__setresuid): Do not declare.
10583 [__ASSUME_32BITUIDS]: Make code unconditional.
10584 [!__ASSUME_32BITUIDS]: Remove conditional code.
10585 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10586 <kernel-features.h>.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10590 <kernel-features.h>.
10591 [__ASSUME_32BITUIDS]: Make code unconditional.
10592 [!__ASSUME_32BITUIDS]: Remove conditional code.
10593 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10594 <kernel-features.h>.
10595 [__ASSUME_32BITUIDS]: Make code unconditional.
10596 [!__ASSUME_32BITUIDS]: Remove conditional code.
10597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10598 <kernel-features.h>.
10599 [__ASSUME_32BITUIDS]: Make code unconditional.
10600 [!__ASSUME_32BITUIDS]: Remove conditional code.
10601 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10602 <kernel-features.h>.
10603 [__ASSUME_32BITUIDS]: Make code unconditional.
10604 [!__ASSUME_32BITUIDS]: Remove conditional code.
10605 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10606 <kernel-features.h>.
10607 [__ASSUME_32BITUIDS]: Make code unconditional.
10608 [!__ASSUME_32BITUIDS]: Remove conditional code.
10609 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10610 <kernel-features.h>.
10611 [__ASSUME_32BITUIDS]: Make code unconditional.
10612 [!__ASSUME_32BITUIDS]: Remove conditional code.
10613 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10614 <kernel-features.h>.
10615 [__ASSUME_32BITUIDS]: Make code unconditional.
10616 [!__ASSUME_32BITUIDS]: Remove conditional code.
10617 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10618 <kernel-features.h>.
10619 [__ASSUME_32BITUIDS]: Make code unconditional.
10620 [!__ASSUME_32BITUIDS]: Remove conditional code.
10621 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10622 <kernel-features.h>.
10623 [__ASSUME_32BITUIDS]: Make code unconditional.
10624 [!__ASSUME_32BITUIDS]: Remove conditional code.
10625 * sysdeps/unix/sysv/linux/kernel-features.h
10626 (__ASSUME_SETRESUID_SYSCALL): Remove.
10627 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10628 (__ASSUME_32BITUIDS): Likewise.
10629 (__ASSUME_LDT_WORKS): Likewise.
10630 (__ASSUME_O_DIRECTORY): Likewise.
10631 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10632 architecture but not kernel version.
10633 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10634 (__ASSUME_MMAP2_SYSCALL): Likewise.
10635 (__ASSUME_STAT64_SYSCALL): Likewise.
10636 (__ASSUME_IPC64): Likewise.
10637 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10638 <kernel-features.h>.
10639 [__ASSUME_32BITUIDS]: Make code unconditional.
10640 [!__ASSUME_32BITUIDS]: Remove conditional code.
10641 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10642 <kernel-features.h>.
10643 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10644 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10645 132096]: Remove conditional code.
10646 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10647 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10648 <kernel-features.h>.
10649 [__ASSUME_32BITUIDS]: Make code unconditional.
10650 [!__ASSUME_32BITUIDS]: Remove conditional code.
10651 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10652 <kernel-features.h>.
10653 [__ASSUME_32BITUIDS]: Make code unconditional.
10654 [!__ASSUME_32BITUIDS]: Remove conditional code.
10655 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10656 <kernel-features.h>.
10657 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10658 unconditional.
10659 (__setresgid): Do not declare.
10660 [__ASSUME_32BITUIDS]: Make code unconditional.
10661 [!__ASSUME_32BITUIDS]: Remove conditional code.
10662 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10663 <kernel-features.h>.
10664 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10665 unconditional.
10666 (__setresuid): Do not declare.
10667 [__ASSUME_32BITUIDS]: Make code unconditional.
10668 [!__ASSUME_32BITUIDS]: Remove conditional code.
10669 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10670 <kernel-features.h>.
10671 [__ASSUME_32BITUIDS]: Make code unconditional.
10672 [!__ASSUME_32BITUIDS]: Remove conditional code.
10673 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10674 <kernel-features.h>.
10675 [__ASSUME_32BITUIDS]: Make code unconditional.
10676 [!__ASSUME_32BITUIDS]: Remove conditional code.
10677
106782012-05-25 Richard Henderson <rth@twiddle.net>
10679
10680 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10681 dl_hwcap to ifunc resolver.
10682 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10683 elf_ifunc_invoke.
10684 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10685 dl_hwcap to ifunc resolver.
10686 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10687
106882012-05-24 Joseph Myers <joseph@codesourcery.com>
10689
10690 [BZ #14153]
10691 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10692 for |x| <= 2**-26, not 2**-57.
10693 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10694 exception.
10695
106962012-05-24 Jeff Law <law@redhat.com>
10697
10698 * stdio-common/Makefile (tests): Add bug25.
10699 * stdio-common/bug25.c: New test.
10700
107012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10702
10703 [BZ #13576]
10704 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10705 multiple of MALLOC_ALIGNMENT in size.
10706 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10707
107082012-05-24 Joseph Myers <joseph@codesourcery.com>
10709
10710 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10711 Require >= 256.
10712 (FILENAME_MAX): Use macro-int-constant.
10713 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10714 (_IOFBF): Use macro-int-constant.
10715 (_IOLBF): Likewise.
10716 (_IONBF): Likewise.
10717 (SEEK_CUR): Likewise.
10718 (SEEK_END): Likewise.
10719 (SEEK_SET): Likewise.
10720 (TMP_MAX): Likewise.
10721 (EOF): Use macro-int-constant. Require < 0.
10722 (NULL): Use macro-constant. Require == 0.
10723 (stdin): Require type to be FILE *.
10724 (stdout): Likewise.
10725 (stderr): Likewise.
10726 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10727 macro-int-constant.
10728 (EXIT_SUCCESS): Likewise.
10729 (NULL): Use macro-constant. Require == 0.
10730 (RAND_MAX): Use macro-int-constant.
10731 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10732 [C99-based standards] (strtof): Require function.
10733 [C99-based standards] (strtold): Likewise.
10734 [C99-based standards] (strtoll): Likewise.
10735 [C99-based standards] (strtoull): Likewise.
10736 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10737 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10738 [ISO || ISO99 || ISO11] (math.h): Likewise.
10739 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10740 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10742
107432012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10744
10745 [BZ #14132]
10746 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10747 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10748 * intl/dgettext.c (DCGETTEXT): Likewise.
10749 * intl/gettext.c (DCGETTEXT): Likewise.
10750 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10751 * posix/regex_internal.h (gettext): Likewise.
10752 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10753 Remove declaration.
10754 * include/argz.h (__argz_count_internal)
10755 (__argz_stringify_internal): Remove declaration.
10756 (__argz_count, __argz_stringify): Declare hidden proto.
10757 * intl/dcgettext.c: Remove use of INTDEF.
10758 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10759 * string/argz-stringify.c: Likewise.
10760 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10761 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10762 Declare hidden proto.
10763 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10764 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10765 Declare hidden proto.
10766 * include/stdio.h (__asprintf_internal): Don't declare.
10767 (__asprintf): Don't define as macro. Declare hidden proto.
10768 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10769 (__fsetlocking): Declare hidden proto.
10770 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10771 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10772 hidden proto.
10773 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10774 (_IO_setlinebuf): Remove use of INTUSE.
10775 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10776 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10777 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10778 Remove declaration.
10779 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10780 (_IO_do_flush): Remove use of INTUSE.
10781 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10782 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10783 (_IO_adjust_column, _IO_least_wmarker)
10784 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10785 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10786 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10787 (_IO_default_doallocate, _IO_wdefault_doallocate)
10788 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10789 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10790 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10791 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10792 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10793 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10794 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10795 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10796 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10797 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10798 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10799 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10800 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10801 proto.
10802 (_IO_flush_all_internal, _IO_adjust_column_internal)
10803 (_IO_default_uflow_internal, _IO_default_finish_internal)
10804 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10805 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10806 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10807 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10808 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10809 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10810 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10811 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10812 (_IO_file_close_internal, _IO_file_close_it_internal)
10813 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10814 (_IO_file_init_internal, _IO_file_attach_internal)
10815 (_IO_file_fopen_internal, _IO_file_read_internal)
10816 (_IO_file_sync_internal, _IO_file_seek_internal)
10817 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10818 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10819 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10820 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10821 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10822 (_IO_list_all_internal, _IO_link_in_internal)
10823 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10824 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10825 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10826 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10827 (_IO_do_write_internal, _IO_padn_internal)
10828 (_IO_getline_info_internal, _IO_getline_internal)
10829 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10830 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10831 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10832 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10833 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10834 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10835 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10836 with libc_hidden_ver, remove use of INTUSE.
10837 * libio/genops.c: Likewise.
10838 * libio/freopen.c: Likewise.
10839 * libio/freopen64.c: Likewise.
10840 * libio/iofclose.c: Likewise.
10841 * libio/iofdopen.c: Likewise.
10842 * libio/iofflush.c: Likewise.
10843 * libio/iofflush_u.c: Likewise.
10844 * libio/iofgets.c: Likewise.
10845 * libio/iofgets_u.c: Likewise.
10846 * libio/iofopen.c: Likewise.
10847 * libio/iofopncook.c: Likewise.
10848 * libio/iofread.c: Likewise.
10849 * libio/iofread_u.c: Likewise.
10850 * libio/ioftell.c: Likewise.
10851 * libio/iofwrite.c: Likewise.
10852 * libio/iogetline.c: Likewise.
10853 * libio/iogets.c: Likewise.
10854 * libio/iogetwline.c: Likewise.
10855 * libio/iopadn.c: Likewise.
10856 * libio/iopopen.c: Likewise.
10857 * libio/ioseekoff.c: Likewise.
10858 * libio/ioseekpos.c: Likewise.
10859 * libio/iosetbuffer.c: Likewise.
10860 * libio/iosetvbuf.c: Likewise.
10861 * libio/ioungetc.c: Likewise.
10862 * libio/ioungetwc.c: Likewise.
10863 * libio/iovdprintf.c: Likewise.
10864 * libio/iovsprintf.c: Likewise.
10865 * libio/iovsscanf.c: Likewise.
10866 * libio/memstream.c: Likewise.
10867 * libio/obprintf.c: Likewise.
10868 * libio/oldfileops.c: Likewise.
10869 * libio/oldiofclose.c: Likewise.
10870 * libio/oldiofdopen.c: Likewise.
10871 * libio/oldiofopen.c: Likewise.
10872 * libio/oldiopopen.c: Likewise.
10873 * libio/oldstdfiles.c: Likewise.
10874 * libio/putc.c: Likewise.
10875 * libio/setbuf.c: Likewise.
10876 * libio/setlinebuf.c: Likewise.
10877 * libio/stdfiles.c: Likewise.
10878 * libio/strops.c: Likewise.
10879 * libio/vasprintf.c: Likewise.
10880 * libio/vscanf.c: Likewise.
10881 * libio/vsnprintf.c: Likewise.
10882 * libio/vswprintf.c: Likewise.
10883 * libio/wfiledoalloc.c: Likewise.
10884 * libio/wfileops.c: Likewise.
10885 * libio/wgenops.c: Likewise.
10886 * libio/wmemstream.c: Likewise.
10887 * libio/wstrops.c: Likewise.
10888 * libio/__fpurge.c: Likewise.
10889 * libio/__fsetlocking.c: Likewise.
10890 * assert/assert.c: Likewise.
10891 * debug/fgets_chk.c: Likewise.
10892 * debug/fgets_u_chk.c: Likewise.
10893 * debug/fread_chk.c: Likewise.
10894 * debug/fread_u_chk.c: Likewise.
10895 * debug/gets_chk.c: Likewise.
10896 * debug/obprintf_chk.c: Likewise.
10897 * debug/vasprintf_chk.c: Likewise.
10898 * debug/vdprintf_chk.c: Likewise.
10899 * debug/vsnprintf_chk.c: Likewise.
10900 * debug/vsprintf_chk.c: Likewise.
10901 * malloc/mtrace.c: Likewise.
10902 * misc/error.c: Likewise.
10903 * misc/syslog.c: Likewise.
10904 * stdio-common/asprintf.c: Likewise.
10905 * stdio-common/fxprintf.c: Likewise.
10906 * stdio-common/getw.c: Likewise.
10907 * stdio-common/isoc99_fscanf.c: Likewise.
10908 * stdio-common/isoc99_scanf.c: Likewise.
10909 * stdio-common/isoc99_vfscanf.c: Likewise.
10910 * stdio-common/isoc99_vscanf.c: Likewise.
10911 * stdio-common/isoc99_vsscanf.c: Likewise.
10912 * stdio-common/printf-prs.c: Likewise.
10913 * stdio-common/printf_fp.c: Likewise.
10914 * stdio-common/printf_fphex.c: Likewise.
10915 * stdio-common/printf_size.c: Likewise.
10916 * stdio-common/putw.c: Likewise.
10917 * stdio-common/scanf.c: Likewise.
10918 * stdio-common/sprintf.c: Likewise.
10919 * stdio-common/tmpfile.c: Likewise.
10920 * stdio-common/vfprintf.c: Likewise.
10921 * stdio-common/vfscanf.c: Likewise.
10922 * stdlib/strfmon_l.c: Likewise.
10923 * sunrpc/openchild.c: Likewise.
10924 * sunrpc/xdr_stdio.c: Likewise.
10925 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10926 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10927
109282012-05-24 Roland McGrath <roland@hack.frob.com>
10929
10930 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10931
10932 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10933 in the third column, to generate for the shared library an IFUNC
10934 that uses _dl_vdso_vsym.
10935 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10936 * Makeconfig (object-suffixes-noshared): New variable.
10937
10938 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10939 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10940 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10941 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10942
10943 [BZ #14132]
10944 * include/sys/time.h (__gettimeofday): Remove macro.
10945 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10946 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10947 Remove INTDEF.
10948 (__gettimeofday): Add libc_hidden_def.
10949 (gettimeofday): Add libc_hidden_weak.
10950 * sysdeps/mach/gettimeofday.c: Likewise.
10951 * sysdeps/posix/gettimeofday.c: Likewise.
10952 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10953 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10955 (__gettimeofday_internal): Remove strong_alias.
10956 (__gettimeofday): Add libc_hidden_def.
10957 (gettimeofday): Add libc_hidden_weak.
10958 * sysdeps/unix/syscalls.list (gettimeofday):
10959 Remove __gettimeofday_internal alias.
10960
109612012-05-24 Daniel Jacobowitz <drow@false.org>
10962 H.J. Lu <hongjiu.lu@intel.com>
10963
10964 [BZ #12495]
10965 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10966 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10967 (largebin_index_32_big): New.
10968 (largebin_index): Use it for 16-byte alignment.
10969 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10970 correction with front_misalign.
10971
109722012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10973
10974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10976 Likewise.
10977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10978 Likewise.
10979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10980 Likewise.
10981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10982 Likewise.
10983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10984 Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10986 Likewise.
10987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10988 Likewise.
10989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10990 Likewise.
10991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10992 Likewise.
10993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10994 Likewise.
10995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10996 Likewise.
10997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10998 Likewise.
10999
11000 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11001 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11002
110032012-05-24 Joseph Myers <joseph@codesourcery.com>
11004
11005 [BZ #10846]
11006 [BZ #14036]
11007 * math/libm-test.inc (exp_test): Add test from bug 14036.
11008 (pow_test): Add test from bug 10846.
11009
11010 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11011 and other flags.
11012 (special_function): Do not include flags in test name.
11013 (parse_args): Likewise.
11014 * sysdeps/i386/fpu/libm-test-ulps: Update.
11015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11016 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11017 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11019
11020 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11021 exceptions.
11022 * math/libm-test.inc ("Philosophy"): Update comment about
11023 exception testing.
11024 (UNDERFLOW_EXCEPTION): New macro.
11025 (UNDERFLOW_EXCEPTION_OK): Likewise.
11026 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11027 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11028 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11029 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11030 (INVALID_EXCEPTION_OK): Update value.
11031 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11032 (OVERFLOW_EXCEPTION_OK): Likewise.
11033 (IGNORE_ZERO_INF_SIGN): Likewise.
11034 (test_exceptions): Handle underflow exceptions.
11035 (acos_test): Update for underflow exception expectations.
11036 (cexp_test): Likewise.
11037 (clog_test): Likewise.
11038 (clog10_test): Likewise.
11039 (csqrt_test): Likewise.
11040 (ctan_test): Likewise.
11041 (ctanh_test): Likewise.
11042 (exp_test): Likewise.
11043 (exp10_test): Likewise.
11044 (exp2_test): Likewise.
11045 (expm1_test): Likewise.
11046 (fma_test): Likewise.
11047 (j0_test): Likewise.
11048 (jn_test): Likewise.
11049 (nexttoward_test): Likewise.
11050 (pow_test): Likewise.
11051 (scalbn_test): Likewise.
11052 (scalbln_test): Likewise.
11053 (tan_test): Likewise.
11054 (y1_test): Likewise.
11055 * sysdeps/i386/fpu/libm-test-ulps: Update.
11056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11057
110582012-05-23 David S. Miller <davem@davemloft.net>
11059
11060 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11061 (__libc_sigaction): Remove unused local variables.
11062
110632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11064
11065 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11066
110672012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11068
11069 mktime: avoid signed integer overflow
11070 * time/mktime.c (__mktime_internal): Do not mishandle the case
11071 where diff == INT_MIN.
11072
11073 mktime: simplify computation of average
11074 * time/mktime.c (ranged_convert): Use new time_t_avg function
11075 instead of rolling our own (probably-slower) code.
11076
11077 mktime: do not assume signed right shift propagates sign bit
11078 * time/mktime.c (isdst_differ): New static function.
11079 (__mktime_internal): No need to normalize tm_isdst now.
11080 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11081 tm_isdst values.
11082
11083 mktime: merge another wrapv change from gnulib
11084 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11085 from some compilers.
11086
11087 mktime: remove incorrect attempt at unusual arithmetics
11088 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11089 The code didn't really work on such machines anyway.
11090 (TYPE_MINIMUM): Assume two's complement.
11091 (twos_complement_arithmetic): Verify that long_int and time_t
11092 are two's complement (or unsigned, in the latter case).
11093
11094 mktime: check signed shifts on long_int and time_t, too
11095 * time/mktime.c (SHR): Check that shifts work as desired
11096 on the types long_int and time_t too, as SHR is used on
11097 such types.
11098
11099 mktime: do not assume 'long' is wide enough
11100 * time/mktime.c (verify): Move decl up.
11101 (long_int): New type.
11102 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11103 to remove assumption in the code that 'long' is wide enough to
11104 store year values. This assumption is not true on x32 and on
11105 some non-glibc platforms.
11106
11107 mktime: merge wrapv change from gnulib
11108 * time/mktime.c (WRAPV): New macro.
11109 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11110 (guess_time_tm, __mktime_internal): Do not assume that signed
11111 integer overflow wraps around; modern compilers generate code
11112 where this assumption is no longer valid.
11113
111142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11115
11116 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11117 Replace "jmp L(pseudo_end)" with "ret".
11118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11119 Likewise.
11120
111212012-05-23 Andreas Jaeger <aj@suse.de>
11122
11123 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11124 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11125
111262012-05-23 Andreas Jaeger <aj@suse.de>
11127 Maximilian Attems <max@stro.at>
11128
11129 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11130 New macros.
11131
111322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11133
11134 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11135 code so that pseudo_end is just ret and the stack pointer is
11136 correct also for static library in error case.
11137
111382012-05-23 Joseph Myers <joseph@codesourcery.com>
11139
11140 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11141 move to syscalls.list.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11146
11147 * manual/install.texi (Running make install): Do not mention Linux
11148 kernel version for which pt_chown is not needed.
11149 (Linux): Do not mention problems with nscd with 2.0 kernels.
11150 * INSTALL: Regenerated.
11151
111522012-05-23 Andreas Jaeger <aj@suse.de>
11153
11154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11155 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11156 macro.
11157 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11159 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11161 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11166 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11167 * sysdeps/unix/sysv/linux/bits/in.h
11168 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11169
111702012-05-22 Roland McGrath <roland@hack.frob.com>
11171
11172 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11173 (PREPARE_VERSION): Just use assert instead, it will be elided
11174 under [NDEBUG] anyway.
11175
111762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11177
11178 * sysdeps/unix/sysv/linux/Makefile: Include
11179 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11180 (sysdep_routines): Remove sysctl.
11181 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11182 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11183 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11184 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11185 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11186
111872012-05-22 Andreas Jaeger <aj@suse.de>
11188
11189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11190 that pseudo_end is just ret and the stack pointer is correct also
11191 for static library in error case.
11192
111932012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11194
11195 [BZ #14122]
11196 * nss/nsswitch.c (defconfig_entries): New variable.
11197 (__nss_database_lookup): Don't leak defconfig entries.
11198 (nss_parse_service_list): Don't leak on error paths.
11199 (free_database_entries): New function.
11200 (free_defconfig): New function.
11201 (free_mem): Move common code to free_database_entries.
11202
112032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11204
11205 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11206 Add arch_prctl.
11207 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11208
11209 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11210 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11212 New macro.
11213 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11214 (INTERNAL_SYSCALL_TYPES): Likewise.
11215 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11216 (LOAD_REGS_TYPES_[1-6]): Likewise.
11217 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11218 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11219
112202012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11221
11222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11223 copysignl for GLIBC_2_0.
11224 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11225 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11227 logbl for GLIBC_2_0.
11228 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11229 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11230
112312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11234 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11235
11236 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11237 Use "neg %eax".
11238
11239 * time/mktime.c: Update copyright years.
11240
112412012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11242
11243 mktime: merge comment-quoting-style change from gnulib
11244 * time/mktime.c: Quote 'like this' in comments.
11245 The GNU coding standards suggest that we no longer quote `like this',
11246 as "`" and "'" are typically rendered asymmetrically nowadays.
11247 The typical gnulib style is to quote 'like this' when quoting
11248 code, and "like this" when quoting English.
11249
11250 * time/mktime.c (compile-command): Add "-I.".
11251
11252 mktime: merge mktime-internal.h change from gnulib
11253 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11254
11255 mktime: merge time_r change from gnulib
11256 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11257
11258 mktime: merge DEBUG change from gnulib
11259 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11260 case system <time.h> has a #define.
11261
11262 mktime: merge <sys/types.h> change from gnulib
11263 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11264 since <time.t> is now guaranteed to define time_t.
11265
11266 mktime: merge HAVE_CONFIG_H change from gnulib
11267 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11268
112692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11270
11271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11272 Use "neg %eax".
11273
11274 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11275 __rlim_t cast.
11276 (struct rusage): Use anonymous union to pad each field to
11277 __syscall_slong_t.
11278
112792012-05-21 David S. Miller <davem@davemloft.net>
11280
11281 * Makefules (o-iterator): Remove .s cases.
11282 (compile-command.s): Delete.
11283 (COMPILE.s): Delete.
11284 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11285
112862012-05-21 Joseph Myers <joseph@codesourcery.com>
11287
11288 * configure.in (libc_cv_predef_stack_protector): Only consider
11289 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11290 * configure: Regenerated.
11291
112922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11293
11294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11295 New macro. Use R*LP on int and pointer.
11296 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11298 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11299 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11300
11301 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11302 [__WORDSIZE_TIME64_COMPAT32] instead of
11303 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11304 (struct utmp): Likewise.
11305 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11306 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11307 Renamed to ...
11308 (__WORDSIZE_TIME64_COMPAT32): This.
11309 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11310 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11311 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11312 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11313 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11314 (__WORDSIZE_TIME64_COMPAT32): New macro.
11315
113162012-05-21 Andreas Jaeger <aj@suse.de>
11317
11318 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11319 only if [SHARED]. Add prototype for __wcschr_ia32.
11320
113212012-05-21 Roland McGrath <roland@hack.frob.com>
11322
11323 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11324 of %rbp unmolested in the jmp_buf while mangling the low bits.
11325 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11326 unmolested high bits of %rbp while demangling the low bits.
11327 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11328
113292012-05-21 Andreas Jaeger <aj@suse.de>
11330
11331 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11332 * sunrpc/svc_simple.c: Use it for registerrpc.
11333 * sunrpc/xcrypt.c: Use it for passwd2des.
11334
11335 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11336
113372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11338
11339 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11340 Don't define if [__SYSCALL_WORDSIZE != 32].
11341 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11342 New macro.
11343
113442012-05-21 Bruno Haible <bruno@clisp.org>
11345 Andreas Jaeger <aj@suse.de>
11346
11347 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11348 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11349 inptr and inend for must_buffer_ch.
11350 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11351 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11352 * stdio-common/Makefile (tests): Remove bug15.
11353 (bug15-ENV): Remove macro.
11354 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11355 anymore.
11356
113572012-05-19 Andreas Jaeger <aj@suse.de>
11358 Roland McGrath <roland@hack.frob.com>
11359
11360 * manual/contrib.texi: Completely rewritten. It contains now an
11361 alphabetical list of contributors and their contributions.
11362
113632012-05-21 Richard Henderson <rth@twiddle.net>
11364
11365 * misc/getauxval.c (__getauxval): Use unsigned long int.
11366 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11367 (getauxval): Use unsigned long int.
11368
113692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11370
11371 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11372
113732012-05-21 Roland McGrath <roland@hack.frob.com>
11374
11375 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11376 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11377 __alignof__ (long double).
11378
113792012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11380
11381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11382
113832012-05-20 Richard Henderson <rth@twiddle.net>
11384
11385 * misc/getauxval.c: New file.
11386 * misc/sys/auxv.h: New file.
11387 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11388 (routines): Add getauxval.
11389 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11390 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11391 * elf/dl-sysdep.c (_dl_auxv): Remove.
11392 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11393 * elf/dl-support.c (_dl_auxv): New variable.
11394 (_dl_aux_init): Initialize it.
11395 * manual/startup.texi (Auxiliary Vector): New node.
11396 * sysdeps/generic/bits/hwcap.h: New file.
11397 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11398 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11399 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11400 * sysdeps/sparc/sysdep.h: ... here. Include it.
11401 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11402 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11404 Update.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11408 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11413
114142012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11415
11416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11417
114182012-05-19 David S. Miller <davem@davemloft.net>
11419
11420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11421
114222012-05-19 Joseph Myers <joseph@codesourcery.com>
11423
11424 [BZ #14123]
11425 * math/s_ccosh.c: Include <float.h>
11426 (__ccosh): Avoid internal overflow calculating sinh and cosh
11427 values before multiplying by sin and cos values.
11428 * math/s_ccoshf.c: Likewise.
11429 * math/s_ccoshl.c: Likewise.
11430 * math/s_csin.c: Likewise.
11431 * math/s_csinf.c: Likewise.
11432 * math/s_csinl.c: Likewise.
11433 * math/s_csinh.c: Likewise.
11434 * math/s_csinhf.c: Likewise.
11435 * math/s_csinhl.c: Likewise.
11436 * math/libm-test.inc (ccos_test): Add more tests.
11437 (ccosh_test): Likewise.
11438 (csin_test): Likewise.
11439 (csinh_test): Likewise.
11440 * sysdeps/i386/fpu/libm-test-ulps: Update.
11441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11442
114432012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11446 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11447
11448 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11449
114502012-05-19 Joseph Myers <joseph@codesourcery.com>
11451
11452 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11453 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11454 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11455 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11456 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11457 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11458 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11459 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11460 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11461 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11462 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11463 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11466 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11467 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11468 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11469 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11470 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11471 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11472 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11477 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11478 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11479 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11480 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11481 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11482 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11483
114842012-05-18 Andreas Jaeger <aj@suse.de>
11485
11486 * csu/.gitignore: Delete.
11487
114882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11489
11490 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11491 (timex): Use __syscall_slong_t.
11492
114932012-05-18 Andreas Jaeger <aj@suse.de>
11494 Carlos O'Donell <carlos_odonell@mentor.com>
11495
11496 * manual/install.texi (Configuring and compiling): Update
11497 description about files modified in the source directory.
11498 * INSTALL: Regenerated.
11499
115002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11501
11502 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11503 value. Use "or" to set return value to -1.
11504 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11505 negate return value.
11506
115072012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11508
11509 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11510 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11511 failure if the compiler has Graphite support disabled.
11512 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11513 Likewise.
11514 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11515 CFLAGS-memmove.c): Likewise.
11516 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11517 Likewise.
11518
115192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11520
11521 * sysdeps/x86_64/x32/_itoa.h: New file.
11522
11523 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11524 getdents system call only if kernel and user dirents have the
11525 same d_ino and d_off.
11526
11527 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11528 LLONG_MAX != LONG_MAX.
11529 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11530 (_fitoa_word): Likewise.
11531
11532 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11533 years.
11534 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11535 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11536 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11537
11538 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11539 include <bits/wordsize.h>. Check __x86_64__ instead of
11540 __WORDSIZE.
11541 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11542 if __x86_64__ is defined. Use anonymous union on fpstate.
11543
11544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11545 anonymous union.
11546
115472012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11548
11549 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11550 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11551 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11552 Refer to _rtld_local_ro instead of _rtld_global_ro.
11553 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11554 Likewise.
11555 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11556 Likewise.
11557 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11558 Likewise.
11559 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11560 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11561 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11562
11563 * sysdeps/powerpc/powerpc32/dl-machine.c
11564 (__elf_machine_runtime_setup) [PROF]: Don't reference
11565 _dl_prof_resolve.
11566
115672012-05-18 Andreas Jaeger <aj@suse.de>
11568
11569 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11570 function only available for GCCs before 3.4 since GCC 3.4
11571 introduced a builtin.
11572 (lrint): Likewise.
11573 (llrintf): Likewise.
11574 (llrint): Likewise.
11575 (fmaxf): Likewise.
11576 (fmax): Likewise.
11577 (fminf): Likewise.
11578 (fmin): Likewise.
11579 (rint): Likewise.
11580 (rintf): Likewise.
11581 (nearbyint): Likewise.
11582 (nearbyintf): Likewise.
11583 (ceil): Likewise.
11584 (ceilf): Likewise.
11585 (floor): Likewise.
11586 (floorf): Likewise.
11587
115882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11589
11590 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11591 on both fields and cast pointer to __syscall_ulong_t.
11592
11593 * bits/types.h (__fsword_t): New type.
11594 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11595 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11596 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11597 (__FSWORD_T_TYPE): Likewise.
11598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11599 (__FSWORD_T_TYPE): Likewise.
11600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11601 (__FSWORD_T_TYPE): Likewise.
11602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11603 (__FSWORD_T_TYPE): Likewise.
11604 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11605 __SWORD_TYPE with __fsword_t.
11606 (statfs64): Likewise.
11607
116082012-05-17 David S. Miller <davem@davemloft.net>
11609
11610 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11611
116122012-05-17 Andreas Jaeger <aj@suse.de>
11613
11614 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11615 warning.
11616
116172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11618
11619 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11620
116212012-05-17 Andreas Jaeger <aj@suse.de>
11622
11623 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11624 when it is used.
11625
116262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11627
11628 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11629
116302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11631
11632 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11633 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11634
116352012-05-17 Andreas Jaeger <aj@suse.de>
11636 Carlos O'Donell <carlos_odonell@mentor.com>
11637
11638 [BZ #14059]
11639 * sysdeps/x86_64/multiarch/init-arch.h
11640 (bit_YMM_Usable): Rename to...
11641 (bit_AVX_Usable): ... this.
11642 (bit_FMA4_Usable): New macro.
11643 (bit_XMM_state): New macro.
11644 (bit_YMM_state): New macro.
11645 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11646 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11647 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11648 (CPUID_OSXSAVE): New macro.
11649 (CPUID_AVX): New macro.
11650 (CPUID_FMA4): New macro.
11651 (index_YMM_Usable): Rename to...
11652 (index_AVX_Usable): ... this.
11653 (HAS_AVX): Use HAS_ARCH_FEATURE.
11654 (HAS_FMA4): Likewise.
11655 (HAS_YMM_USABLE): Remove.
11656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11657 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11658 are present.
11659 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11660 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11661 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11662 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11663 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11664
116652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11666
11667 * math/libm-test.c: Support platforms without multiple rounding modes.
11668 * math/bug-nextafter.c: Support platforms without FP exceptions.
11669 * math/bug-nexttoward.c: Likewise.
11670 * math/test-fenv.c: Likewise.
11671 * math/test-misc.c: Likewise.
11672 * stdlib/bug-getcontext.c: Likewise.
11673
116742012-05-17 Andreas Jaeger <aj@suse.de>
11675
11676 * manual/examples/search.c (critter_cmp): Change signature to
11677 avoid warnings.
11678 * manual/string.texi (Collation Functions): Likewise.
11679
116802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11681
11682 * bits/types.h: Fold copyright years.
11683 * bits/typesizes.h: Likewise.
11684 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11688 * time/time.h: Likewise.
11689
116902012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11691
11692 [BZ #208]
11693 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11694 in instead of returning them. Return void.
11695 (__libc_mallinfo): Accumulate over all arenas.
11696 (__malloc_stats): Adjust for change in int_mallinfo interface.
11697
116982012-05-16 Roland McGrath <roland@hack.frob.com>
11699
11700 [BZ #10375]
11701 * configure.in (NM): Add AC_CHECK_TOOL for it.
11702 (libc_extra_cflags): New substituted variable.
11703 Check for -fstack-protector being used implicitly.
11704 * configure: Regenerated.
11705 * config.make.in (config-extra-cflags): New variable,
11706 gets @libc_extra_cflags@.
11707 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11708
11709 [BZ #10375]
11710 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11711 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11712 * configure: Regenerated.
11713 * config.make.in (CPPUNDEFS): New substituted variable.
11714 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11715 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11716 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11717
117182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11719
11720 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11721 (mq_attr): Use __syscall_slong_t.
11722
117232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11724
11725 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11726 Check __x86_64__ instead of __WORDSIZE.
11727 (_STAT_VER_LINUX): Likewise.
11728 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11729 __syscall_ulong_t and __syscall_slong_t.
11730 (stat64): Likewise.
11731
117322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11735
117362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11737
11738 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11739
117402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11741
11742 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11743 __syscall_ulong_t.
11744
11745 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11746 include <bits/wordsize.h>. Check __x86_64__ instead of
11747 __WORDSIZE.
11748 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11749 defined.
11750 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11751
11752 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11753 include <bits/wordsize.h>. Check __x86_64__ instead of
11754 __WORDSIZE.
11755 (user_regs_struct): Use "__extension__ unsigned long long"
11756 instead of "unsigned long" if __x86_64__ is defined.
11757 (user): Likewise. Pad after pointer field if __ILP32__ is
11758 defined.
11759
117602012-05-16 Joseph Myers <joseph@codesourcery.com>
11761
11762 * configure.in (makeinfo): Require version 4.5 or later. Allow
11763 versions 5 to 9.
11764 * configure: Regenerated.
11765 * manual/install.texi (texinfo): Increase version requirement to
11766 4.5 or later.
11767 * INSTALL: Regenerated.
11768
11769 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11770
117712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11772
11773 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11774
11775 * sysdeps/x86_64/x32/ffs.c: New file.
11776
11777 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11778 __syscall_ulong_t.
11779 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11780 defined. Use __syscall_ulong_t.
11781 (shminfo): Use __syscall_ulong_t.
11782 (shm_info): Likewise.
11783
11784 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11785 __syscall_ulong_t.
11786
11787 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11788 <bits/wordsize.h>.
11789 (msgqnum_t): Use __syscall_ulong_t.
11790 (msglen_t): Likewise.
11791 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11792 __syscall_ulong_t.
11793
11794 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11795 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11796
11797 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11798
11799 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11800 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11801
11802 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11803 __syscall_slong_t.
11804
11805 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11806 include <bits/wordsize.h>. Check __x86_64__ instead of
11807 __WORDSIZE.
11808
11809 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11810 "unsigned long long int" if __x86_64__ is defined.
11811 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11812
11813 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11814 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11815 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11816
11817 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11818 <stdint.h>.
11819 (GET_PC): Cast to uintptr_t first.
11820 (GET_FRAME): Likewise.
11821 (GET_STACK): Likewise.
11822
11823 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11828 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11852
118532012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11854
11855 * Makerules (+depfiles): Also collect depfiles from .oS in
11856 $(extra-objs).
11857 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11858 .oS, $(libnldbl-routines)).
11859
11860 * Makerules (native-compile-mkdep-flags): Define.
11861 * sunrpc/Makefile (extra-objs): Add $(addprefix
11862 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11863 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11864 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11865 calling $(make-target-directory).
11866
118672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11868
11869 * bits/types.h (__snseconds_t): Removed.
11870 * time/time.h (struct timespec): Replace __snseconds_t with
11871 __syscall_slong_t.
11872 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11873 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11874 Likewise.
11875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11876 (__SNSECONDS_T_TYPE): Likewise.
11877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11878 (__SNSECONDS_T_TYPE): Likewise.
11879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11880 (__SNSECONDS_T_TYPE): Likewise.
11881
118822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11883
11884 * sysdeps/mach/hurd/bits/typesizes.h
11885 (__SYSCALL_SLONG_TYPE): New macro.
11886 (__SYSCALL_ULONG_TYPE): Likewise.
11887
118882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11889
11890 * bits/types.h (__syscall_slong_t): New type.
11891 (__syscall_ulong_t): Likewise.
11892
11893 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11894 (__SYSCALL_ULONG_TYPE): Likewise.
11895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11896 (__SYSCALL_SLONG_TYPE): Likewise.
11897 (__SYSCALL_ULONG_TYPE): Likewise.
11898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11899 (__SYSCALL_SLONG_TYPE): Likewise.
11900 (__SYSCALL_ULONG_TYPE): Likewise.
11901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11902 (__SYSCALL_SLONG_TYPE): Likewise.
11903 (__SYSCALL_ULONG_TYPE): Likewise.
11904
119052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11906
11907 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11908 Add sigaltstack-offsets.sym.
11909 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11910 <sigaltstack-offsets.h>.
11911 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11912 longjmp_msg pointer.
11913 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11914 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11915 signal stack.
11916 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11917
119182012-05-15 Joseph Myers <joseph@codesourcery.com>
11919
11920 * elf/stackguard-macros.h: Remove file.
11921 * sysdeps/generic/stackguard-macros.h: New file.
11922 * sysdeps/i386/stackguard-macros.h: Likewise.
11923 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11924 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11925 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11926 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11927 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11928 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11929 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11930 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11931 <elf/stackguard-macros.h>.
11932
11933 [BZ #14109]
11934 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11935 __aligned__ in attribute.
11936 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11937 (gregset_t): Likewise.
11938
119392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11940
11941 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11942 * sysdeps/x86_64/64/Implies-after: Here. New file.
11943 * sysdeps/x86_64/x32/Implies-after: New file.
11944
119452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11946
11947 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11948 and access return value for _dl_profile_fixup. Use R10_LP to
11949 load frame size.
11950
119512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11952
11953 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11954
119552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11956
11957 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11958 * sysdeps/x86_64/x32/sysdep.h: New file.
11959
119602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11963 * sysdeps/x86_64/setjmp.S: Likewise.
11964
119652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11966
11967 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11968 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11969 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11970 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11971 remove unused global constant.
11972
119732012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11974
11975 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11976 include of <not-cancel.h>.
11977
119782012-05-15 Roland McGrath <roland@hack.frob.com>
11979
11980 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11981
119822012-05-15 Jeff Law <law@redhat.com>
11983 Andreas Jaeger <aj@suse.de>
11984
11985 [BZ #13594]
11986 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11987 out from...
11988 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11989 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11990 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11991 code changing __hst_map_handle.map.
11992
119932012-05-15 Roland McGrath <roland@hack.frob.com>
11994
11995 * configure.in (sysnames): Look for Implies-before and Implies-after
11996 files.
11997 * configure: Regenerated.
11998
119992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12000
12001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12002 8-byte data alignment with LP_SIZE alignment.
12003
120042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12005
12006 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12007 into R10_LP.
12008
120092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12010
12011 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12012
120132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12014
12015 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12016 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12018 Likewise.
12019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12020
120212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12024 (stackinfo_sub_sp): Likewise.
12025
120262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12027
12028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12029 RAX_LP.
12030
120312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12032
12033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12034 into R*_LP.
12035
120362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12037
12038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12039 sizes into R*_LP.
12040
120412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12042
12043 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12044
120452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12046
12047 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12048 into R11_LP and load __x86_64_shared_cache_size_half into
12049 R8_LP.
12050
120512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12054 R8_LP.
12055
120562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12057
12058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12059 logb for POWER7.
12060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12061 logbf for POWER7.
12062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12063 logbl for POWER7.
12064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12065 powerpc32/power7/fpu/s_logb.c via #include.
12066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12067 powerpc32/power7/fpu/s_logbf.c via #include.
12068 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12069 powerpc32/power7/fpu/s_logbl.c via #include.
12070
120712012-05-15 Joseph Myers <joseph@codesourcery.com>
12072
12073 * README.libm: Remove file.
12074
120752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12076
12077 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12078 count for x32. Use R*_LP and omit operand-size suffix.
12079
120802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12081
12082 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12083 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12084 * sysdeps/x86_64/x32/shlib-versions: New file.
12085
120862012-05-14 Roland McGrath <roland@hack.frob.com>
12087
12088 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12089 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12090 Use _dl_fatal_printf instead.
12091
120922012-05-14 Joseph Myers <joseph@codesourcery.com>
12093
12094 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12095 set if not set by the user. Do not allow for being unset.
12096 * sysdeps/unix/sysv/linux/configure: Regenerated.
12097
120982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12099
12100 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12101 the `q' suffix from lea and replace .quad with ASM_ADDR.
12102
121032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12104
12105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12106 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12107 instead of $17.
12108 (PTR_DEMANGLE): Likewise.
12109
121102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12111
12112 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12113 (LP_OP): Likewise.
12114 (ASM_ADDR): Likewise.
12115 (RAX_LP): Likewise.
12116 (RBP_LP): Likewise.
12117 (RBX_LP): Likewise.
12118 (RCX_LP): Likewise.
12119 (RDI_LP): Likewise.
12120 (RSI_LP): Likewise.
12121 (RSP_LP): Likewise.
12122 (R8_LP): Likewise.
12123 (R9_LP): Likewise.
12124 (R10_LP): Likewise.
12125 (R10_LP): Likewise.
12126 (R11_LP): Likewise.
12127 (R12_LP): Likewise.
12128 (R13_LP): Likewise.
12129 (R14_LP): Likewise.
12130 (R15_LP): Likewise.
12131
121322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12133
12134 * sysdeps/x86_64/x32/dl-machine.h: New file.
12135
121362012-05-14 Andreas Jaeger <aj@suse.de>
12137
12138 * manual/Makefile (subdir): Remove export of subdir.
12139 (all): Remove target.
12140 (.PHONY): Remove all from list.
12141 (mkinstalldirs): Remove.
12142 (.PHONY): Remove installdirs from list.
12143 ($(inst_infodir)/libc.info): Use make-target-directory.
12144 (installdirs): Remove.
12145 (subdir_%): Remove.
12146 (glibc-targets): Remove.
12147 (lib): Remove.
12148 (stubs): Remove.
12149 ($(objpfx)stubs ../po/manual.pot): Remove.
12150 ($(objpfx)stamp%): Remove.
12151 (make-target-directory): Remove.
12152 (subdir_install): Remove.
12153 (routines): Remove.
12154 (aux): Remove.
12155 (sources): Remove.
12156 (objects): Remove.
12157 (headers): Remove.
12158
12159 [BZ #13750]
12160 * manual/.gitignore: Remove, it's not needed anymore.
12161 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12162 all files in it.
12163 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12164 directory.
12165 (texis): Renamed to $(objpfx)texis.
12166 (texis-path): New, contains path to generated files.
12167 (chapters.%): Use texis-path for complete path, add extra argument
12168 libc-texinfo.sh.
12169 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12170 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12171 (summary,texi, stamp-summary): Use complete path of
12172 files. Generate files in build dir.
12173 (dir-add.texi): Build in build dir.
12174 (libm-err.texi,stamp-libm-err): Likewise.
12175 (version.texi, stamp-version): Likewise.
12176 (.%c.texi): Likewise.
12177 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12178 (mostlyclean): Remove target.
12179 (realclean): Remove target.
12180 (generated): Add new variable with contents from mostlyclean and
12181 realclean, remove entries duplicated in common-mostlyclean, add
12182 stamp-libm-err and stamp-version.
12183 (generated-dirs): Add libc directory.
12184 ($(inst_infodir)/libc.info): Install files from build dir.
12185
12186 * manual/install.texi (Configuring and compiling): Adjust since
12187 the info files are not part of the tar ball anymore.
12188
121892012-05-14 Andreas Jaeger <aj@suse.de>
12190
12191 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12192 variable.
12193
121942012-05-14 Joseph Myers <joseph@codesourcery.com>
12195
12196 [BZ #13717]
12197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12198 to 2.2.0 where earlier.
12199 * sysdeps/unix/sysv/linux/configure: Regenerated.
12200 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12201 Remove conditional code.
12202 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12203 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12204 Remove conditional code.
12205 [!__NR_lchown]: Likewise.
12206 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12207 [__NR_lchown]: Likewise.
12208 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12209 comment referencing __ASSUME_LCHOWN_SYSCALL.
12210 * sysdeps/unix/sysv/linux/i386/sigaction.c
12211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12213 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12214 Remove conditional code.
12215 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12216 (__protocol_available): Remove #if 0 code.
12217 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12218 conditional code.
12219 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12220 * sysdeps/unix/sysv/linux/kernel-features.h
12221 (__ASSUME_GETCWD_SYSCALL): Don't define.
12222 (__ASSUME_REALTIME_SIGNALS): Likewise.
12223 (__ASSUME_PREAD_SYSCALL): Likewise.
12224 (__ASSUME_PWRITE_SYSCALL): Likewise.
12225 (__ASSUME_POLL_SYSCALL): Likewise.
12226 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12227 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12228 non-SPARC.
12229 (__ASSUME_SIOCGIFNAME): Don't define.
12230 (__ASSUME_MSG_NOSIGNAL): Likewise.
12231 (__ASSUME_SENDFILE): Define unconditionally.
12232 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12233 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12234 conditional code.
12235 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12236 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12237 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12238 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12239 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12240 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12241 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12246 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12252 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12267 Remove conditional code.
12268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12269 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12270 Remove conditional code.
12271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12272 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12273 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12274 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12275 Remove conditional code.
12276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12277 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12278 Remove conditional code.
12279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12280 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12281 Remove conditional code.
12282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12283 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12284 Remove conditional code.
12285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12286 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12287 Remove conditional code.
12288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12289 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12290 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12292 * sysdeps/unix/sysv/linux/sigaction.c
12293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12295 * sysdeps/unix/sysv/linux/sigpending.c
12296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12298 * sysdeps/unix/sysv/linux/sigprocmask.c
12299 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12300 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12301 * sysdeps/unix/sysv/linux/sigsuspend.c
12302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12304 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12305 (__libc_missing_rt_sigs): Remove.
12306 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12307 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12308 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12309 Remove conditional code.
12310 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12311 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12312 return 1.
12313 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12314 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12315 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12316 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12317
123182012-05-14 Andreas Jaeger <aj@suse.de>
12319
12320 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12321 it's not used in glibc.
12322 (__coshm1): Likewise.
12323 (__acosh1p): Likewise.
12324 (__sgn): Likewise.
12325
12326 * manual/string.texi (Copying and Concatenation): Add missing
12327 variable in concat example.
12328 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12329
123302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 [BZ #14103]
12333 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12334 __builtin_clzl with __builtin_clzll.
12335
123362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12337
12338 [BZ #14104]
12339 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12340 libc_freeres_ptr.
12341
123422012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12343
12344 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12345 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12346 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12347 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12348
123492012-05-14 Mike Frysinger <vapier@gentoo.org>
12350
12351 * NEWS: Update ia64 info.
12352
123532012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12354
12355 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12356 used as bcopy.
12357
123582012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12359
12360 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12361 * sysdeps/unix/syscalls.list (dup3): Likewise.
12362 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12363 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12364
123652012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12368 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12369
123702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12371
12372 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12373 thread pointer.
12374 (TLS_IE): Use mov/add instead of movq/addq to load thread
12375 pointer.
12376 (TLS_GD_PREFIX): New.
12377 (TLS_GD): Use it.
12378
123792012-05-11 David S. Miller <davem@davemloft.net>
12380
12381 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12382 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12383 (_FPU_SETCW): Likewise.
12384
123852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12386
12387 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12388 is 32-byte aligned.
12389
123902012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12391
12392 [BZ #11837]
12393 * iconvdata/gb18030.c: Update tables.
12394 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12395 characters specially.
12396 (BODY for TO_LOOP): Add encoding of missing ranges.
12397
123982012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12399
12400 [BZ #13673]
12401 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12402 * sysdeps/mach/hurd/dup3.c: Likewise.
12403 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12404 * sysdeps/powerpc/memmove.c:: Likewise.
12405
124062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12407
12408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12409 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12410
124112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12412
12413 * elf/elf.h (R_X86_64_RELATIVE64): New.
12414 (R_X86_64_NUM): Updated.
12415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12416 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12417 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12418 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12419 tst-quad1pie tst-quad2pie
12420 (modules-names): Add tst-quadmod1 tst-quadmod2.
12421 ($(objpfx)tst-quad1): New dependency.
12422 ($(objpfx)tst-quad2): Likewise.
12423 ($(objpfx)tst-quad1pie): Likewise.
12424 ($(objpfx)tst-quad2pie): Likewise.
12425 * sysdeps/x86_64/tst-quad1.c: New file.
12426 * sysdeps/x86_64/tst-quad1pie.c: New file.
12427 * sysdeps/x86_64/tst-quad2.c: Likewise.
12428 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12429 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12430 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12431 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12432 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12433
124342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12435
12436 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12437 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12438 * streams/stropts.h (t_scalar_t): Define type.
12439
12440 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12441 (_PATH_PRESERVE): Set to "/var/lib".
12442 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12443
12444 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12445 instead of int.
12446
12447 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12448 if __dir_mkfile succeeded.
12449
12450 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12451 checking for _hurd_dtablesize. Unlock it right after having
12452 finished _hurd_dtable allocation.
12453
124542012-05-10 Thomas Schwinge <thomas@schwinge.name>
12455
12456 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12457 * sysdeps/mach/hurd/configure: Regenerated.
12458 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12459 special-casing to...
12460 * sysdeps/gnu/configure.in: ... this new file.
12461 * sysdeps/unix/sysv/linux/configure: Regenerated.
12462 * sysdeps/gnu/configure: New generated file.
12463
12464 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12465 for Linux: use nsec instead of usec, as well as:
12466 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12467 members of type struct timespec.
12468 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12469 New macros.
12470 (struct stat64): Likewise.
12471 (_STATBUF_ST_NSEC): New macro.
12472 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12473
12474 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12475 __strtoul_internal rather than strtoul.
12476
124772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12478
12479 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12480 and reject them.
12481
124822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12483
12484 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12485 which preserves existing values.
12486 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12487
124882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12489
12490 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12491 TIMEOUT values. Return EINVAL for NFDS values either negative or
12492 greater than FD_SETSIZE.
12493
124942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12495
12496 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12497 allocated, call __vm_protect to finish enabling the existing space, and
12498 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12499 allocate the remainder.
12500
125012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12502
12503 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12504 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12505
125062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12507
12508 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12509 sysdeps/mach/hurd/readlink.c.
12510
12511 * posix/tst-sysconf.c (posix_options): Only use
12512 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12513 _POSIX_SYNCHRONIZED_IO when they are defined
12514 * sysdeps/mach/hurd/bits/posix_opt.h:
12515 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12516 (_XOPEN_REALTIME): Undefine macro.
12517 (_XOPEN_REALTIME_THREADS): Undefine macro.
12518 (_XOPEN_SHM): Undefine macro.
12519 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12520 macro to -1.
12521 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12522 macro to -1.
12523 (_POSIX_ASYNC_IO): Undefine macro.
12524 (_POSIX_PRIORITIZED_IO): Undefine macro.
12525 (_POSIX_SPIN_LOCKS): Define macro to -1.
12526
12527 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12528 SA_NODEFER, SA_RESETHAND.
12529 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12530 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12531 F_DUPFD_CLOEXEC.
12532
125332012-05-10 Thomas Schwinge <thomas@schwinge.name>
12534
12535 * elf/Makefile (pldd-modules): Define unconditionally.
12536
125372012-05-10 Thomas Schwinge <thomas@schwinge.name>
12538
12539 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12540
125412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12542
12543 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12544 Return ENOENT when name is empty.
12545 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12546
125472012-05-10 Thomas Schwinge <thomas@schwinge.name>
12548
12549 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12550
12551 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12552
125532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12554
12555 Fix mlock in all cases except non-readable pages.
12556 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12557 instead of VM_PROT_ALL as parameter to __vm_wire function.
12558
12559 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12560 (__mkdir): When path is `/', just fail with EEXIST.
12561 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12562
125632012-05-10 Thomas Schwinge <thomas@schwinge.name>
12564
12565 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12566 <sys/uio.h> (for writev).
12567 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12568 and <sys/param.h> (for MIN).
12569
125702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12571
12572 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12573 REQUESTED_TIME. Properly set the remaining time and return EINTR
12574 if interrupted.
12575
125762012-05-10 Thomas Schwinge <thomas@schwinge.name>
12577
12578 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12579 Depend on against $(link-rpcuserlibs).
12580
125812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12582
12583 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12584 (__libc_stack_end): Do not use attribute_relro.
12585 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12586 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12587 to libthread-provided value.
12588 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12589 attribute_relro.
12590
125912012-05-10 Thomas Schwinge <thomas@schwinge.name>
12592
12593 [BZ #3748]
12594 * bits/libc-lock.h (__libc_once_get): New macro.
12595 * sysdeps/mach/bits/libc-lock.h: Likewise.
12596 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12598 instead of using implementation details.
12599
12600 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12601 * libio/freopen.c: Likewise.
12602 * libio/freopen64.c: Likewise.
12603 * misc/syslog.c: Likewise.
12604 * nscd/connections.c: Likewise.
12605 * nscd/netgroupcache.c: Likewise.
12606 * sysdeps/posix/getcwd.c: Likewise.
12607
126082012-05-10 Roland McGrath <roland@hack.frob.com>
12609
12610 * math/w_ilogbf.c: Add #include <limits.h>.
12611
126122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12613
12614 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12615 path instead of returning without unlocking.
12616
12617 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12618 immediate-write ioctls.
12619 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12620
126212012-05-10 Thomas Schwinge <thomas@schwinge.name>
12622
12623 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12624 __builtin_frame_address instead of making assumptions about the
12625 location of the return address relative to DATA. Force early load of
12626 the return address.
12627 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12628 __builtin_frame_address.
12629
12630 dup3 for GNU Hurd.
12631 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12632 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12633 implement dup3 and do some further code clean-ups.
12634 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12635 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12636
126372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12638
12639 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12640
12641 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12642 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12643 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12644 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12645 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12646 d->port.lock.
12647
12648 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12649 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12650 when handler == SIG_ERR, not when handler != SIG_ERR.
12651
126522012-05-10 Thomas Schwinge <thomas@schwinge.name>
12653
12654 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12655 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12656 definitions.
12657
12658 accept4 for GNU Hurd.
12659 * include/sys/socket.h (__libc_accept4): New prototype.
12660 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12661 to implement __libc_accept4.
12662 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12663 __libc_accept4.
12664 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12665
12666 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12667 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12668 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12669 signal-defines.sym.
12670
126712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12672
12673 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12674
126752012-05-10 Thomas Schwinge <thomas@schwinge.name>
12676
12677 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12678 assertion on O_CLOEXEC flag.
12679 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12680 * hurd/intern-fd.c: Likewise.
12681 * hurd/port2fd.c: Likewise.
12682
126832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12684
12685 [BZ #3906]
12686 * bits/in.h (IPV6_PKTINFO): Define new macro.
12687 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12688
126892012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12690
12691 [BZ #13954]
12692 [BZ #13955]
12693 [BZ #13956]
12694 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12696 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12697 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12699 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12700 * math/libm-test.inc (logb_test) : Additional logb tests.
12701
127022012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12703 Andreas Jaeger <aj@suse.de>
12704
12705 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12706 * configure: Regenerated.
12707 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12708 * config.make.in (link-obsolete-rpc): New substituted variable.
12709 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12710 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12711 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12712 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12713 so that libc.a contains the symbols.
12714 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12715 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12716 * sunrpc/auth_none.c: Likewise.
12717 * sunrpc/auth_unix.c: Likewise.
12718 * sunrpc/authdes_prot.c: Likewise.
12719 * sunrpc/authuxprot.c: Likewise.
12720 * sunrpc/clnt_gen.c: Likewise.
12721 * sunrpc/clnt_perr.c: Likewise.
12722 * sunrpc/clnt_raw.c: Likewise.
12723 * sunrpc/clnt_simp.c: Likewise.
12724 * sunrpc/clnt_tcp.c: Likewise.
12725 * sunrpc/clnt_udp.c: Likewise.
12726 * sunrpc/clnt_unix.c: Likewise.
12727 * sunrpc/des_crypt.c: Likewise.
12728 * sunrpc/des_soft.c: Likewise.
12729 * sunrpc/get_myaddr.c: Likewise.
12730 * sunrpc/key_call.c: Likewise.
12731 * sunrpc/key_prot.c: Likewise.
12732 * sunrpc/netname.c: Likewise.
12733 * sunrpc/pm_getmaps.c: Likewise.
12734 * sunrpc/pm_getport.c: Likewise.
12735 * sunrpc/pmap_clnt.c: Likewise.
12736 * sunrpc/pmap_prot.c: Likewise.
12737 * sunrpc/pmap_prot2.c: Likewise.
12738 * sunrpc/pmap_rmt.c: Likewise.
12739 * sunrpc/publickey.c: Likewise.
12740 * sunrpc/rpc_cmsg.c: Likewise.
12741 * sunrpc/rpc_common.c: Likewise.
12742 * sunrpc/rpc_dtable.c: Likewise.
12743 * sunrpc/rpc_prot.c: Likewise.
12744 * sunrpc/rpc_thread.c: Likewise.
12745 * sunrpc/rtime.c: Likewise.
12746 * sunrpc/svc.c: Likewise.
12747 * sunrpc/svc_auth.c: Likewise.
12748 * sunrpc/svc_raw.c: Likewise.
12749 * sunrpc/svc_run.c: Likewise.
12750 * sunrpc/svc_tcp.c: Likewise.
12751 * sunrpc/svc_udp.c: Likewise.
12752 * sunrpc/svc_unix.c: Likewise.
12753 * sunrpc/svcauth_des.c: Likewise.
12754 * sunrpc/xcrypt.c: Likewise.
12755 * sunrpc/xdr.c: Likewise.
12756 * sunrpc/xdr_array.c: Likewise.
12757 * sunrpc/xdr_float.c: Likewise.
12758 * sunrpc/xdr_intXX_t.c: Likewise.
12759 * sunrpc/xdr_mem.c: Likewise.
12760 * sunrpc/xdr_rec.c: Likewise.
12761 * sunrpc/xdr_ref.c: Likewise.
12762 * sunrpc/xdr_sizeof.c: Likewise.
12763 * sunrpc/xdr_stdio.c: Likewise.
12764
127652012-05-10 Roland McGrath <roland@hack.frob.com>
12766
12767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12768 change. Update copyright years.
12769
127702012-05-10 Joseph Myers <joseph@codesourcery.com>
12771
12772 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12773
127742012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12775 Joseph Myers <joseph@codesourcery.com>
12776 Paul Pluzhnikov <ppluzhnikov@google.com>
12777
12778 [BZ #14012]
12779 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12780 requiring rpcgen.
12781 [cross-compiling] (extra-libs): Likewise.
12782 [cross-compiling] (extra-libs-others): Likewise.
12783 [cross-compiling] (librpcsvc-routines): Likewise.
12784 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12785 [cross-compiling] (omit-deps): Likewise.
12786 (sunrpc-CPPFLAGS): New variable.
12787 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12788 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12789 (cross-rpcgen-objs): New variable.
12790 (extra-objs): Append $(cross-rpcgen-objs).
12791 ($(cross-rpcgen-objs)): New rule.
12792 ($(objpfx)cross-rpcgen): Likewise.
12793 (rpcgen-cmd): Define to use $(built-program-file). Expand
12794 comment.
12795 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12796 ($(objpfx)x%.stmp): Likewise.
12797 * sunrpc/proto.h [IS_IN_build] (_): Define.
12798 [IS_IN_build] (_libc_intl_domainname): Likewise.
12799
128002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12801
12802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12803 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12804 and R_X86_64_TPOFF64.
12805
128062012-05-10 Joseph Myers <joseph@codesourcery.com>
12807
12808 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12809 sysdeps/unix/sysv/syscalls.list.
12810 (stime): Likewise.
12811 (utime): Likewise.
12812 * sysdeps/unix/sysv/syscalls.list: Remove file.
12813
128142012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12815
12816 [BZ #3440]
12817 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12818 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12819 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12820 (__LC_IDENTIFICATION): Make these macros useful in #if
12821 expressions, as required by C99.
12822
128232012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12824
12825 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12826 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12827 after this.
12828
128292012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12830
12831 * stdlib/longlong.h: Updated from GCC.
12832
128332012-05-09 Andreas Jaeger <aj@suse.de>
12834
12835 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12836 default is first entry.
12837 (run_mode): Set type.
12838 (main): Remove informal message about syslog.
12839 (options): Fix typo.
12840
12841 [BZ #14053]
12842 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12843 to asm.
12844 (lrint): Likewise.
12845 (llrintf): Likewise.
12846 (llrint): Likewise.
12847 (rint): Likewise.
12848 (rintf): Likewise.
12849 (nearbyint): Likewise.
12850 (nearbyintf): Likewise.
12851
128522012-05-09 Andreas Jaeger <aj@suse.de>
12853 Pedro Alves <palves@redhat.com>
12854
12855 * nscd/nscd.c (run_mode): Use enum.
12856 (main): Cleanup coding style issue.
12857
128582012-05-09 Alexandre Oliva <aoliva@redhat.com>
12859 Andreas Jaeger <aj@suse.de>
12860
12861 * nscd/nscd.c (go_background): Replaced with...
12862 (run_mode): ... this.
12863 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12864 (options): Add -F --foreground.
12865 (main): Implement it.
12866 (parse_opt): Parse it.
12867
128682012-05-09 Andreas Jaeger <aj@suse.de>
12869
12870 [BZ #14083]
12871 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12872 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12873 -Wconversion warning.
12874 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12875 Likewise.
12876
128772012-05-09 Joseph Myers <joseph@codesourcery.com>
12878
12879 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12880 == 0.
12881 (LC_ALL): Use macro-int-constant.
12882 (LC_COLLATE): Likewise.
12883 (LC_CTYPE): Likewise.
12884 (LC_MESSAGES): Likewise.
12885 (LC_MONETARY): Likewise.
12886 (LC_NUMERIC): Likewise.
12887 (LC_TIME): Likewise.
12888 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12889 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12891 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12892 Specify type.
12893 [C99-based standards] (float_t): Expect type.
12894 [C99-based standards] (double_t): Expect type.
12895 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12896 type.
12897 [C99-based standards] (HUGE_VALL): Likewise.
12898 [C99-based standards] (INFINITY): Likewise.
12899 [C99-based standards] (NAN): Likewise.
12900 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12901 [C99-based standards] (FP_NAN): Likewise.
12902 [C99-based standards] (FP_NORMAL): Likewise.
12903 [C99-based standards] (FP_SUBNORMAL): Likewise.
12904 [C99-based standards] (FP_ZERO): Likewise.
12905 [C99-based standards] (FP_FAST_FMA): Use
12906 optional-macro-int-constant. Specify type. Require == 1.
12907 [C99-based standards] (FP_FAST_FMAF): Likewise.
12908 [C99-based standards] (FP_FAST_FMAL): Likewise.
12909 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12910 [C99-based standards] (FP_ILOGBNAN): Likewise.
12911 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12912 Specify type.
12913 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12914 [C99-based standards] (math_errhandling): Specify type.
12915 [ISO99 || ISO11] (signgam): Do not allow.
12916 [non-C99-based standards] (copysignf): Do not allow.
12917 [non-C99-based standards] (exp2f): Likewise.
12918 [non-C99-based standards] (log2f): Likewise.
12919 [non-C99-based standards] (modff): Allow.
12920 [non-C99-based standards] (erff): Do not allow.
12921 [non-C99-based standards] (erfcf): Likewise.
12922 [non-C99-based standards] (gammaf): Likewise.
12923 [non-C99-based standards] (hypotf): Likewise.
12924 [non-C99-based standards] (j0f): Likewise.
12925 [non-C99-based standards] (j1f): Likewise.
12926 [non-C99-based standards] (jnf): Likewise.
12927 [non-C99-based standards] (lgammaf): Likewise.
12928 [non-C99-based standards] (tgammaf): Likewise.
12929 [non-C99-based standards] (y0f): Likewise.
12930 [non-C99-based standards] (y1f): Likewise.
12931 [non-C99-based standards] (ynf): Likewise.
12932 [non-C99-based standards] (isnanf): Likewise.
12933 [non-C99-based standards] (acoshf): Likewise.
12934 [non-C99-based standards] (asinhf): Likewise.
12935 [non-C99-based standards] (atanhf): Likewise.
12936 [non-C99-based standards] (cbrtf): Likewise.
12937 [non-C99-based standards] (expm1f): Likewise.
12938 [non-C99-based standards] (ilogbf): Likewise.
12939 [non-C99-based standards] (log1pf): Likewise.
12940 [non-C99-based standards] (logbf): Likewise.
12941 [non-C99-based standards] (nextafterf): Likewise.
12942 [non-C99-based standards] (remainderf): Likewise.
12943 [non-C99-based standards] (rintf): Likewise.
12944 [non-C99-based standards] (scalbf): Likewise.
12945 [non-C99-based standards] (copysignl): Likewise.
12946 [non-C99-based standards] (exp2l): Likewise.
12947 [non-C99-based standards] (log2l): Likewise.
12948 [non-C99-based standards] (modfl): Allow.
12949 [non-C99-based standards] (erfl): Do not allow.
12950 [non-C99-based standards] (erfcl): Likewise.
12951 [non-C99-based standards] (gammal): Likewise.
12952 [non-C99-based standards] (hypotl): Likewise.
12953 [non-C99-based standards] (j0l): Likewise.
12954 [non-C99-based standards] (j1l): Likewise.
12955 [non-C99-based standards] (jnl): Likewise.
12956 [non-C99-based standards] (lgammal): Likewise.
12957 [non-C99-based standards] (tgammal): Likewise.
12958 [non-C99-based standards] (y0l): Likewise.
12959 [non-C99-based standards] (y1l): Likewise.
12960 [non-C99-based standards] (ynl): Likewise.
12961 [non-C99-based standards] (isnanl): Likewise.
12962 [non-C99-based standards] (acoshl): Likewise.
12963 [non-C99-based standards] (asinhl): Likewise.
12964 [non-C99-based standards] (atanhl): Likewise.
12965 [non-C99-based standards] (cbrtl): Likewise.
12966 [non-C99-based standards] (expm1l): Likewise.
12967 [non-C99-based standards] (ilogbl): Likewise.
12968 [non-C99-based standards] (log1pl): Likewise.
12969 [non-C99-based standards] (logbl): Likewise.
12970 [non-C99-based standards] (nextafterl): Likewise.
12971 [non-C99-based standards] (remainderl): Likewise.
12972 [non-C99-based standards] (rintl): Likewise.
12973 [non-C99-based standards] (scalbl): Likewise.
12974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12975 [non-C99-based standards] (FP_*): Do not allow.
12976 [C99-based standards] (FP_*): Change to
12977 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12978 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12979 allow.
12980 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12981 (SIG_ERR): Likewise.
12982 [X/Open-based standards] (SIG_HOLD): Likewise.
12983 (SIG_IGN): Likewise.
12984 (SIGABRT): Use macro-int-constant. Specify type. Require
12985 positive value.
12986 (SIGFPE): Likewise.
12987 (SIGILL): Likewise.
12988 (SIGINT): Likewise.
12989 (SIGSEGV): Likewise.
12990 (SIGTER): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13009 [X/Open-based standards] (SIGTRAP): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13014 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13015 allow.
13016
130172012-05-08 Ian Wienand <ianw@vmware.com>
13018
13019 [BZ #14080]
13020 * time/tzset.c (__tzset_parse_tz): Update default rules for
13021 daylight time changes in the Energy Policy Act of 2005.
13022
130232012-05-09 Andreas Jaeger <aj@suse.de>
13024
13025 [BZ #13983]
13026 * elf/ldconfig.c (parse_conf): Change string to make clear that
13027 ldconfig only issued a warning if ld.so.conf does not exist.
13028
130292012-05-08 David S. Miller <davem@davemloft.net>
13030
13031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13032 movxtod instead of popping the value on the stack.
13033
13034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13035
130362012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13037
13038 * config.h.in: Add HAVE_ARM_PCS_VFP.
13039
130402012-05-08 Roland Mc Grath <roland@hack.frob.com>
13041
13042 [BZ #13979]
13043 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13044 checking but the checks are disabled for any reason.
13045
130462012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13049 and ELF64_R_TYPE with ELFW(R_TYPE).
13050
130512012-05-08 Joseph Myers <joseph@codesourcery.com>
13052
13053 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13054 (ulimit): Likewise.
13055
13056 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13057 (settimeofday): Likewise.
13058
130592012-05-08 Mike Frysinger <vapier@gentoo.org>
13060
13061 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13062 a struct th_u2 inside the union, and move tu_block/tu_code into
13063 a new th_u3 union of tu_block/tu_code inside of that. Move
13064 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13065 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13066 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13067 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13068 (th_stuff): Change to th_u1.tu_stuff.
13069 (th_data): Define.
13070 (th_msg): Change to th_u1.th_u2.tu_data.
13071
130722012-05-07 David S. Miller <davem@davemloft.net>
13073
13074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13075
13076 [BZ #14074]
13077 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13078 (SETUP_PIC_REG): Use it.
13079 (SETUP_PIC_REG_LEAF): Use it.
13080
130812012-05-07 Joseph Myers <joseph@codesourcery.com>
13082
13083 [BZ #13885]
13084 [BZ #13923]
13085 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13086 USE_AS_EXPM1L.
13087 (EXPL_FINITE): Likewise.
13088 (FLDLOG): Likewise.
13089 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13090 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13091 e_expl.S.
13092 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13093 USE_AS_EXPM1L.
13094 (EXPL_FINITE): Likewise.
13095 (FLDLOG): Likewise.
13096 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13097 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13098 e_expl.S.
13099 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13100 test of -max_value argument for long double.
13101 * sysdeps/i386/fpu/libm-test-ulps: Update.
13102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13103
131042012-05-06 David S. Miller <davem@davemloft.net>
13105
13106 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13107 quad soft-float symbols whose references which are compiler
13108 generated.
13109 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13110
131112012-05-06 Joseph Myers <joseph@codesourcery.com>
13112
13113 [BZ #13884]
13114 [BZ #13914]
13115 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13116 USE_AS_EXP10L.
13117 (EXPL_FINITE): Likewise.
13118 (FLDLOG): Likewise.
13119 (c0): Likewise.
13120 (c1): Likewise.
13121 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13122 Adjust comments for base varying.
13123 (__expl_finite): Change alias to EXPL_FINITE.
13124 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13125 e_expl.S.
13126 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13127 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13129 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13131 USE_AS_EXP10L.
13132 (EXPL_FINITE): Likewise.
13133 (FLDLOG): Likewise.
13134 (c0): Likewise.
13135 (c1): Likewise.
13136 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13137 Adjust comments for base varying.
13138 (__expl_finite): Change alias to EXPL_FINITE.
13139 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13140 tests for bugs.
13141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13142
13143 [BZ #14064]
13144 * math/libm-test.inc (check_float_internal): Correct ulp
13145 calculation for subnormal expected results.
13146
131472012-05-06 Andreas Jaeger <aj@suse.de>
13148
13149 * Makeconfig (+math-flags): New, set to -frounding-math.
13150 (+cflags): Add +math-flags so that all of glibc gets compiled with
13151 it.
13152
13153 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13154
131552012-05-05 Joseph Myers <joseph@codesourcery.com>
13156
13157 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13158 Disable one test.
13159
13160 [BZ #13787]
13161 [BZ #13922]
13162 [BZ #14036]
13163 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13164 (__ieee754_expl): Allow for and saturate large arguments.
13165 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13166 (u_threshold): Likewise.
13167 (__exp): Call __ieee754_exp before checking for overflow and
13168 underflow.
13169 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13170 (u_threshold): Likewise.
13171 (__expf): Call __ieee754_expf before checking for overflow and
13172 underflow.
13173 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13174 (u_threshold): Likewise.
13175 (__expl): Call __ieee754_expl before checking for overflow and
13176 underflow.
13177 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13178 (__ieee754_expl): Allow for and saturate large arguments.
13179 * math/libm-test.inc (exp_test): Add another test. Do not allow
13180 missing overflow exception on overflow.
13181 (expm1_test): Do not allow missing overflow exception on overflow.
13182
13183 * sysdeps/i386/fpu/e_expl.c: Move to ...
13184 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13185 rather than using inline asm.
13186 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13187 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13188 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13189
13190 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13191 (nice): Likewise.
13192 (poll): Likewise.
13193 (signal): Likewise.
13194 (time): Likewise.
13195 (times): Likewise.
13196
131972012-05-04 Joseph Myers <joseph@codesourcery.com>
13198
13199 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13200 sysdeps/unix/common/syscalls.list.
13201 (fchmod): Likewise.
13202 (fchown): Likewise.
13203 (ftruncate): Likewise.
13204 (getrusage): Likewise.
13205 (gettimeofday): Likewise.
13206 (setpgid): Likewise.
13207 (setregid): Likewise.
13208 (setreuid): Likewise.
13209 (sigaction): Likewise.
13210 (truncate): Likewise.
13211 (vhangup): Likewise.
13212 * sysdeps/unix/common/syscalls.list: Remove file.
13213 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13214 * sysdeps/unix/sysv/linux/Implies: Likewise.
13215
132162012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13217
13218 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13220 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13221 Moved to ...
13222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13223 Here.
13224 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13225 to ...
13226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13227 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13228 to ...
13229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13230 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13231 to ...
13232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13233 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13234 to ...
13235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13236 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13237 to ...
13238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13239 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13240 to ...
13241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13242 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13243 to ...
13244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13245 Here.
13246 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13247 to ...
13248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13249 Here.
13250 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13251 to ...
13252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13253 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13254 Moved to ...
13255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13256 Here.
13257 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13258 to ...
13259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13260
132612012-05-04 Joseph Myers <joseph@codesourcery.com>
13262
13263 * sysdeps/unix/common/bits/dirent.h: Remove file.
13264 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13265
13266 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13267 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13268 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13269 * sysdeps/unix/bsd/isatty.c: Likewise.
13270 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13271 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13272 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13273
132742012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13275
13276 [BZ #13563]
13277 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13278 long double comparison inaccuracies.
13279 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13281
132822012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13283
13284 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13285 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13286
132872012-05-04 Joseph Myers <joseph@codesourcery.com>
13288
13289 [BZ #14049]
13290 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13291 nonzero digits before rounding a hex value.
13292 * stdlib/tst-strtod.c (tests): Add another test.
13293
132942012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13295
13296 * sysdeps/s390/fpu/libm-test-ulps: Update.
13297
132982012-05-03 Andreas Jaeger <aj@suse.de>
13299
13300 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13301 does not get optimized out.
13302 (malloc_opt_barrier): New.
13303
133042012-05-03 Andreas Jaeger <aj@suse.de>
13305 Roland McGrath <roland@hack.frob.com>
13306
13307 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13308 intermediate file deletion.
13309 (generated): Add .symlist files.
13310
133112012-05-03 Joseph Myers <joseph@codesourcery.com>
13312
13313 [BZ #13775]
13314 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13315 Redirect under this condition.
13316 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13317 [__USE_GNU] (__dprintf_chk): Not under this condition.
13318 [__USE_GNU] (__vdprintf_chk): Likewise.
13319 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13320 under this condition.
13321 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13322 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13323 [__USE_XOPEN2K8] (vdprintf): Likewise.
13324 [__USE_GNU] (__dprintf_chk): Not under this condition.
13325 [__USE_GNU] (__vdprintf_chk): Likewise.
13326 [__USE_GNU] (dprintf): Likewise.
13327 [__USE_GNU] (vdprintf): Likewise.
13328
133292012-05-03 Roland McGrath <roland@hack.frob.com>
13330
13331 * elf/Makefile (common-generated): Set this instead of generated for
13332 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13333 $(all-built-dso)-derived lists.
13334
133352012-05-03 Andreas Jaeger <aj@suse.de>
13336
13337 * sysdeps/i386/fpu/libm-test-ulps: Update.
13338
13339 * FAQ: Removed.
13340 * FAQ.in: Likewise.
13341 * scripts/gen-FAQ.pl: Likewise.
13342 * manual/install.texi (Installation): Point to online location of
13343 FAQ.
13344 * Makefile (files-for-dist): Remove FAQ.
13345 (FAQ): Remove.
13346
133472012-05-02 Allan McRae <allan@archlinux.org>
13348
13349 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13350 (LDFLAGS-reldepmod5.so): Likewise.
13351 (LDFLAGS-reldep6mod1.so): Likewise.
13352 (LDFLAGS-reldep6mod4.so): Likewise.
13353 (LDFLAGS-reldep8mod3.so): Likewise.
13354 (LDFLAGS-unload4mod1.so): Likewise.
13355 (LDFLAGS-unload4mod2.so): Likewise.
13356 (LDFLAGS-tst-initorder): Likewise.
13357 (LDFLAGS-tst-initordera2.so): Likewise.
13358 (LDFLAGS-tst-initordera3.so): Likewise.
13359 (LDFLAGS-tst-initordera4.so): Likewise.
13360 (LDFLAGS-tst-initorderb2.so): Likewise.
13361 (LDFLAGS-noload): Likewise.
13362 (LDFLAGS-next): Likewise.
13363 (LDFLAGS-order2mod1.so): Likewise.
13364 (LDFLAGS-order2mod2.so): Likewise.
13365 (LDFLAGS-tst-initorder2): Likewise.
13366 (LDFLAGS-tst-initorder2a.so): Likewise.
13367 (LDFLAGS-tst-initorder2b.so): Likewise.
13368 (LDFLAGS-tst-initorder2c.so): Likewise.
13369 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13370
133712012-05-02 David S. Miller <davem@davemloft.net>
13372
13373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13374
133752012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13376
13377 [BZ #14055]
13378 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13379
133802012-05-02 Andreas Jaeger <aj@suse.de>
13381
13382 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13383 since we manipulate rounding mode.
13384 (CPPFLAGS-test-idouble.c): Likewise.
13385 (CPPFLAGS-test-ifloat.c): Likewise.
13386 (CFLAGS-test-ldouble.c): Likewise.
13387 (CFLAGS-test-double.c): Likewise.
13388 (CFLAGS-test-float.c): Likewise.
13389 (CFLAGS-test-misc.c): Likewise.
13390 (CFLAGS-test-test-fenv.c): Likewise.
13391
133922012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13393
13394 [BZ #2550]
13395 [BZ #2570]
13396 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13397 comparisons to determine direction to adjust input.
13398
133992012-05-01 Roland McGrath <roland@hack.frob.com>
13400
13401 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13402 output to the target.
13403
13404 * scripts/localplt.awk: New file.
13405 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13406 (check-localplt-CFLAGS): Variable removed.
13407 ($(all-built-dso:=.jmprel)): New static pattern rule.
13408 (generated): Add those targets.
13409 (localplt-built-dso): New variable.
13410 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13411
13412 * elf/check-localplt.c: File removed.
13413
13414 * scripts/check-execstack.awk: New file.
13415 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13416 (check-execstack-CFLAGS): Variable removed.
13417 ($(objpfx)check-execstack.h): Target removed.
13418 ($(objpfx)execstack-default): New target.
13419 (generated): Add that instead of check-execstack.h.
13420 ($(all-built-dso:=.phdr)): New static pattern rule.
13421 (generated): Add those targets.
13422 * elf/check-execstack.c: File removed.
13423
13424 * scripts/check-textrel.awk: New file.
13425 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13426 (check-textrel-CFLAGS): Variable removed.
13427 (all-built-dso): Use := to define.o
13428 ($(all-built-dso:=.dyn)): New static pattern rule.
13429 (generated): Add those targets.
13430 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13431 * config.make.in (READELF): New substituted variable.
13432 * elf/check-textrel.c: File removed.
13433
134342012-05-01 Joseph Myers <joseph@codesourcery.com>
13435
13436 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13437 allow.
13438 * conform/data/ctype.h-data [C99-based standards] (isblank):
13439 Expect function.
13440 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13441 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13443 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13444 Specify type. Require positive value.
13445 (EILSEQ): Likewise.
13446 (ERANGE): Likewise.
13447 [ISO || POSIX] (EILSEQ): Do not expect.
13448 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13449 Specify type. Require positive value.
13450 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13519 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13520 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13521 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13522 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13523 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13524 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13525 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13526 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13527 Require >= 2.
13528 (FLT_ROUNDS): Expect as macro, not constant.
13529 (FLT_MANT_DIG): Use macro-int-constant.
13530 (DBL_MANT_DIG): Likewise.
13531 (LDBL_MANT_DIG): Likewise.
13532 (FLT_DIG): Likewise.
13533 (DBL_DIG): Likewise.
13534 (LDBL_DIG): Likewise.
13535 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13536 (DBL_MIN_EXP): Likewise.
13537 (LDBL_MIN_EXP): Likewise.
13538 (FLT_MAX_EXP): Use macro-int-constant.
13539 (DBL_MAX_EXP): Likewise.
13540 (LDBL_MAX_EXP): Likewise.
13541 (FLT_MAX_10_EXP): Likewise.
13542 (DBL_MAX_10_EXP): Likewise.
13543 (LDBL_MAX_10_EXP): Likewise.
13544 (FLT_MAX): Use macro-constant.
13545 (DBL_MAX): Likewise.
13546 (LDBL_MAX): Likewise.
13547 (FLT_EPSILON): Use macro-constant. Give upper bound.
13548 (DBL_EPSILON): Likewise.
13549 (LDBL_EPSILON): Likewise.
13550 (FLT_MIN): Likewise.
13551 (DBL_MIN): Likewise.
13552 (LDBL_MIN): Likewise.
13553 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13554 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13555 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13556 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13557 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13558 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13559 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13560 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13561 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13562 [ISO11] (FLT_TRUE_MIN): Likewise.
13563 [ISO11] (LDBL_TRUE_MIN): Likewise.
13564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13565 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13566 (SCHAR_MIN): Use macro-int-constant. Specify type.
13567 (SCHAR_MAX): Likewise.
13568 (UCHAR_MAX): Likewise.
13569 (CHAR_MIN): Likewise.
13570 (CHAR_MAX): Likewise.
13571 (MB_LEN_MAX): Use macro-int-constant.
13572 (SHRT_MIN): Use macro-int-constant. Specify type.
13573 (SHRT_MAX): Likewise.
13574 (USHRT_MAX): Likewise.
13575 (INT_MAX): Likewise.
13576 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13577 bound negative.
13578 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13579 bound with "U".
13580 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13581 bound with "L".
13582 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13583 bound negative. Suffix upper bound with "L".
13584 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13585 bound with "UL".
13586 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13587 Specify type.
13588 [C99-based standards] (LLONG_MAX): Likewise.
13589 [C99-based standards] (ULLONG_MAX): Likewise.
13590 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13591 == 0.
13592 [ISO11] (max_align_t): Require type.
13593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13594
13595 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13596 from $CFLAGS, without defining away __attribute__ calls.
13597 (checknamespace): Use $CFLAGS_namespace.
13598
13599 * conform/conformtest.pl (@keywords): Only include C99 keywords
13600 for standards based on C99 or C11.
13601
13602 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13603 Disable tests.
13604 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13605 UNIX98]: Likewise.
13606
13607 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13608 usability of symbols in #if.
13609
13610 * conform/conformtest.pl: If macro or constant types start
13611 "promoted:", expect the symbol to be of the following type
13612 promoted by the integer promotions.
13613
13614 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13615 in one place. Also handle "macro-constant".
13616
13617 * conform/conformtest.pl: Only accept expected macro values with
13618 "==". Parse all "macro" lines in one place.
13619 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13620
13621 * conform/conformtest.pl: Handle braced types on "constant" lines
13622 instead of handling "typed-constant".
13623 * conform/data/signal.h-data: Use "constant" instead of
13624 "typed-constant".
13625
13626 * conform/conformtest.pl: Handle "optional-" at start of lines in
13627 one place rather than duplicating several cases. Handle each
13628 format of "macro" line with initial "optional-".
13629
13630 * conform/conformtest.pl: Only accept expected constant or
13631 optional-constant values with "==". Parse all "constant" lines in
13632 one place. Parse all "optional-constant" lines in one place.
13633 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13634 * conform/data/fmtmsg.h-data: Likewise.
13635 * conform/data/netinet/in.h-data: Likewise.
13636 * conform/data/tar.h-data: Likewise.
13637 * conform/data/limits.h-data: Use "==" form on "constant" and
13638 "optional-constant" lines.
13639
13640 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13641 Use -std=c99 for XOPEN2K.
13642 (@knownproblems): Remove.
13643 (newtoken): Don't check %isknown.
13644
13645 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13646 Do not expect macro.
13647 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13653 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13654 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13659 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13660 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13673 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13674 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13675 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13677 [XPG3] (acosh): Likewise.
13678 [XPG3] (asinh): Likewise.
13679 [XPG3] (atanh): Likewise.
13680 [XPG3] (cbrt): Likewise.
13681 [XPG3] (expm1): Likewise.
13682 [XPG3] (ilogb): Likewise.
13683 [XPG3] (log1p): Likewise.
13684 [XPG3] (logb): Likewise.
13685 [XPG3] (nextafter): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13688 [XPG3] (remainder): Likewise.
13689 [XPG3] (rint): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13697 [UNIX98 || XOPEN2K] (scalb): Expect.
13698 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13699 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13829 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13830 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13831 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13832 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13833 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13834 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13835
13836 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13837 _XOPEN_SOURCE_EXTENDED for XPG4.
13838
13839 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13840
13841 * Makeconfig (localtime): Remove variable.
13842 (inst_localtime-file): Likewise.
13843
138442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13845
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13847 Update.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13849 Update.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13851 Update.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13853 Update.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13855 Update.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13857 Update.
13858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13859 Update.
13860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13861 Update.
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13863 Update.
13864
138652012-05-01 Joseph Myers <joseph@codesourcery.com>
13866
13867 [BZ #2550]
13868 [BZ #2570]
13869 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13870 comparisons to determine direction to adjust input.
13871 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13872 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13873 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13874 Likewise.
13875 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13876 Likewise.
13877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13878 Likewise.
13879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13881 Likewise.
13882 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13883 Likewise.
13884 * math/libm-test.inc (nexttoward_test): Add more tests.
13885
138862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13887
13888 [BZ #14040]
13889 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13890 in version GLIBC_2.1, not GLIBC_2.0.
13891 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13892 Likewise.
13893
138942012-04-30 Joseph Myers <joseph@codesourcery.com>
13895
13896 [BZ #13942]
13897 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13898 (1 - x) * (1 + x).
13899 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13900 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13901 * math/libm-test.inc (acos_test): Add more tests.
13902 (asin_test): Likewise.
13903 * sysdeps/i386/fpu/libm-test-ulps: Update.
13904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13905
13906 [BZ #14034]
13907 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13908 of square root.
13909 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13910 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13911 * math/libm-test.inc (acos_test_tonearest): New function.
13912 (acos_test_towardzero): Likewise.
13913 (acos_test_downward): Likewise.
13914 (acos_test_upward): Likewise.
13915 (asin_test_tonearest): Likewise.
13916 (asin_test_towardzero): Likewise.
13917 (asin_test_downward): Likewise.
13918 (asin_test_upward): Likewise.
13919 (main): Call the new functions.
13920 * sysdeps/i386/fpu/libm-test-ulps: Update.
13921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13922
13923 [BZ #13884]
13924 [BZ #13924]
13925 * math/e_exp10.c: Include <float.h>.
13926 (__ieee754_exp10): Handle underflow here rather than multiplying
13927 large negative argument by M_LN10.
13928 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13929 of __ieee754_expf.
13930 * math/e_exp10l.c: Include <float.h>.
13931 (__ieee754_exp10l): Handle underflow here rather than multiplying
13932 large negative argument by M_LN10l.
13933 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13934 spurious overflow exception on underflow.
13935
139362012-04-29 Marek Polacek <polacek@redhat.com>
13937
13938 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13939 (__fortify_function): New macro.
13940 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13941 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13942 __extern_always_inline.
13943 * libio/bits/stdio2.h: Likewise.
13944 * libio/bits/stdio.h: Likewise.
13945 * string/string.h: Likewise.
13946 * string/bits/string3.h: Likewise.
13947 * include/stdio.h: Likewise.
13948 * stdlib/bits/stdlib.h: Likewise.
13949 * stdlib/stdlib.h: Likewise.
13950 * rt/bits/mqueue2.h: Likewise.
13951 * rt/mqueue.h: Likewise.
13952 * posix/bits/unistd.h: Likewise.
13953 * posix/unistd.h: Likewise.
13954 * io/bits/poll2.h: Likewise.
13955 * io/bits/fcntl2.h: Likewise.
13956 * io/fcntl.h: Likewise.
13957 * io/sys/poll.h: Likewise.
13958 * misc/bits/syslog.h: Likewise.
13959 * misc/bits/syslog-ldbl.h: Likewise.
13960 * misc/sys/syslog.h: Likewise.
13961 * socket/bits/socket2.h: Likewise.
13962 * socket/sys/socket.h: Likewise.
13963 * debug/tst-chk1.c: Likewise.
13964 * wcsmbs/bits/wchar2.h: Likewise.
13965 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13966 * wcsmbs/wchar.h: Likewise.
13967
139682012-04-29 Andreas Jaeger <aj@suse.de>
13969
13970 * Makerules (tests): Remove enable-check-abi protection.
13971 (check-abi-warn): Remove.
13972 (check-abi-%): Remove check-abi-warn usage.
13973
13974 * configure.in: Remove check-abi configure option.
13975 * configure: Regenerated.
13976 * config.make.in (enable-check-abi): Remove.
13977
139782012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13979
13980 [BZ #14033]
13981 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13982 double functions to double *_finite functions.
13983
13984 [BZ #13941]
13985 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13986 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13987 LDBL_MIN_EXP.
13988 * stdio-common/Makefile (tests): Add tst-sprintf3.
13989 * stdio-common/tst-sprintf3.c: New file.
13990
13991 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13992 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13993
139942012-04-28 Joseph Myers <joseph@codesourcery.com>
13995
13996 * conform/conformtest.pl: Remove duplicate typed-constant
13997 handling.
13998
139992012-04-28 David S. Miller <davem@davemloft.net>
14000
14001 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14002 (check-abi-%): Remove AWK script prerequisite and explicit
14003 abilist directory.
14004 (check-abi): Rewrite to just diff the symlist with the abilist.
14005 (config-tls, config-abi-config): Delete, no longer used.
14006 (update-abi-%): Remove AWK script and explicit abilist directory.
14007 (update-abi): Rewrite to simply compare and conditionally copy the
14008 symlist and the sysdep abilist file. Remove update-abi-config
14009 checks.
14010 * abilist/ld.abilist: Remove.
14011 * abilist/libBrokenLocale.abilist: Remove.
14012 * abilist/libanl.abilist: Remove.
14013 * abilist/libcrypt.abilist: Remove.
14014 * abilist/libdl.abilist: Remove.
14015 * abilist/librt.abilist: Remove.
14016 * abilist/libthread_db.abilist: Remove.
14017 * abilist/libutil.abilist: Remove.
14018 * scripts/extract-abilist.awk: Remove.
14019 * scripts/merge-abilist.awk: Remove.
14020 * sysdeps/generic/libcidn.abilist: New file.
14021 * sysdeps/generic/libnss_compat.abilist: New file.
14022 * sysdeps/generic/libnss_db.abilist: New file.
14023 * sysdeps/generic/libnss_dns.abilist: New file.
14024 * sysdeps/generic/libnss_files.abilist: New file.
14025 * sysdeps/generic/libnss_hesiod.abilist: New file.
14026 * sysdeps/generic/libnss_nis.abilist: New file.
14027 * sysdeps/generic/libnss_nisplus.abilist: New file.
14028 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14029 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14030 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14031 file.
14032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14033 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14034 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14035 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14036 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14037 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14038 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14039 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14040 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14041 file.
14042 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14043 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14044 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14045 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14046 file.
14047 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14048 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14049 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14050 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14051 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14052 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14053 file.
14054 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14055 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14056 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14057 file.
14058 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14060 New file.
14061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14062 New file.
14063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14064 New file.
14065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14066 New file.
14067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14068 New file.
14069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14070 New file.
14071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14072 New file.
14073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14074 New file.
14075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14076 New file.
14077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14078 New file.
14079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14080 New file.
14081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14082 New file.
14083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14084 New file.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14086 file.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14088 New file.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14090 New file.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14092 file.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14094 New file.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14096 New file.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14098 file.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14100 New file.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14102 New file.
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14104 New file.
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14106 New file.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14108 New file.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14110 New file.
14111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14113 file.
14114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14115 New file.
14116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14117 file.
14118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14119 file.
14120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14121 file.
14122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14123 file.
14124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14125 file.
14126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14127 New file.
14128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14129 file.
14130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14131 file.
14132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14133 New file.
14134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14135 file.
14136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14138 file.
14139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14140 New file.
14141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14142 file.
14143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14144 file.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14146 file.
14147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14148 file.
14149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14150 file.
14151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14152 New file.
14153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14154 file.
14155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14156 file.
14157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14158 New file.
14159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14160 file.
14161 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14162 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14163 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14164 file.
14165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14166 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14167 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14168 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14169 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14170 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14171 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14172 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14173 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14174 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14177 file.
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14179 New file.
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14181 file.
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14183 file.
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14185 file.
14186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14187 file.
14188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14189 file.
14190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14191 New file.
14192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14193 New file.
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14195 file.
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14197 New file.
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14199 file.
14200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14202 file.
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14204 New file.
14205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14206 file.
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14208 file.
14209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14210 file.
14211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14212 file.
14213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14214 file.
14215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14216 New file.
14217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14218 New file.
14219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14220 file.
14221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14222 New file.
14223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14224 file.
14225
142262012-04-28 Joseph Myers <joseph@codesourcery.com>
14227
14228 * conform/conformtest.pl: Fix typo in handling typed-constant from
14229 allow-header.
14230
142312012-04-27 Joseph Myers <joseph@codesourcery.com>
14232
14233 * README: Cut down references to pre-2.6 Linux kernels and
14234 Linuxthreads. Update lists of configurations in libc and ports
14235 and sort alphabetically. Say "or newer" with Linux kernel version
14236 requirements.
14237
14238 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14239
142402012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14241
14242 [BZ #887]
14243 * math/libm-test.inc (logb_test_downward): New test to expose
14244 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14245 rounding mode.
14246
142472012-04-27 Joseph Myers <joseph@codesourcery.com>
14248
14249 [BZ #14027]
14250 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14251 to be done.
14252 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14253 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14254
142552012-04-26 Joseph Myers <joseph@codesourcery.com>
14256
14257 * sysdeps/unix/i386/brk.S: Remove file.
14258 * sysdeps/unix/i386/dl-brk.S: Likewise.
14259 * sysdeps/unix/i386/pipe.S: Likewise.
14260 * sysdeps/unix/i386/sigreturn.S: Likewise.
14261 * sysdeps/unix/i386/syscall.S: Likewise.
14262 * sysdeps/unix/i386/vfork.S: Likewise.
14263 * sysdeps/unix/i386/wait.S: Likewise.
14264
14265 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14266 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14267
14268 * configure.in (arm*-none*): Do not allow without
14269 --enable-hacker-mode.
14270 (netbsd*): Remove case setting base_os.
14271 (386bsd*): Likewise.
14272 (freebsd*): Likewise.
14273 (bsdi*): Likewise.
14274 (osf*): Likewise.
14275 (sunos*): Likewise.
14276 (ultrix*): Likewise.
14277 (newsos*): Likewise.
14278 (dynix*): Likewise.
14279 (*bsd*): Likewise.
14280 (sysv*): Likewise.
14281 (isc*): Likewise.
14282 (esix*): Likewise.
14283 (sco*): Likewise.
14284 (minix*): Likewise.
14285 (irix4*): Likewise.
14286 (irix6*): Likewise.
14287 (solaris[2-9]*): Likewise.
14288 (none): Likewise.
14289 * configure: Regenerated.
14290
142912012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14292
14293 [BZ #11521]
14294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14295 overflow or cancellation in calculating denominator.
14296 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14298 down expression to avoid unexpected rounding in newer GCCs.
14299 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14300
143012012-04-26 David S. Miller <davem@davemloft.net>
14302
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14304 long-double compat symbols.
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14318
143192012-04-25 David S. Miller <davem@davemloft.net>
14320
14321 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14322 HWCAP_* values only after the memory barriers have been defined.
14323 (atomic_full_barrier): Define.
14324 (atomic_read_barrier): Define.
14325 (atomic_write_barrier): Define.
14326
143272012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14328
14329 * shlib-versions: Add libgcc_s version information.
14330 * sysdeps/generic/libgcc_s.h: Remove.
14331 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14332 libgcc_s.h.
14333 * sysdeps/gnu/unwind-resume.c: Likewise.
14334 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14335
143362012-04-25 David S. Miller <davem@davemloft.net>
14337
14338 * sysdeps/unix/sparc/brk.S: Delete.
14339 * sysdeps/unix/sparc/dl-brk.S: Delete.
14340 * sysdeps/unix/sparc/pipe.S: Delete.
14341 * sysdeps/unix/sparc/sysdep.S: Delete.
14342 * sysdeps/unix/sparc/sysdep.h: Delete.
14343 * sysdeps/unix/sparc/vfork.S: Delete.
14344 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14345 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14346 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14347 ret_ERRVAL, r0, r1, MOVE): Define.
14348 (JUMPTARGET): Remove.
14349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14350 sysdeps/unix/sparc/sysdep.h
14351 (ENTRY, END): Remove.
14352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14353
143542012-04-25 Joseph Myers <joseph@codesourcery.com>
14355
14356 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14357 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14358 -DIS_IN_build.
14359
14360 * timezone/README: Update upstream location and email address for
14361 tzcode and tzdata.
14362 * timezone/zdump.c: Update from tzcode 2012b.
14363 * timezone/zic.c: Likewise.
14364
14365 * configure.in (libc_cv_as_needed): Remove test.
14366 * configure: Regenerated.
14367 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14368 conditional definition.
14369 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14370 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14371 * config.make.in (have-as-needed): Remove variable.
14372
143732012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14374 Paul Pluzhnikov <ppluzhnikov@google.com>
14375
14376 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14377 strings correctly.
14378
143792012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14380
14381 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14382 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14383 * sysdeps/sh/strlen.S: Likewise.
14384
143852012-04-24 Joseph Myers <joseph@codesourcery.com>
14386
14387 * sysdeps/unix/fork.S: Remove file.
14388 * sysdeps/unix/i386/fork.S: Likewise.
14389 * sysdeps/unix/sparc/fork.S: Likewise.
14390
14391 * sysdeps/unix/system.c: Remove file.
14392 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14393
14394 * sysdeps/unix/getegid.S: Remove file.
14395 * sysdeps/unix/geteuid.S: Likewise.
14396
143972012-04-24 Roland McGrath <roland@hack.frob.com>
14398
14399 * scripts/check-localplt.awk: New file.
14400 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14401 of diff.
14402 * scripts/data/localplt-generic.data: Add a comment.
14403
14404 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14405 NODE when __dir_mkfile failed.
14406 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14407 Reported by Ludovic Courtès <ludo@gnu.org>.
14408
144092012-04-24 Andreas Jaeger <aj@suse.de>
14410
14411 * Makerules (common-clean): Also remove gen-as-const-headers
14412 files.
14413
144142012-04-24 Joseph Myers <joseph@codesourcery.com>
14415
14416 * Makerules (native-compile): Do not change working directory for
14417 build. Use $(OUTPUT_OPTION) in command.
14418 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14419
144202012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14421
14422 [BZ #13886]
14423 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14424 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14425 * math/libm-test.inc (floor_test): Add more tests.
14426 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14427
144282012-04-24 Joseph Myers <joseph@codesourcery.com>
14429
14430 * sysdeps/unix/getdents.c: Remove file.
14431 * sysdeps/unix/sysv/getdents.c: Likewise.
14432 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14433
14434 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14435 sysdeps/unix/mman/syscalls.list.
14436 (mmap): Likewise.
14437 (mprotect): Likewise.
14438 (msync): Likewise.
14439 (munmap): Likewise.
14440 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14441 * sysdeps/unix/mman/syscalls.list: Remove.
14442 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14443
14444 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14445 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14446 * configure: Regenerated.
14447 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14448 $(libgcc_s_suffix).
14449 * config.make.in (libgcc_s_suffix): Remove variable.
14450
144512012-04-23 Joseph Myers <joseph@codesourcery.com>
14452
14453 * sysdeps/unix/sysv/gethostname.c: Move to ...
14454 * sysdeps/posix/gethostname.c: ... here.
14455
14456 * sysdeps/unix/execve.S: Remove file.
14457
14458 * sysdeps/unix/_exit.S: Remove file.
14459
144602012-04-23 Andreas Jaeger <aj@suse.de>
14461
14462 [BZ #13739]
14463 * manual/Makefile: Remove make dist support, there's no
14464 need for a stand-alone documentation tar ball.
14465 (TEXI2DVI): Define always, it's not in Makeconfig.
14466 (dist): Removed.
14467 (tar-it): Removed.
14468 (edition): Removed.
14469 (glibc-doc-$(edition).tar): Removed
14470 (%.Z): Removed.
14471 (%.gz): Removed.
14472 (%.uu): Removed.
14473 (ETAGS): Remove, it's in Makeconfig.
14474 (move-if-change): Remove, it's in Makeconfig.
14475
144762012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14477
14478 [BZ #13970]
14479 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14480 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14481 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14482 (strtod_l, strtof_l, strtold_l): Remove __wur.
14483 It is not necessarily an error to ignore strtol's return value.
14484 One can reliably look at the stored endptr to decide whether
14485 the number had valid syntax.
14486
144872012-04-21 Andreas Jaeger <aj@suse.de>
14488
14489 [BZ #13739]
14490 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14491
144922012-04-21 Joseph Myers <joseph@codesourcery.com>
14493
14494 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14495 * sysdeps/unix/sysv/Versions: Remove file.
14496
144972012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14498
14499 [BZ #13927]
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14501
145022012-04-21 Nick Alcock <nick.alcock@oracle.com>
14503
14504 [BZ #7064]
14505 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14506 version from __vm86.
14507
145082012-04-20 Joseph Myers <joseph@codesourcery.com>
14509
14510 * sysdeps/unix/common/lxstat.c: Remove file.
14511 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14512
14513 * sysdeps/unix/sysv/Makefile: Remove file.
14514
14515 * sysdeps/unix/sysv/direct.h: Remove file.
14516
14517 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14518 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14519 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14520 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14521 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14522 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14523 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14524
14525 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14526
14527 * sysdeps/unix/xmknod.c: Remove file.
14528 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14529
14530 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14531
14532 * sysdeps/unix/sysv/i386/time.S: Remove file.
14533
14534 * sysdeps/unix/fxstat.c: Remove file.
14535 * sysdeps/unix/xstat.c: Likewise.
14536 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14537
14538 * sysdeps/unix/sysv/sigaction.c: Remove file.
14539
14540 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14541 (sysdep_headers): Remove variable.
14542 [termio.h not in sysdep_headers] (generated): Likewise.
14543 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14544 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14545 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14546 * sysdeps/unix/sysv/tcflow.c: Likewise.
14547 * sysdeps/unix/sysv/tcflush.c: Likewise.
14548 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14549 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14550 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14551 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14552 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14553
14554 * sysdeps/unix/siglist.c: Remove file.
14555
14556 * sysdeps/unix/getppid.S: Remove file.
14557
14558 * sysdeps/unix/mkdir.c: Remove file.
14559 * sysdeps/unix/rmdir.c: Likewise.
14560
145612012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14562
14563 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14564 ERR_MAX value.
14565 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14566 errlist-compat value.
14567
145682012-04-18 David S. Miller <davem@davemloft.net>
14569
14570 * sysdeps/generic/memcopy.h (reg_char): Delete.
14571 * debug/strcat_chk.c: Use char, not reg_char.
14572 * debug/strcpy_chk.c: Likewise.
14573 * debug/strncat_chk.c: Likewise.
14574 * debug/strncpy_chk.c: Likewise.
14575 * string/memchr.c: Likewise.
14576 * string/memrchr.c: Likewise.
14577 * string/rawmemchr.c: Likewise.
14578 * string/strcat.c: Likewise.
14579 * string/strchr.c: Likewise.
14580 * string/strchrnul.c: Likewise.
14581 * string/strcmp.c: Likewise.
14582 * string/strcpy.c: Likewise.
14583 * string/strncat.c: Likewise.
14584 * string/strncmp.c: Likewise.
14585 * string/strncpy.c: Likewise.
14586
145872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14588
14589 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14590 __builtin_memcopy is called when src and dest ranges are known to not
14591 overlap.
14592
145932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14594
14595 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14596 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14597 fwd_align_merge macro call.
14598 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14599 bwd_align_merge macro call.
14600 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14601
146022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14603
14604 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14605 bwd_align_merge macros.
14606 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14607 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14608 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14609
146102012-04-18 David S. Miller <davem@davemloft.net>
14611
14612 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14613
146142012-04-18 Andreas Jaeger <aj@suse.de>
14615
14616 [BZ# 6794]
14617 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14618 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14619 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14620
14621 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14622 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14623 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14624
14625 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14626 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14627 Adjust for changed ldbl-128 files.
14628
14629 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14630 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14631 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14632
146332012-04-17 David S. Miller <davem@davemloft.net>
14634
14635 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14636
146372012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14638
14639 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14640 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14641 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14642 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14643 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14644 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14645
146462012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14647
14648 [BZ #6794]
14649 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14650 * math/libm-test.inc: Add ilogb errno and exception tests.
14651 * math/w_ilogb.c: New file: ilogb wrapper.
14652 * math/w_ilogbf.c: New file: ilogbf wrapper.
14653 * math/w_ilogbl.c: New file: ilogbl wrapper.
14654 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14655 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14656 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14657 exception being thrown with 0.0 as argument.
14658 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14659 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14660 exception being thrown with 0.0 as argument.
14661 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14662 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14663 exception being thrown with 0.0 as argument.
14664 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14665 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14666 exception being thrown with 0.0 as argument.
14667 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14668 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14669 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14670 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14671 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14672 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14673 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14674 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14675 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14676
146772012-04-17 Petr Baudis <pasky@ucw.cz>
14678
14679 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14680 with altivec.
14681
146822012-04-16 Marek Polacek <polacek@redhat.com>
14683
14684 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14685
146862012-04-16 Marek Polacek <polacek@redhat.com>
14687
14688 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14689 operands of fdivp instruction.
14690
146912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14692
14693 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14694 * elf/tst-auditmod3b.c: Likewise.
14695 * elf/tst-auditmod4b.c: Likewise.
14696 * elf/tst-auditmod5b.c: Likewise.
14697 * elf/tst-auditmod6b.c: Likewise.
14698 * elf/tst-auditmod6c.c: Likewise.
14699 * elf/tst-auditmod7b.c: Likewise.
14700 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14701 * sysdeps/x86_64/preconfigure.in: Likewise.
14702 * sysdeps/x86_64/preconfigure: Regenerated.
14703
147042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14705
14706 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14707 __ILP32__.
14708
147092012-04-13 Antoine Balestrat <merkil33@gmail.com>
14710
14711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14712 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14713
147142012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14715
14716 [BZ #13973]
14717 * locale/iso-639.def: Fix gl language name. Spotted by
14718 Yaron Shahrabani.
14719
147202012-04-12 Roland McGrath <roland@hack.frob.com>
14721
14722 [BZ #2074]
14723 * libio/libio.h (__io_write_fn): Update comment.
14724
147252012-04-12 Petr Baudis <pasky@ucw.cz>
14726
14727 [BZ #2074]
14728 * stdio.texi (Hook Functions): The user provided writer function
14729 is not allowed to return -1.
14730
147312012-04-11 David S. Miller <davem@davemloft.net>
14732
14733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14734
147352012-04-11 Mike Frysinger <vapier@gentoo.org>
14736
14737 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14738 Add a leading slash to rtkaio.
14739
147402012-04-11 Jim Meyering <meyering@redhat.com>
14741
14742 [BZ #11959]
14743 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14744 It is not necessarily an error to ignore fwrite's return
14745 value. One can reliably use ferror to test for errors after
14746 the fact.
14747
147482012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14749
14750 * bits/types.h (__snseconds_t): New type.
14751 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14752
14753 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14755 (__SNSECONDS_T_TYPE): Likewise.
14756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14757 (__SNSECONDS_T_TYPE): Likewise.
14758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14759 (__SNSECONDS_T_TYPE): Likewise.
14760
147612012-04-10 Andreas Jaeger <aj@suse.de>
14762
14763 [BZ #2636]
14764 * manual/time.texi (Processor Time): Return type of times is
14765 elapsed real time since an arbitrary point in the past.
14766 (CPU Time): Move CLK_TCK from here...
14767 (Processor Time): ...to here. Correct description.
14768 * manual/conf.texi (Constants for Sysconf): Correct description of
14769 _SC_CLK_TCK.
14770
147712012-04-10 David S. Miller <davem@davemloft.net>
14772
14773 [BZ #13967]
14774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14775 where the is a gap between DT_REL(A) and DT_JMPREL.
14776
147772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14778
14779 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14780 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14781 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14782
147832012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14784
14785 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14786 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14787 (dl_main): Handle --inhibit-cache.
14788 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14789 _dl_inhibit_cache.
14790 * elf/dl-load.c (_dl_map_object): Use it.
14791 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14792
147932012-04-09 Joseph Myers <joseph@codesourcery.com>
14794
14795 [BZ #13872]
14796 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14797 (__ieee754_powl): Saturate large exponents rather than testing for
14798 overflow of y*log2(x).
14799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14800 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14801 exceptions.
14802
14803 [BZ #11521]
14804 * math/s_ctan.c: Include <float.h>.
14805 (__ctan): Avoid internal overflow or cancellation in calculating
14806 denominator.
14807 * math/s_ctanf.c: Likewise.
14808 * math/s_ctanl.c: Likewise.
14809 * math/s_ctanh.c: Likewise.
14810 * math/s_ctanhf.c: Likewise.
14811 * math/s_ctanhl.c: Likewise.
14812 * math/libm-test.inc (ctan_test): Add more tests.
14813 (ctanh_test): Likewise.
14814 * sysdeps/i386/fpu/libm-test-ulps: Update.
14815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14816
148172012-04-09 Andreas Jaeger <aj@suse.de>
14818
14819 [BZ #6894]
14820 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14821 is an optional BSD extension.
14822
14823 [BZ #10254]
14824 * manual/stdio.texi (Opening Streams): Document additional fopen
14825 parameters.
14826
148272012-04-09 Roland McGrath <roland@hack.frob.com>
14828
14829 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14830 %eax without telling the compiler.
14831
148322012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14833
14834 [BZ # 13963]
14835 * manual/install.texi: Use sourceware.org.
14836
148372012-04-09 Joseph Myers <joseph@codesourcery.com>
14838
14839 [BZ #13873]
14840 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14841 (__ieee754_pow): Generate overflow and underflow using huge*huge
14842 and tiny*tiny rather than just returning constant infinity or zero
14843 for large exponents.
14844 * math/libm-test.inc (pow_test): Require overflow exceptions for
14845 applicable cases of large exponents.
14846
14847 [BZ #706]
14848 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14849 (__ieee754_pow): Use iterative multiplication algorithm only for
14850 integer exponents with absolute value below 1024. Check for odd
14851 integer exponents when using algorithm for real exponents.
14852 * math/libm-test.inc (pow_test): Add more tests.
14853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14854
148552012-04-08 Joseph Myers <joseph@codesourcery.com>
14856
14857 [BZ #13705]
14858 * math/libm-test.inc (exp_test): Do not allow overflow exception
14859 on underflow test.
14860
148612012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14862
14863 [BZ #13705]
14864 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14865 instead of __kernel_standard_f.
14866
148672012-04-08 Mike Frysinger <vapier@gentoo.org>
14868
14869 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14870 * sysdeps/x86_64/memset_chk.S: Likewise.
14871
148722012-04-08 Andreas Jaeger <aj@suse.de>
14873
14874 [BZ #10153]
14875 * manual/startup.texi (Environment Access): Describe return value
14876 for putenv and setenv.
14877
14878 [BZ #6895]
14879 * manual/filesys.texi (Directory Entries): Add description for
14880 DT_LNK.
14881
14882 [BZ #6890]
14883 * manual/filesys.texi (Directory Entries): Clarify that it's file
14884 system not operating system in the description of DT_UNKNOWN.
14885
14886 [BZ #6578]
14887 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14888
148892012-04-08 Stephen Compall <s11@member.fsf.org>
14890
14891 [BZ #6649]
14892 * manual/llio.texi (Opening and Closing Files): Add cross
14893 reference to explain mode argument.
14894
148952012-04-07 Mike Frysinger <vapier@gentoo.org>
14896
14897 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14898 * sysdeps/x86_64/memset_chk.S: Likewise.
14899
149002012-04-07 David S. Miller <davem@davemloft.net>
14901
14902 * elf/elf.h (R_SPARC_WDISP10): Define.
14903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14904 R_SPARC_SIZE32.
14905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14906 R_SPARC_SIZE64 and R_SPARC_H34.
14907
149082012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14909
14910 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14911 conditions and remove no longer applicable assertion.
14912
149132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14914
14915 * bits/byteswap.h: Include <features.h>.
14916 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14917 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14918
149192012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14920
14921 * bits/byteswap.h (__bswap_16): Removed.
14922 Include <bits/byteswap-16.h> to get __bswap_16.
14923 * sysdeps/i386/bits/byteswap.h: Likewise.
14924 * sysdeps/s390/bits/byteswap.h: Likewise.
14925 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14926 * bits/byteswap-16.h: New file.
14927 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14928 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14929 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14930 * string/Makefile (headers): Add bits/byteswap-16.h.
14931
149322012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14933
14934 [BZ #13895]
14935 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14936 extra indirection.
14937 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14938 * nss/tst-nss-static.c: New.
14939
149402012-04-06 Robert Millan <rmh@gnu.org>
14941
14942 [BZ #6486]
14943 * manual/llio.texi (File Position Primitive): lseek
14944 refers to WHENCE when it really means OFFSET.
14945
149462012-04-06 Andreas Jaeger <aj@suse.de>
14947
14948 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14949 strncmp declarations.
14950
14951 * abilist/libc.abilist: Add __poll and __ppoll.
14952
149532012-04-05 David S. Miller <davem@davemloft.net>
14954
14955 * scripts/check-local-headers.sh: Accept a host triplet in the
14956 path matched by the exclude regexp.
14957
14958 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14959 definition.
14960 * sysdeps/powerpc/powerpc32/dl-machine.h
14961 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14962 * sysdeps/s390/s390-32/dl-machine.h
14963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14964 * sysdeps/sparc/sparc32/dl-machine.h
14965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14966 * sysdeps/sparc/sparc64/dl-machine.h
14967 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14968
14969 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14970 lazy binding.
14971 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14972 undefined symbol errors.
14973
14974 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14975 DT_NEEDED entries.
14976
149772012-04-05 Michael Matz <matz@suse.de>
14978
14979 [BZ #13592]
14980 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14981
149822012-04-05 Andreas Jaeger <aj@suse.de>
14983
14984 [BZ #13908]
14985 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14986 comment.
14987
149882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14989
14990 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14991 which ROUND is no valid rounding mode.
14992
149932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14994
14995 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14996 read again.
14997 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14998
149992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15000
15001 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15002 an exception using FPU order intentionally.
15003
150042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15005
15006 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15007 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15008 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15009 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15010
150112012-04-05 Simon Josefsson <simon@josefsson.org>
15012
15013 [BZ #12340]
15014 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15015 EINVAL when BUFLEN is too smal.
15016
150172012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15018
15019 [BZ #13553]
15020 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15021 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15022
150232012-04-03 Andreas Jaeger <aj@suse.de>
15024
15025 [BZ #13938]
15026 * manual/setjmp.texi (System V contexts): Fix sentence.
15027
15028 [BZ #13926]
15029 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15030 New macro for this case.
15031 [!__GNUC__] (__bswap_64): New inline function for this case.
15032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15033 * bits/byteswap.h: Likewise.
15034 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15035 ull, guard with __GLIBC_HAVE_LONG_LONG.
15036
15037 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15038 __GLIBC_HAVE_LONG_LONG.
15039
15040 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15041 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15042
150432012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15044
15045 [BZ #13691]
15046 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15047 inptr and inend, rather than using last_ch.
15048
150492012-04-02 David S. Miller <davem@davemloft.net>
15050
15051 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15052 * stdio-common/printf-parse.h (read_int): Change return type to
15053 'int', return -1 on INT_MAX overflow.
15054 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15055 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15056 overflows INT_MAX. Check for overflow of in-format-string precision
15057 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15058 SIZE_MAX not INT_MAX for integer overflow test.
15059 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15060 skip the construct in the format string but do not record anything.
15061 * stdio-common/bug22.c: Adjust to test both width/prevision
15062 INT_MAX overflow as well as total length INT_MAX overflow. Check
15063 explicitly for proper errno values.
15064
150652012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15066
15067 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15068 CHAR_MAX.
15069 * string/test-strcmp.c [! WIDE]: Likewise.
15070 * time/tst-mktime2.c: Likewise for INT_MAX.
15071 * string/test-string.h: #include <sys/param.h> for MIN.
15072
15073 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15074 * sysdeps/i386/init-first.c (init): Likewise.
15075 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15076 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15077 * sysdeps/sh/init-first.c (init): Likewise.
15078
150792012-04-01 Ulrich Drepper <drepper@gmail.com>
15080
15081 * po/ru.po: Update from translation team.
15082 * po/vi.po: Likewise.
15083
150842012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15085
15086 * resolv/nss_dns/dns-host.c: Merge copyright years.
15087
150882012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15089
15090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15091 Optimize memcpy with prefetch if
15092 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15093 src, dst pointers have unequal 16 byte alignments.
15094
150952012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15096
15097 [BZ #13928]
15098 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15099 from a CNAME entry and return the minimum ttl for the query.
15100 (gaih_getanswer_slice): Likewise.
15101
151022012-03-30 Jeff Law <law@redhat.com>
15103
15104 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15105 due to long keys.
15106 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15107 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15108
15109 * resolv/nss_dns/dns-host.c: Update copyright year.
15110
151112012-03-30 Ulrich Drepper <drepper@gmail.com>
15112
15113 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15114 requests to save a system call. Fix check that all bytes are sent.
15115
15116 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15117 comments for sendmmsg.
15118
151192012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15120
15121 [BZ #13691]
15122 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15123 with only 1 character between 0x0041 and 0x01b0.
15124 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15125 * wcsmbs/tst-mbsnrtowcs.c: New file.
15126
151272012-03-29 David S. Miller <davem@davemloft.net>
15128
15129 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15130 small copies by hand.
15131
151322012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15133
15134 [BZ #13761]
15135 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15136 _nss_compat_initgroups_dyn): Fall back to malloc/free
15137 for large group memberships.
15138
151392012-03-28 David S. Miller <davem@davemloft.net>
15140
15141 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15142 that branches into memcpy.
15143 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15146 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15148 bits.
15149 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15150 implementation too.
15151 * sysdeps/sparc/mempcpy.S: New file.
15152
15153 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15154 the IFUNC routine in the libc case.
15155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15156
15157 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15158 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15159 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15160 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15161 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15162 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15163 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15164 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15165
15166 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15167 loop to 256 bytes instead of 64 bytes and fix test signedness.
15168
15169 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15170 * sysdeps/sparc/sparc32/Makefile: rather than here...
15171 * sysdeps/sparc/sparc64/Makefile: and here.
15172
151732012-03-28 Ulrich Drepper <drepper@gmail.com>
15174
15175 * malloc/mallocbug.c: Avoid warnings about unused variables.
15176
151772012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15178
15179 [BZ #13760]
15180 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15181 in the right place. Discard and retry query if response is
15182 larger than input buffer size.
15183
151842012-03-28 Joseph Myers <joseph@codesourcery.com>
15185
15186 [BZ #369]
15187 [BZ #2678]
15188 [BZ #3866]
15189 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15190 x for large integer exponent.
15191 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15192 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15193 sign of result as needed afterwards.
15194 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15195 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15196 result for underflowing pow the same as for overflow.
15197 (__kernel_standard_l): Handle powl overflow and underflow here
15198 rather than calling __kernel_standard.
15199 * math/libm-test.inc (pow_test): Add more tests.
15200
15201 [BZ #3868]
15202 [BZ #13879]
15203 [BZ #13910]
15204 [BZ #13911]
15205 [BZ #13912]
15206 [BZ #13913]
15207 [BZ #13915]
15208 [BZ #13916]
15209 [BZ #13917]
15210 [BZ #13918]
15211 [BZ #13919]
15212 [BZ #13920]
15213 [BZ #13921]
15214 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15215 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15216 (__kernel_standard_l): New function.
15217 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15218 __kernel_standard.
15219 * math/w_acosl.c (__acosl): Likewise.
15220 * math/w_asinl.c (__asinl): Likewise.
15221 * math/w_atan2l.c (__atan2l): Likewise.
15222 * math/w_atanhl.c (__atanhl): Likewise.
15223 * math/w_coshl.c (__coshl): Likewise.
15224 * math/w_exp10l.c (__exp10l): Likewise.
15225 * math/w_exp2l.c (__exp2l): Likewise.
15226 * math/w_fmodl.c (__fmodl): Likewise.
15227 * math/w_hypotl.c (__hypotl): Likewise.
15228 * math/w_j0l.c (__j0l, __y0l): Likewise.
15229 * math/w_j1l.c (__j1l, __y1l): Likewise.
15230 * math/w_jnl.c (__jnl, __ynl): Likewise.
15231 * math/w_lgammal.c (__lgammal): Likewise.
15232 * math/w_log10l.c (__log10l): Likewise.
15233 * math/w_log2l.c (__log2l): Likewise.
15234 * math/w_logl.c (__logl): Likewise.
15235 * math/w_powl.c (__powl): Likewise.
15236 * math/w_remainderl.c (__remainderl): Likewise.
15237 * math/w_scalbl.c (sysv_scalbl): Likewise.
15238 * math/w_sinhl.c (__sinhl): Likewise.
15239 * math/w_sqrtl.c (__sqrtl): Likewise.
15240 * math/w_tgammal.c (__tgammal): Likewise.
15241 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15242 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15243 * math/libm-test.inc (acos_test): Add more tests.
15244 (acosh_test): Likewise.
15245 (asin_test): Likewise.
15246 (atanh_test): Likewise.
15247 (exp_test): Likewise.
15248 (exp10_test): Likewise.
15249 (exp2_test): Likewise.
15250 (expm1_test): Likewise.
15251 (lgamma_test): Likewise.
15252 (log_test): Likewise.
15253 (log10_test): Likewise.
15254 (log1p_test): Likewise.
15255 (log2_test): Likewise.
15256 (pow_test): Do not allow some spurious overflow exceptions.
15257 (sqrt_test): Add more tests.
15258 (tgamma_test): Likewise.
15259 (y0_test): Likewise.
15260 (y1_test): Likewise.
15261 (yn_test): Likewise.
15262
152632012-03-27 Anton Blanchard <anton@samba.org>
15264
15265 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15266 MAP_HUGETLB.
15267 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15268 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15269 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15270
152712012-03-27 David S. Miller <davem@davemloft.net>
15272
15273 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15274
15275 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15276 have-as-vis3 check.
15277
152782012-03-27 Andreas Jaeger <aj@suse.de>
15279
15280 * sysdeps/x86_64/elf/configure.in: Moved to ...
15281 * sysdeps/x86_64/configure.in: ... here.
15282 * sysdeps/x86_64/elf/start.S: Moved to ...
15283 * sysdeps/x86_64/start.S: ... here.
15284 * sysdeps/x86_64/elf/configure: Delete.
15285
15286 * sysdeps/x86_64/configure.in: Merge contents from
15287 sysdeps/i386/configure.in (without i686 check).
15288
15289 * sysdeps/i386/elf/Versions: Merge into ...
15290 * sysdeps/i386/Versions: ... this.
15291 * sysdeps/i386/elf/Versions: Delete file.
15292 * sysdeps/i386/elf/start.S: Moved to ...
15293 * sysdeps/i386/start.S: ...here.
15294 * sysdeps/i386/elf/configure.in: Merge into...
15295 * sysdeps/i386/configure.in: ...here.
15296 * sysdeps/i386/elf/configure.in: Delete file.
15297 * sysdeps/i386/elf/configure: Delete file.
15298
15299 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15300 * debug/backtracesyms.c: ... here.
15301 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15302 * debug/backtracesymsfd.c: ... here.
15303 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15304 * sysdeps/generic/ifunc-sel.h: ... here.
15305
15306 * sysdeps/unix/i386/start.c: Delete file.
15307 * sysdeps/unix/sparc/start.c: Delete file.
15308 * sysdeps/unix/start.c: Delete file.
15309
15310 * sysdeps/sh/elf/configure.in: Moved to ...
15311 * sysdeps/sh/configure.in: ... here.
15312 * sysdeps/sh/elf/start.S: Moved to ...
15313 * sysdeps/sh/start.S: ... here.
15314 * sysdeps/sh/elf/configure: Delete file.
15315
15316 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15317 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15318 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15319 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15320 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15321 * sysdeps/powerpc/powerpc64/start.S: here.
15322 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15323 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15324 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15325 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15326 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15327
15328 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15329 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15330 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15331 * sysdeps/powerpc/powerpc32/start.S: ... here.
15332 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15333 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15334 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15335
15336 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15337 * sysdeps/powerpc/ifunc-sel.h: ... here.
15338 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15339 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15340
15341 * sysdeps/sparc/elf/configure.in: Moved to ...
15342 * sysdeps/sparc/configure.in: ... here.
15343 * sysdeps/sparc/elf/configure: Delete file.
15344 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15345 * sysdeps/sparc/sparc32/start.S: ... here.
15346 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15347 * sysdeps/sparc/sparc64/start.S: ... here.
15348 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15349 * sysdeps/sparc/sparc32/Makefile: ... this.
15350 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15351 * sysdeps/sparc/sparc64/Makefile: ... this.
15352
15353 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15354 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15355 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15356 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15357 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15358 * sysdeps/s390/s390-32/setjmp.S: ... here.
15359 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15360 * sysdeps/s390/s390-32/configure.in: ... here.
15361 * sysdeps/s390/s390-32/elf/configure: Delete file.
15362 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15363 * sysdeps/s390/s390-32/start.S: ... here.
15364
15365 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15366 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15367 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15368 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15369 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15370 * sysdeps/s390/s390-64/setjmp.S: ... here.
15371 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15372 * sysdeps/s390/s390-64/configure.in: ... here
15373 * sysdeps/s390/s390-64/elf/configure: Delete file.
15374 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15375 * sysdeps/s390/s390-64/start.S: ... here.
15376 * sysdeps/s390/s390-64/elf/configure: Delete.
15377
15378 * configure.in: Remove support for elf directories in sysdeps.
15379
15380 * configure: Regenerated.
15381 * sysdeps/i386/configure: Regenerated.
15382 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15383 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15384 * sysdeps/s390/s390-32/configure: Regenerated.
15385 * sysdeps/s390/s390-64/configure: Regenerated.
15386 * sysdeps/sh/configure: Regenerated.
15387 * sysdeps/sparc/configure: Regenerated.
15388 * sysdeps/x86_64/configure: Regenerated.
15389
153902012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15391
15392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15393
15394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15395 denormal result into account.
15396
153972012-03-25 Roland McGrath <roland@hack.frob.com>
15398
15399 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15400 Reported by Allan McRae <allan@archlinux.org>.
15401
154022012-03-23 Jeff Law <law@redhat.com>
15403
15404 * nss/getnssent.c (__nss_getent): Fix typo.
15405
154062012-03-23 David S. Miller <davem@davemloft.net>
15407
15408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15409
154102012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15411
15412 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15413 to pad to uint64_t for each field.
15414 (dl_tls_index): Replace unsigned long with uint64_t.
15415
154162012-03-23 Daniel Jacobowitz <dmj@google.com>
15417 Paul Pluzhnikov <ppluzhnikov@google.com>
15418
15419 [BZ #6528]
15420 * grp/Makefile (otherlibs): Don't set it.
15421 * inet/Makefile (otherlibs): Likewise.
15422 * login/Makefile (otherlibs): Likewise.
15423 * nscd/Makefile (otherlibs): Likewise.
15424 * posix/Makefile (otherlibs): Likewise.
15425 * pwd/Makefile (otherlibs): Likewise.
15426 * rt/Makefile (otherlibs): Likewise.
15427 * sunrpc/Makefile (otherlibs): Likewise.
15428 * nss/Makefile (otherlibs): Likewise.
15429 Add libnss_files to routines and static-only-routines.
15430 ($(objpfx)getent): Remove rule.
15431 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15432 static-only-routines.
15433
154342012-03-22 Joseph Myers <joseph@codesourcery.com>
15435
15436 [BZ #13892]
15437 * math/s_cexp.c: Include <float.h>.
15438 (__cexp): Handle exp result overflowing not necessarily
15439 overflowing both real and imaginary parts of result.
15440 * math/s_cexpf.c: Likewise.
15441 * math/s_cexpl.c: Likewise.
15442 * math/libm-test.inc (cexp_test): Add more tests.
15443 * sysdeps/i386/fpu/libm-test-ulps: Update.
15444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15445
154462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15447
15448 * include/link.h (ELFW): New macro.
15449 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15450 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15451
154522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15453
15454 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15455 with uint64_t.
15456
154572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15458
15459 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15460 declaration.
15461 (struct La_x32_retval): Likewise.
15462
154632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15464
15465 * sysdeps/x86_64/preconfigure.in: New file.
15466 * sysdeps/x86_64/preconfigure: New generated file.
15467
154682012-03-22 Joseph Myers <joseph@codesourcery.com>
15469
15470 [BZ #13824]
15471 * math/e_exp2l.c: Include <float.h>.
15472 (__ieee754_exp2l): Handle overflow and underflow cases
15473 separately. Only pass fractional part of argument to
15474 __ieee754_expl.
15475 * math/libm-test.inc (exp2_test): Add more tests.
15476
15477 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15478 negating x to take absolute value.
15479 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15480 Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15483 Likewise.
15484 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15485 computing low part if x was negated.
15486 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15487
154882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15489
15490 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15491 la_x32_gnu_pltexit.
15492 (pltexit): Cast int_retval to ptrdiff_t.
15493 * elf/tst-auditmod3b.c: Likewise.
15494 * elf/tst-auditmod4b.c: Likewise.
15495 * elf/tst-auditmod5b.c: Likewise.
15496 * elf/tst-auditmod6b.c: Likewise.
15497 * elf/tst-auditmod6c.c: Likewise.
15498 * elf/tst-auditmod7b.c: Likewise.
15499
15500 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15501 and x32_gnu_pltexit.
15502
15503 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15504 __ELF_NATIVE_CLASS.
15505 (La_x32_regs): New macro.
15506 (La_x32_retval): Likewise.
15507 (la_x32_gnu_pltenter): New function prototype.
15508 (la_x32_gnu_pltexit): Likewise.
15509
155102012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15511
15512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15513 exponent.
15514
15515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15516
15517 * configure.in (libc_cv_cc_nofma): Check for option to disable
15518 generation of FMA instructions.
15519 * configure: Regenerate.
15520 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15521 * sysdeps/ieee754/dbl-64/Makefile: New file.
15522 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15523 Remove brandred-fma4.
15524 (CFLAGS-brandred-fma4.c): Remove.
15525 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15526 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15527 define.
15528 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15529 define.
15530
155312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15532
15533 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15534 LLONG_MAX != LONG_MAX.
15535 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15536 (_fitoa_word): Likewise.
15537 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15538 LLONG_MAX != LONG_MAX.
15539 * stdio-common/_itowa.h: Include <_itoa.h>.
15540 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15541 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15542 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15543 only if not defined.
15544 (_ITOA_WORD_TYPE): Likewise.
15545 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15546 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15547
155482012-03-21 David S. Miller <davem@davemloft.net>
15549
15550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15551
155522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15553
15554 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15555 of x86_64 when setting libc_cv_slibdir, libdir and
15556 libc_cv_localedir.
15557 * sysdeps/unix/sysv/linux/configure: Regenerated.
15558
155592012-03-21 Joseph Myers <joseph@codesourcery.com>
15560
15561 * manual/lang.texi (Old Varargs): Remove section.
15562 (How Variadic): Update menu.
15563 (va_start): Do not mention varargs.h.
15564
155652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15566 Joseph Myers <joseph@codesourcery.com>
15567
15568 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15569 link test.
15570 * configure: Regenerated.
15571
155722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15573
15574 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15575 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15576 conformtest.pl
15577
155782012-03-21 Joseph Myers <joseph@codesourcery.com>
15579
15580 * NOTES: Remove.
15581 * Makefile (files-for-dist): Remove NOTES.
15582 (NOTES): Remove rule.
15583 * README: Don't refer to NOTES.
15584 * manual/creature.texi: Don't include macros.texi.
15585 * manual/intro.texi (creature.texi): Remove comment referring to
15586 NOTES.
15587
15588 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15589 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15590 * configure: Regenerated.
15591 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15592 LIBC_TRY_CC_OPTION.
15593 (libc_cv_as_i686): Likewise.
15594 (libc_cv_cc_avx): Likewise.
15595 (libc_cv_cc_sse2avx): Likewise.
15596 (libc_cv_cc_fma4): Likewise.
15597 (libc_cv_cc_novzeroupper): Likewise.
15598 * sysdeps/i386/configure: Regenerated.
15599
15600 [BZ #13883]
15601 * sysdeps/i386/fpu/s_cexp.S: Remove.
15602 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15603 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15604 * math/libm-test.inc (cexp_test): Add more tests.
15605 * sysdeps/i386/fpu/libm-test-ulps: Update.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607
156082012-03-21 Allan McRae <allan@archlinux.org>
15609
15610 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15611
156122012-03-21 Joseph Myers <joseph@codesourcery.com>
15613
15614 [BZ #13871]
15615 * math/w_exp2.c: Do not include <float.h>.
15616 (o_threshold, u_threshold): Remove.
15617 (__exp2): Calculate result before checking finiteness and calling
15618 __kernel_standard.
15619 * math/w_exp2f.c: Likewise.
15620 * math/w_exp2l.c: Likewise.
15621 * math/libm-test.inc (exp2_test): Require overflow exception for
15622 1e6 input.
15623
15624 [BZ #3866]
15625 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15626 range of signed 64-bit integers before using fistpll. Remove
15627 checks for whether integers fit in mantissa bits.
15628 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15629 the range of signed 32-bit integers before using fistpl. Remove
15630 checks for whether integers fit in mantissa bits.
15631 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15632 (__ieee754_powl): Test for y outside the range of signed 64-bit
15633 integers before using fistpll. Reduce 64-bit values to 63-bit
15634 ones as needed.
15635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15636 divide-by-zero is raised for zero to large negative powers.
15637 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15638 (__ieee754_powl): Test for y outside the range of signed 64-bit
15639 integers before using fistpll. Reduce 64-bit values to 63-bit
15640 ones as needed.
15641 * math/libm-test.inc (pow_test): Add more tests.
15642
156432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15644
15645 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15646 <stdio-common/_itoa.h>.
15647 * debug/segfault.c: Likewise.
15648 * elf/dl-cache.c: Likewise.
15649 * elf/dl-minimal.c: Likewise.
15650 * elf/dl-misc.c: Likewise.
15651 * elf/dl-sysdep.c: Likewise.
15652 * elf/dl-version.c: Likewise.
15653 * elf/rtld.c: Likewise.
15654 * hurd/hurdsock.c: Likewise.
15655 * hurd/lookup-retry.c: Likewise.
15656 * malloc/malloc.c: Likewise.
15657 * malloc/mtrace.c: Likewise.
15658 * nscd/nscd_getgr_r.c: Likewise.
15659 * nscd/nscd_getpw_r.c: Likewise.
15660 * nscd/nscd_getserv_r.c: Likewise.
15661 * posix/getopt_init.c: Likewise.
15662 * posix/wordexp.c: Likewise.
15663 * stdio-common/_itoa.c: Likewise.
15664 * stdio-common/printf_fphex.c: Likewise.
15665 * stdio-common/vfprintf.c: Likewise.
15666 * string/_strerror.c: Likewise.
15667 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15668 * sysdeps/i386/i686/hp-timing.h: Likewise.
15669 * sysdeps/mach/_strerror.c: Likewise.
15670 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15671 * sysdeps/mach/hurd/sethostid.c: Likewise.
15672 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15673 * sysdeps/mach/xpg-strerror.c: Likewise.
15674 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15675 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15676 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15677 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15678 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15679 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15680 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15681 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15682 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15683 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15684 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15685 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15686 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15687 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15688 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15689 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15690 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15691 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15692 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15693 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15694 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15695
15696 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15697
15698 * stdio-common/_itoa.h: Moved to ...
15699 * sysdeps/generic/_itoa.h: Here.
15700
15701 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15702
15703 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15704 instead of "_itoa.h" and "_itowa.h".
15705 * stdio-common/vfprintf.: Likewise.
15706
157072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15708
15709 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15710 <bits/wordsize.h>.
15711 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15712 (__signbit): Likwise.
15713 (llrintf): Likwise.
15714 (llrint): Likwise.
15715
157162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15717
15718 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15719 __WORDSIZE != 64.
15720
157212012-03-20 Joseph Myers <joseph@codesourcery.com>
15722
15723 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15724 OVERFLOW_EXCEPTION_OK.
15725 * math/libm-test.inc ("Philosophy"): Update comment about
15726 exception testing.
15727 (OVERFLOW_EXCEPTION): Define.
15728 (OVERFLOW_EXCEPTION_OK): Likewise.
15729 (INVALID_EXCEPTION_OK): Renumber.
15730 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15731 (IGNORE_ZERO_INF_SIGN): Likewise.
15732 (test_exceptions): Handle FE_OVERFLOW.
15733 (exp10_test): Expect overflow exceptions.
15734 (exp2_test): Likewise.
15735 (expm1_test): Likewise.
15736 (nextafter_test): Likewise.
15737 (pow_test): Likewise.
15738 (scalbn_test): Likewise.
15739 (scalbln_test): Likewise.
15740
157412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15742
15743 * sysdeps/x86_64/bits/atomic.h
15744 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15745 64bit integer.
15746 (atomic_exchange_acq): Likewise.
15747 (__arch_exchange_and_add_body): Likewise.
15748 (__arch_add_body): Likewise.
15749 (atomic_add_negative): Likewise.
15750 (atomic_add_zero): Likewise.
15751
157522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15753
15754 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15755 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15756
157572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15758
15759 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15760 Check __x86_64__ instead of __WORDSIZE.
15761
157622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15763
15764 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15765
157662012-03-19 David S. Miller <davem@davemloft.net>
15767
15768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15769
15770 * sysdeps/sparc/fpu/fenv_private.h: New file.
15771 * sysdeps/sparc/fpu/math_private.h: Use it.
15772 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15773 Remove.
15774 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15775 (libc_feholdexcept_setroundl): Remove.
15776 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15777 Remove.
15778 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15779 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15780
157812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15782
15783 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15784 int64_t instead of long int.
15785 (INSERT_WORDS64): Likwise.
15786
157872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15788
15789 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15790 _Unwind_GetCFA return to _Unwind_Ptr first.
15791
157922012-03-19 Joseph Myers <joseph@codesourcery.com>
15793
15794 [BZ #13629]
15795 * math/s_clog.c: Include <float.h>.
15796 (__clog): Scale large or subnormal inputs.
15797 * math/s_clogf.c: Likewise.
15798 * math/s_clogl.c: Likewise.
15799 * math/s_clog10.c: Include <float.h>.
15800 (M_LOG10_2): Define.
15801 (__clog10): Scale large or subnormal inputs.
15802 * math/s_clog10f.c: Likewise.
15803 * math/s_clog10l.c: Likewise.
15804 * math/libm-test.inc (clog_test): Add more tests.
15805 (clog10_test): Likewise.
15806 * sysdeps/i386/fpu/libm-test-ulps: Update.
15807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15808
15809 [BZ #11451]
15810 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15811 x and y.
15812 * math/libm-test.inc (atan2_test): Add another test.
15813
15814 * Makerules (common-objdir-compile): Remove.
15815 * sysdeps/unix/Makefile (config-generated): Do not add
15816 $(unix-generated) to variable.
15817 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15818 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15819 Remove rule.
15820 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15821 Likewise.
15822 [generic bits/local_lim.h] (before-compile): Do not append to
15823 variable.
15824 [generic bits/local_lim.h] (common-generated): Likewise.
15825 [generic sys/param.h] (before-compile): Do not append to variable.
15826 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15827 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15828 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15829 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15830 include.
15831 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15832 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15833 [generic sys/param.h] ($(addprefix
15834 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15835 [generic sys/param.h] (common-generated): Do not append to
15836 variable.
15837 [generic sys/param.h] (sysdep_headers): Likewise.
15838 [generic bits/errno.h] (before-compile): Do not append to
15839 variable.
15840 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15841 rule.
15842 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15843 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15844 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15845 [generic bits/errno.h] (common-generated): Do not append to
15846 variable.
15847 [generic bits/ioctls.h] (before-compile): Do not append to
15848 variable.
15849 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15850 rule.
15851 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15852 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15853 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15854 rule.
15855 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15856 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15857 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15858 [generic bits/ioctls.h] (common-generated): Do not append to
15859 variable.
15860 [generic sys/syscall.h] (syscall.h): Remove variable.
15861 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15862 rule.
15863 [generic sys/syscall.h] (before-compile): Do not append to
15864 variable.
15865 [generic sys/syscall.h] (common-generated): Likewise.
15866 * sysdeps/unix/errnos-tmpl.c: Remove file.
15867 * sysdeps/unix/errnos.awk: Likewise.
15868 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15869 * sysdeps/unix/ioctls.awk: Likewise.
15870 * sysdeps/unix/mk-local_lim.c: Likewise.
15871 * sysdeps/unix/snarf-ioctls: Likewise.
15872
158732012-03-19 Richard Henderson <rth@twiddle.net>
15874
15875 * sysdeps/i386/fpu/fenv_private.h: New file.
15876 * sysdeps/i386/fpu/math_private.h: Use it.
15877 (math_opt_barrier, math_force_eval): Remove.
15878 (libc_feholdexcept_setround_53bit): Remove.
15879 (libc_feupdateenv_53bit): Remove.
15880 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15881 (math_opt_barrier, math_force_eval): Remove.
15882 (libc_feholdexcept): Remove.
15883 (libc_feholdexcept_setround): Remove.
15884 (libc_fetestexcept, libc_fesetenv): Remove.
15885 (libc_feupdateenv_test): Remove.
15886 (libc_feupdateenv, libc_feholdsetround): Remove.
15887 (libc_feresetround): Remove.
15888
15889 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15890 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15891
15892 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15893 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15894 (libc_feupdateenv_testl): New.
15895 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15896 (libc_feupdateenv_testf): New.
15897 (libc_feupdateenv): Use libc_feupdateenv_test.
15898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15899 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15900
15901 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15902 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15903 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15904 (libc_feresetround_noex): New.
15905 (libc_feresetround_noexf): New.
15906 (libc_feresetround_noexl): New.
15907 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15908 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15909 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15910 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15911 SET_RESTORE_ROUND.
15912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15913 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15914 (__cos): Likewise.
15915 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15916 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15917 SET_RESTORE_ROUND_NOEX.
15918 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15919 SET_RESTORE_ROUND_NOEXF.
15920 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15921 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15922 (libc_feholdsetroundf): New.
15923 (libc_feresetround, libc_feresetroundf): New.
15924
15925 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15926 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15927 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15928
15929 * sysdeps/generic/math_private.h: Include <fenv.h>.
15930 (default_libc_feholdexcept): New.
15931 (default_libc_feholdexcept_setround): New.
15932 (default_libc_fesetenv, default_libc_feupdateenv): New.
15933 (libc_feholdexcept): Only define if undefined.
15934 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15935 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15936 (libc_feholdexcept_setroundl): Likewise.
15937 (libc_feholdexcept_setround_53bit): Likewise.
15938 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15939 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15940 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15941 (libc_feupdateenv_53bit): Likewise.
15942 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15943 (libc_feholdexcept): Convert from macro to inline function.
15944 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15945 (libc_fesetenv, libc_feupdateenv): Likewise.
15946
15947 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15948 not previously defined.
15949 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15950 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15951 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15952 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15953 * sysdeps/ieee754/flt-32/math_private.h: New file.
15954 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15955 math_private.h below SET_FLOAT_WORD.
15956 (__isnan, __isinf_ns, __finite): Remove.
15957 (__isnanf, __isinf_nsf, __finitef): Remove.
15958
159592012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15960
15961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15962
159632012-03-17 David S. Miller <davem@davemloft.net>
15964
15965 [BZ #6471]
15966 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15967 for 2.16.
15968
159692012-03-16 David S. Miller <davem@davemloft.net>
15970
15971 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15972 warnings.
15973
15974 [BZ #6471]
15975 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15976 properly.
15977 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15978 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15979 sysdep_routines when subdir is sysvipc.
15980 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15981 __getshmlba helper.
15982
15983 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15984
159852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15986
15987 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15988 [__LP64__].
15989
159902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15991
15992 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15993 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15994 (__lround): Renamed to ...
15995 (__llround): This. Replace long int with long long int.
15996 Define lround functions as aliases of llround functions.
15997 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15998
159992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16000
16001 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16002 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16003 adresses to uintptr_t. Replace "long int" and "unsigned long
16004 int" with "greg_t" on va_arg.
16005
160062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16007
16008 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16009 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16010
16011 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16012 Move e_machine check before EI_CLASS check. Handle x32
16013 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16014 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16015 SKIP_EM_IA_64 and include
16016 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16017
16018 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16019 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16020 (add_system_dir): New macro.
16021
16022 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16023 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16024
160252012-03-16 Joseph Myers <joseph@codesourcery.com>
16026
16027 [BZ #2551]
16028 [BZ #2552]
16029 [BZ #2553]
16030 [BZ #2554]
16031 [BZ #2562]
16032 [BZ #2563]
16033 [BZ #2565]
16034 [BZ #2566]
16035 [BZ #2576]
16036 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16037 (y0): Likewise.
16038 * math/w_j0f.c (j0f): Likewise.
16039 (y0f): Likewise.
16040 * math/w_j0l.c (__j0l): Likewise.
16041 (__y0l): Likewise.
16042 * math/w_j1.c (j1): Likewise.
16043 (y1): Likewise.
16044 * math/w_j1f.c (j1f): Likewise.
16045 (y1f): Likewise.
16046 * math/w_j1l.c (__j1l): Likewise.
16047 (__y1l): Likewise.
16048 * math/w_jn.c (jn): Likewise.
16049 (yn): Likewise.
16050 * math/w_jnf.c (jnf): Likewise.
16051 (ynf): Likewise.
16052 * math/w_jnl.c (__jnl): Likewise.
16053 (__ynl): Likewise.
16054 * math/libm-test.inc (j0_test): Add more tests.
16055 (j1_test): Likewise.
16056 (jn_test): Likewise. Add trailing semicolon to existing test.
16057 (y0_test): Likewise.
16058 (y1_test): Likewise.
16059 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16061
16062 [BZ #13851]
16063 [BZ #13854]
16064 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16065 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16066 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16067 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16068 (__tanl): Set errno for infinite argument.
16069 * sysdeps/i386/fpu/mptan.c: Remove.
16070 * sysdeps/i386/fpu/s_tan.S: Likewise.
16071 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16072 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16073 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16074 * math/libm-test.inc (tan_test): Add more tests and enable more
16075 tests for double and long double.
16076 * sysdeps/i386/fpu/libm-test-ulps: Update.
16077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16078
160792012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16080
16081 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16082 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16083
160842012-03-16 Roland McGrath <roland@hack.frob.com>
16085
16086 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16087 * configure.in: Use it for both main tree and add-ons.
16088 * configure: Regenerated.
16089
160902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16091
16092 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16093
160942012-03-16 Joseph Myers <joseph@codesourcery.com>
16095
16096 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16097 in comment.
16098
16099 [BZ #13851]
16100 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16101 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16104 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16105 infinite argument.
16106 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16108 != 0 for prec == 2.
16109 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16110 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16111 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16112 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16113 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16114 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16115 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16116 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16117 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16118 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16119 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16120 * math/libm-test.inc (cos_test): Add more tests and enable more
16121 tests for long double.
16122 (sin_test): Likewise.
16123 (sincos_test): Likewise.
16124 * sysdeps/i386/fpu/libm-test-ulps: Update.
16125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16126
161272012-03-16 David S. Miller <davem@davemloft.net>
16128
16129 * sysdeps/sparc/fpu/math_private.h: New file.
16130
161312012-03-15 David S. Miller <davem@davemloft.net>
16132
16133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16134 file.
16135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16137 file.
16138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16144 sysdep routines.
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16146
16147 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16148 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16149
16150 * sysdeps/sparc/sparc-ifunc.h: New file.
16151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16152 sparc-ifunc.h
16153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16155 Likewise.
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16157 Likewise.
16158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16162 Likewise.
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16168 Likewise.
16169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16170 Likewise.
16171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16193 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16195
161962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16197
16198 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16199 scaling.
16200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16201
162022012-03-15 Andreas Jaeger <aj@suse.de>
16203
16204 [BZ #13852]
16205 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16206 ieee754/flt-32 implementation for sin, cos and sincos.
16207 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16208 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16209 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16210 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16211 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16212 ieee754/flt-32 implementation for tan.
16213
16214 * math/libm-test.inc (cos_test): Enable some large input tests for
16215 float as well
16216 (sin_test): Likewise.
16217 (sincos_test): Likewise.
16218 (tan_test): Add tests for large input.
16219
16220 * sysdeps/i386/fpu/libm-test-ulps: Update.
16221
162222012-03-15 Andreas Jaeger <aj@suse.de>
16223
16224 [BZ #13658]
16225 * math/libm-test.inc (cos_test): Add more test cases.
16226 (sin_test): Likewise.
16227 (sincos_test): Likewise.
16228
162292012-03-15 Andreas Jaeger <aj@suse.de>
16230
16231 [BZ #13837]
16232 * math/libm-test.inc (cos_test): Add a test case for large input
16233 value.
16234 (sin_test): Likewise.
16235 (sincos_test): Likewise.
16236
162372012-03-15 Andreas Jaeger <aj@suse.de>,
16238 Joseph Myers <joseph@codesourcery.com>
16239
16240 [BZ #13658]
16241 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16242 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16243 * sysdeps/i386/fpu/branred.c: Likewise.
16244 * sysdeps/i386/fpu/dosincos.c: Likewise.
16245 * sysdeps/i386/fpu/mpa.c: Likewise.
16246 * sysdeps/i386/fpu/s_cos.S: Likewise.
16247 * sysdeps/i386/fpu/s_sin.S: Likewise.
16248 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16249 * sysdeps/i386/fpu/sincos32.c: Likewise.
16250
16251 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16252 Define.
16253 (libc_feupdateenv_53bit): Define.
16254 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16255 Define.
16256 (libc_feupdateenv_53bit): Define.
16257
16258 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16259 53 bit (without extend i386 double precision).
16260
16261 * math/libm-test.inc (sincos_test): Add tests for large input.
16262 (sin): Likewise.
16263 (cos): Likewise.
16264
16265 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16266
162672012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16268
16269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16270
162712012-03-15 David S. Miller <davem@davemloft.net>
16272
16273 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16274 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16275 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16276 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16289 file.
16290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16292 file.
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16295 file.
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16298 file.
16299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16301 fmin/fmax sysdep routines.
16302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16303
163042012-03-14 David S. Miller <davem@davemloft.net>
16305
16306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16335 routines.
16336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16337 file.
16338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16340 file.
16341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16343 file.
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16346 file.
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16349 file.
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16352 file.
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16354 file.
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16356 file.
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16358 file.
16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16360 New file.
16361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16362 file.
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16364 file.
16365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16367 file.
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16370 file.
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16373 file.
16374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16376 VIS3 routines.
16377
16378 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16379 New file.
16380
16381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16382
16383 * sysdeps/sparc/configure.in: New file.
16384 * sysdeps/sparc/configure: Generate.
16385 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16386 * configure: Regenerate.
16387 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16388 * config.make.in (have-as-vis3): New.
16389 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16390 available use -Av9d instead of -Av9a.
16391 * sysdeps/sparc/sparc64/Makefile: Likewise.
16392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16394 New file.
16395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16396 file.
16397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16398 New file.
16399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16400 file.
16401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16406
16407 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16408 fzeros/fnegs to load 0x80000000 into a float register instead of
16409 using the stack.
16410 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16411
164122012-03-14 Joseph Myers <joseph@codesourcery.com>
16413
16414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16415 bits/syscall.h.
16416 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16417 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16418 ($(inst_includedir)/bits/syscall.h): Remove rule.
16419 ($(objpfx)bits/syscall.d): Include instead of
16420 $(objpfx)syscall-list.d.
16421 (generated): Change syscall-list.h and syscall-list.d to
16422 bits/syscall.h and bits/syscall.d.
16423
164242012-03-14 Roland McGrath <roland@hack.frob.com>
16425
16426 [BZ #13846]
16427 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16428
164292012-03-14 Joseph Myers <joseph@codesourcery.com>
16430
16431 [BZ #13841]
16432 * math/s_csqrt.c: Include <float.h>.
16433 (__csqrt): Scale large or subnormal inputs.
16434 * math/s_csqrtf.c: Likewise.
16435 * math/s_csqrtl.c: Likewise.
16436 * math/libm-test.inc (csqrt_test): Add more tests.
16437 * sysdeps/i386/fpu/libm-test-ulps: Update.
16438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16439
16440 [BZ #13840]
16441 * math/libm-test.inc (hypot_test): Add more tests.
16442
164432012-03-13 David S. Miller <davem@davemloft.net>
16444
16445 [BZ #13840]
16446 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16447 double-precision for the calculation instead of scaling.
16448
164492012-03-13 Joseph Myers <joseph@codesourcery.com>
16450
16451 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16452 manipulate bits before adding and subtracting TWO52[sx].
16453 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16454 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16455 Likewise.
16456 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16457
164582012-03-13 David S. Miller <davem@davemloft.net>
16459
16460 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16461 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16463 rtld-global-offsets.h
16464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16465
16466 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16467 large parameters.
16468
16469 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16470
16471 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16472 'err' in the ifdef scope in which it is actually used.
16473
16474 * nss/nss_db/db-init.c: Include string.h
16475
164762012-03-12 David S. Miller <davem@davemloft.net>
16477
16478 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16479 masking out of the most significant byte of random value used.
16480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16481 Fix coding style in previous change.
16482
16483 * sysdeps/unix/sysv/linux/kernel-features.h
16484 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16485 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16486 expression.
16487 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16488 later.
16489
164902012-03-11 David S. Miller <davem@davemloft.net>
16491
16492 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16493 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16494 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16495 for 'resultvar' otherwise things get truncated on 64-bit.
16496
16497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16498 Fix masking out of the most significant byte of random value used.
16499
16500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16501
165022012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16503
16504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16505
165062012-03-09 David S. Miller <davem@davemloft.net>
16507
16508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16509 variables with appropriate CPP guards.
16510 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16511 frame pointer, not the stack pointer. Correct layout comments. Fix test
16512 on resulting framesize and the management of the outregs buffer for pltexit.
16513 Preserve floating point return values across _dl_call_pltexit call.
16514 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16515 framesize and the management of the outregs buffer for pltexit.
16516 Preserve floating point return values across _dl_call_pltexit
16517 call.
16518 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16519 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16520 (print_exit): Fix format string for return register value.
16521
165222012-03-10 Joseph Myers <joseph@codesourcery.com>
16523
16524 * sunrpc/Makefile (others): Add rpcgen.
16525 ($(objpfx)rpcgen): Remove special build rule and dependency on
16526 libc.
16527 * sunrpc/rpcgen.c: New file.
16528
165292012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16530
16531 [BZ #13673]
16532 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16533 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16534 * sysdeps/i386/crti.S: Likewise.
16535 * sysdeps/i386/crtn.S: Likewise.
16536 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16537 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16538 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16539 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16540 * sysdeps/sh/crti.S: Likewise.
16541 * sysdeps/sh/crtn.S: Likewise.
16542 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16543
16544 [BZ #13673]
16545 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16546 with URL.
16547 * locale/programs/locfile-kw.gperf: Likewise.
16548 * locale/programs/charmap-kw.h: Regenerated.
16549 * locale/programs/locfile-kw.h: Likewise.
16550
16551 [BZ #13673]
16552 * intl/plural.y: Replace FSF snail mail address with URL.
16553 * intl/plural.c: Regenerated.
16554
165552012-03-09 Richard Henderson <rth@twiddle.net>
16556
16557 * include/math_private.h: Remove file.
16558 * math/math_private.h: Move file ...
16559 * sysdeps/generic/math_private.h: ... here.
16560
16561 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16562 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16563 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16564
16565 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16566 and <math_private.h>.
16567 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16568 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16569 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16570 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16571 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16655 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16658 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16663 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16664 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16665 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16667 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16668 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16669 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16671 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16672 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16673 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16677 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16682 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16686 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16687 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16710 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16711 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16712 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16713 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16714 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16715 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16716 * sysdeps/ieee754/k_standard.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16872 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16873 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16874 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16875 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16876 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16877 * sysdeps/ieee754/s_lib_version.c: Likewise.
16878 * sysdeps/ieee754/s_matherr.c: Likewise.
16879 * sysdeps/ieee754/s_signgam.c: Likewise.
16880 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16881 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16882 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16883 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16884 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16885 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16886 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16887 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16888 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16889 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16890 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16891 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16892 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16893 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16894 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16895 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16897 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16898 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16900 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16901
169022012-03-09 Joseph Myers <joseph@codesourcery.com>
16903
16904 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16905 * sunrpc/rpc_main.c: Likewise.
16906 * sunrpc/rpc_svcout.c: Likewise.
16907
169082012-03-09 David S. Miller <davem@davemloft.net>
16909
16910 * include/math_private.h: New file.
16911
169122012-03-09 Joseph Myers <joseph@codesourcery.com>
16913
16914 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16915 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16916 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16917 from <bits/socket_type.h>.
16918 (enum __socket_type): Don't define here.
16919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16921 bits/socket_type.h.
16922
16923 [BZ #13566]
16924 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16925 checking __USE_GNU.
16926
16927 * Makerules ($(inst_includedir)/%.h): New rule.
16928 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16929 (install-others): Remove variable setting.
16930 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16931
169322012-03-08 Richard Henderson <rth@twiddle.net>
16933
16934 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16935 from macro to inline function; merge with the
16936 !__LIBC_INTERNAL_MATH_INLINES version.
16937 (__ieee754_sqrtf): Likewise.
16938
16939 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16940 to inline function.
16941 (__rintf, __floor, __floorf): Likewise.
16942
16943 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16944 macro to inline function.
16945 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16946
16947 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16948 not <math/math_private.h>.
16949
169502012-03-08 David S. Miller <davem@davemloft.net>
16951
16952 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16953 copyright year.
16954 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16955
169562012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16957
16958 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16959 normalization.
16960 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16961 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16962
169632012-03-08 Ulrich Drepper <drepper@gmail.com>
16964
16965 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16966 be defined individually, they must be defined as a block. Define
16967 S for printing a string instead of hidint the different by using a
16968 macro for adding the 'l'.
16969 * stdio-common/tst-fphex-wide.c: Adjust.
16970
169712012-03-07 Marek Polacek <polacek@redhat.com>
16972
16973 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16974
169752012-03-08 Marek Polacek <polacek@redhat.com>
16976
16977 [BZ #13806]
16978 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16979 * stdio-common/tst-fphex.c: Define a few macros to make the
16980 test reusable. Use them.
16981 * stdio-common/tst-fphex-wide.c: New file.
16982
169832012-03-08 Joseph Myers <joseph@codesourcery.com>
16984
16985 [BZ #6911]
16986 * manual/macros.texi (gnusystems): New macro.
16987 (nongnusystems): Likewise.
16988 (gnulinuxhurdsystems): Likewise.
16989 (gnuhurdsystems): Likewise..
16990 (gnulinuxsystems): Likewise.
16991 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16992 variants of the GNU system, not "GNU system".
16993 * manual/conf.texi: Likewise.
16994 * manual/errno.texi: Likewise. Update example of errno macro
16995 expansion.
16996 * manual/filesys.texi: Likewise.
16997 (getumask): Document as specific to GNU/Hurd.
16998 * manual/install.texi: Likewise. Reword some references to
16999 GNU/Linux.
17000 * manual/intro.texi: Likewise.
17001 * manual/io.texi: Likewise.
17002 (File Name Portability): Detail which constraints are inapplicable
17003 to all GNU systems and which are only inapplicable to GNU/Hurd.
17004 * manual/job.texi: Likewise.
17005 * manual/llio.texi: Likewise.
17006 (O_NOCTTY): Document as present on GNU/Linux.
17007 * manual/maint.texi: Likewise.
17008 * manual/memory.texi: Likewise.
17009 * manual/pattern.texi: Likewise.
17010 * manual/pipe.texi: Likewise.
17011 * manual/process.texi: Likewise.
17012 * manual/resource.texi: Likewise.
17013 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17014 child on GNU/Hurd.
17015 * manual/setjmp.texi: Likewise.
17016 * manual/signal.texi: Likewise.
17017 * manual/startup.texi: Likewise.
17018 * manual/stdio.texi: Likewise.
17019 * manual/terminal.texi: Likewise.
17020 (ONLCR): Document as POSIX.
17021 (OXTABS): Document availability on GNU/Linux as XTABS.
17022 (ONOEOT): Document availability separately from other bits.
17023 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17024 * manual/time.texi: Likewise.
17025 * manual/users.texi: Likewise.
17026 * INSTALL: Regenerated.
17027 * sysdeps/gnu/errlist.c: Regenerated.
17028
17029 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17030 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17031 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17032 puts.
17033 * configure: Regenerated.
17034
170352012-03-07 Joseph Myers <joseph@codesourcery.com>
17036
17037 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17038 default includes instead of AC_HEADER_CHECK.
17039 * sysdeps/i386/configure: Regenerated.
17040
17041 [BZ #10716]
17042 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17043 * math/s_cacoshf.c (__cacoshf): Likewise.
17044 * math/s_cacoshl.c (__cacoshl): Likewise.
17045 * math/s_casinh.c (__casinh): Set signs of result from argument.
17046 * math/s_casinhf.c (__casinhf): Likewise.
17047 * math/s_casinhl.c (__casinhl): Likewise.
17048 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17049 (casinh_test): Add more tests.
17050 * sysdeps/i386/fpu/libm-test-ulps: Update.
17051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17052
170532012-03-07 Ulrich Drepper <drepper@gmail.com>
17054
17055 * po/zh_TW.po: Update from translation team.
17056
17057 * login/Makefile (distribute): Remove variable.
17058 * catgets/Makefile: Likewise.
17059 * mach/Makefile: Likewise.
17060 * malloc/Makefile: Likewise.
17061 * misc/Makefile: Likewise.
17062 * iconv/Makefile: Likewise.
17063 * nscd/Makefile: Likewise.
17064 * hurd/Makefile: Likewise.
17065 * manual/Makefile: Likewise.
17066 * locale/Makefile: Likewise.
17067 * intl/Makefile: Likewise.
17068 * conform/Makefile: Likewise.
17069 * nss/Makefile: Likewise.
17070 * time/Makefile: Likewise.
17071 * soft-fp/Makefile: Likewise.
17072 * dirent/Makefile: Likewise.
17073 * gmon/Makefile: Likewise.
17074 * po/Makefile: Likewise.
17075 * rt/Makefile: Likewise.
17076 * socket/Makefile: Likewise.
17077 * math/Makefile: Likewise.
17078 * signal/Makefile: Likewise.
17079 * debug/Makefile: Likewise.
17080 * elf/Makefile: Likewise.
17081 * timezone/Makefile: Likewise.
17082 * stdlib/Makefile: Likewise.
17083 * iconvdata/Makefile: Likewise.
17084 * sunrpc/Makefile: Likewise.
17085 * io/Makefile: Likewise.
17086 * argp/Makefile: Likewise.
17087 * inet/Makefile: Likewise.
17088 * hesiod/Makefile: Likewise.
17089 * grp/Makefile: Likewise.
17090 * csu/Makefile: Likewise.
17091 * wctype/Makefile: Likewise.
17092 * crypt/Makefile: Likewise.
17093 * libio/Makefile: Likewise.
17094 * string/Makefile: Likewise.
17095 * nis/Makefile: Likewise.
17096 * resolv/Makefile: Likewise.
17097 * stdio-common/Makefile: Likewise.
17098 * wcsmbs/Makefile: Likewise.
17099 * dlfcn/Makefile: Likewise.
17100 * posix/Makefile: Likewise.
17101
17102 [BZ #6959]
17103 * timezone/Makefile: Don't install timezone files, just the programs
17104 and scripts.
17105
171062012-03-06 Ulrich Drepper <drepper@gmail.com>
17107
17108 * nss/databases.def: Add missing gshadow entry.
17109
17110 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17111
171122012-03-06 Marek Polacek <polacek@redhat.com>
17113
17114 [BZ #13726]
17115 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17116 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17117 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17118 * stdio-common/tst-long-dbl-fphex.c: New file.
17119
171202012-03-06 David S. Miller <davem@davemloft.net>
17121
17122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17123 (set_obp_int): New function.
17124 (get_obp_int): New function.
17125 (__get_clockfreq_via_dev_openprom): Likewise.
17126 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17127 Avoid unused variable warnings on 'val' and use builtin_expect.
17128 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17129 __builtin_expect.
17130 (INLINE_CLONE_SYSCALL): Likewise.
17131
171322012-03-05 David S. Miller <davem@davemloft.net>
17133
17134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17135
171362012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17137
17138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17139
17140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17141 only for |x| >= 40.
17142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17143
171442012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17145
17146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17147 Replace gettimeofday with __vdso_gettimeofday.
17148
17149 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17150 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17151 __vdso_clock_gettime and __vdso_getcpu.
17152
17153 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17154 time with __vdso_time.
17155
171562012-03-05 Joseph Myers <joseph@codesourcery.com>
17157
17158 * manual/lang.texi (size_t): Note types to which size_t may be
17159 equivalent with the GNU C Library, but do not describe when
17160 differences between them are significant.
17161
171622012-03-05 Andreas Jaeger <aj@suse.de>
17163
17164 * sysdeps/i386/fpu/libm-test-ulps: Update.
17165
171662012-03-05 Joseph Myers <joseph@codesourcery.com>
17167
17168 [BZ #3976]
17169 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17170 (__ieee754_pow): Save and restore rounding mode and use
17171 round-to-nearest for main computations.
17172 * math/libm-test.inc (pow_test_tonearest): New function.
17173 (pow_test_towardzero): Likewise.
17174 (pow_test_downward): Likewise.
17175 (pow_test_upward): Likewise.
17176 (main): Call the new functions.
17177 * sysdeps/i386/fpu/libm-test-ulps: Update.
17178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17179
17180 [BZ #3976]
17181 * math/libm-test.inc (cosh_test_tonearest): New function.
17182 (cosh_test_towardzero): Likewise.
17183 (cosh_test_downward): Likewise.
17184 (cosh_test_upward): Likewise.
17185 (sinh_test_tonearest): Likewise.
17186 (sinh_test_towardzero): Likewise.
17187 (sinh_test_downward): Likewise.
17188 (sinh_test_upward): Likewise.
17189 (main): Call the new functions.
17190 * sysdeps/i386/fpu/libm-test-ulps: Update.
17191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17192
171932012-03-05 Tom de Vries <tom@codesourcery.com>
17194
17195 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17196 default stack guard is set in last bytes.
17197 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17198
171992012-03-05 Kees Cook <keescook@chromium.org>
17200
17201 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17202
17203 [BZ #13656]
17204 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17205 possibly allocate from heap instead of stack.
17206 * stdio-common/bug-vfprintf-nargs.c: New file.
17207 * stdio-common/Makefile (tests): Add nargs overflow test.
17208
172092012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17210
17211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17212
172132012-03-03 Marek Polacek <polacek@redhat.com>
17214
17215 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17216 * math/math_private.h: Likewise.
17217 * stdlib/tst-strtod.c: Likewise.
17218 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17219 * sysdeps/x86_64/bits/atomic.h: Likewise.
17220
172212012-03-02 David S. Miller <davem@davemloft.net>
17222
17223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17227 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17228 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17229 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17230 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17231
172322012-03-02 Roland McGrath <roland@hack.frob.com>
17233
17234 [BZ #13792]
17235 * manual/examples/README: New file, says the example source files
17236 can be used under GPL>=2.
17237 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17238 line containing just "*/".
17239 * manual/examples/add.c: Add copyright header (GPL>=2).
17240 * manual/examples/argp-ex1.c: Likewise.
17241 * manual/examples/argp-ex2.c: Likewise.
17242 * manual/examples/argp-ex3.c: Likewise.
17243 * manual/examples/argp-ex4.c: Likewise.
17244 * manual/examples/atexit.c: Likewise.
17245 * manual/examples/db.c: Likewise.
17246 * manual/examples/dir.c: Likewise.
17247 * manual/examples/dir2.c: Likewise.
17248 * manual/examples/execinfo.c: Likewise.
17249 * manual/examples/filecli.c: Likewise.
17250 * manual/examples/filesrv.c: Likewise.
17251 * manual/examples/fmtmsgexpl.c: Likewise.
17252 * manual/examples/genpass.c: Likewise.
17253 * manual/examples/inetcli.c: Likewise.
17254 * manual/examples/inetsrv.c: Likewise.
17255 * manual/examples/isockad.c: Likewise.
17256 * manual/examples/longopt.c: Likewise.
17257 * manual/examples/memopen.c: Likewise.
17258 * manual/examples/memstrm.c: Likewise.
17259 * manual/examples/mkfsock.c: Likewise.
17260 * manual/examples/mkisock.c: Likewise.
17261 * manual/examples/mygetpass.c: Likewise.
17262 * manual/examples/pipe.c: Likewise.
17263 * manual/examples/popen.c: Likewise.
17264 * manual/examples/rprintf.c: Likewise.
17265 * manual/examples/search.c: Likewise.
17266 * manual/examples/select.c: Likewise.
17267 * manual/examples/setjmp.c: Likewise.
17268 * manual/examples/sigh1.c: Likewise.
17269 * manual/examples/sigusr.c: Likewise.
17270 * manual/examples/stpcpy.c: Likewise.
17271 * manual/examples/strdupa.c: Likewise.
17272 * manual/examples/strftim.c: Likewise.
17273 * manual/examples/strncat.c: Likewise.
17274 * manual/examples/subopt.c: Likewise.
17275 * manual/examples/swapcontext.c: Likewise.
17276 * manual/examples/termios.c: Likewise.
17277 * manual/examples/testopt.c: Likewise.
17278 * manual/examples/testpass.c: Likewise.
17279 * manual/examples/timeval_subtract.c: Likewise.
17280
17281 [BZ #13792]
17282 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17283 function to ...
17284 * manual/timeval_subtract.c.texi: ... here, new file.
17285
172862012-03-02 David S. Miller <davem@davemloft.net>
17287
17288 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17289
172902012-03-02 Joseph Myers <joseph@codesourcery.com>
17291
17292 [BZ #3976]
17293 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17294 (__sin): Save and restore rounding mode and use round-to-nearest
17295 for all computations.
17296 (__cos): Save and restore rounding mode and use round-to-nearest
17297 for all computations.
17298 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17299 <fenv.h>.
17300 (tan): Save and restore rounding mode and use round-to-nearest for
17301 all computations.
17302 * math/libm-test.inc (cos_test_tonearest): New function.
17303 (cos_test_towardzero): Likewise.
17304 (cos_test_downward): Likewise.
17305 (cos_test_upward): Likewise.
17306 (sin_test_tonearest): Likewise.
17307 (sin_test_towardzero): Likewise.
17308 (sin_test_downward): Likewise.
17309 (sin_test_upward): Likewise.
17310 (tan_test_tonearest): Likewise.
17311 (tan_test_towardzero): Likewise.
17312 (tan_test_downward): Likewise.
17313 (tan_test_upward): Likewise.
17314 (main): Call the new functions.
17315 * sysdeps/i386/fpu/libm-test-ulps: Update.
17316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17317
17318 [BZ #10135]
17319 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17320 small n, then large n, before computing and testing k+n.
17321 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17323 Likewise.
17324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17325 Likewise.
17326 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17327 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17333 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17334 * math/libm-test.inc (scalbn_test): Add more tests.
17335 (scalbln_test): Likewise.
17336
17337 * manual/filesys.texi (mode_t): Describe constraints on size and
17338 signedness, not exact equivalence to a particular type.
17339 (ino_t): Likewise.
17340 (ino64_t): Likewise.
17341 (dev_t): Likewise.
17342 (nlink_t): Likewise.
17343 (blkcnt_t): Likewise.
17344 (blkcnt64_t): Likewise.
17345 * manual/llio.texi (off_t): Likewise.
17346
17347 [BZ #3976]
17348 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17349 (__ieee754_exp): Save and restore rounding mode and use
17350 round-to-nearest for all computations.
17351 * math/libm-test.inc (exp_test_tonearest): New function.
17352 (exp_test_towardzero): Likewise.
17353 (exp_test_downward): Likewise.
17354 (exp_test_upward): Likewise.
17355 (main): Call the new functions.
17356 * sysdeps/i386/fpu/libm-test-ulps: Update.
17357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17358
173592012-03-01 Chris Demetriou <cgd@google.com>
17360
17361 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17362 have predictable order.
17363
173642012-03-01 David S. Miller <davem@davemloft.net>
17365
17366 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17367
17368 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17369 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17370 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17371 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17372
17373 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17374 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17375 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17377 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17378 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17379 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17380 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17381 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17382
17383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17384
17385 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17386 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17387 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17388
17389 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17390 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17391 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17392 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17393 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17394 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17396 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17398 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17399 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17402 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17403 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17405 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17406 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17407 * sysdeps/sparc/elf/configure: Regenerated.
17408
174092012-03-01 Joseph Myers <joseph@codesourcery.com>
17410
17411 * configure.in (AS, LD): Require binutils 2.20 or later.
17412 * configure: Regenerated.
17413 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17414 as required minimum version.
17415 * INSTALL: Regenerated.
17416
17417 [BZ #2541]
17418 [BZ #4108]
17419 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17420 before squaring exponent.
17421 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17422 bottom long double and 27 bits of top long double before squaring
17423 exponent.
17424 * math/libm-test.inc (erfc_test): Add more tests.
17425 * sysdeps/i386/fpu/libm-test-ulps: Update.
17426 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17428
174292012-03-01 Kai Tietz <ktietz@redhat.com>
17430
17431 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17432 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17433 containing bit-fields.
17434 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17435 * soft-fp/single.h (_FP_UNION_S): Likewise.
17436 * soft-fp/double.h (_FP_UNION_D): Likewise.
17437
174382012-02-29 Joseph Myers <joseph@codesourcery.com>
17439
17440 [BZ #13786]
17441 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17442 not include ../strcmp.S.
17443 [USE_AS_STRNCASECMP_L]: Likewise.
17444 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17445 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17446 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17447 (__strncasecmp_l_ia32): Define as alias to
17448 __strncasecmp_l_nonascii.
17449
17450 [BZ #5794]
17451 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17452 * sysdeps/i386/fpu/libm-test-ulps: Update.
17453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17454
17455 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17457
174582012-02-29 Jeff Law <law@redhat.com>
17459
17460 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17461 out of bounds read.
17462
174632012-02-29 Marek Polacek <polacek@redhat.com>
17464
17465 [BZ #13706]
17466 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17467 * elf/Makefile: Add rules to run tst-unused-dep.out.
17468
174692012-02-28 David S. Miller <davem@davemloft.net>
17470
17471 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17472 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17473 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17474 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17475 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17476 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17477
174782012-02-29 Joseph Myers <joseph@codesourcery.com>
17479
17480 * math/libm-test.inc (llround_test): Move one test from
17481 lround_test. Use TEST_f_L in moved test.
17482 (lround_test): Move misplaced test to llround_test. Add testcase
17483 from bug 2561.
17484
174852012-02-28 Ulrich Drepper <drepper@gmail.com>
17486
17487 * sysdeps/x86_64/fpu/e_expf.S: New file.
17488 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17489
174902012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17491
17492 [BZ #13637]
17493 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17494 of remain_len that may cause incomplete multi-byte character and
17495 false match.
17496 * posix/bug-regex33.c: New file.
17497 * posix/Makefile (tests): Add bug-regex33.
17498
174992012-02-28 Joseph Myers <joseph@codesourcery.com>
17500
17501 * manual/macros.texi: New file.
17502 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17503 * manual/libc.texinfo: Include macros.texi.
17504 * manual/creatute.texi: Likewise.
17505 * manual/install.texi: Likewise.
17506 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17507 @glibcadj{} in references to the GNU C Library.
17508 * manual/charset.texi: Likewise.
17509 * manual/conf.texi: Likewise.
17510 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17511 when not using those macros.
17512 * manual/creature.texi: Likewise.
17513 * manual/crypt.texi: Likewise.
17514 * manual/errno.texi: Likewise.
17515 * manual/filesys.texi: Likewise.
17516 * manual/header.texi: Likewise.
17517 * manual/install.texi: Likewise.
17518 * manual/intro.texi: Likewise.
17519 * manual/io.texi: Likewise.
17520 * manual/job.texi: Likewise.
17521 * manual/lang.texi: Likewise.
17522 * manual/libc.texiinfo: Likewise.
17523 * manual/llio.texi: Likewise.
17524 * manual/locale.texi: Likewise.
17525 * manual/maint.texi: Likewise.
17526 * manual/math.texi: Likewise.
17527 * manual/memory.texi: Likewise.
17528 * manual/message.texi: Likewise.
17529 * manual/nss.texi: Likewise.
17530 * manual/pattern.texi: Likewise.
17531 * manual/process.texi: Likewise.
17532 * manual/resource.texi: Likewise.
17533 * manual/search.texi: Likewise.
17534 * manual/setjmp.texi: Likewise.
17535 * manual/signal.texi: Likewise.
17536 * manual/socket.texi: Likewise.
17537 * manual/startup.texi: Likewise.
17538 * manual/stdio.texi: Likewise.
17539 * manual/string.texi: Likewise.
17540 * manual/sysinfo.texi: Likewise.
17541 * manual/syslog.texi: Likewise.
17542 * manual/terminal.texi: Likewise.
17543 * manual/time.texi: Likewise.
17544 * manual/users.texi: Likewise.
17545 * INSTALL: Regenerated.
17546 * NOTES: Regenerated.
17547 * sysdeps/gnu/errlist.c: Regenerated.
17548
175492012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17550
17551 * include/dirent.h: Include <dirstream.h> before
17552 <dirent/dirent.h>.
17553
175542012-02-28 David S. Miller <davem@davemloft.net>
17555
17556 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17557 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17558 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17559 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17560
175612012-02-27 David S. Miller <davem@davemloft.net>
17562
17563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17565 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17566 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17567
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17569 frame pointer instead of stack pointer relative arg slot.
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17573
175742012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17575
17576 [BZ #3992]
17577 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17578
175792012-02-27 David S. Miller <davem@davemloft.net>
17580
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17585 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17586 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17587 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17588 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17589
175902012-02-27 Joseph Myers <joseph@codesourcery.com>
17591
17592 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17593 later. Allow versions 5-9.
17594 * configure: Regenerated.
17595 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17596 required minimum version and 4.6 as recommended version. Do not
17597 mention bugs in GCC 2.7 and 2.8.
17598 * INSTALL: Regenerated.
17599
176002012-02-27 David S. Miller <davem@davemloft.net>
17601
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17606 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17607 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17608 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17609 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17610
17611 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17612 manipulate bits before adding and subtracting TWO112[sx].
17613 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17614
176152012-02-27 Roland McGrath <roland@hack.frob.com>
17616
17617 [BZ #13775]
17618 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17619 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17620 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17621 being in POSIX, because they are in 1003.1-2008.
17622
17623 * rt/tst-aio.c: Include <fcntl.h>.
17624 * rt/tst-aio7.c: Likewise.
17625 * rt/tst-aio64.c: Likewise.
17626
17627 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17628
176292012-02-27 Joseph Myers <joseph@codesourcery.com>
17630
17631 * manual/install.texi (--with-headers): Describe headers as
17632 interface headers, not private headers.
17633 (Specific advice for GNU/Linux systems): Describe use of headers
17634 from "make headers_install", not private headers from older
17635 kernels.
17636 * INSTALL: Regenerated.
17637 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17638 Change to 2.6.19.
17639 * sysdeps/unix/sysv/linux/configure: Regenerated.
17640
17641 * manual/llio.texi (fclean): Remove documentation.
17642
17643 * manual/Makefile (libc-texi-generated): New variable. Include
17644 version.texi.
17645 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17646 $(libc-texi-generated), not duplicated list of files.
17647 (version.texi, stamp-version): New rules.
17648 (realclean): Remove $(libc-texi-generated), not individual files
17649 from that list. Do not remove dir-add.texinfo.
17650 * manual/libc.texinfo: Comment out uses of edition numbers and
17651 references to printed manual. Remove last-updated dates.
17652 (EDITION): Comment out.
17653 (ISBN): Likewise.
17654 (VERSION, UPDATED): Remove.
17655 (version.texi): Include.
17656
176572012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17658
17659 * sysdeps/posix/spawni.c: Include <signal.h>.
17660 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17661 * sysdeps/pthread/aio_fsync.c: Likewise.
17662
176632012-02-26 Ulrich Drepper <drepper@gmail.com>
17664
17665 * conform/Makefile (tests): Run only when not cross-compiling and
17666 when fast-check is not defined.
17667
17668 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17669 * conform/data/limits.h-data: Fixes for POSIX2008.
17670 * conform/run-conformtest.sh: Run all tests.
17671 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17672 headers.
17673 * include/bits/dlfcn.h: Likewise.
17674 * include/langinfo.h: Likewise.
17675 * include/monetary.h: Likewise.
17676 * include/sys/poll.h: Likewise.
17677
17678 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17679 for __USE_GNU.
17680 * posix/spawn.h: Define __need_sigset_t.
17681 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17682 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17683 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17684 to get sigevent_t only.
17685 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17686 only for __USE_GNU.
17687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17688 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17689 process_vm_writev only for __USE_GNU.
17690 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17691
17692 * conform/Makefile: For now ignore errors from run-conformtest.
17693 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17694 POSIX to avoid namespace pollution. Don't prepend headers.
17695 * conform/data/aio.h-data: Fixes for POSIX testing.
17696 * conform/data/fcntl.h-data: Likewise.
17697 * conform/data/glob.h-data: Likewise.
17698 * conform/data/grp.h-data: Likewise.
17699 * conform/data/pthread.h-data: Likewise.
17700 * conform/data/pwd.h-data: Likewise.
17701 * conform/data/signal.h-data: Likewise.
17702 * conform/data/spawn.h-data: Likewise.
17703 * conform/data/stdio.h-data: Likewise.
17704 * conform/data/stdlib.h-data: Likewise.
17705 * conform/data/stropts.h-data: Likewise.
17706 * conform/data/sys/mman.h-data: Likewise.
17707 * conform/data/sys/stat.h-data: Likewise.
17708 * conform/data/sys/types.h-data: Likewise.
17709 * conform/data/sys/wait.h-data: Likewise.
17710 * conform/data/time.h-data: Likewise.
17711 * conform/data/unistd.h-data: Likewise.
17712 * conform/data/utime.h-data: Likewise.
17713
17714 * io/sys/stat.h: fchmod was always in POSIX.
17715 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17716 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17717 * rt/aio.h: Define __need_timespec before including <time.h>.
17718 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17719 struct. Add forward declaration of pthread_attr_t and use it in
17720 sigevent.
17721 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17722 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17723 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17724 always remove CLK_TCK definition.
17725
177262012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17727
17728 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17729
177302012-02-25 Ulrich Drepper <drepper@gmail.com>
17731
17732 * conform/run-conformtest.sh: New file.
17733 * conform/Makefile: Run run-conformtest for tests.
17734 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17735 support.
17736
17737 * conform/data/uchar.h-data: New file.
17738 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17739 * conform/data/arpa/inet.h-data: Likewise.
17740 * conform/data/assert.h-data: Likewise.
17741 * conform/data/complex.h-data: Likewise.
17742 * conform/data/cpio.h-data: Likewise.
17743 * conform/data/ctype.h-data: Likewise.
17744 * conform/data/dirent.h-data: Likewise.
17745 * conform/data/dlfcn.h-data: Likewise.
17746 * conform/data/errno.h-data: Likewise.
17747 * conform/data/fcntl.h-data: Likewise.
17748 * conform/data/float.h-data: Likewise.
17749 * conform/data/fmtmsg.h-data: Likewise.
17750 * conform/data/fnmatch.h-data: Likewise.
17751 * conform/data/ftw.h-data: Likewise.
17752 * conform/data/glob.h-data: Likewise.
17753 * conform/data/grp.h-data: Likewise.
17754 * conform/data/iconv.h-data: Likewise.
17755 * conform/data/inttypes.h-data: Likewise.
17756 * conform/data/langinfo.h-data: Likewise.
17757 * conform/data/libgen.h-data: Likewise.
17758 * conform/data/limits.h-data: Likewise.
17759 * conform/data/locale.h-data: Likewise.
17760 * conform/data/math.h-data: Likewise.
17761 * conform/data/monetary.h-data: Likewise.
17762 * conform/data/mqueue.h-data: Likewise.
17763 * conform/data/ndbm.h-data: Likewise.
17764 * conform/data/net/if.h-data: Likewise.
17765 * conform/data/netdb.h-data: Likewise.
17766 * conform/data/netinet/in.h-data: Likewise.
17767 * conform/data/nl_types.h-data: Likewise.
17768 * conform/data/poll.h-data: Likewise.
17769 * conform/data/pthread.h-data: Likewise.
17770 * conform/data/pwd.h-data: Likewise.
17771 * conform/data/regex.h-data: Likewise.
17772 * conform/data/sched.h-data: Likewise.
17773 * conform/data/search.h-data: Likewise.
17774 * conform/data/semaphore.h-data: Likewise.
17775 * conform/data/setjmp.h-data: Likewise.
17776 * conform/data/signal.h-data: Likewise.
17777 * conform/data/spawn.h-data: Likewise.
17778 * conform/data/stdarg.h-data: Likewise.
17779 * conform/data/stdio.h-data: Likewise.
17780 * conform/data/stdlib.h-data: Likewise.
17781 * conform/data/string.h-data: Likewise.
17782 * conform/data/strings.h-data: Likewise.
17783 * conform/data/stropts.h-data: Likewise.
17784 * conform/data/sys/ipc.h-data: Likewise.
17785 * conform/data/sys/mman.h-data: Likewise.
17786 * conform/data/sys/msg.h-data: Likewise.
17787 * conform/data/sys/resource.h-data: Likewise.
17788 * conform/data/sys/select.h-data: Likewise.
17789 * conform/data/sys/sem.h-data: Likewise.
17790 * conform/data/sys/shm.h-data: Likewise.
17791 * conform/data/sys/socket.h-data: Likewise.
17792 * conform/data/sys/stat.h-data: Likewise.
17793 * conform/data/sys/statvfs.h-data: Likewise.
17794 * conform/data/sys/time.h-data: Likewise.
17795 * conform/data/sys/timeb.h-data: Likewise.
17796 * conform/data/sys/times.h-data: Likewise.
17797 * conform/data/sys/types.h-data: Likewise.
17798 * conform/data/sys/uio.h-data: Likewise.
17799 * conform/data/sys/un.h-data: Likewise.
17800 * conform/data/sys/utsname.h-data: Likewise.
17801 * conform/data/sys/wait.h-data: Likewise.
17802 * conform/data/syslog.h-data: Likewise.
17803 * conform/data/tar.h-data: Likewise.
17804 * conform/data/termios.h-data: Likewise.
17805 * conform/data/utime.h-data: Likewise.
17806 * conform/data/utmpx.h-data: Likewise.
17807 * conform/data/varargs.h-data: Likewise.
17808 * conform/data/wchar.h-data: Likewise.
17809 * conform/data/wctype.h-data: Likewise.
17810 * conform/data/wordexp.h-data: Likewise.
17811
17812 * include/stropts.h: New file.
17813 * include/uchar.h: New file.
17814 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17815 * include/assert.h: Likewise.
17816 * include/ctype.h: Likewise.
17817 * include/dirent.h: Likewise.
17818 * include/dlfcn.h: Likewise.
17819 * include/fcntl.h: Likewise.
17820 * include/fnmatch.h: Likewise.
17821 * include/glob.h: Likewise.
17822 * include/grp.h: Likewise.
17823 * include/libio.h: Likewise.
17824 * include/locale.h: Likewise.
17825 * include/math.h: Likewise.
17826 * include/net/if.h: Likewise.
17827 * include/netdb.h: Likewise.
17828 * include/netinet/in.h: Likewise.
17829 * include/pthread.h: Likewise.
17830 * include/pwd.h: Likewise.
17831 * include/regex.h: Likewise.
17832 * include/sched.h: Likewise.
17833 * include/search.h: Likewise.
17834 * include/setjmp.h: Likewise.
17835 * include/signal.h: Likewise.
17836 * include/stdio.h: Likewise.
17837 * include/stdlib.h: Likewise.
17838 * include/string.h: Likewise.
17839 * include/sys/cdefs.h: Likewise.
17840 * include/sys/mman.h: Likewise.
17841 * include/sys/msg.h: Likewise.
17842 * include/sys/resource.h: Likewise.
17843 * include/sys/select.h: Likewise.
17844 * include/sys/socket.h: Likewise.
17845 * include/sys/stat.h: Likewise.
17846 * include/sys/statvfs.h: Likewise.
17847 * include/sys/time.h: Likewise.
17848 * include/sys/times.h: Likewise.
17849 * include/sys/uio.h: Likewise.
17850 * include/sys/utsname.h: Likewise.
17851 * include/sys/wait.h: Likewise.
17852 * include/termios.h: Likewise.
17853 * include/time.h: Likewise.
17854 * include/ulimit.h: Likewise.
17855 * include/unistd.h: Likewise.
17856 * include/utime.h: Likewise.
17857 * include/wchar.h: Likewise.
17858 * include/wctype.h: Likewise.
17859 * include/wordexp.h: Likewise.
17860
17861 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17862
17863 * time/time.h: TIME_UTC must be a macro.
17864 Make timespec_get available for ISO C11 only as well.
17865
178662012-02-24 Ulrich Drepper <drepper@gmail.com>
17867
17868 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17869 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17870
178712012-02-24 Joseph Myers <joseph@codesourcery.com>
17872
17873 * configure.in: Use -o not -a in test for unsupported multi-arch.
17874
178752012-02-24 Joseph Myers <joseph@codesourcery.com>
17876
17877 * manual/texinfo.tex: Update to version 2012-01-19.16.
17878
178792012-02-24 Joseph Myers <joseph@codesourcery.com>
17880
17881 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17882
178832012-02-24 Roland McGrath <roland@hack.frob.com>
17884
17885 [BZ #13738]
17886 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17887 * manual/fdl-1.3.texi: New file.
17888 * manual/fdl-1.1.texi: File removed.
17889
17890 [BZ #13738]
17891 * manual/libc.texinfo (FDL_VERSION): New @set.
17892 Use it for mention of FDL in cover text.
17893 (Documentation License): Use it in @include file name.
17894
178952012-02-22 Joseph Myers <joseph@codesourcery.com>
17896 Roland McGrath <roland@hack.frob.com>
17897
17898 [BZ #5461]
17899 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17900 not LONG_LONG_MAX and LONG_LONG_MIN.
17901 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17902 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17903 name.
17904 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17905
179062012-02-22 Joseph Myers <joseph@codesourcery.com>
17907
17908 [BZ #2547]
17909 [BZ #11365]
17910 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17911 manipulate bits before adding and subtracting TWO23[sx].
17912 * math/libm-test.inc (nearbyint_test): Add more tests.
17913
179142012-02-22 Joseph Myers <joseph@codesourcery.com>
17915
17916 [BZ #2548]
17917 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17918 bits before adding and subtracting TWO23[sx].
17919 * math/libm-test.inc (rint_test): Add more tests.
17920 (rint_test_tonearest): Likewise.
17921 (rint_test_towardzero): Likewise.
17922 (rint_test_downward): Likewise.
17923 (rint_test_upward: Likewise.
17924
179252012-02-22 Joseph Myers <joseph@codesourcery.com>
17926
17927 [BZ #10110]
17928 * include/stdc-predef.h: New file. Extracted from features.h.
17929 * include/features.h: Include stdc-predef.h.
17930 * Makefile (headers): Add stdc-predef.h.
17931 * CONFORMANCE (Compiler limitations): Update.
17932
179332012-02-22 Joseph Myers <joseph@codesourcery.com>
17934
17935 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17936
179372012-02-21 David S. Miller <davem@davemloft.net>
17938
17939 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17940 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17941
179422012-02-20 David S. Miller <davem@davemloft.net>
17943
17944 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17945 using a normal save/restore sequence, rather than allocating a
17946 dummy stack frame just to store a frame pointer and restore.
17947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17948
179492012-02-21 Joseph Myers <joseph@codesourcery.com>
17950
17951 * manual/install.texi: Fix stray word in line-wrapped comment.
17952
179532012-02-20 David S. Miller <davem@davemloft.net>
17954
17955 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17956 both binutils and gcc support GOTDATA.
17957
17958 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17959 "rd %pc" in the PIC register setup sequences.
17960
17961 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17962 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17963 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17964 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17965 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17967 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17968 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17970 (SYSCALL_ERROR_HANDLER): Likewise.
17971 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17972 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17974 (SYSCALL_ERROR_HANDLER): Likewise.
17975
17976 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17977 (HAVE_GCC_GOTDATA): New.
17978 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17979 relocation support in both binutils and gcc.
17980 * sysdeps/sparc/elf/configure: Regenerate.
17981
17982 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17983 * sysdeps/sparc/sparc32/elf/configure: Delete.
17984 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17985 * sysdeps/sparc/sparc64/elf/configure: Delete.
17986 * sysdeps/sparc/elf/configure.in: New file.
17987 * sysdeps/sparc/elf/configure: Generate.
17988
17989 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17990 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17991 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17992 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17993 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17994
179952012-02-21 Joseph Myers <joseph@codesourcery.com>
17996
17997 * manual/install.texi: Do not mention specific glibc version
17998 numbers.
17999 * manual/libc.texinfo (VERSION, UPDATED): Update.
18000 (@copying): Use @copyright{} and range of years.
18001
180022012-02-21 Joseph Myers <joseph@codesourcery.com>
18003
18004 [BZ #13695]
18005 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18006 [crti.S not in sysdirs] (generated): Do not append.
18007 [crti.S not in sysdirs] (omit-deps): Likewise.
18008 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18009 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18010 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18011 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18012 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18013 Likewise.
18014 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18015 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18016 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18017 * csu/defs.awk: Remove file.
18018 * sysdeps/generic/initfini.c: Likewise.
18019 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18020 variable.
18021 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18022 Likewise.
18023
180242012-02-20 Joseph Myers <joseph@codesourcery.com>
18025
18026 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18027 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18028 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18030 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18031 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18032 <bits/epoll.h>.
18033 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18034 (__EPOLL_PACKED): Define to empty if not defined by
18035 <bits/epoll.h>.
18036 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18038 bits/epoll.h.
18039
180402012-02-20 Joseph Myers <joseph@codesourcery.com>
18041
18042 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18043 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18044 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18045 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18046 <bits/timerfd.h>.
18047 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18049 bits/timerfd.h.
18050
180512012-02-20 Joseph Myers <joseph@codesourcery.com>
18052
18053 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18054 in C locale.
18055 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18056 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18059
180602012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18061
18062 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18063 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18064
180652012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18066
18067 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18068 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18069 defined.
18070 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18071 Likewise.
18072 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18073 entry for 2.16.
18074
180752012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18076
18077 * math/w_acos.c: Use non-signaling floating-point comparisons.
18078 * math/w_acosf.c: Likewise.
18079 * math/w_acosh.c: Likewise.
18080 * math/w_acoshf.c: Likewise.
18081 * math/w_acoshl.c: Likewise.
18082 * math/w_acosl.c: Likewise.
18083 * math/w_asin.c: Likewise.
18084 * math/w_asinf.c: Likewise.
18085 * math/w_asinl.c: Likewise.
18086 * math/w_atanh.c: Likewise.
18087 * math/w_atanhf.c: Likewise.
18088 * math/w_atanhl.c: Likewise.
18089 * math/w_exp2.c: Likewise.
18090 * math/w_exp2f.c: Likewise.
18091 * math/w_exp2l.c: Likewise.
18092 * math/w_j0.c: Likewise.
18093 * math/w_j0f.c: Likewise.
18094 * math/w_j0l.c: Likewise.
18095 * math/w_j1.c: Likewise.
18096 * math/w_j1f.c: Likewise.
18097 * math/w_j1l.c: Likewise.
18098 * math/w_jn.c: Likewise.
18099 * math/w_jnf.c: Likewise.
18100 * math/w_log.c: Likewise.
18101 * math/w_log10.c: Likewise.
18102 * math/w_log10f.c: Likewise.
18103 * math/w_log10l.c: Likewise.
18104 * math/w_log2.c: Likewise.
18105 * math/w_log2f.c: Likewise.
18106 * math/w_log2l.c: Likewise.
18107 * math/w_logf.c: Likewise.
18108 * math/w_logl.c: Likewise.
18109 * math/w_sqrt.c: Likewise.
18110 * math/w_sqrtf.c: Likewise.
18111 * math/w_sqrtl.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18114 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18117
181182012-02-19 Joseph Myers <joseph@codesourcery.com>
18119
18120 [BZ #9739]
18121 * manual/string.texi (strnlen): Use correct parameter name in
18122 equivalent expression.
18123
181242012-02-19 Joseph Myers <joseph@codesourcery.com>
18125
18126 [BZ #11174]
18127 * manual/users.texi (seteuid): Consistently use neweuid for
18128 argument name.
18129
181302012-02-19 Joseph Myers <joseph@codesourcery.com>
18131
18132 [BZ #13704]
18133 * manual/nss.texi (Services in the NSS configuration): Correct
18134 list of services in example configuration file.
18135
181362012-02-19 Nick Bowler <nbowler@draconx.ca>
18137
18138 [BZ #11322]
18139 * manual/arith.texi: Remove statements about negative zero
18140 behaving identically to zero.
18141
181422012-02-18 Joseph Myers <joseph@codesourcery.com>
18143
18144 [BZ #5993]
18145 * manual/install.texi: Do not document upgrading from libc5.
18146
181472012-02-18 Joseph Myers <joseph@codesourcery.com>
18148
18149 [BZ #4596]
18150 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18151
181522012-02-18 David S. Miller <davem@davemloft.net>
18153
18154 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18155 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18156 %o7 across the call.
18157 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18158 instead.
18159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18160 SETUP_PIC_REG_LEAF.
18161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18162 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18163 * sysdeps/sparc/crtn.S: Likewise.
18164
181652012-02-17 Ulrich Drepper <drepper@gmail.com>
18166
18167 * aout/Makefile: Remove.
18168
181692012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18170
18171 [BZ #13058]
18172 * manual/examples/argp-ex1.c (main): Format definition in GNU
18173 style.
18174 * manual/examples/argp-ex2.c (main): Likewise.
18175 * manual/examples/argp-ex3.c (main): Likewise.
18176 * manual/examples/argp-ex4.c (main): Likewise.
18177 * manual/examples/longopt.c (main): Use new-style prototype
18178 definition.
18179 * manual/examples/strncat.c (main): Specify return type and use
18180 (void) for arguments.
18181 * manual/examples/subopt.c (main): Use char **argv argument.
18182
181832012-02-17 Joseph Myers <joseph@codesourcery.com>
18184
18185 [BZ #5077]
18186 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18187 rounding modes.
18188
181892012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18190
18191 [BZ #6907]
18192 * manual/string.texi (strchr): Change when strchrnul is
18193 recommended.
18194
181952012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18196
18197 [BZ #174]
18198 * manual/locale.texi (setlocale): Document LOCPATH.
18199
182002012-02-17 Joseph Myers <joseph@codesourcery.com>
18201
18202 [BZ #10210]
18203 * manual/process.texi (execle): Move @dots{} before last argument.
18204
182052012-02-17 Paul Bolle <pebolle@tiscali.nl>
18206
18207 [BZ #12047]
18208 * manual/charset.texi (Generic Charset Conversion): Fix typo
18209 (LC_TYPE -> LC_CTYPE).
18210
182112012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18212
18213 [BZ #5805]
18214 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18215 (scalbnf): Likewise.
18216 (scalbnl): Likewise.
18217 (scalbln): Likewise.
18218 (scalblnf): Likewise.
18219 (scalblnl): Likewise.
18220 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18221 (vwarnx): Likewise.
18222 (verr): Likewise.
18223 (verrx): Likewise.
18224 * manual/filesys.texi (telldir): Use braces around return type.
18225 * manual/llio.texi (mmap): Add space after comma.
18226 (mmap64): Likewise.
18227 * manual/math.texi (jn): Use @var{} on parameter names.
18228 (jnf): Likewise.
18229 (jnl): Likewise.
18230 (yn): Likewise.
18231 (ynf): Likewise.
18232 (ynl): Likewise.
18233 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18234 line.
18235 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18236 "...".
18237 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18238 (sched_get_priority_max): Likewise.
18239 * manual/signal.texi (sigvec): Add space after comma.
18240 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18241 names.
18242 (if_indextoname): Likewise.
18243 (if_freenameindex): Likewise.
18244 (sendto): Use ',' instead of '.' in prototype.
18245 * manual/startup.texi (syscall): Use @dots{} instead of literal
18246 "...".
18247 * manual/stdio.texi (__fpending): Separate initial words of
18248 paragraph from @deftypefun line.
18249 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18250 "...".
18251 (vsyslog): Use @var{} on parameter names.
18252 * manual/terminal.texi (stty): Use @var{} on parameter names.
18253 * manual/users.texi (getutmp): Use @var{} on parameter names.
18254 (getutmpx): Likewise.
18255
182562012-02-17 Joseph Myers <joseph@codesourcery.com>
18257
18258 [BZ #6884]
18259 * manual/stdio.texi (fopen): Fix typos in description of
18260 ",ccs=STRING".
18261
182622012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18263
18264 [BZ #4026]
18265 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18266 get clock_id definition.
18267
182682012-02-17 Thomas Schwinge <thomas@schwinge.name>
18269
18270 [BZ #4822]
18271 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18272 (madvise): Cast every argument to void on its own.
18273
182742012-02-17 Joseph Myers <joseph@codesourcery.com>
18275
18276 [BZ #9902]
18277 * manual/startup.texi (Exit Status): Fix typo.
18278
182792012-02-17 Joseph Myers <joseph@codesourcery.com>
18280
18281 [BZ #10140]
18282 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18283 * manual/examples/argp-ex2.c: Likewise.
18284 * manual/examples/argp-ex3.c: Likewise.
18285
182862012-02-16 Richard Henderson <rth@redhat.com>
18287
18288 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18289 * sysdeps/s390/s390-32/initfini.c: Remove.
18290 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18291 * sysdeps/s390/s390-64/initfini.c: Remove.
18292
182932012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18294
18295 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18296 compiler output for sysdeps/generic/initfini.c.
18297 * sysdeps/sh/elf/initfini.c: Remove file.
18298
182992012-02-16 David S. Miller <davem@davemloft.net>
18300
18301 [BZ #11494]
18302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18303
18304 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18305 * sysdeps/sparc/crti.S: New file.
18306 * sysdeps/sparc/crtn.S: New file.
18307 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18308 * sysdeps/sparc/sparc64/Makefile: Likewise.
18309
183102012-02-15 Mike Frysinger <vapier@gentoo.org>
18311
18312 [BZ #3335]
18313 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18314
183152012-02-15 Roland McGrath <roland@hack.frob.com>
18316
18317 [BZ #4822]
18318 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18319
18320 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18321 (write, read, close): Likewise.
18322 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18323
183242012-02-15 Joseph Myers <joseph@codesourcery.com>
18325
18326 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18327 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18329 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18330 <bits/signalfd.h>.
18331 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18333 bits/signalfd.h.
18334
183352012-02-14 Marek Polacek <polacek@redhat.com>
18336
18337 * sysdeps/x86_64/crti.S: New file.
18338 * sysdeps/x86_64/crtn.S: New file.
18339 * sysdeps/x86_64/elf/initfini.c: Remove file.
18340
183412012-02-13 Joseph Myers <joseph@codesourcery.com>
18342
18343 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18344 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18345 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18346 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18347 <bits/inotify.h>.
18348 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18350 bits/inotify.h.
18351
183522012-02-13 Joseph Myers <joseph@codesourcery.com>
18353
18354 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18355 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18356 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18357 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18358 <bits/eventfd.h>.
18359 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18361 bits/eventfd.h.
18362
183632012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18364
18365 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18366 __feraiseexcept instead of feraiseexcept.
18367
18368 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18369 nanosleep invocations.
18370 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18371 strings, and add error checking for a nanosleep invocations.
18372
183732012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18374
18375 Replace FSF snail mail address with URLs, as per GNU coding standards.
18376 Most of the snail mail addresses were wrong anyway, and omitting
18377 them makes the source code easier to maintain. Almost all of the
18378 changes are to license notices and to locale LC_IDENTIFICATION
18379 addresses, except for this one:
18380 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18381 not its snail mail address.
18382
183832012-02-09 Richard Henderson <rth@twiddle.net>
18384
18385 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18386 of kernel-features.h.
18387
18388 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18389
183902012-02-08 Marek Polacek <polacek@redhat.com>
18391
18392 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18393 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18394 * sysdeps/gnu/_G_config.h: Likewise.
18395 * sysdeps/generic/_G_config.h: Likewise.
18396
183972012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18398
18399 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18400 tests.
18401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18402
18403 * sysdeps/powerpc/powerpc32/crti.S: New file.
18404 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18405 * sysdeps/powerpc/powerpc64/crti.S: New file.
18406 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18407
18408 * Makeconfig (have-initfini): Don't set.
18409 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18410 * configure.in (nopic_initfini): Don't substitute.
18411 * config.h.in (HAVE_INITFINI): Don't #undef.
18412 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18413 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18414
184152012-02-08 Joseph Myers <joseph@codesourcery.com>
18416
18417 Support crti.S and crtn.S provided directly by architectures.
18418 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18419 [crti.S in sysdirs] (omit-deps): Likewise.
18420 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18421 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18422 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18423 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18424 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18425 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18426 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18427 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18428 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18429 compiler output for sysdeps/generic/initfini.c.
18430 * sysdeps/i386/elf/Makefile: Remove file.
18431 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18432
184332012-02-07 Marek Polacek <polacek@redhat.com>
18434
18435 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18436 * sysdeps/gnu/_G_config.h: Likewise.
18437 * sysdeps/mach/hurd/_G_config.h: Likewise.
18438
184392012-02-07 Marek Polacek <polacek@redhat.com>
18440
18441 * math/Makefile (tests): Add tst-CMPLX2.
18442 * math/tst-CMPLX2.c: New file.
18443
184442012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18445
18446 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18447
18448 * math/libm-test.inc (jn_test): Add missing L suffix.
18449
184502012-02-06 Marek Polacek <polacek@redhat.com>
18451
18452 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18453 * sysdeps/i386/fpu/e_powf.S: Likewise.
18454 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18455 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18456 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18457 * sysdeps/i386/fpu/e_pow.S: Likewise.
18458 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18459 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18460 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18461 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18462 * sysdeps/i386/fpu/e_log2.S: Likewise.
18463 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18464 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18465 * sysdeps/i386/fpu/e_powl.S: Likewise.
18466 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18467 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18468 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18469 * sysdeps/i386/fpu/e_logl.S: Likewise.
18470 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18471 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18472 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18473 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18474 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18475 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18476 * sysdeps/i386/fpu/e_log.S: Likewise.
18477 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18478 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18479 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18480 * sysdeps/i386/fpu/e_logf.S: Likewise.
18481 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18482 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18483 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18484 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18485 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18486 * sysdeps/i386/fpu/e_log10.S: Likewise.
18487 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18488 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18489 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18490 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18491 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18492 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18493 * sysdeps/i386/asm-syntax.h: Likewise.
18494 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18496 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18497 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18498 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18499 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18500 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18501 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18502 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18503 * sysdeps/powerpc/sysdep.h: Likewise.
18504 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18505 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18506
185072012-02-06 Joseph Myers <joseph@codesourcery.com>
18508
18509 [BZ #411]
18510 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18511
185122012-02-06 Joseph Myers <joseph@codesourcery.com>
18513
18514 * sysdeps/i386/sysdep.h: Include <features.h>.
18515 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18516 version.
18517
185182012-02-05 Joseph Myers <joseph@codesourcery.com>
18519
18520 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18521 Define.
18522 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18523 LOAD_PIC_REG_STR.
18524
185252012-02-03 Joseph Myers <joseph@codesourcery.com>
18526
18527 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18528 (SETUP_PIC_REG): Use GET_PC_THUNK.
18529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18530 macro.
18531
185322012-02-03 Joseph Myers <joseph@codesourcery.com>
18533
18534 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18535 for non-PIC compilation.
18536 (SETUP_PIC_REG): Add .p2align directive.
18537 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18538 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18578
185792012-02-03 Joseph Myers <joseph@codesourcery.com>
18580
18581 * math/tst-CMPLX.c: Include <stdio.h>.
18582
185832012-01-31 Joseph Myers <joseph@codesourcery.com>
18584
18585 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18586 float.
18587 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18588 * sysdeps/sparc/bits/mathdef.h: Likewise.
18589
185902012-01-31 Marek Polacek <polacek@redhat.com>
18591
18592 * libio/libio.h: Don't define _PARAMS.
18593 * locale/programs/config.h: Don't define PARAMS.
18594 * stdlib/strtol_l.c: Likewise.
18595 (__strtol_l): Remove PARAMS from the prototype.
18596
185972012-01-31 Ulrich Drepper <drepper@gmail.com>
18598
18599 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18600 names. Just use the correct names. Remove unnecessary wrapper
18601 functions.
18602 * malloc/arena.c: Likewise.
18603 * malloc/hooks.c: Likewise.
18604
18605 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18606 ARENA_TEST says not to. Simplify test for creation of a new arena.
18607 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18608
186092012-01-30 Ulrich Drepper <drepper@gmail.com>
18610
18611 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18612 into tail calls.
18613 (update_get_addr): New function.
18614 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18615 GET_ADDR_MODULE parameter.
18616
186172012-01-30 Joseph Myers <joseph@codesourcery.com>
18618
18619 * crypt/cert.c: Remove __STDC__ conditionals.
18620 * crypt/crypt-entry.c: Likewise.
18621 * crypt/crypt_util.c: Likewise.
18622 * libio/filedoalloc.c: Likewise.
18623 * libio/fileops.c: Likewise.
18624 * libio/genops.c: Likewise.
18625 * libio/iofclose.c: Likewise.
18626 * libio/iofdopen.c: Likewise.
18627 * libio/iofopen.c: Likewise.
18628 * libio/iofopen64.c: Likewise.
18629 * libio/iogetdelim.c: Likewise.
18630 * libio/iopopen.c: Likewise.
18631 * libio/obprintf.c: Likewise.
18632 * libio/oldfileops.c: Likewise.
18633 * libio/oldiofclose.c: Likewise.
18634 * libio/oldiofdopen.c: Likewise.
18635 * libio/oldiofopen.c: Likewise.
18636 * libio/oldiopopen.c: Likewise.
18637 * libio/wfiledoalloc.c: Likewise.
18638 * libio/wgenops.c: Likewise.
18639 * locale/programs/xmalloc.c: Likewise.
18640 * misc/syslog.c: Likewise.
18641 * stdio-common/xbug.c: Likewise.
18642 * string/memchr.c: Likewise.
18643 * string/memcmp.c: Likewise.
18644 * string/memrchr.c: Likewise.
18645 * string/rawmemchr.c: Likewise.
18646 * sysdeps/posix/getcwd.c: Likewise.
18647 * time/strftime_l.c: Likewise.
18648
186492012-01-30 Joseph Myers <joseph@codesourcery.com>
18650
18651 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18652 * config.make.in (config-cflags-sse2avx): Define.
18653 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18654 Fix typo.
18655
186562012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18657
18658 * scripts/config.guess: Update from upstream config git repository.
18659 * scripts/config.sub: Likewise.
18660
186612012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18662
18663 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18664 (EM_NUM): Update.
18665 (R_TILEPRO_*, R_TILEGX_*): New macros.
18666
18667 * scripts/firstversions.awk: Fix bug in version range handling.
18668
18669 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18670
18671 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18672
18673 * include/sys/epoll.h: New file.
18674 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18675 libc_hidden_def.
18676
186772012-01-28 Ulrich Drepper <drepper@gmail.com>
18678
18679 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18680 Avoid unnecessary __WORDSIZE == 64 test.
18681 (fmaxf): Use VEX format if possible.
18682 (fmax): Likewise.
18683 (fminf): Likewise.
18684 (fmin): Likewise.
18685
18686 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18687 * math/math_private.h: Remove libc_fegetround* and
18688 libc_fesetround*.
18689 * sysdeps/i386/configure.in: Check for -msse2avx.
18690 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18691 also if SSE2AVX is defined.
18692 Remove libc_fegetround* and libc_fesetround*.
18693 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18694 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18695 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18696 of HAS_YMM_USABLE.
18697 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18698 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18699 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18700 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18701 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18702
18703 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18704
187052012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18706
18707 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18708 size is not set.
18709 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18710
187112012-01-27 Ulrich Drepper <drepper@gmail.com>
18712
18713 [BZ #13618]
18714 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18715 relocation.
18716 * Makeconfig (libm): Define.
18717 * elf/Makefile: Add rules to build and run tst-relsort1.
18718 * elf/tst-relsort1.c: New file.
18719 * elf/tst-relsort1mod1.c: New file.
18720 * elf/tst-relsort1mod2.c: New file.
18721
187222012-01-27 Joseph Myers <joseph@codesourcery.com>
18723
18724 * math/s_ldexp.c: Remove __STDC__ conditionals.
18725 * math/s_ldexpf.c: Likewise.
18726 * math/s_ldexpl.c: Likewise.
18727 * math/s_nextafter.c: Likewise.
18728 * math/s_nexttowardf.c: Likewise.
18729 * math/s_significand.c: Likewise.
18730 * math/s_significandf.c: Likewise.
18731 * math/s_significandl.c: Likewise.
18732 * math/w_jnl.c: Likewise.
18733 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18734 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18735 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18736 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18737 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18752 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18753 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18754 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18755 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18757 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18758 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18759 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18760 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18761 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18763 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18765 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18767 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18768 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18769 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18770 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18771 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18772 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18773 * sysdeps/ieee754/k_standard.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18835 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18853 * sysdeps/ieee754/s_matherr.c: Likewise.
18854 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18855 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18856 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18857 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18858
188592012-01-26 Joseph Myers <joseph@codesourcery.com>
18860
18861 * crypt/md5.h: Remove __STDC__ conditionals.
18862 * libio/libioP.h: Likewise.
18863 * locale/programs/config.h: Likewise.
18864 * sysdeps/generic/sysdep.h: Likewise.
18865 * sysdeps/i386/asm-syntax.h: Likewise.
18866 * sysdeps/s390/asm-syntax.h: Likewise.
18867 * sysdeps/unix/sysdep.h: Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18870
188712012-01-26 Joseph Myers <joseph@codesourcery.com>
18872
18873 * libio/libio.h: Remove __STDC__ conditionals.
18874 * malloc/obstack.h: Likewise.
18875 * math/complex.h: Likewise.
18876 * math/math.h: Likewise.
18877 * sysdeps/generic/_G_config.h: Likewise.
18878 * sysdeps/gnu/_G_config.h: Likewise.
18879 * sysdeps/mach/hurd/_G_config.h: Likewise.
18880 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18881 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18882 * sysdeps/sparc/bits/mathdef.h: Likewise.
18883
188842012-01-26 Ulrich Drepper <drepper@gmail.com>
18885
18886 [BZ #13583]
18887 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18888 Clean up HAS_* macros.
18889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18890 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18891 possible.
18892 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18893 HAS_AVX.
18894 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18895 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18896 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18897 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18898 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18899
189002012-01-25 Joseph Myers <joseph@codesourcery.com>
18901
18902 * elf/tst-unique3.cc (gets): Remove declaration.
18903 * elf/tst-unique3lib.cc (gets): Likewise.
18904 * elf/tst-unique3lib2.cc (gets): Likewise.
18905 * elf/tst-unique4.cc (gets): Likewise.
18906
189072012-01-24 Ulrich Drepper <drepper@gmail.com>
18908
18909 * include/stdio.h: Add C++ protection. Add gets declarations and
18910 definitions.
18911 * debug/tst-chk1.c: Don't declare gets here.
18912 * stdio-common/tst-gets.c: Likewise.
18913
189142012-01-24 Joseph Myers <joseph@codesourcery.com>
18915
18916 * posix/glob: Remove directory.
18917
189182012-01-24 Joseph Myers <joseph@codesourcery.com>
18919
18920 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18921
189222012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18923
18924 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18925 of the non-standard EPFNOSUPPORT.
18926
189272011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18928
18929 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18930 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18931 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18932
189332012-01-21 Ulrich Drepper <drepper@gmail.com>
18934
18935 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18936
189372012-01-20 Ulrich Drepper <drepper@gmail.com>
18938
18939 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18940 transient errors.
18941 * nscd/grpcache.c (cache_addgr): Likewise.
18942 * nscd/hstcache.c (cache_addhst): Likewise.
18943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18944 * nscd/pwdcache.c (cache_addpw): Likewise.
18945 * nscd/servicescache.c (cache_addserv): Likewise.
18946
189472012-01-16 Ulrich Drepper <drepper@gmail.com>
18948
18949 * malloc/malloc.c: Various cleanups.
18950 * malloc/hooks.c: Likewise.
18951
18952 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18953 * stdlib/bug-fmtmsg1.c: New file.
18954
18955 * stdlib/fmtmsg.c (init): Add missing unlock.
18956 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18957
189582012-01-12 Marek Polacek <polacek@redhat.com>
18959
18960 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18961 and _GNU_SOURCE.
18962
189632012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18964
18965 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18966 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18967 macro to ensure uniqueness of label name.
18968 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18969 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18970
189712012-01-11 Ulrich Drepper <drepper@gmail.com>
18972
18973 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18974
18975 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18976 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18977 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18979
189802012-01-10 Ulrich Drepper <drepper@gmail.com>
18981
18982 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18983
18984 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18985 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18986 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18987
18988 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18989
18990 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18991 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18992 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18994
18995 * math/bits/math-finite.h: Add ldexp support.
18996
189972012-01-10 Marek Polacek <polacek@redhat.com>
18998
18999 * locale/programs/localedef.h (show_archive_content): Add noreturn
19000 attribute.
19001
190022012-01-09 Ulrich Drepper <drepper@gmail.com>
19003
19004 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19005
190062012-01-08 Ulrich Drepper <drepper@gmail.com>
19007
19008 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19009
19010 * io/Makefile (headers): Add bits/poll2.h.
19011
190122011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19013
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19015 typo #include statement.
19016
190172012-01-08 Ulrich Drepper <drepper@gmail.com>
19018
19019 * include/sys/cdefs.h: Define __attribute_alloc_size.
19020 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19021 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19022 * elf/pldd.c: Likewise.
19023 * iconv/iconv_charmap.c: Likewise.
19024 * iconv/iconvconfig.c: Likewise.
19025 * iconv/strtab.c: Likewise.
19026 * locale/programs/locale.c: Likewise.
19027 * locale/programs/localedef.h: Likewise.
19028 * locale/programs/simple-hash.c: Likewise.
19029 * nscd/nscd.h: Likewise.
19030 * nss/makedb.c: Likewise.
19031 * sysdeps/generic/ldconfig.h: Likewise.
19032 * locale/programs/localedef.c: Remove xmalloc prototype.
19033 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19034
190352012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19036
19037 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19038 appropriate.
19039
190402012-01-08 Ulrich Drepper <drepper@gmail.com>
19041
19042 * math/Makefile (tests): Add tst-CMPLX.
19043 * math/tst-CMPLX.c: New file.
19044
19045 * math/complex.h (CMPLXL): Fix typo.
19046
19047 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19048 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19049 GLIBC_2.16.
19050 * debug/tst-chk1.c: Add poll and ppoll tests.
19051 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19052 * include/sys/poll.h: Add hidden proto for ppoll.
19053 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19054 * sysdeps/mach/hurd/ppoll.c: Likewise.
19055 * io/ppoll.c: Likewise.
19056 * debug/poll_chk.c: New file.
19057 * debug/ppoll_chk.c: New file.
19058 * include/bits/poll2.h: New file.
19059 * io/bits/poll2.h: New file.
19060
19061 [BZ #1350]
19062 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19063
19064 * configure.in: static is always set to yes. Remove.
19065 * config.make.in: Don't set build-static.
19066 * Makeconfig: Remove use of build-static.
19067 * dlfcn/Makefile: Likewise.
19068 * elf/Makefile: Likewise.
19069 * math/Makefile: Likewise.
19070 * misc/Makefile: Likewise.
19071 * nptl/Makefile: Likewise.
19072 * sysdeps/mach/hurd/Makefile: Likewise.
19073
19074 * configure.in: PWD_P is not used anymore.
19075 * config.make.in: Remove PWD_P entry.
19076
19077 * configure.in: Remove last remnants of RANLIB.
19078 No need to check for signed size_t anymore.
19079 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19080 and IA-64.
19081 Remove __builtin_expect test because we require at least gcc 3.4.
19082 * aclocal.m4: Likewise.
19083
19084 * wcsmbs/mbrtoc16.c: Implement using towc function.
19085 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19086 * wcsmbs/wcsmbsload.c: Likewise.
19087 * iconv/gconv_simple.c: Likewise.
19088 * iconv/gconv_int.h: Likewise.
19089 * iconv/gconv_builtin.h: Likewise.
19090 * iconv/iconv_prog.c: Remove CHAR16 handling.
19091
19092 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19093
19094 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19095
19096 * configure.in: Remove --with-elf and --enable-bounded options.
19097 Dont set base_machine for ia64. More non-ELF conditions removed.
19098 Remove testing and setting of leading underscore information.
19099 * config.make.in (build-bounded): Set to no.
19100 * config.h.in: Remove NO_UNDERSCORES entry.
19101 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19102 them.
19103 * csu/start.c: Remove !NO_UNDERSCORE code.
19104 * locale/localeinfo.h: Likewise.
19105 * sysdeps/generic/machine-gmon.h: Likewise.
19106 * sysdeps/generic/sysdep.h: Likewise.
19107 * sysdeps/i386/sysdep.h: Likewise.
19108 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19109 * sysdeps/mach/sysdep.h: Likewise.
19110 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19111 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19112 * sysdeps/sh/sysdep.h: Likewise.
19113 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19114 * sysdeps/unix/i386/sysdep.S: Likewise.
19115 * sysdeps/unix/sparc/start.c: Likewise.
19116 * sysdeps/unix/sparc/sysdep.S: Likewise.
19117 * sysdeps/unix/sparc/sysdep.h: Likewise.
19118 * sysdeps/unix/start.c: Likewise.
19119 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19120 * sysdeps/x86_64/sysdep.h: Likewise.
19121
191222012-01-07 Ulrich Drepper <drepper@gmail.com>
19123
19124 [BZ #13553]
19125 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19126 for non-gcc.
19127 * argp/argp-fmtstream.h: Use const instead __const.
19128 * argp/argp.h: Likewise.
19129 * assert/assert.h: Likewise.
19130 * bits/fenv.h: Likewise.
19131 * bits/sched.h: Likewise.
19132 * bits/sigset.h: Likewise.
19133 * bits/sigthread.h: Likewise.
19134 * catgets/nl_types.h: Likewise.
19135 * conform/data/pthread.h-data: Likewise.
19136 * crypt/crypt-private.h: Likewise.
19137 * crypt/crypt.h: Likewise.
19138 * crypt/crypt_util.c: Likewise.
19139 * ctype/ctype.h: Likewise.
19140 * debug/execinfo.h: Likewise.
19141 * debug/mbsnrtowcs_chk.c: Likewise.
19142 * debug/mbsrtowcs_chk.c: Likewise.
19143 * debug/wcsnrtombs_chk.c: Likewise.
19144 * debug/wcsrtombs_chk.c: Likewise.
19145 * debug/wcstombs_chk.c: Likewise.
19146 * dirent/dirent.h: Likewise.
19147 * dlfcn/dlfcn.h: Likewise.
19148 * elf/neededtest4.c: Likewise.
19149 * grp/grp.h: Likewise.
19150 * gshadow/gshadow.h: Likewise.
19151 * iconv/gconv.h: Likewise.
19152 * iconv/gconv_int.h: Likewise.
19153 * iconv/gconv_simple.c: Likewise.
19154 * iconv/iconv.h: Likewise.
19155 * iconv/loop.c: Likewise.
19156 * iconv/skeleton.c: Likewise.
19157 * include/aio.h: Likewise.
19158 * include/aliases.h: Likewise.
19159 * include/argz.h: Likewise.
19160 * include/arpa/inet.h: Likewise.
19161 * include/assert.h: Likewise.
19162 * include/dirent.h: Likewise.
19163 * include/dlfcn.h: Likewise.
19164 * include/execinfo.h: Likewise.
19165 * include/fcntl.h: Likewise.
19166 * include/fenv.h: Likewise.
19167 * include/glob.h: Likewise.
19168 * include/grp.h: Likewise.
19169 * include/libintl.h: Likewise.
19170 * include/mntent.h: Likewise.
19171 * include/netdb.h: Likewise.
19172 * include/pwd.h: Likewise.
19173 * include/rpc/netdb.h: Likewise.
19174 * include/sched.h: Likewise.
19175 * include/search.h: Likewise.
19176 * include/shadow.h: Likewise.
19177 * include/signal.h: Likewise.
19178 * include/stdio.h: Likewise.
19179 * include/stdlib.h: Likewise.
19180 * include/string.h: Likewise.
19181 * include/sys/socket.h: Likewise.
19182 * include/sys/stat.h: Likewise.
19183 * include/sys/statfs.h: Likewise.
19184 * include/sys/statvfs.h: Likewise.
19185 * include/sys/syslog.h: Likewise.
19186 * include/sys/time.h: Likewise.
19187 * include/sys/uio.h: Likewise.
19188 * include/time.h: Likewise.
19189 * include/unistd.h: Likewise.
19190 * include/utmp.h: Likewise.
19191 * include/wchar.h: Likewise.
19192 * include/wctype.h: Likewise.
19193 * inet/aliases.h: Likewise.
19194 * inet/arpa/inet.h: Likewise.
19195 * inet/netinet/ether.h: Likewise.
19196 * inet/netinet/in.h: Likewise.
19197 * intl/libintl.h: Likewise.
19198 * io/bits/fcntl2.h: Likewise.
19199 * io/fcntl.h: Likewise.
19200 * io/ftw.h: Likewise.
19201 * io/sys/poll.h: Likewise.
19202 * io/sys/stat.h: Likewise.
19203 * io/sys/statfs.h: Likewise.
19204 * io/sys/statvfs.h: Likewise.
19205 * io/utime.h: Likewise.
19206 * libio/bits/stdio.h: Likewise.
19207 * libio/bits/stdio2.h: Likewise.
19208 * libio/libio.h: Likewise.
19209 * libio/libioP.h: Likewise.
19210 * libio/stdio.h: Likewise.
19211 * locale/lc-ctype.c: Likewise.
19212 * locale/locale.h: Likewise.
19213 * login/utmp.h: Likewise.
19214 * malloc/arena.c: Likewise.
19215 * malloc/malloc.c: Likewise.
19216 * malloc/malloc.h: Likewise.
19217 * malloc/mcheck.c: Likewise.
19218 * malloc/mtrace.c: Likewise.
19219 * math/bits/mathcalls.h: Likewise.
19220 * math/fenv.h: Likewise.
19221 * math/math_private.h: Likewise.
19222 * misc/bits/error.h: Likewise.
19223 * misc/bits/syslog.h: Likewise.
19224 * misc/err.h: Likewise.
19225 * misc/error.h: Likewise.
19226 * misc/fstab.h: Likewise.
19227 * misc/mntent.h: Likewise.
19228 * misc/regexp.h: Likewise.
19229 * misc/search.h: Likewise.
19230 * misc/sgtty.h: Likewise.
19231 * misc/sys/mman.h: Likewise.
19232 * misc/sys/syslog.h: Likewise.
19233 * misc/sys/uio.h: Likewise.
19234 * misc/sys/xattr.h: Likewise.
19235 * misc/ttyent.h: Likewise.
19236 * nis/rpcsvc/ypclnt.h: Likewise.
19237 * nss/nss.h: Likewise.
19238 * posix/bits/unistd.h: Likewise.
19239 * posix/fnmatch.h: Likewise.
19240 * posix/glob.h: Likewise.
19241 * posix/sched.h: Likewise.
19242 * posix/spawn.h: Likewise.
19243 * posix/sys/wait.h: Likewise.
19244 * posix/unistd.h: Likewise.
19245 * posix/wordexp.h: Likewise.
19246 * pwd/pwd.h: Likewise.
19247 * resolv/netdb.h: Likewise.
19248 * resource/sys/resource.h: Likewise.
19249 * rt/aio.h: Likewise.
19250 * rt/bits/mqueue2.h: Likewise.
19251 * rt/mqueue.h: Likewise.
19252 * shadow/shadow.h: Likewise.
19253 * signal/signal.h: Likewise.
19254 * socket/send.c: Likewise.
19255 * socket/sendto.c: Likewise.
19256 * socket/sys/socket.h: Likewise.
19257 * stdio-common/printf.h: Likewise.
19258 * stdlib/bits/stdlib.h: Likewise.
19259 * stdlib/fmtmsg.h: Likewise.
19260 * stdlib/monetary.h: Likewise.
19261 * stdlib/stdlib.h: Likewise.
19262 * stdlib/ucontext.h: Likewise.
19263 * streams/stropts.h: Likewise.
19264 * string/argz.h: Likewise.
19265 * string/bits/string2.h: Likewise.
19266 * string/string.h: Likewise.
19267 * string/strings.h: Likewise.
19268 * sunrpc/rpc/auth.h: Likewise.
19269 * sunrpc/rpc/auth_des.h: Likewise.
19270 * sunrpc/rpc/clnt.h: Likewise.
19271 * sunrpc/rpc/netdb.h: Likewise.
19272 * sunrpc/rpc/pmap_clnt.h: Likewise.
19273 * sunrpc/rpc/xdr.h: Likewise.
19274 * sysdeps/generic/inttypes.h: Likewise.
19275 * sysdeps/generic/net/if.h: Likewise.
19276 * sysdeps/generic/sys/swap.h: Likewise.
19277 * sysdeps/gnu/net/if.h: Likewise.
19278 * sysdeps/gnu/utmpx.h: Likewise.
19279 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19280 * sysdeps/i386/i486/bits/string.h: Likewise.
19281 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19282 * sysdeps/s390/bits/string.h: Likewise.
19283 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19284 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19285 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19286 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19287 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19288 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19289 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19290 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19291 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19292 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19293 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19294 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19295 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19296 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19297 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19298 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19299 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19301 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19303 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19305 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19306 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19307 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19308 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19309 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19311 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19312 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19313 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19314 * sysvipc/sys/ipc.h: Likewise.
19315 * sysvipc/sys/msg.h: Likewise.
19316 * sysvipc/sys/sem.h: Likewise.
19317 * sysvipc/sys/shm.h: Likewise.
19318 * termios/termios.h: Likewise.
19319 * time/sys/time.h: Likewise.
19320 * time/time.h: Likewise.
19321 * wcsmbs/bits/wchar2.h: Likewise.
19322 * wcsmbs/uchar.h: Likewise.
19323 * wcsmbs/wchar.h: Likewise.
19324 * wctype/wctype.h: Likewise.
19325
19326 [BZ #13551]
19327 * Makeconfig: Remove all but ELF support including AIX support.
19328 * Makerules: Likewise.
19329 * config.h.in: Likewise.
19330 * config.make.in: Likewise.
19331 * configure: Likewise.
19332 * configure.in: Likewise.
19333 * csu/Makefile: Likewise.
19334 * csu/version.c: Likewise.
19335 * debug/Makefile: Likewise.
19336 * dlfcn/Makefile: Likewise.
19337 * elf/Makefile: Likewise.
19338 * extra-lib.mk: Likewise.
19339 * iconv/Makefile: Likewise.
19340 * include/libc-symbols.h: Likewise.
19341 * include/shlib-compat.h: Likewise.
19342 * resolv/Makefile: Likewise.
19343 * resolv/res_libc.c: Likewise.
19344 * rt/Makefile: Likewise.
19345 * sysdeps/i386/asm-syntax.h: Likewise.
19346 * sysdeps/i386/sysdep.h: Likewise.
19347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19348 * sysdeps/mach/sysdep.h: Likewise.
19349 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19350 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19351 * sysdeps/s390/asm-syntax.h: Likewise.
19352 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19353 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19354 * sysdeps/sh/sysdep.h: Likewise.
19355 * sysdeps/unix/sparc/sysdep.h: Likewise.
19356 * sysdeps/wordsize-32/divdi3.c: Likewise.
19357 * sysdeps/x86_64/sysdep.h: Likewise.
19358
19359 * argp/Versions: Remove _argp_unlock_xxx.
19360
19361 [BZ #13559]
19362 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19363 * abilist/libBrokenLocale.abilist: Likewise.
19364 * abilist/libanl.abilist: Likewise.
19365 * abilist/libc.abilist: Likewise.
19366 * abilist/libcrypt.abilist: Likewise.
19367 * abilist/libdl.abilist: Likewise.
19368 * abilist/libm.abilist: Likewise.
19369 * abilist/libnsl.abilist: Likewise.
19370 * abilist/libpthread.abilist: Likewise.
19371 * abilist/libresolv.abilist: Likewise.
19372 * abilist/librt.abilist: Likewise.
19373 * abilist/libthread_db.abilist: Likewise.
19374 * abilist/libutil.abilist: Likewise.
19375 * abilist/libnss_db.abilist: New file.
19376
19377 * scripts/abilist.awk: Add support for indirect functions.
19378
19379 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19380
19381 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19382
19383 * shlib-versions: Remove entries for ports architectures.
19384
19385 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19386 files in ports.
19387 * elf/stackguard-macros.h: Remove support for IA-64.
19388 * elf/tst-auditmod1.c: Likewise.
19389 * sysdeps/generic/ldsodefs.h: Likewise.
19390
19391 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19392 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19393 configure files.
19394
19395 [BZ #13552]
19396 * configure.in: Remove --enable-omitfp support.
19397 * FAQ.in: Adjust.
19398 * config.make.in: Likewise.
19399 * Makeconfig: Likewise.
19400 * manual/install.texi: Likewise.
19401
19402 In case anyone cares, the IA-64 architecture could move to ports.
19403 * sysdeps/ia64/*: Removed.
19404 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19405 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19406
19407 [BZ #13555]
19408 * configure.in: Remove entries for unsupported architectures.
19409
19410 [BZ #13533]
19411 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19412 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19413 routines.
19414 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19415 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19416 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19417 fall back to using wcrtomb.
19418 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19419 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19420 renaming.
19421 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19422 * wcsmbs/tst-c16c32-1.c: New file.
19423
19424 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19425 local variable.
19426
19427 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19428
19429 * elf/tst-unique3.cc: Add explicit declaration of gets.
19430 * elf/tst-unique3lib.cc: Likewise.
19431 * elf/tst-unique3lib2.cc: Likewise.
19432 * elf/tst-unique4.cc: Likewise.
19433
19434 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19435
194362012-01-06 Joseph Myers <joseph@codesourcery.com>
19437
19438 [BZ #13566]
19439 * assert/assert.h (static_assert): Don't define for C++.
19440 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19441 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19442
194432012-01-03 Ulrich Drepper <drepper@gmail.com>
19444
19445 * iconv/loop.c (single loop): Fix assertion in storing of
19446 remaining bytes.
19447
19448 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19449
194502012-01-01 Ulrich Drepper <drepper@gmail.com>
19451
19452 * posix/getconf.c: Update copyright year.
19453 * nss/getent.c: Likewise.
19454 * nss/makedb.c: Likewise.
19455 * iconv/iconvconfig.c: Likewise.
19456 * iconv/iconv_prog.c: Likewise.
19457 * elf/ldconfig.c: Likewise.
19458 * elf/pldd.c: Likewise.
19459 * elf/sotruss.ksh: Likewise.
19460 * catgets/gencat.c: Likewise.
19461 * csu/version.c: Likewise.
19462 * elf/ldd.bash.in: Likewise.
19463 * elf/sprof.c (print_version): Likewise.
19464 * locale/programs/locale.c: Likewise.
19465 * locale/programs/localedef.c: Likewise.
19466 * login/programs/pt_chown.c: Likewise.
19467 * nscd/nscd.c (print_version): Likewise.
19468 * debug/xtrace.sh: Likewise.
19469 * malloc/memusage.sh: Likewise.
19470 * malloc/mtrace.pl: Likewise.
19471 * debug/catchsegv.sh: Likewise.
19472
194732011-12-30 Jakub Jelinek <jakub@redhat.com>
19474
19475 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19476 pure attribute.
19477
194782011-12-24 Ulrich Drepper <drepper@gmail.com>
19479
19480 [BZ #13533]
19481 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19482 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19483 transformations.
19484 * iconv/gconv_int.h: Likewise.
19485 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19486 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19487 from libc for GLIBC_2.16.
19488 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19489 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19490 * wcsmbs/uchar.h: Really define mbstate_t.
19491 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19492 * wcsmbs/c16rtomb.c: New file.
19493 * wcsmbs/mbrtoc16.c: New file.
19494 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19495 for C/POSIX locale.
19496 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19497 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19498
19499 * wcsmbs/wchar.h: Add missing __restrict.
19500
195012011-12-23 Ulrich Drepper <drepper@gmail.com>
19502
19503 [BZ #13532]
19504 * time/Makefile (routines): Add timespec_get.
19505 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19506 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19507 timespec for ISO C11.
19508 * time/timespec_get.c: New file.
19509 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19510 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19511
19512 [BZ #13531]
19513 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19514 * stdlib/stdlib.h: Declare aligned_alloc.
19515 * Versions.def: Add GLIBC_2.16 for libc.
19516 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19517
19518 [BZ 13527]
19519 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19520 ISO C11.
19521
19522 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19523 code.
19524
19525 [BZ #13528]
19526 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19527
19528 [BZ #13529]
19529 * assert/assert.h (static_assert): Define.
19530
19531 * version.h: Update for 2.16 development version.
19532
19533 [BZ #13526]
19534 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19535 _ISOC11_SOURCE.
19536
19537 * version.h (RELEASE): Bump for 2.15 release.
19538 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19539
19540 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19541 Patch by Marek Polacek <mpolacek@redhat.com>.
19542
19543 * bits/byteswap.h: Protect long long constants with __extension__.
19544 * sysdeps/i386/bits/byteswap.h: Likewise.
19545 * sysdeps/ia64/bits/byteswap.h: Likewise.
19546 * sysdeps/s390/bits/byteswap.h: Likewise.
19547 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19548
195492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19550
19551 [BZ #13540]
19552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19553 destination buffer.
19554 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19555
195562011-12-23 Marek Polacek <polacek@redhat.com>
19557
19558 * elf/dl-addr.c (determine_info): Add inline keyword.
19559 * elf/tst-auditmod4b.c (check_avx): Likewise.
19560 * elf/tst-auditmod6b.c (check_avx): Likewise.
19561 * elf/tst-auditmod6c.c (check_avx): Likewise.
19562 * elf/tst-auditmod7b.c (check_avx): Likewise.
19563
195642011-12-23 Ulrich Drepper <drepper@gmail.com>
19565
19566 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19567 !__SSE_MATH__.
19568
195692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19570
19571 [BZ #13540]
19572 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19573 processing for last bytes.
19574
195752011-08-06 Bruno Haible <bruno@clisp.org>
19576
19577 [BZ #13061]
19578 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19579 U+0385, not to U+1FEE.
19580
19581 [BZ #13062]
19582 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19583 entry for U+00A5 U+0301.
19584
195852011-12-22 Ulrich Drepper <drepper@gmail.com>
19586
19587 [BZ #13166]
19588 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19589 buffer for the output is too small.
19590
19591 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19592 optimization.
19593
19594 [BZ #13185]
19595 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19596 SSE flags if possible.
19597
195982011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19599
19600 [BZ #13540]
19601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19602 processing for last bytes.
19603
196042011-12-22 Joseph Myers <joseph@codesourcery.com>
19605
19606 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19607 (syscall-list-default-options, syscall-list-default-condition)
19608 (syscall-list-includes): Define.
19609 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19610 list of ABIs and options and #if conditions for each ABI. Do not
19611 handle common syscalls between ABIs specially.
19612 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19613 Remove.
19614 (syscall-list-variants, syscall-list-32bit-options)
19615 (syscall-list-32bit-condition, syscall-list-64bit-options)
19616 (syscall-list-64bit-condition): Define.
19617 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19618 (syscall-list-variants, syscall-list-32bit-options)
19619 (syscall-list-32bit-condition, syscall-list-64bit-options)
19620 (syscall-list-64bit-condition): Define.
19621 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19622 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/x86_64/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
196322011-12-22 Ulrich Drepper <drepper@gmail.com>
19633
19634 * locale/iso-639.def: Add brx entry.
19635
19636 [BZ #13328]
19637 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19638 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19639
19640 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19641 __feraiseexcept_renamed.
19642
196432011-12-21 Ulrich Drepper <drepper@gmail.com>
19644
19645 [BZ #13538]
19646 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19647 EPOLLET with unsigned values.
19648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19649 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19650
19651 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19652 to large cancellation.
19653 * math/s_cacoshf.c: Likewise.
19654 * math/s_cacoshl.c: Likewise.
19655
196562011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19657
19658 [BZ #13305]
19659 [BZ #12786]
19660 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19661 * math/s_cacoshf.c: Likewise.
19662 * math/s_cacoshl.c: Likewise.
19663
196642011-12-21 Ulrich Drepper <drepper@gmail.com>
19665
19666 [BZ #13439]
19667 * iconv/gconv.h: Define __GCONV_SWAP.
19668 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19669 * iconvdata/utf-16.c: Likewise.
19670 * iconvdata/utf-32.c: Likewise.
19671
196722011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19673
19674 [BZ #13524]
19675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19676 numerator after shifting it by one limb.
19677
196782011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19679
19680 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19681 under [__USE_EXTERN_INLINES].
19682
196832011-12-17 Ulrich Drepper <drepper@gmail.com>
19684
19685 [BZ #13446]
19686 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19687
196882011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19689
19690 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19691 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19692 optimized code.
19693 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19694 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19695 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19696 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19697 for strncasecmp/strncasecmp_l compilation.
19698 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19699 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19700
197012011-12-08 Marek Polacek <mpolacek@redhat.com>
19702
19703 [BZ #13484]
19704 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19705 of __asm__.
19706
197072011-12-17 Ulrich Drepper <drepper@gmail.com>
19708
19709 [BZ #13506]
19710 * time/tzfile.c (__tzfile_read): Check values from file header.
19711
197122011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19713
19714 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19715 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19716 * powerpc/powerpc32/dl-start.S: Likewise.
19717 * powerpc/powerpc32/elf/start.S: Likewise.
19718 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19719 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19720 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19721 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19722 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19723 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19724 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19725 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19726 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19727 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19728 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19729 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19730 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19731 * powerpc/powerpc32/memset.S: Likewise.
19732 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19733 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19734 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19735 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19736 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19737 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19738 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19739 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19740 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19741 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19742 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19743 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19744 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19745
197462011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19747
19748 * math/libm-test.inc: Added more nearbyint tests.
19749 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19753
197542011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19755
19756 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19757 FD_CLOEXEC.
19758
197592011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19760
19761 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19762 Add wcscpy-ssse3 wcscpy-c.
19763 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19764 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19765 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19766 * sysdeps/x86_64/wcschr.S: New file.
19767 * sysdeps/x86_64/wcsrchr.S: New file.
19768 * string/test-strcmp.c: Remove checking of wcscmp function for
19769 wrong alignments.
19770 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19771 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19772 wcsrchr-sse2 wcsrchr-c.
19773 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19774 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19775 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19776 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19777 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19778 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19779 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19780 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19781 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19782 * wcsmbc/wcschr.c (WCSCHR): New macro.
19783
197842011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19785
19786 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19787 * wcsmbs/test-wcsrchr.c: New file.
19788 * string/test-strrchr.c: Add wcsrchr support.
19789 (WIDE): New macro.
19790 * wcsmbs/test-wcscpy.c: New file.
19791 * string/test-strcpy.c: Add wcscpy support.
19792 (WIDE): New macro.
19793
197942011-12-10 Ulrich Drepper <drepper@gmail.com>
19795
19796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19797 the inner loop.
19798
197992011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19800
19801 [BZ #13472]
19802 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19803
198042011-12-04 Ulrich Drepper <drepper@gmail.com>
19805
19806 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19807 Minor optimizations.
19808
19809 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19810 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19811 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19812
198132011-12-03 Ulrich Drepper <drepper@gmail.com>
19814
19815 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19816 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19817 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19818 for gcc to avoid warnings.
19819 * inet/Makefile (tests): Add tst-checks.
19820 * inet/tst-checks.c: New file.
19821
19822 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19823 warning.
19824
19825 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19826 __wmemcmp_sse2.
19827
19828 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19829 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19830
19831 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19832
198332011-12-02 Ulrich Drepper <drepper@gmail.com>
19834
19835 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19836 problem.
19837
19838 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19839
198402011-11-29 Joseph Myers <joseph@codesourcery.com>
19841
19842 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19843 conditional on GCC version.
19844 (__arch_compare_and_exchange_val_8_acq)
19845 (__arch_compare_and_exchange_val_16_acq)
19846 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19847 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19848 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19849
198502011-12-02 Joseph Myers <joseph@codesourcery.com>
19851
19852 * sysdeps/sh/backtrace.c: New file.
19853
198542011-12-02 Andreas Schwab <schwab@redhat.com>
19855
19856 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19857 parenthesis.
19858
198592011-12-01 Andreas Schwab <schwab@redhat.com>
19860
19861 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19862 falling back to utime.
19863
198642011-11-30 Andreas Schwab <schwab@redhat.com>
19865
19866 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19867 expectations for float.
19868
198692011-11-29 Andreas Schwab <schwab@redhat.com>
19870
19871 * locale/weight.h (findidx): Add parameter len.
19872 * locale/weightwc.h (findidx): Likewise.
19873 * posix/fnmatch_loop.c (FCT): Adjust caller.
19874 * posix/regcomp.c (build_equiv_class): Likewise.
19875 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19876 * posix/regexec.c (check_node_accept_bytes): Likewise.
19877 * string/strcoll_l.c (STRCOLL): Likewise.
19878 * string/strxfrm_l.c (STRXFRM): Likewise.
19879
198802011-11-17 Ulrich Drepper <drepper@gmail.com>
19881
19882 * Makefile.in: Remove CVSOPT handling.
19883 * configure.in: Remove use of AC_REVISION.
19884 * iconvdata/Makefile (distribute): No need to filter out CVS.
19885 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19886 handling.
19887
198882011-11-16 Andreas Schwab <schwab@redhat.com>
19889
19890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19891 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19892 [USE_AS_STRNCASECMP_L]: Likewise.
19893 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19894 NO_TLS_DIRECT_SEG_REFS.
19895 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19896 Fix argument offsets for non-PIC.
19897 [USE_AS_STRNCASECMP_L]: Likewise.
19898 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19899 NO_TLS_DIRECT_SEG_REFS.
19900
199012011-11-15 Ulrich Drepper <drepper@gmail.com>
19902
19903 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19904 O_CLOEXEC.
19905 * locale/loadlocale.c (_nl_load_locale): Likewise.
19906
199072011-11-15 Andreas Schwab <schwab@redhat.com>
19908
19909 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19910 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19911 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19912 (SYSCALL_GETTIME): Set errno on error.
19913
19914 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19915 count references to noai6ai_cached.
19916
199172011-11-15 Ulrich Drepper <drepper@gmail.com>
19918
19919 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19920
19921 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19922 FD_CLOEXEC for /proc/self/maps.
19923
19924 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19925 FD_CLOEXEC for /proc/meminfo.
19926
19927 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19928 gai.conf.
19929
19930 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19931 FD_CLOEXEC for given file.
19932
19933 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19934
19935 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19936 FD_CLOEXEC for /etc/hosts.
19937 (_gethtent): Likewise.
19938
19939 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19940
19941 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19942 cancellation and set FD_CLOEXEC for /etc/netgroup.
19943
19944 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19945 reading /etc/publickey.
19946
19947 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19948 allow cancellation when reading /etc/group.
19949
19950 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19951 cancellation.
19952 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19953
19954 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19955 when using data file.
19956
19957 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19958
19959 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19960 (write_nis_obj): Use "c" and "e" in fopen.
19961
19962 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19963
19964 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19965
19966 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19967
19968 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19969
19970 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19971 locale.alias.
19972
19973 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19974
19975 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19976
19977 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19978
19979 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19980 file parsing and set FD_CLOEXEC.
19981
199822011-11-14 Ulrich Drepper <drepper@gmail.com>
19983
19984 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19985
199862011-11-14 Andreas Schwab <schwab@redhat.com>
19987
19988 * malloc/arena.c (arena_get2): Don't call reused_arena when
19989 _int_new_arena failed.
19990
199912011-11-14 Ulrich Drepper <drepper@gmail.com>
19992
19993 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19994 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19997 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19999 to compile strcasecmp and strncasecmp.
20000 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20001 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20002
20003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20004
200052011-11-13 Ulrich Drepper <drepper@gmail.com>
20006
20007 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20008 locale-defines.sym to gen-as-const-headers.
20009 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20010 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20012 to compile strcasecmp and strncasecmp.
20013 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20014 strcasecmp_l and strncasecmp_l.
20015 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20016 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20017 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20018 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20019 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20020 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20021 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20022 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20023 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20024 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20025 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20026
200272011-11-12 Ulrich Drepper <drepper@gmail.com>
20028
20029 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20030 result of SYSDEP_GETTIME_CPU to retval.
20031 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20032 parameter list to macro. Remove trailing semicolon. Adjust users.
20033
20034 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20035 variable.
20036
20037 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20038 mantissa words.
20039 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20040
20041 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20042 from unused variable.
20043
20044 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20045 DWARF definitions.
20046 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20047 for assembling.
20048
20049 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20050 over namespaces.
20051
20052 * sunrpc/rpc_prot.c (rejected): Fix case value.
20053
20054 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20055 unsigned long long int to avoid warnings in shift.
20056
20057 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20058 of use of trans.
20059 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20060 variable tmp.
20061
20062 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20063 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20064 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20065
20066 * nis/nis_table.c (nis_list): Use variable of correct type for
20067 result of __follow_path call.
20068
200692011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20070
20071 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20072 of math functions ceil, trunc, floor, round, and sqrt, when
20073 avaliable on the platform.
20074 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20075 name clash.
20076 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20077 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20078 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20079
200802011-10-30 Marek Polacek <mpolacek@redhat.com>
20081
20082 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20083 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20084
200852011-11-11 Roland McGrath <roland@hack.frob.com>
20086
20087 * include/unistd.h: Fix __readlink return type.
20088 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20089
200902011-11-11 Ulrich Drepper <drepper@gmail.com>
20091
20092 * stdlib/ucontext.h: Undo last change for makecontext.
20093
200942011-11-11 Andreas Schwab <schwab@redhat.com>
20095
20096 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20097
20098 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20099 * setjmp/setjmp.h: Mark functions as non-leaf.
20100 * setjmp/bits/setjmp2.h: Likewise.
20101 * stdlib/ucontext.h: Likewise.
20102
201032011-11-10 Andreas Schwab <schwab@redhat.com>
20104
20105 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20106 (reused_arena): Don't check arena limit.
20107 (arena_get2): Atomically check arena limit.
20108
201092011-11-08 Ulrich Drepper <drepper@gmail.com>
20110
20111 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20112 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20113
20114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20115 instructions.
20116
201172011-11-07 Andreas Schwab <schwab@redhat.com>
20118
20119 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20120 handler when locking.
20121
20122 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20123 Fix size of allocated buffer.
20124
201252011-11-04 Andreas Schwab <schwab@redhat.com>
20126
20127 [BZ #10103]
20128 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20129 declarations for long double functions.
20130 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20131
20132 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20133
201342011-11-03 Andreas Schwab <schwab@redhat.com>
20135
20136 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20137 installed.
20138
20139 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20140 is disabled.
20141
201422011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20143
20144 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20145
201462011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20147
20148 * include/alloca.h (stackinfo_alloca_round): Define.
20149 (extend_alloca): Use it.
20150 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20151 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20152 here.
20153
20154 * scripts/check-local-headers.sh: Ignore libaudit.h.
20155
20156 * nscd/Makefile (extra-objs): Make recursively expanded.
20157
201582011-11-01 Ulrich Drepper <drepper@gmail.com>
20159
20160 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20161 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20162
20163 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20164 * posix/tst-rfc3484-2.c: Likewise.
20165 * posix/tst-rfc3484-3.c: Likewise.
20166
20167 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20168 process_vm_writev.
20169 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20170 process_vm_writev.
20171 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20172 process_vm_writev from libc using GLIBC_2.15 version.
20173
20174 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20175
201762011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20177
20178 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20179 stack usage.
20180
201812011-10-31 Ulrich Drepper <drepper@gmail.com>
20182
20183 [BZ #13367]
20184 * nss/getent.c (initgroups_keys): Show error message in case no group
20185 names are given.
20186
20187 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20188 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20189 __bump_nl_timestamp.
20190 * nscd/connections (nscd_init): When host database is served open
20191 netlink socket and request notification about configuration changes.
20192 (main_loop_poll): Track netlink file descriptor and bump timestamp
20193 in case data becomes available.
20194 (main_loop_epoll): Likewise.
20195 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20196 (database_pers_head): Add extra_data fileds.
20197 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20198 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20199 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20200 Adjust caller.
20201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20202 in6ai data, call __free_in6ai.
20203 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20204 Add -DHAVE_NETLINK.
20205 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20206 interface information. Reuse previous data if netlink timestamp
20207 is not changed.
20208 (__bump_nl_timestamp): New function.
20209 (__free_in6ai): New function.
20210
202112011-10-30 Ulrich Drepper <drepper@gmail.com>
20212
20213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20214 close_not_cancel_no_status here.
20215 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20216
202172011-10-29 Ulrich Drepper <drepper@gmail.com>
20218
20219 [BZ #13276]
20220 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20221 return value.
20222
20223 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20224 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20225 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20226
202272011-07-03 Andreas Jaeger <aj@suse.de>
20228
20229 [BZ #10709]
20230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20231 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20232 * math/libm-test.inc (sin_test): Add test case.
20233
202342011-10-29 Ulrich Drepper <drepper@gmail.com>
20235
20236 [BZ #13337]
20237 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20238 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20239
20240 * elf/chroot_canon.c (chroot_canon): Cleanups.
20241
20242 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20243
20244 [BZ #13335]
20245 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20246 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20247
20248 * string/test-strchr.c: Make usable for strchrnul testing.
20249 * string/test-strchrnul.c: New file.
20250 * string/Makefile (strop-tests): Add strchrnul.
20251
20252 * po/it.po: Update from translation team.
20253 * po/es.po: Likewise.
20254
202552011-10-28 Ulrich Drepper <drepper@gmail.com>
20256
20257 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20258 the three constants needed as parameters. Drop the others.
20259 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20260 __m128i_strloadu_tolower.
20261 Create and initialize variable zero and use it in all the places
20262 where _mm_setzero_si128 was used.
20263
20264 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20265 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20266 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20267 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20268 anymore.
20269 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20270 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20271 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20272 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20273 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20274 __mpranred, __mptan.
20275 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20276 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20277 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20278 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20279 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20280 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20282 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20283 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20284
202852011-10-28 Andreas Schwab <schwab@redhat.com>
20286
20287 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20288 redefine if SHARED.
20289 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20290
20291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20292 wide char related routines to wcsmbs subdir.
20293
202942011-10-27 Andreas Schwab <schwab@redhat.com>
20295
20296 [BZ #13344]
20297 * misc/sys/cdefs.h (__THROWNL): Define.
20298 * posix/unistd.h: Use __THREADNL instead of __THREAD
20299 for memory synchronization functions.
20300
203012011-10-26 Roland McGrath <roland@hack.frob.com>
20302
20303 [BZ #13349]
20304 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20305 doesn't exist.
20306 * manual/stdio.texi (Obstack Streams): Node removed.
20307
203082011-10-26 Andreas Schwab <schwab@redhat.com>
20309
20310 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20313
20314 * math/math_private.h (math_force_eval): Allow non-addressable
20315 arguments.
20316 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20317
203182011-10-25 Ulrich Drepper <drepper@gmail.com>
20319
20320 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20321 file is not needed.
20322
20323 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20326 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20327 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20328 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20329 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20330 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20331 Add AVX variants.
20332 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20333 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20334 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20335 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20336 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20337 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20338 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20339 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20340 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20341 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20342 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20343 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20344 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20345 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20346 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20347 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20348 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20349 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20350 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20351
20352 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20353 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20354
20355 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20356 place. Use VEX encoding when compiling for AVX.
20357
203582011-10-25 Andreas Schwab <schwab@redhat.com>
20359
20360 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20361 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20362
20363 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20364
203652011-10-25 Ulrich Drepper <drepper@gmail.com>
20366
20367 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20368 useless if() expression.
20369 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20373 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20374 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20375 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20377 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20378 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20379 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20380 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20381 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20382 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20383 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20384 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20385 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20387 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20388
20389 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20390
203912011-10-25 Andreas Schwab <schwab@redhat.com>
20392
20393 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20394 condition.
20395 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20396
203972011-10-25 Ulrich Drepper <drepper@gmail.com>
20398
20399 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20400 .text section. Avoid duplicate constants.
20401 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20409 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20410 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20411 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20413 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20418 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20425 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20426 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20427 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20428 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20429 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20430 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20431 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20432 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20434 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20435 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20436 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20437 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20438 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20439 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20440 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20441 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20442 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20443 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20445 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20446
204472011-10-24 Ulrich Drepper <drepper@gmail.com>
20448
20449 * sysdeps/x86_64/dla.h: Move to ...
20450 * sysdeps/x86_64/fpu/dla.h: ...here.
20451 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20452 situations. Use __builtin_fma only for gcc 4.6 and up.
20453
20454 * config.make.in: Add have-mfma4 entry.
20455 * configure.in: Substitute libc_cv_cc_fma4.
20456 * math/Makefile (dbl-only-routines): Add sincostab.
20457 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20458 Use __sincostab not sincos.
20459 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20460 name is a macro.
20461 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20465 using __copysign.
20466 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20467 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20468 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20469 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20470 and __inv.
20471 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20472 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20473 __copysign.
20474 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20475 define aliases when function name is a macro.
20476 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20477 sysdeps/ieee754/dbl-64/sincos.tbl.
20478 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20479 fma4-enabled routines.
20480 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20481 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20482 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20483 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20485 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20486 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20487 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20488 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20489 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20493 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20494 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20495 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20496 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20497 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20498 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20505 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20506 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20507 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20508 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20509 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20510
20511 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20512 rename.
20513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20521
205222011-10-24 Andreas Schwab <schwab@redhat.com>
20523
20524 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20525
205262011-10-23 Ulrich Drepper <drepper@gmail.com>
20527
20528 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20529
20530 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20531 prediction.
20532 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20533
20534 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20535 Remove unused variable magic_bits.
20536 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20537
20538 * string/strnlen.c: Define and use STRNLEN macro.
20539 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20540 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20542 * wcsmbs/wcslen.c: Define and use WCSLEN.
20543 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20544 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20545 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20546 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20547 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20548 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20549 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20550
205512011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20552
20553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20554 strnlen-sse2-no-bsf.
20555 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20557 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20558 Add strnlen support.
20559 (USE_AS_STRNLEN): New macro.
20560 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20561 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20562 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20563 * sysdeps/x86_64/wcslen.S: New file.
20564
205652011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20566
20567 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20568 XMM-moves are used for copying on small sizes.
20569
205702011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20571
20572 * wcsmbs/Makefile (strop-tests): Add wcschr.
20573 * wcsmbs/test-wcschr.c: New file.
20574 * string/test-strchr.c: Update.
20575 Add wcschr support.
20576 (WIDE): New macro.
20577
205782011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20579
20580 * wcsmbs/Makefile (strop-tests): Add wcslen.
20581 * wcsmbs/test-wcslen.c: New file.
20582 * string/test-strlen.c: Update.
20583 Add wcslen support.
20584 (WIDE): New macro.
20585
205862011-10-23 Ulrich Drepper <drepper@gmail.com>
20587
20588 * po/it.po: Update from translation team.
20589
205902011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20591
20592 * sysdeps/x86_64/wcscmp.S: Update.
20593 Fix wrong comparison semantics.
20594 wcscmp shall use signed comparison not unsigned.
20595 Don't use substraction to avoid overflow bug.
20596 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20597 * wcsmbc/wcscmp.c: Likewise.
20598 * string/test-strcmp.c: Likewise.
20599 Add new tests to check cases with negative values.
20600
206012011-10-23 Ulrich Drepper <drepper@gmail.com>
20602
20603 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20604 * sysdeps/x86_64/dla.h: ...here. New file.
20605 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20610 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20614
206152011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20616
20617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20618 __ynl_finite aliases.
20619
206202011-10-22 Ulrich Drepper <drepper@gmail.com>
20621
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20623
20624 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20625 define DLA_FMA.
20626 [DLA_FMA] (EMULV): Use DLA_FMA.
20627 [DLA_FMA] (MUL12): Use EMULV.
20628 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20629 that are not needed.
20630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20637
206382011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20639
20640 * math/s_nan.c: Undef __nan.
20641 * math/s_nanf.c: Undef __nanf.
20642 * math/s_nanl.c: Undef __nanl.
20643 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20644 "math_private.h".
20645
206462011-10-22 Ulrich Drepper <drepper@gmail.com>
20647
20648 * math/s_catan.c: Add branch predictions.
20649 * math/s_catanf.c: Likewise.
20650 * math/s_catanh.c: Likewise.
20651 * math/s_catanhf.c: Likewise.
20652 * math/s_catanhl.c: Likewise.
20653 * math/s_catanl.c: Likewise.
20654 * math/s_cexp.c: Likewise.
20655 * math/s_cexpf.c: Likewise.
20656 * math/s_cexpl.c: Likewise.
20657 * math/s_clog.c: Likewise.
20658 * math/s_clog10.c: Likewise.
20659 * math/s_clog10f.c: Likewise.
20660 * math/s_clog10l.c: Likewise.
20661 * math/s_clogf.c: Likewise.
20662 * math/s_clogl.c: Likewise.
20663 * math/s_csqrt.c: Likewise.
20664 * math/s_csqrtf.c: Likewise.
20665 * math/s_csqrtl.c: Likewise.
20666 * math/s_ctanf.c: Likewise.
20667 * math/s_ctanh.c: Likewise.
20668 * math/s_ctanhf.c: Likewise.
20669 * math/s_ctanhl.c: Likewise.
20670 * math/s_ctanl.c: Likewise.
20671
20672 * math/math_private.h: Define __nan, __nanf, __nanl.
20673 * math/s_cacosh.c: Include <math_private.h>.
20674 * math/s_cacoshl.c: Likewise.
20675 * math/s_casinh.c: Likewise.
20676 * math/s_casinhf.c: Likewise.
20677 * math/s_casinhl.c: Likewise.
20678 * math/s_ccos.c: Rely entire on ccosh.
20679 * math/s_ccosf.c: Rely entire on ccoshf.
20680 * math/s_ccosl.c: Rely entirely on ccoshl.
20681 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20682 Remove tests for FE_INVALID.
20683 * math/s_ccoshf.c: Likewise.
20684 * math/s_ccoshl.c: Likewise.
20685 * math/s_csin.c: Likewise.
20686 * math/s_csinf.c: Likewise.
20687 * math/s_csinh.c Likewise.
20688 * math/s_csinhf.c: Likewise.
20689 * math/s_csinhl.c: Likewise.
20690 * math/s_csinl.c: Likewise.
20691 * math/s_ctan.c: Likewise.
20692 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20693 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20694 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20695
206962011-10-21 Ulrich Drepper <drepper@gmail.com>
20697
20698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20699 compilation problems.
20700
20701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20702 __builtin_expect.
20703
207042011-10-20 Ulrich Drepper <drepper@gmail.com>
20705
20706 * sysdeps/i386/configure.in: Test for -mfma4 option.
20707 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20708 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20709 COMMON_CPUID_INDEX_80000001.
20710 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20711 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20712 use it if FMA3 is not supported.
20713 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20714
20715 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20716 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20717
207182011-10-20 Andreas Schwab <schwab@redhat.com>
20719
20720 [BZ #12892]
20721 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20722 it would create a cycle with a link time dependency.
20723
207242011-10-19 Ulrich Drepper <drepper@gmail.com>
20725
20726 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20727 instruction.
20728 * string/Makefile (strop-tests): Add rawmemchr.
20729 * string/test-rawmemchr.c: New file.
20730
20731 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20733 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20734 when compiling str{,n}casecmp and when AVX is available. Hook up
20735 new optimized code in initializers.
20736
207372011-10-19 Andreas Schwab <schwab@redhat.com>
20738
20739 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20740 __feraiseexcept instead of feraiseexcept.
20741
207422011-10-18 Ulrich Drepper <drepper@gmail.com>
20743
20744 * math/math_private.h: Define defaults for libc_fetestexcept and
20745 libc_feupdateenv.
20746 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20747 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20748 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20749 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20750 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20751 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20752 libc_fetestexcept and libc_feupdateenv.
20753
20754 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20755 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20756 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20757 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20758 libc_feholdexcept_setround.
20759
20760 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20761 Add s_nearbyint-c and s_nearbyintf-c.
20762 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20763 nearbyintf inlines.
20764 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20765 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20766 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20767 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20768
20769 * math/math_private.h: Define defaults for libc_fegetround,
20770 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20771 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20772 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20773 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20774 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20775 standard functions.
20776 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20777 Remove comments and hacks for old compiler versions.
20778 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20779 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20780 libc_feholdexceptl.
20781
207822011-10-18 Andreas Schwab <schwab@redhat.com>
20783
20784 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20785 (__feraiseexcept_renamed): Add __NTH.
20786 (feraiseexcept): Add __NTH. Rename local variables to fix
20787 namespace violations.
20788
207892011-10-17 Ulrich Drepper <drepper@gmail.com>
20790
20791 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20792
20793 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20794
20795 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20796 recently added interfaces.
20797 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20798
20799 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20800 about macro parameter expansion.
20801
20802 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20803 __NO_MATH_INLINES is defined. Cleanups.
20804
20805 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20806 and __floorf is target has SSE4.1.
20807 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20808 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20809 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20810 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20811
20812 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20813 name.
20814 (floorf): Likewise.
20815
20816 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20817
208182011-10-17 Andreas Schwab <schwab@redhat.com>
20819
20820 * misc/sys/cdefs.h: Fix last change.
20821
20822 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20823 database lookup.
20824
208252011-10-16 Ulrich Drepper <drepper@gmail.com>
20826
20827 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20828
20829 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20830 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20831 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20832 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20833 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20834 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20835 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20836 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20837 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20838 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20839 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20840 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20841 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20842 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20843 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20844 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20845 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20846 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20847 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20848 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20849 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20850 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20851
20852 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20853 ceil, ceilf, floor, floorf.
20854
20855 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20856 Perform IRELATIVE relocations last.
20857
20858 * elf/do-rel.h: Add another parameter nrelative, replacing the
20859 local variable with the same name. Change name of the function
20860 to end in Rel or Rela (uppercase).
20861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20862 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20863 elf_dynamic_do_##reloc function.
20864
208652011-10-15 Ulrich Drepper <drepper@gmail.com>
20866
20867 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20868 is sufficient, at least on modern CPUs.
20869
20870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20871
20872 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20873 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20874
20875 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20876 __expl_finite.
20877 * math/bits/math-finite.h: Add entries for exp.
20878 * math/e_expl.c: Add __*_finite alias.
20879 * sysdeps/i386/fpu/e_exp.S: Likewise.
20880 * sysdeps/i386/fpu/e_expf.S: Likewise.
20881 * sysdeps/i386/fpu/e_expl.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20883 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20884 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20887 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20888 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20889
20890 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20891 is sufficient, at least on modern CPUs.
20892
20893 * ctype/ctype-info.c (__ctype_init): Define.
20894 * include/ctype.h (__ctype_init): Declare.
20895 (__ctype_b_loc): The variable is always initialized.
20896 (__ctype_toupper_loc): Likewise.
20897 (__ctype_tolower_loc): Likewise.
20898 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20899 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20900
209012011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20902
20903 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20904
20905 * configure.in: Also look in $cxxmachine/include for C++ system
20906 headers.
20907
209082011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20909
20910 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20911 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20912 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20913 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20915 (USE_AS_WMEMCMP): New macro.
20916 Fixing indents.
20917 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20918 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20919 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20920 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20922 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20923 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20924 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20925 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20926 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20927 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20928 (USE_AS_WMEMCMP): New macro.
20929 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20930 * sysdeps/string/test-memcmp.c: Update.
20931 Fix simple_wmemcmp.
20932 Add new tests.
20933 * wcsmbs/wmemcmp.c: Update.
20934 (WMEMCMP): New macro.
20935 Fix overflow bug.
20936
209372011-10-12 Andreas Jaeger <aj@suse.de>
20938
20939 [BZ #13268]
20940 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20941
209422011-10-15 Ulrich Drepper <drepper@gmail.com>
20943
20944 * libio/iofwide.c (do_length): Avoid warning.
20945
20946 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20947
209482011-10-14 Ulrich Drepper <drepper@gmail.com>
20949
20950 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20951
20952 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20953 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20954 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20955 * sysdeps/i386/i686/fpu/e_log.S: New file.
20956 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20957 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20958
20959 * ctype/ctype.h: Add support for inlined isXXX functions when
20960 compiling C++ code.
20961
209622011-10-14 Andreas Schwab <schwab@redhat.com>
20963
20964 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20965
20966 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20967
209682011-10-13 Roland McGrath <roland@hack.frob.com>
20969
20970 [BZ #13291]
20971 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20972
209732011-10-13 Andreas Schwab <schwab@redhat.com>
20974
20975 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20976 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20977 feraiseexcept.
20978
20979 * sysdeps/x86_64/memrchr.S: Check for zero size.
20980
20981 * string/stratcliff.c: Add memrchr tests.
20982
209832011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20984
20985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20986 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20987 rawmemchr-sse2 rawmemchr-sse2-bsf.
20988 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20989 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20990 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20991 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20992 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20993 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20994 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20995 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20996 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20997 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20998 * string/memrchr.c (MEMRCHR): New macro.
20999
210002011-10-12 Ulrich Drepper <drepper@gmail.com>
21001
21002 Add integration with gcc's -ffinite-math-only and optimize wrapper
21003 functions in libm.
21004 * Versions.def: Define GLIBC_2.15 version for libm.
21005 * math/Makefile (headers): Add bits/math-finite.h.
21006 * math/bits/math-finite.h: New file.
21007 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21008 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21009 * math/e_acoshl.c: Add __*_finite alias.
21010 * math/e_acosl.c: Likewise.
21011 * math/e_asinl.c: Likewise.
21012 * math/e_atan2l.c: Likewise.
21013 * math/e_atanhl.c: Likewise.
21014 * math/e_coshl.c: Likewise.
21015 * math/e_exp10.c: Likewise.
21016 * math/e_exp10f.c: Likewise.
21017 * math/e_exp10l.c: Likewise.
21018 * math/e_exp2l.c: Likewise.
21019 * math/e_fmodl.c: Likewise.
21020 * math/e_gammal_r.c: Likewise.
21021 * math/e_hypotl.c: Likewise.
21022 * math/e_j0l.c: Likewise.
21023 * math/e_j1l.c: Likewise.
21024 * math/e_jnl.c: Likewise.
21025 * math/e_lgammal_r.c: Likewise.
21026 * math/e_log10l.c: Likewise.
21027 * math/e_log2l.c: Likewise.
21028 * math/e_logl.c: Likewise.
21029 * math/e_powl.c: Likewise.
21030 * math/e_sinhl.c: Likewise.
21031 * math/e_sqrtl.c: Likewise.
21032 * math/e_scalb.c: Completely rewritten and optimized.
21033 * math/e_scalbf.c: Likewise.
21034 * math/e_scalbl.c: Likewise.
21035 * math/w_acos.c: Likewise.
21036 * math/w_acosf.c: Likewise.
21037 * math/w_acosl.c: Likewise.
21038 * math/w_acosh.c: Likewise.
21039 * math/w_acoshf.c: Likewise.
21040 * math/w_acoshl.c: Likewise.
21041 * math/w_asin.c: Likewise.
21042 * math/w_asinf.c: Likewise.
21043 * math/w_asinl.c: Likewise.
21044 * math/w_atan2.c: Likewise.
21045 * math/w_atan2f.c: Likewise.
21046 * math/w_atan2l.c: Likewise.
21047 * math/w_atanh.c: Likewise.
21048 * math/w_atanhf.c: Likewise.
21049 * math/w_atanhl.c: Likewise.
21050 * math/w_exp10.c: Likewise.
21051 * math/w_exp10f.c: Likewise.
21052 * math/w_exp10l.c: Likewise.
21053 * math/w_fmod.c: Likewise.
21054 * math/w_fmodf.c: Likewise.
21055 * math/w_fmodl.c: Likewise.
21056 * math/w_j0.c: Likewise.
21057 * math/w_j0f.c: Likewise.
21058 * math/w_j0l.c: Likewise.
21059 * math/w_j1.c: Likewise.
21060 * math/w_j1f.c: Likewise.
21061 * math/w_j1l.c: Likewise.
21062 * math/w_jn.c: Likewise.
21063 * math/w_jnf.c: Likewise.
21064 * math/w_log.c: Likewise.
21065 * math/w_logf.c: Likewise.
21066 * math/w_logl.c: Likewise.
21067 * math/w_log10.c: Likewise.
21068 * math/w_log10f.c: Likewise.
21069 * math/w_log10l.c: Likewise.
21070 * math/w_log2.c: Likewise.
21071 * math/w_log2f.c: Likewise.
21072 * math/w_log2l.c: Likewise.
21073 * math/w_pow.c: Likewise.
21074 * math/w_powf.c: Likewise.
21075 * math/w_powl.c: Likewise.
21076 * math/w_remainder.c: Likewise.
21077 * math/w_remainderf.c: Likewise.
21078 * math/w_remainderl.c: Likewise.
21079 * math/w_scalb.c: Likewise.
21080 * math/w_scalbf.c: Likewise.
21081 * math/w_scalbl.c: Likewise.
21082 * math/w_sqrt.c: Likewise.
21083 * math/w_sqrtf.c: Likewise.
21084 * math/w_sqrtl.c: Likewise.
21085 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21086 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21087 used.
21088 * math/math_private.h: Declare __kernel_standard_f.
21089 * math/w_cosh.c: Remove cruft and optimize a bit.
21090 * math/w_coshf.c: Likewise.
21091 * math/w_coshl.c: Likewise.
21092 * math/w_exp2.c: Likewise.
21093 * math/w_exp2f.c: Likewise.
21094 * math/w_exp2l.c: Likewise.
21095 * math/w_hypot.c: Likewise.
21096 * math/w_hypotf.c: Likewise.
21097 * math/w_hypotl.c: Likewise.
21098 * math/w_lgamma.c: Likewise.
21099 * math/w_lgamma_r.c: Likewise.
21100 * math/w_lgammaf.c: Likewise.
21101 * math/w_lgammaf_r.c: Likewise.
21102 * math/w_lgammal.c: Likewise.
21103 * math/w_lgammal_r.c: Likewise.
21104 * math/w_sinh.c: Likewise.
21105 * math/w_sinhf.c: Likewise.
21106 * math/w_sinhl.c: Likewise.
21107 * math/w_tgamma.c: Likewise.
21108 * math/w_tgammaf.c: Likewise.
21109 * math/w_tgammal.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21112 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21113 Minor optimizations. Pretty printing. Remove cruft.
21114 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21115 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21116 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21117 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21118 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21119 * sysdeps/i386/fpu/e_asin.S: Likewise.
21120 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21121 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21122 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21123 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21124 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21125 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21126 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21127 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21128 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21129 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21130 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21131 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21132 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21133 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21134 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21135 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21136 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21137 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21138 * sysdeps/i386/fpu/e_log.S: Likewise.
21139 * sysdeps/i386/fpu/e_log10.S: Likewise.
21140 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21141 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21142 * sysdeps/i386/fpu/e_log2.S: Likewise.
21143 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21144 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21145 * sysdeps/i386/fpu/e_logf.S: Likewise.
21146 * sysdeps/i386/fpu/e_logl.S: Likewise.
21147 * sysdeps/i386/fpu/e_pow.S: Likewise.
21148 * sysdeps/i386/fpu/e_powf.S: Likewise.
21149 * sysdeps/i386/fpu/e_powl.S: Likewise.
21150 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21151 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21152 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21153 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21154 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21155 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21156 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21157 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21158 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21180 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21181 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21182 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21183 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21184 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21185 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21186 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21187 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21188 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21189 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21190 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21191 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21193 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21194 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21195 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21196 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21197 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21198 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21199 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21200 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21250 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21251 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21252 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21253 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21254 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21255 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21256 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21257 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21258 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21259 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21260 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21261 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21262 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21266 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21267 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21268 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21269 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21270 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21271 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21272 (__isnanf): Likewise.
21273 (__isinf_ns): Likewise.
21274 (__isinf_nsf): Likewise.
21275 (__finite): Likewise.
21276 (__finitef): Likewise.
21277 (__ieee754_sqrt): Define as macro.
21278 (__ieee754_sqrtf): Define as macro.
21279 (__ieee754_sqrtl): Define as macro.
21280 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21281 inlined copy.
21282 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21283 __FINITE_MATH_ONLY__ consistent.
21284 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21285
212862011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21287
21288 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21289 of rawmemchr.
21290
21291 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21292
212932011-10-09 Ulrich Drepper <drepper@gmail.com>
21294
21295 * po/ja.po: Update from translation team.
21296
212972011-10-08 Roland McGrath <roland@hack.frob.com>
21298
21299 * locale/programs/locarchive.c (prepare_address_space): New function.
21300 (create_archive, enlarge_archive, open_archive): Use it.
21301
21302 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21303 inside [SHARED], where it is used.
21304
21305 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21306
21307 * nss/getent.c (netgroup_keys): Remove unused variable.
21308 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21309
213102011-10-08 Ulrich Drepper <drepper@gmail.com>
21311
21312 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21313 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21315 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21316 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21317 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21318 * math/Makefile (libm-calls): Add s_isinf_ns.
21319 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21320 * math/multc3.c: Likewise.
21321 * math/s_casin.c: Likewise.
21322 * math/s_casinf.c: Likewise.
21323 * math/s_casinl.c: Likewise.
21324 * math/s_ccos.c: Likewise.
21325 * math/s_ccosf.c: Likewise.
21326 * math/s_ccosl.c: Likewise.
21327 * math/s_ctan.c: Likewise.
21328 * math/s_ctanf.c: Likewise.
21329 * math/s_ctanh.c: Likewise.
21330 * math/s_ctanhf.c: Likewise.
21331 * math/s_ctanhl.c: Likewise.
21332 * math/s_ctanl.c: Likewise.
21333 * math/w_fmod.c: Likewise.
21334 * math/w_fmodf.c: Likewise.
21335 * math/w_fmodl.c: Likewise.
21336 * math/w_remainder.c: Likewise.
21337 * math/w_remainderf.c: Likewise.
21338 * math/w_remainderl.c: Likewise.
21339 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21340 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21342 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21343 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21344 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21345 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21346 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21347
21348 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21349 of the number.
21350 * stdio-common/printf_fphex.c: Likewise.
21351 * stdio-common/printf_size.c: Likewise.
21352
21353 * math/e_exp10.c: Include math_private.h using <...> not "...".
21354 * math/e_exp10f.c: Likewise.
21355 * math/e_exp10l.c: Likewise.
21356 * math/e_exp2l.c: Likewise.
21357 * math/e_j0l.c: Likewise.
21358 * math/e_j1l.c: Likewise.
21359 * math/e_jnl.c: Likewise.
21360 * math/e_lgammal_r.c: Likewise.
21361 * math/e_rem_pio2l.c: Likewise.
21362 * math/e_scalb.c: Likewise.
21363 * math/e_scalbf.c: Likewise.
21364 * math/e_scalbl.c: Likewise.
21365 * math/k_cosl.c: Likewise.
21366 * math/k_sinl.c: Likewise.
21367 * math/k_tanl.c: Likewise.
21368 * math/s_cacoshf.c: Likewise.
21369 * math/s_catan.c: Likewise.
21370 * math/s_catanf.c: Likewise.
21371 * math/s_catanh.c: Likewise.
21372 * math/s_catanhf.c: Likewise.
21373 * math/s_catanhl.c: Likewise.
21374 * math/s_catanl.c: Likewise.
21375 * math/s_ccosh.c: Likewise.
21376 * math/s_ccoshf.c: Likewise.
21377 * math/s_ccoshl.c: Likewise.
21378 * math/s_cexp.c: Likewise.
21379 * math/s_cexpf.c: Likewise.
21380 * math/s_cexpl.c: Likewise.
21381 * math/s_clog.c: Likewise.
21382 * math/s_clog10.c: Likewise.
21383 * math/s_clog10f.c: Likewise.
21384 * math/s_clog10l.c: Likewise.
21385 * math/s_clogf.c: Likewise.
21386 * math/s_clogl.c: Likewise.
21387 * math/s_csin.c: Likewise.
21388 * math/s_csinf.c: Likewise.
21389 * math/s_csinh.c: Likewise.
21390 * math/s_csinhf.c: Likewise.
21391 * math/s_csinhl.c: Likewise.
21392 * math/s_csinl.c: Likewise.
21393 * math/s_csqrt.c: Likewise.
21394 * math/s_csqrtf.c: Likewise.
21395 * math/s_csqrtl.c: Likewise.
21396 * math/s_ctan.c: Likewise.
21397 * math/s_ctanf.c: Likewise.
21398 * math/s_ctanh.c: Likewise.
21399 * math/s_ctanhf.c: Likewise.
21400 * math/s_ctanhl.c: Likewise.
21401 * math/s_ctanl.c: Likewise.
21402 * math/s_ldexp.c: Likewise.
21403 * math/s_ldexpf.c: Likewise.
21404 * math/s_ldexpl.c: Likewise.
21405 * math/s_significand.c: Likewise.
21406 * math/s_significandf.c: Likewise.
21407 * math/s_significandl.c: Likewise.
21408 * math/w_acos.c: Likewise.
21409 * math/w_acosf.c: Likewise.
21410 * math/w_acosh.c: Likewise.
21411 * math/w_acoshf.c: Likewise.
21412 * math/w_acoshl.c: Likewise.
21413 * math/w_acosl.c: Likewise.
21414 * math/w_asin.c: Likewise.
21415 * math/w_asinf.c: Likewise.
21416 * math/w_asinl.c: Likewise.
21417 * math/w_atan2.c: Likewise.
21418 * math/w_atan2f.c: Likewise.
21419 * math/w_atan2l.c: Likewise.
21420 * math/w_atanh.c: Likewise.
21421 * math/w_atanhf.c: Likewise.
21422 * math/w_atanhl.c: Likewise.
21423 * math/w_cosh.c: Likewise.
21424 * math/w_coshf.c: Likewise.
21425 * math/w_coshl.c: Likewise.
21426 * math/w_dremf.c: Likewise.
21427 * math/w_exp10.c: Likewise.
21428 * math/w_exp10f.c: Likewise.
21429 * math/w_exp10l.c: Likewise.
21430 * math/w_exp2.c: Likewise.
21431 * math/w_exp2f.c: Likewise.
21432 * math/w_fmod.c: Likewise.
21433 * math/w_fmodf.c: Likewise.
21434 * math/w_fmodl.c: Likewise.
21435 * math/w_hypot.c: Likewise.
21436 * math/w_hypotf.c: Likewise.
21437 * math/w_hypotl.c: Likewise.
21438 * math/w_j0.c: Likewise.
21439 * math/w_j0f.c: Likewise.
21440 * math/w_j0l.c: Likewise.
21441 * math/w_j1.c: Likewise.
21442 * math/w_j1f.c: Likewise.
21443 * math/w_j1l.c: Likewise.
21444 * math/w_jn.c: Likewise.
21445 * math/w_jnf.c: Likewise.
21446 * math/w_jnl.c: Likewise.
21447 * math/w_lgamma.c: Likewise.
21448 * math/w_lgamma_r.c: Likewise.
21449 * math/w_lgammaf.c: Likewise.
21450 * math/w_lgammaf_r.c: Likewise.
21451 * math/w_lgammal.c: Likewise.
21452 * math/w_lgammal_r.c: Likewise.
21453 * math/w_log.c: Likewise.
21454 * math/w_log10.c: Likewise.
21455 * math/w_log10f.c: Likewise.
21456 * math/w_log10l.c: Likewise.
21457 * math/w_log2.c: Likewise.
21458 * math/w_log2f.c: Likewise.
21459 * math/w_log2l.c: Likewise.
21460 * math/w_logf.c: Likewise.
21461 * math/w_logl.c: Likewise.
21462 * math/w_pow.c: Likewise.
21463 * math/w_powf.c: Likewise.
21464 * math/w_powl.c: Likewise.
21465 * math/w_remainder.c: Likewise.
21466 * math/w_remainderf.c: Likewise.
21467 * math/w_remainderl.c: Likewise.
21468 * math/w_scalb.c: Likewise.
21469 * math/w_scalbf.c: Likewise.
21470 * math/w_scalbl.c: Likewise.
21471 * math/w_sinh.c: Likewise.
21472 * math/w_sinhf.c: Likewise.
21473 * math/w_sinhl.c: Likewise.
21474 * math/w_sqrt.c: Likewise.
21475 * math/w_sqrtf.c: Likewise.
21476 * math/w_sqrtl.c: Likewise.
21477 * math/w_tgamma.c: Likewise.
21478 * math/w_tgammaf.c: Likewise.
21479 * math/w_tgammal.c: Likewise.
21480
21481 * po/ja.po: Update from translation team.
21482
214832011-09-29 Andreas Jaeger <aj@suse.de>
21484
21485 [BZ #13179]
21486 * sunrpc/netname.c (netname2host): Fix logic.
21487
21488 [BZ #6779]
21489 [BZ #6783]
21490 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21491 correctly.
21492 * math/w_remainder.c (__remainder): Likewise.
21493 * math/w_remainderf.c (__remainderf): Likewise.
21494 * math/libm-test.inc (remainder_test): Add test cases.
21495
214962011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21497
21498 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21499 sdiv_qrnnd.
21500
215012011-10-07 Ulrich Drepper <drepper@gmail.com>
21502
21503 * string/test-memcmp.c: Avoid unncessary #defines.
21504 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21505
215062011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21507
21508 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21509 Use new sse2 version for core i3 - i7 as it's faster
21510 than sse42 version.
21511 (bit_Prefer_PMINUB_for_stringop): New.
21512 * sysdeps/x86_64/rawmemchr.S: Update.
21513 Replace with faster SSE2 version.
21514 * sysdeps/x86_64/memrchr.S: New file.
21515 * sysdeps/x86_64/memchr.S: Update.
21516 Replace with faster SSE2 version.
21517
215182011-09-12 Marek Polacek <mpolacek@redhat.com>
21519
21520 * elf/dl-load.c (lose): Add cast to avoid warning.
21521
215222011-10-07 Ulrich Drepper <drepper@gmail.com>
21523
21524 * po/ca.po: Update from translation team.
21525
21526 * inet/getnetgrent_r.c: Hook up nscd.
21527 * nscd/Makefile (routines): Add nscd_netgroup.
21528 (nscd-modules): Add netgroupcache.
21529 (CFLAGS-netgroupcache.c): Define.
21530 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21531 (cache_search): Add const to second parameter.
21532 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21533 INNETGR.
21534 (dbs): Add netgrdb entry.
21535 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21536 (verify_persistent_db): Handle netgrdb.
21537 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21538 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21539 GETFDNETGR.
21540 (netgroup_response_header): Define.
21541 (innetgroup_response_header): Define.
21542 (datahead): Add netgroup_response_header and innetgroup_response_header
21543 elements.
21544 * nscd/nscd.conf: Add entries for netgroup cache.
21545 * nscd/nscd.h (dbtype): Add netgrdb.
21546 (_PATH_NSCD_NETGROUP_DB): Define.
21547 (netgroup_iov_disabled): Declare.
21548 (xmalloc, xcalloc, xrealloc): Move declarations here.
21549 (cache_search): Adjust prototype.
21550 Add netgroup-related prototypes.
21551 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21552 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21553 (__nscd_innetgr): Declare.
21554 * nscd/selinux.c (perms): Use access_vector_t as element type and
21555 add netgroup-related initializers.
21556 * nscd/netgroupcache.c: New file.
21557 * nscd/nscd_netgroup.c: New file.
21558 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21559 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21560 For four parameters use innetgr.
21561 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21562 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21563 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21564 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21565
21566 * nscd/connections.c (register_traced_file): Don't register file
21567 for disabled databases.
21568
215692011-10-06 Ulrich Drepper <drepper@gmail.com>
21570
21571 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21572
21573 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21574 from tree and freeing node.
21575
215762011-09-25 Jiri Olsa <jolsa@redhat.com>
21577
21578 * nss/nsswitch.c (__nss_database_lookup): Handle
21579 nss_parse_service_list out of memory case.
21580
215812011-09-15 Jiri Olsa <jolsa@redhat.com>
21582
21583 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21584 out of memory case.
21585
215862011-10-04 Andreas Schwab <schwab@redhat.com>
21587
21588 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21589 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21590 pass it down.
21591 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21592 elf_machine_rela, elf_machine_lazy_rel.
21593 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21594 (ELF_DYNAMIC_DO_REL): Likewise.
21595 (ELF_DYNAMIC_DO_RELA): Likewise.
21596 (ELF_DYNAMIC_RELOCATE): Likewise.
21597 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21598 to ELF_DYNAMIC_DO_REL.
21599 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21600 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21601 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21602 elf_machine_rela.
21603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21604 skip_ifunc, don't call ifunc function if non-zero.
21605 (elf_machine_rela): Likewise.
21606 (elf_machine_lazy_rel): Likewise.
21607 (elf_machine_lazy_rela): Likewise.
21608 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21609 (elf_machine_lazy_rel): Likewise.
21610 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21611 Likewise.
21612 (elf_machine_lazy_rel): Likewise.
21613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21614 Likewise.
21615 (elf_machine_lazy_rel): Likewise.
21616 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21617 (elf_machine_lazy_rel): Likewise.
21618 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21619 (elf_machine_lazy_rel): Likewise.
21620 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21621 (elf_machine_lazy_rel): Likewise.
21622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21623 (elf_machine_lazy_rel): Likewise.
21624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21625 (elf_machine_lazy_rel): Likewise.
21626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21627 (elf_machine_lazy_rel): Likewise.
21628
216292011-09-28 Ulrich Drepper <drepper@gmail.com>
21630
21631 * nss/nss_files/files-init.c (_nss_files_init): Use static
21632 initialization for all the *_traced_file variables.
21633
216342011-09-28 Andreas Schwab <schwab@redhat.com>
21635
21636 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21637
216382011-09-27 Roland McGrath <roland@hack.frob.com>
21639
21640 [BZ #13226]
21641 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21642
216432011-09-27 Andreas Schwab <schwab@redhat.com>
21644
21645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21646 Reread the line before reparsing it.
21647
216482011-09-26 Andreas Schwab <schwab@redhat.com>
21649
21650 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21651
216522011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21653 Maxim Kuvyrkov <maxim@codesourcery.com>
21654 Joseph Myers <joseph@codesourcery.com>
21655
21656 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21657 if needed for __stack_chk_guard.
21658
216592011-09-19 Roland McGrath <roland@hack.frob.com>
21660
21661 * sysdeps/posix/spawni.c (script_execute): Always define it.
21662 It will be optimized away if unused.
21663 (maybe_script_execute): New function.
21664 (__spawni): Call it.
21665
21666 * Makerules: Don't include tls.make.
21667 (config-tls): Always set to thread.
21668 * tls.make.c: File removed.
21669
216702011-09-19 Mike Frysinger <vapier@gentoo.org>
21671
21672 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21673 * config.make.in (CPPFLAGS-config): New substituted variable.
21674
216752011-09-15 Ulrich Drepper <drepper@gmail.com>
21676
21677 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21678
21679 [BZ #13192]
21680 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21681 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21682
216832011-09-15 Roland McGrath <roland@hack.frob.com>
21684
21685 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21686 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21688 (CALL_FAIL): Likewise.
21689 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21690 (CALL_FAIL): Macro removed.
21691 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21692
216932011-09-15 Ulrich Drepper <drepper@gmail.com>
21694
21695 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21696 for __FINITE_MATH_ONLY__ == 1.
21697
216982011-09-15 Andreas Schwab <schwab@redhat.com>
21699
21700 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21701 __ieee754_sqrt instead of sqrt.
21702 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21703 __ieee754_sqrtf instead of sqrtf.
21704 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21705 __floorf instead of floorf.
21706 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21707 __floorf, __truncf instead of floorf, truncf.
21708
217092011-09-14 Ulrich Drepper <drepper@gmail.com>
21710
21711 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21712
21713 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21714 __extern_always_inline.
21715 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21716 32-bit.
21717
217182011-09-14 Andreas Schwab <schwab@redhat.com>
21719
21720 * elf/rtld.c (dl_main): Also relocate in dependency order when
21721 doing symbol dependency testing.
21722
217232011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21724
21725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21726 Always define `refsym'.
21727
217282011-09-13 Andreas Schwab <schwab@redhat.com>
21729
21730 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21731 (__FD_ELT): Renamed from __FDELT.
21732 * misc/bits/select2.h (__FD_ELT): Likewise.
21733 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21734 __FD_MASK instead of __FDELT, __FDMASK.
21735 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21736 Likewise.
21737 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21738 Likewise.
21739
21740 * elf/Makefile (gen-ldd): Fix pattern.
21741
21742 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21743 (init_tls): Likewise.
21744
217452011-09-12 Ulrich Drepper <drepper@gmail.com>
21746
21747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21748
217492011-09-12 Andreas Schwab <schwab@redhat.com>
21750
21751 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21752 `struct cmsghdr *' instead of `void *'.
21753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21754 Likewise.
21755
217562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21757
21758 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21759 if non-absolute.
21760 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21761 ldd_rewrite_script.
21762
217632011-09-11 Ulrich Drepper <drepper@gmail.com>
21764
21765 * configure.in: Remove --with-tls option.
21766 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21767 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21768 out in case it is missing.
21769 * sysdeps/ia64/elf/configure.in: Likewise.
21770 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21771 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21772 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21773 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21774 * sysdeps/sh/elf/configure.in: Likewise.
21775 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21776 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21777 * sysdeps/x86_64/elf/configure.in: Likewise.
21778 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21779 * sysdeps/mach/hurd/tls.h: Likewise.
21780
21781 [BZ #13067]
21782 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21783
21784 [BZ #13090]
21785 * configure.in: Fix use of AC_INIT.
21786
21787 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21788
217892011-09-10 Ulrich Drepper <drepper@gmail.com>
21790
21791 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21792 __set_errno.
21793 * malloc/hooks.c: Likewise.
21794
21795 [BZ #11929]
21796 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21797 variables statically.
21798 (narenas): Initialize.
21799 (list_lock): Initialize.
21800 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21801 initializtion of main_arena and list_lock. Small cleanups.
21802 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21803 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21804 Add initializers to main_arena and mp_.
21805 (malloc_state): Remove pagesize member. Change all users to use
21806 GLRO(dl_pagesize).
21807
21808 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21809 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21810 is always initialized.
21811
21812 * malloc/malloc.c: Removed unused configurations and dead code.
21813 * malloc/arena.c: Likewise.
21814 * malloc/hooks.c: Likewise.
21815 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21816
21817 * include/tls.h: Removed. USE___THREAD must always be defined.
21818 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21819 * elf/dl-libc.c: Likewise.
21820 * elf/dl-tsd.c: Likewise.
21821 * include/errno.h: Likewise.
21822 * include/netdb.h: Likewise.
21823 * include/resolv.h: Likewise.
21824 * inet/herrno-loc.c: Likewise.
21825 * inet/herrno.c: Likewise.
21826 * malloc/arena.c: Likewise.
21827 * malloc/hooks.c: Likewise.
21828 * malloc/malloc.c: Likewise.
21829 * resolv/res-state.c: Likewise.
21830 * resolv/res_libc.c: Likewise.
21831 * sysdeps/i386/dl-machine.h: Likewise.
21832 * sysdeps/ia64/dl-machine.h: Likewise.
21833 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21834 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21835 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21836 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21837 * sysdeps/sh/dl-machine.h: Likewise.
21838 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21839 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21840 * sysdeps/unix/i386/sysdep.S: Likewise.
21841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21842 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21848 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21851 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21852 * sysdeps/x86_64/dl-machine.h: Likewise.
21853 * tls.make.c: Likewise.
21854
21855 * configure.in: Remove --with-__thread option. Make tests for
21856 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21857 tls_model attribute fail if no support is available. Remove
21858 USE_IN_LIBIO.
21859 * Makeconfig: Adjust for dropped configure option. All features are
21860 now mandatory.
21861 * Makerules: Likewise.
21862 * Versions.def: Likewise.
21863 * argp/argp-fmtstream.c: Likewise.
21864 * argp/argp-fmtstream.h: Likewise.
21865 * argp/argp-help.c: Likewise.
21866 * assert/assert.c: Likewise.
21867 * config.h.in: Likewise.
21868 * config.make.in: Likewise.
21869 * configure: Likewise.
21870 * configure.in: Likewise.
21871 * csu/Versions: Likewise.
21872 * csu/init.c: Likewise.
21873 * elf/tst-audit2.c: Likewise.
21874 * elf/tst-tls10.c: Likewise.
21875 * elf/tst-tls10.h: Likewise.
21876 * elf/tst-tls11.c: Likewise.
21877 * elf/tst-tls12.c: Likewise.
21878 * elf/tst-tls14.c: Likewise.
21879 * elf/tst-tlsmod11.c: Likewise.
21880 * elf/tst-tlsmod12.c: Likewise.
21881 * elf/tst-tlsmod13.c: Likewise.
21882 * elf/tst-tlsmod13a.c: Likewise.
21883 * elf/tst-tlsmod14a.c: Likewise.
21884 * elf/tst-tlsmod15b.c: Likewise.
21885 * elf/tst-tlsmod16a.c: Likewise.
21886 * elf/tst-tlsmod16b.c: Likewise.
21887 * elf/tst-tlsmod7.c: Likewise.
21888 * elf/tst-tlsmod8.c: Likewise.
21889 * elf/tst-tlsmod9.c: Likewise.
21890 * gmon/gmon.c: Likewise.
21891 * grp/fgetgrent_r.c: Likewise.
21892 * grp/putgrent.c: Likewise.
21893 * hurd/fopenport.c: Likewise.
21894 * include/libc-symbols.h: Likewise.
21895 * include/tls.h: Likewise.
21896 * intl/gettextP.h: Likewise.
21897 * intl/loadinfo.h: Likewise.
21898 * locale/global-locale.c: Likewise.
21899 * locale/localeinfo.h: Likewise.
21900 * mach/devstream.c: Likewise.
21901 * malloc/arena.c: Likewise.
21902 * malloc/set-freeres.c: Likewise.
21903 * misc/err.c: Likewise.
21904 * misc/getttyent.c: Likewise.
21905 * misc/mntent_r.c: Likewise.
21906 * posix/getopt.c: Likewise.
21907 * posix/wordexp.c: Likewise.
21908 * pwd/fgetpwent_r.c: Likewise.
21909 * resolv/Versions: Likewise.
21910 * resolv/res_hconf.c: Likewise.
21911 * shadow/fgetspent_r.c: Likewise.
21912 * shadow/putspent.c: Likewise.
21913 * stdio-common/printf_fphex.c: Likewise.
21914 * stdio-common/tmpfile.c: Likewise.
21915 * stdlib/abort.c: Likewise.
21916 * stdlib/fmtmsg.c: Likewise.
21917 * sunrpc/auth_unix.c: Likewise.
21918 * sunrpc/clnt_perr.c: Likewise.
21919 * sunrpc/clnt_tcp.c: Likewise.
21920 * sunrpc/clnt_udp.c: Likewise.
21921 * sunrpc/clnt_unix.c: Likewise.
21922 * sunrpc/openchild.c: Likewise.
21923 * sunrpc/svc_simple.c: Likewise.
21924 * sunrpc/svc_tcp.c: Likewise.
21925 * sunrpc/svc_udp.c: Likewise.
21926 * sunrpc/svc_unix.c: Likewise.
21927 * sunrpc/xdr.c: Likewise.
21928 * sunrpc/xdr_array.c: Likewise.
21929 * sunrpc/xdr_rec.c: Likewise.
21930 * sunrpc/xdr_ref.c: Likewise.
21931 * sunrpc/xdr_stdio.c: Likewise.
21932
219332011-09-09 Ulrich Drepper <drepper@gmail.com>
21934
21935 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21936
219372011-07-03 Andreas Jaeger <aj@suse.de>
21938
21939 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21940 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21941 regenerate with gen-libm-tests.pl.
21942
219432010-05-12 Petr Baudis <pasky@suse.cz>
21944
21945 [BZ #11589]
21946 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21947 around j0() zero points by switching to j1().
21948 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21949 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21951 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21952
219532011-09-09 Ulrich Drepper <drepper@gmail.com>
21954
21955 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21956 instead of 0.
21957 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21958 instead of 0.
21959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21960 Patch in part by Pavel Roskin <proski@gnu.org>.
21961
21962 [BZ #13138]
21963 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21964 realloc.
21965 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21966 Free memory block if necessary.
21967
21968 [BZ #12847]
21969 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21970 be NULL. Don't lock in this case.
21971
219722011-09-09 Roland McGrath <roland@hack.frob.com>
21973
21974 * elf/elf.h (ELFOSABI_GNU): New macro.
21975 (ELFOSABI_LINUX): Define to that.
21976
219772011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21978
21979 * string/strncat.c (strncat): Undef the symbol in case it has been
21980 defined in bits/string.h.
21981
219822011-09-09 Ulrich Drepper <drepper@gmail.com>
21983
21984 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21985
21986 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21987 link map.
21988
219892011-08-17 Andreas Jaeger <aj@suse.de>
21990
21991 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21992
219932011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21994 Ian Lance Taylor <iant@google.com>
21995
21996 * math/libm-test.inc (lround_test): New testcase.
21997 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21998
219992011-09-08 Ulrich Drepper <drepper@gmail.com>
22000
22001 * Makefile: Remove support for automatic cvs check-ins.
22002 * Makerules: Likewise.
22003 * config.make.in: Likewise.
22004 * configure.in: Likewise.
22005 * intl/Makefile: Likewise.
22006 * locale/Makefile: Likewise.
22007 * po/Makefile: Likewise.
22008 * posix/Makefile: Likewise.
22009 * sysdeps/gnu/Makefile: Likewise.
22010 * sysdeps/mach/hurd/Makefile: Likewise.
22011 * sysdeps/sparc/sparc32/Makefile: Likewise.
22012
22013 [BZ #13118]
22014 * posix/Makefile (bug-regex32-ENV): Define.
22015 Patch by John Stanley <jpsinthemix@verizon.net>.
22016
22017 * misc/Makefile (headers): Add bits/select2.h.
22018 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22019 * misc/bits/select2.h: New file.
22020 * include/bits/select2.h: New file.
22021 * debug/Makefile (routines): Add fdelt_chk.
22022 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22023 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22024 FD_ISSET.
22025 * debug/fdelt_chk.c: New file.
22026
22027 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22028 * wcsmbs/test-wmemcmp.c: Likewise.
22029 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22030 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22031
220322011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22033
22034 * string/Makefile (strop-tests): Add memcmp.
22035 * string/test-wmemcmp.c: New file.
22036 * string/test-memcmp.c: Add wmemcmp support.
22037
220382011-09-08 Roland McGrath <roland@hack.frob.com>
22039
22040 [BZ #13153]
22041 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22042 2011-07-19 change.
22043
22044 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22045 garbage value in a __mach_port_mod_refs call in the cases of the
22046 task-self and thread-self ports.
22047
220482011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22049
22050 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22051
220522011-09-08 Andreas Schwab <schwab@redhat.com>
22053
22054 * elf/dl-load.c (lose): Check for non-null L.
22055
220562011-09-07 Ulrich Drepper <drepper@gmail.com>
22057
22058 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22059
22060 * elf/dl-libc.c (dlerror_run): Pass back error code from
22061 dl_catch_error.
22062
22063 [BZ #13123]
22064 * elf/dl-load.c (lose): Free l_origin if it is valid.
22065
22066 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22067 names.
22068 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22071 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22072 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22073 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22074
220752011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22076
22077 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22078 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22079 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22080 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22081 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22082 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22083 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22084 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22085 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22086 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22087
220882011-08-15 Alan Modra <amodra@gmail.com>
22089
22090 [BZ #13092]
22091 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22092 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22093 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22094 ppc_mcount to static-only-routines.
22095 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22096 __mcount_internal.
22097 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22098 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22099
221002011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22101
22102 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22103 for finite and infinity parameters.
22104
221052011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22106
22107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22108 and add nop instructions for throughput optimization.
22109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22110
221112011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22112
22113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22114 aligned copy for power7 with vector-scalar instructions.
22115 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22116
221172011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22118
22119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22120 AVX check.
22121
221222011-09-07 Andreas Schwab <schwab@redhat.com>
22123
22124 [BZ #13144]
22125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22126 last change.
22127
221282011-09-07 Ulrich Drepper <drepper@gmail.com>
22129
22130 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22131 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22132 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22133 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22134 clock_gettime.
22135
221362011-09-06 Ulrich Drepper <drepper@gmail.com>
22137
22138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22139 Forgot to demangle the pointer.
22140
22141 * sysdeps/i386/sysdep.h: Define atom_text_section.
22142 * sysdeps/x86_64/sysdep.h: Likewise.
22143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22144 section with atom_text_section.
22145 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22146 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22147 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22148 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22149 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22150
22151 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22152 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22153 already be defined. Change to take two parameters and don't assign
22154 result to variable. Adjust all users.
22155 Define INTERNAL_GETTIME if not already defined.
22156 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22157 call.
22158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22159 HAVE_CLOCK_GETTIME_VSYSCALL.
22160 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22161
22162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22163 gettimeofday vsyscall, just use time.
22164
221652011-09-06 Andreas Schwab <schwab@redhat.com>
22166
22167 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22168 <errno.h>.
22169
221702011-09-06 Ulrich Drepper <drepper@gmail.com>
22171
22172 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22173 syscall on x86-64.
22174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22175 syscall.
22176 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22177 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22178 syscall if possible.
22179
221802011-09-05 Ulrich Drepper <drepper@gmail.com>
22181
22182 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22183 e_ident. Don't pass to find_mapsXX.
22184 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22185
221862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22187
22188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22189 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22190 * sysdeps/x86_64/multiarch/strchr.S: Update.
22191 Check bit_slow_BSF bit.
22192 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22193 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22194 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22195
221962011-09-05 Ulrich Drepper <drepper@gmail.com>
22197
22198 [BZ #13134]
22199 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22200 before glibc 2.15.
22201 (tryshell): Define.
22202 (__spawni): Change last parameter to be flag. Test
22203 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22204 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22205 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22206 * posix/spawni.c: Likewise.
22207 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22208 * posix/spawnp.c: Likewise. Change normal version to use
22209 SPAWN_XFLAGS_USE_PATH.
22210 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22211 SPAWN_XFLAGS_TRY_SHELL.
22212
22213 [BZ #13150]
22214 * posix/glob.h: Remove gcc 1.x support.
22215
22216 [BZ #13068]
22217 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22218
222192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22220
22221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22222 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22223 strrchr-sse2-bsf
22224 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22225 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22226 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22228 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22229 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22230
222312011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22232
22233 * sysdeps/x86_64/wcscmp.S: New file.
22234
22235 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22236 wcscmp-c wcscmp-sse2
22237 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22238 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22239 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22240 * wcsmbs/wcscmp.c: Allow renaming.
22241
222422011-09-05 David S. Miller <davem@davemloft.net>
22243
22244 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22245 stack slot, rather than the struct return pointer slot.
22246 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22247 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22249 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22250
222512011-09-05 Ulrich Drepper <drepper@gmail.com>
22252
22253 * po/ja.po: Update from translation team.
22254
22255 [BZ #13144]
22256 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22257 kernel in 64-bit binaries.
22258
222592011-09-01 David S. Miller <davem@davemloft.net>
22260
22261 * elf/elf.h (HWCAP_SPARC_*): Move to..
22262 * sysdeps/sparc/sysdep.h: this new file and add new values.
22263 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22264 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22265 _DL_HWCAP_COUNT to 24.
22266 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22267 entries.
22268 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22269 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22270 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22272 instead of magic constants.
22273 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22274
222752011-08-31 David S. Miller <davem@davemloft.net>
22276
22277 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22279 Reimplement to do errno handling inline.
22280 (SYSCALL_ERROR_HANDLER): New macro.
22281 (__SYSCALL_STRING): Do not do errno handling in asm.
22282 (__CLONE_SYSCALL_STRING): Delete.
22283 (__INTERNAL_SYSCALL_STRING): Delete.
22284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22285 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22286 (PSEUDO): Reimplement to do errno handling inline.
22287 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22288 (SYSCALL_ERROR_HANDLER): New macro.
22289 (__SYSCALL_STRING): Do not do errno handling in asm.
22290 (__CLONE_SYSCALL_STRING): Delete.
22291 (__INTERNAL_SYSCALL_STRING): Delete.
22292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22293 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22294 i386.
22295 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22296 (inline_syscall*): Add 'err' argument.
22297 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22298 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22299 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22300 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22301
22302 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22303 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22304
223052011-08-30 Andreas Schwab <schwab@redhat.com>
22306
22307 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22308
223092011-08-29 Jiri Olsa <jolsa@redhat.com>
22310
22311 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22312 directive.
22313
223142011-08-24 David S. Miller <davem@davemloft.net>
22315
22316 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22317
223182011-08-24 Andreas Schwab <schwab@redhat.com>
22319
22320 * elf/Makefile: Add rules to build and run unload8 test.
22321 * elf/unload8.c: New file.
22322 * elf/unload8mod1.c: New file.
22323 * elf/unload8mod1x.c: New file.
22324 * elf/unload8mod2.c: New file.
22325 * elf/unload8mod3.c: New file.
22326
22327 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22328 it wasn't used.
22329
223302011-08-23 David S. Miller <davem@davemloft.net>
22331
22332 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22333 subtract stack bias.
22334 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22335 %sp not %fp in calculations.
22336 (_JMPBUF_UNWINDS_ADJ): Likewise.
22337
22338 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22339 (aio_suspend): Call it to force an exception region around the
22340 AIO_MISC_WAIT() invocation.
22341
223422011-08-23 Andreas Schwab <schwab@redhat.com>
22343
22344 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22345 backslash.
22346
223472011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22348
22349 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22350 protection macro.
22351 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22352 and <dl-machine.h>.
22353 (Elf64_FuncDesc): Remove.
22354
223552011-08-22 David S. Miller <davem@davemloft.net>
22356
22357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22358 sigaltstack check, add missing cfi directives.
22359 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22360 missing cfi directives, and sigaltstack handling.
22361
223622011-08-16 Andreas Schwab <schwab@redhat.com>
22363
22364 [BZ #11724]
22365 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22366 object is seen twice.
22367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22368
22369 * elf/Makefile (distribute): Add tst-initorder2.c.
22370 (tests): Add tst-initorder2.
22371 (modules-names): Add tst-initorder2a tst-initorder2b
22372 tst-initorder2c tst-initorder2d. Add rules to build them.
22373 ($(objpfx)tst-initorder2.out): New rule.
22374 * elf/tst-initorder2.c: New file.
22375 * elf/tst-initorder2.exp: New file.
22376
223772011-08-22 Andreas Schwab <schwab@redhat.com>
22378
22379 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22380
22381 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22382 dependencies back to end of function.
22383
22384 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22385 $(elfobjdir)/ld.so.
22386
223872011-08-21 Ulrich Drepper <drepper@gmail.com>
22388
22389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22390 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22392 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22393 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22394 of __vdso_gettimeofday.
22395 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22396 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22397 attribute_hidden.
22398 (_libc_vdso_platform_setup): Remove initialization of
22399 __vdso_gettimeofday and __vdso_time.
22400
224012011-08-20 Ulrich Drepper <drepper@gmail.com>
22402
22403 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22404 and fgetc_unlocked.
22405 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22406 getc_unlocked.
22407
22408 * elf/dl-open.c (add_to_global): Report additions to the global scope
22409 for LD_DEBUG=scopes.
22410 (dl_open_worker): Also print scope of newly loaded dependencies.
22411 (_dl_show_scope): Indicate if there is no scope.
22412
22413 [BZ #13114]
22414 * stdio-common/Makefile (tests): Add bug24.
22415 * stdio-common/bug24.c: New file.
22416
224172011-08-19 Andreas Jaeger <aj@suse.de>
22418
22419 [BZ #13114]
22420 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22421 non-existant file when using close-on-exec mode.
22422
224232011-08-20 Ulrich Drepper <drepper@gmail.com>
22424
22425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22426 the very first instruction.
22427
22428 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22429 the CFI state in the end.
22430 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22431 inclusion of dl-trampoline.h.
22432 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22433
224342011-08-19 Andreas Schwab <schwab@redhat.com>
22435
22436 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22437 expectations for long double.
22438
22439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22440 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22441
224422011-08-14 David S. Miller <davem@davemloft.net>
22443
22444 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22445 artificual limit depends upon the system page size.
22446
224472011-08-17 Ulrich Drepper <drepper@gmail.com>
22448
22449 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22450 * resolv/Makefile: Define CFLAGS-libresolv.
22451
224522011-08-17 Andreas Schwab <schwab@redhat.com>
22453
22454 * nss/makedb.c (compute_tables): Make variables used in nested
22455 function static.
22456
224572011-08-17 Ulrich Drepper <drepper@gmail.com>
22458
22459 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22460 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22461 if buffer was too small.
22462
22463 * elf/pldd.c (main): Attach to all threads in the process.
22464 Rewrite /proc handling to use *at functions.
22465
224662011-08-16 Ulrich Drepper <drepper@gmail.com>
22467
22468 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22469 specifies first scope to show.
22470 (dl_open_worker): Update callers. Move printing scope of new
22471 object to before the relocation.
22472 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22473 * sysdeps/generic/ldsodefs.h: Update declaration.
22474
22475 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22476 string for the scope number.
22477
224782011-08-14 Ulrich Drepper <drepper@gmail.com>
22479
22480 * nscd/servicescache.c (cache_addserv): Make sure written is always
22481 initialized.
22482
224832011-08-14 Roland McGrath <roland@hack.frob.com>
22484
22485 * sysdeps/i386/i486/bits/atomic.h
22486 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22487 statement expression, so as to suppress "set but not used" warning.
22488 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22489
22490 * string/strncat.c (STRNCAT): Use prototype definition.
22491
22492 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22493 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22494 -Iprograms here.
22495 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22496 (localedef-modules): Add localedef.
22497 (locale-modules): Add locale.
22498
22499 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22500 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22501 to avoid a warning.
22502
225032011-08-14 David S. Miller <davem@davemloft.net>
22504
22505 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22506 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22507
225082011-08-13 Ulrich Drepper <drepper@gmail.com>
22509
22510 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22511 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22512 * elf/rtld.c (dl_main): Set l_name of vDSO.
22513 Call _dl_show_scope when DL_DEBUG_SCOPES.
22514 (process_dl_debug): Recognize scopes flag and also set it for all.
22515 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22516 Declare _dl_show_scope.
22517
22518 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22519 (do_dlopen): Pass caller_dlopen to dl_open.
22520 (__libc_dlopen_mode): Initialize caller_dlopen.
22521
22522 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22523 of libc. Make tolower call locale-independent. Optimize a bit by
22524 using isdigit instead of isalnum.
22525 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22526
225272011-08-12 Ulrich Drepper <drepper@gmail.com>
22528
22529 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22530 was a dependency or dynamically loaded.
22531
225322011-08-11 Ulrich Drepper <drepper@gmail.com>
22533
22534 * intl/l10nflist.c: Allow architecture-specific pop function.
22535 * sysdeps/x86_64/l10nflist.c: New file.
22536
22537 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22538 classification.
22539
225402011-08-10 Andreas Schwab <schwab@redhat.com>
22541
22542 * include/dirent.h: Add libc_hidden_proto for scandirat and
22543 scandirat64. Don't declare __scandirat64.
22544 * dirent/scandirat.c: Add libc_hidden_def.
22545 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22546 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22547
225482011-08-10 David S. Miller <davem@davemloft.net>
22549
22550 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22551 enum.
22552 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22554 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22555
225562011-08-09 Ulrich Drepper <drepper@gmail.com>
22557
22558 * Versions.def [libc]: Add GLIBC_2.15.
22559 * dirent/Makefile (routines): Add scandirat and scandirat64.
22560 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22561 GLIBC_2.15.
22562 * dirent/dirent.h: Declare scandirat and scandirat64.
22563 * dirent/scandirat.c: New file.
22564 * dirent/scandirat64.c: New file.
22565 * sysdeps/wordsize-64/scandirat.c: New file.
22566 * sysdeps/wordsize-64/scandirat64.c: New file.
22567 * dirent/opendir.c: Define opendirat.
22568 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22569 using scandirat.
22570 * dirent/scandir64.c: Adjust for scandir.c change.
22571 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22572 __scandirat64, and __scandir_cancel_handler.
22573 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22574 additional parameter and use openat instead of open (outside of ld.so).
22575 Add new __opendir as wrapper around __opendirat.
22576 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22577 here without requiring old scandirat implementation.
22578
225792011-08-08 Ulrich Drepper <drepper@gmail.com>
22580
22581 * dirent/scandir.c (cancel_handler): Renamed to
22582 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22583 defined. Adjust users.
22584 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22585 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22586
225872011-08-04 Ulrich Drepper <drepper@gmail.com>
22588
22589 * string/test-string.h (IMPL): Use __STRING to expand name and then
22590 stringify it.
22591
22592 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22593 of cleanups.
22594
225952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22596
22597 * string/Makefile: Update.
22598 (strop-tests): Append strncat.
22599 * string/test-wcscmp.c: New file.
22600 New comprehensive test for wcscmp.
22601 * string/test-strcmp.c: Update.
22602 (WIDE): New define.
22603
226042011-07-22 Andreas Schwab <schwab@redhat.com>
22605
22606 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22607 line.
22608
226092011-07-26 Andreas Schwab <schwab@redhat.com>
22610
22611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22612 encoding to ACE if AI_IDN.
22613
226142011-08-01 Jakub Jelinek <jakub@redhat.com>
22615
22616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22617 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22618
226192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22620
22621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22622 Fix overflow bug in strncat.
22623 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22624
22625 * string/test-strncat.c: Update.
22626 Add new tests for checking overflow bugs.
22627
226282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22629
22630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22631 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22632 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22633 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22634 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22635 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22636 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22637 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22638 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22639
22640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22641 (USE_AS_STRCAT): Define.
22642 Add strcat and strncat support.
22643 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22644
226452011-07-25 Andreas Schwab <schwab@redhat.com>
22646
22647 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22648 __n bigger than INT_MAX+1.
22649 (__strncmp_g): Likewise.
22650
226512011-07-23 Ulrich Drepper <drepper@gmail.com>
22652
22653 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22654 * libio/stido.h: Likewise.
22655
22656 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22657 (AF_NFC): Define.
22658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22659 (AF_NFC): Define.
22660
22661 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22662 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22666
22667 [BZ #13021]
22668 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22669 installed.
22670
22671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22672 typo.
22673 (_dl_x86_64_save_sse): Likewise.
22674
226752011-07-22 Ulrich Drepper <drepper@gmail.com>
22676
22677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22678 OSXSAVE.
22679 (_dl_x86_64_save_sse): Likewise.
22680
22681 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22682
22683 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22684
226852011-07-21 Andreas Schwab <schwab@redhat.com>
22686
22687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22688 change.
22689 (_dl_x86_64_save_sse): Use correct AVX check.
22690
226912011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22692
22693 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22694 bug in strncpy/strncat.
22695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22696
226972011-07-21 Ulrich Drepper <drepper@gmail.com>
22698
22699 * string/tester.c (test_strcat): Add tests for different alignments
22700 of source and destination.
22701 (test_strncat): Likewise.
22702
227032011-07-20 Ulrich Drepper <drepper@gmail.com>
22704
22705 [BZ #12852]
22706 * posix/glob.c (glob): Check passed in values before using them in
22707 expressions to avoid some overflows.
22708 (glob_in_dir): Likewise.
22709
22710 [BZ #13007]
22711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22712 check for AVX enablement so that we don't crash with old kernels and
22713 new hardware.
22714 * elf/tst-audit4.c: Add same checks here.
22715 * elf/tst-audit6.c: Likewise.
22716
22717 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22718
227192011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22720
22721 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22722
227232011-07-20 Ulrich Drepper <drepper@gmail.com>
22724
22725 * po/cs.po: Update from translation team.
22726 * po/bg.po: Likewise.
22727
227282011-07-12 Marek Polacek <mpolacek@redhat.com>
22729
22730 * misc/sys/cdefs.h: Add support for const attribute.
22731 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22732 to gnu_dev_{major,minor,makedev} functions.
22733
227342011-07-20 Marek Polacek <mpolacek@redhat.com>
22735
22736 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22737
227382011-07-20 Andreas Schwab <schwab@redhat.com>
22739
22740 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22741 strlen results.
22742
227432011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22744
22745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22746 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22747 register in order to avoid conflicts with the soft frame pointer
22748 being held in r11 when necessary.
22749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22750 (INTERNAL_VSYSCALL_NCS): Likewise.
22751
227522011-07-14 Marek Polacek <mpolacek@redhat.com>
22753
22754 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22755 * elf/dl-fini.c (_dl_fini): Adjust caller.
22756 * elf/dl-close.c (_dl_close_worker): Likewise.
22757 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22758
227592011-07-15 Marek Polacek <mpolacek@redhat.com>
22760
22761 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22762 "aux_cache->nlibs < 0".
22763
22764 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22765 in the reload-count case.
22766
227672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22768
22769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22770 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22771 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22772 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22773 * sysdeps/x86_64/multiarch/strcat.S: New file.
22774 * sysdeps/x86_64/multiarch/strncat.S: New file.
22775 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22776 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22777 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22778 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22780 (USE_AS_STRCAT): Define.
22781 Add strcat and strncat support.
22782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22783 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22784 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22785 * string/strncat.c: Update.
22786 (USE_AS_STRNCAT): Define.
22787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22788 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22789 and i7.
22790 * sysdeps/x86_64/multiarch/init-arch.h
22791 (bit_Prefer_PMINUB_for_stringop): New.
22792 (index_Prefer_PMINUB_for_stringop): Likewise.
22793 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22794 bit_Prefer_PMINUB_for_stringop.
22795
227962011-07-19 Ulrich Drepper <drepper@gmail.com>
22797
22798 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22799 buffer64.
22800 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22801 of casting of buffer.
22802 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22803 buffer32 and buffer64.
22804 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22805 writes instead of casting of buffer.
22806 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22807 buffer32.
22808 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22809 casting of buffer.
22810
228112011-07-19 Andreas Schwab <schwab@redhat.com>
22812
22813 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22814
228152011-07-19 Ulrich Drepper <drepper@gmail.com>
22816
22817 * nscd/nscd.c (termination_handler): Don't do anything for a database
22818 if it has not yet been initialized.
22819
228202011-07-18 Ulrich Drepper <drepper@gmail.com>
22821
22822 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22823
228242011-07-15 Marek Polacek <mpolacek@redhat.com>
22825
22826 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22827
228282011-07-18 Ulrich Drepper <drepper@gmail.com>
22829
22830 * po/nl.po: Update from translation team.
22831 * po/sv.po: Likewise.
22832
228332011-07-16 Roland McGrath <roland@hack.frob.com>
22834
22835 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22836 now disallowed by GCC.
22837
22838 * configure.in (use-default-link): Default to yes if a test -shared
22839 link meets our qualifications.
22840 * configure: Regenerated.
22841
22842 * config.make.in (output-format): New variable.
22843 * configure.in: Check for ld --print-output-format support.
22844 * configure: Regenerated.
22845 * Makerules ($(common-objpfx)format.lds)
22846 [$(output-format) != unknown]: Just use $(output-format),
22847 instead of the linker-script munging.
22848
228492011-07-14 Roland McGrath <roland@hack.frob.com>
22850
22851 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22852 of $(common-objpfx)shlib.lds.
22853 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22854
22855 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22856 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22857
22858 * configure.in (-z relro check): Adjust test code to add a large
22859 writable data section after it.
22860 * configure: Regenerated.
22861
228622011-07-11 Roland McGrath <roland@hack.frob.com>
22863
22864 * configure.in (-z relro check): Fix test code to make the variable
22865 truly const.
22866 * configure: Regenerated.
22867
228682011-07-11 Ulrich Drepper <drepper@gmail.com>
22869
22870 * nscd/nscd.h (struct traced_file): Define.
22871 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22872 elements. Add traced_files.
22873 (inotify_fd): Declare.
22874 (register_traced_file): Declare.
22875 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22876 (inotify_fd): Export.
22877 (resolv_conf_descr): Remove.
22878 (nscd_init): Move inotify descriptor creation to main.
22879 Don't register files for notification here.
22880 (register_traced_file): New function.
22881 (invalidate_cache): Don't use reset_res to determine whether to call
22882 res_init, go through the list of registered files.
22883 (main_loop_poll): The inotify descriptors are now stored in the
22884 structures for the traced files.
22885 (main_loop_epoll): Likewise
22886 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22887 to __nss_disable_nscd.
22888 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22889 for a database anymore. Check the records for all the registered
22890 files instead.
22891 * nss/Makefile (libnss_files-routines): Add files-init.
22892 (libnss_db-routines): Add db-init.
22893 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22894 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22895 * nss/nss_db/db-init.c: New file.
22896 * nss/nss_files/files-init.c: New file.
22897 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22898 __nss_lookup_function.
22899 (__nss_lookup_function): Call nss_load_library.
22900 (nss_load_all_libraries): New function.
22901 (__nss_disable_nscd): Take parameter with callback function for files
22902 to register. Set is_nscd. Load all the DSOs for the NSS modules
22903 used for the cached services.
22904 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22905 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22906 options for features to all the files in nscd.
22907
22908 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22909
229102011-07-10 Roland McGrath <roland@hack.frob.com>
22911
22912 * csu/elf-init.c (__libc_csu_init): Comment typo.
22913
229142011-07-09 Ulrich Drepper <drepper@gmail.com>
22915
22916 * po/pl.po: Update from translation team.
22917 * po/ja.po: Likewise.
22918 * po/ru.po: Likewise.
22919 * po/ko.po: Likewise.
22920 * po/fr.po: Likewise.
22921
229222011-07-09 Roland McGrath <roland@hack.frob.com>
22923
22924 * configure.in (.ctors/.dtors header and trailer check):
22925 Use an empirical test on a built program.
22926 * configure: Regenerated.
22927
22928 * configure.in (-z relro check): Use an empirical test on a built DSO.
22929 Detect, but do not require, on ia64.
22930 * configure: Regenerated.
22931
22932 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22933 Update tests that use readelf to use $READELF instead.
22934 * configure: Regenerated.
22935
229362011-07-08 Ulrich Drepper <drepper@gmail.com>
22937
22938 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22939 if the result is not used.
22940
229412011-07-05 Andreas Jaeger <aj@suse.de>
22942
22943 [BZ#9696]
22944 * stdlib/tst-strtod.c: Add testcase.
22945
229462011-07-07 Ulrich Drepper <drepper@gmail.com>
22947
22948 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22949 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22950 The latter has a higher limit. Take additional parameter to pass to
22951 the new function.
22952 (__pathconf): Pass file to __statfs_link_max.
22953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22954 __statfs_link_max.
22955 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22956 __statfs_link_max.
22957
22958 [BZ #12868]
22959 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22960 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22961 Handle Lustre.
22962 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22963 (__statfs_filesize_max): Likewise.
22964 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22965
229662011-07-05 Andreas Jaeger <aj@suse.de>
22967
22968 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22969
229702011-07-06 Marek Polacek <mpolacek@redhat.com>
22971
22972 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22973 `status' variable.
22974 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22975 Likewise.
22976
229772011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22978
22979 * Makefile (strop-tests): Add strncat.
22980 * string/test-strncat.c: New file.
22981
229822011-06-30 Marek Polacek <mpolacek@redhat.com>
22983
22984 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22985
229862011-06-21 Andreas Jaeger <aj@suse.de>
22987
22988 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22989 Copy rule from iconvdata/Makefile.
22990
229912011-07-06 Ulrich Drepper <drepper@gmail.com>
22992
22993 [BZ #12922]
22994 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22995 but no long options are defined, just return 'W'.
22996
229972011-06-22 Marek Polacek <mpolacek@redhat.com>
22998
22999 [BZ #9696]
23000 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23001
230022011-07-06 Ulrich Drepper <drepper@gmail.com>
23003
23004 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23005 netgroups to read.
23006 (innetgr): Likewise.
23007
230082011-07-05 Roland McGrath <roland@hack.frob.com>
23009
23010 * config.make.in (install_root): Default to $(DESTDIR).
23011
230122011-07-05 Ulrich Drepper <drepper@gmail.com>
23013
23014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23015
230162011-07-02 Roland McGrath <roland@hack.frob.com>
23017
23018 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23019
23020 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23021 containing directory rather than embedding absolute directory names.
23022
23023 * scripts/check-local-headers.sh: Rewritten using awk.
23024 Match by word, not by line. Print error messages for matches.
23025 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23026
23027 * Makerules [shlib-lds-flags empty]:
23028 ($(common-objpfx)libc_pic.opts): New target.
23029 ($(common-objpfx)libc_pic.os.clean): New target.
23030 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23031
23032 * config.make.in (OBJCOPY): New variable.
23033 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23034 * configure: Regenerated.
23035
23036 * config.make.in (use-default-link): New variable.
23037 * configure.in (use_default_link): Grok --with-default-link to set it.
23038 * configure: Regenerated.
23039 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23040 (shlib-lds, shlib-lds-flags): Define to empty.
23041
23042 * Makerules (shlib-lds): New variable.
23043 (shlib-lds-flags): New variable.
23044 (build-shlib, build-moduile, build-module-asneeded): Use it.
23045 ($(common-objpfx)libc.so): Use $(shlib-lds).
23046 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23047 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23048
23049 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23050 DT_FLAGS/DT_FLAGS_1 with zero flags.
23051
23052 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23053 linker script munging.
23054
230552011-07-02 Ulrich Drepper <drepper@gmail.com>
23056
23057 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23058 as 128-bit value.
23059 * crypt/sha512.c (sha512_process_block): Perform total addition using
23060 128-bit if possible.
23061 (__sha512_finish_ctx): Likewise.
23062 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23063 as 64-bit value.
23064 * crypt/sha256.c (SWAP64): Define.
23065 (sha256_process_block): Perform total addition using 64-bit if
23066 possible.
23067 (__sha256_finish_ctx): Likewise.
23068
230692011-07-01 Ulrich Drepper <drepper@gmail.com>
23070
23071 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23072 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23073 * nscd/hstcache.c (cache_addhst): Likewise.
23074 * nscd/grpcache.c (cache_addgr): Likewise.
23075 * nscd/aicache.c (addhstaiX): Likewise
23076 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23077
230782011-07-01 Thorsten Kukuk <kukuk@suse.de>
23079
23080 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23082 * nscd/hstcache.c (cache_addhst): Likewise.
23083 * nscd/grpcache.c (cache_addgr): Likewise.
23084 * nscd/aicache.c (addhstaiX): Likewise
23085
230862011-07-01 Andreas Schwab <schwab@redhat.com>
23087
23088 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23089 domain only when needed.
23090
230912011-06-30 Andreas Schwab <schwab@redhat.com>
23092
23093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23094 is always restored.
23095
230962011-06-29 Ulrich Drepper <drepper@gmail.com>
23097
23098 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23099 are re-adding the entry.
23100 * nscd/servicescache.c (cache_addserv): Likewise.
23101
231022011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23103
23104 * sysdeps/generic/dl-irel.h: fix protection against multiple
23105 inclusions.
23106 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23107
231082011-06-28 Ulrich Drepper <drepper@gmail.com>
23109
23110 [BZ #12935]
23111 * malloc/memusage.sh: Fix quoting in message.
23112 * debug/xtrace.sh: Likewise.
23113
23114 * configure.in: Remove support for --experimental-malloc option, make
23115 it the default.
23116 * config.make.in: Likewise.
23117 * malloc/Makefile: Likewise.
23118
231192011-06-27 Andreas Schwab <schwab@redhat.com>
23120
23121 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23122 two-byte characters.
23123
231242011-06-27 Roland McGrath <roland@hack.frob.com>
23125
23126 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23127 AC_CACHE_CHECK invocation.
23128 * configure: Regenerated.
23129
23130 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23131
231322011-06-27 Ulrich Drepper <drepper@gmail.com>
23133
23134 [BZ #12350]
23135 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23136 bit from old_res_options.
23137
23138 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23139
23140 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23141 value type for setfct.
23142
231432011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23144
23145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23146 __gettimeofday instead of gettimeofday.
23147
231482011-06-26 Ulrich Drepper <drepper@gmail.com>
23149
23150 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23151
231522011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23153
23154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23155
23156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23157 info.
23158
231592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23160
23161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23162 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23163 strcpy-sse2-unaligned strncpy-sse2-unaligned
23164 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23165 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23166 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23167 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23168 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23169 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23170 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23171 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23172 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23173 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23174 (STRCPY): Support SSE2 and SSSE3 versions.
23175
231762011-06-24 Ulrich Drepper <drepper@gmail.com>
23177
23178 [BZ #12874]
23179 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23180 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23181 kernels which artificially limit size of requests.
23182
231832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23184
23185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23186 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23187 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23188 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23189 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23190 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23191 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23192 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23195 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23196 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23197 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23198 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23199 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23201 Enable unaligned load optimization for Intel Core i3, i5 and i7
23202 processors.
23203 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23204 Define.
23205 (index_Fast_Unaligned_Load): Define.
23206 (HAS_FAST_UNALIGNED_LOAD): Define.
23207
232082011-06-23 Marek Polacek <mpolacek@redhat.com>
23209
23210 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23211
232122011-06-22 Ulrich Drepper <drepper@gmail.com>
23213
23214 [BZ #12907]
23215 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23216 until it is clear that the information is realy needed.
23217 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23218
232192011-06-22 Andreas Schwab <schwab@redhat.com>
23220
23221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23222
232232011-06-22 Ulrich Drepper <drepper@gmail.com>
23224
23225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23226 /sys/devices/system/cpu/online if it is usable.
23227
23228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23229 reading the information from the /proc filesystem to once a second.
23230
232312011-06-21 Andreas Jaeger <aj@suse.de>
23232
23233 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23234 NULL after inclusion of kernel headers.
23235
232362011-06-21 Ulrich Drepper <drepper@gmail.com>
23237
23238 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23239 calls to internal_setent.
23240
23241 [BZ #12885]
23242 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23243 addresses using gethostbyname4_r ignore IPv4 addresses.
23244
23245 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23246 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23247
23248 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23249
232502011-06-20 David S. Miller <davem@davemloft.net>
23251
23252 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23253 inclusions.
23254 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23255
23256 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23257 (elf_irel): Use it.
23258 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23259 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23260 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23261 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23262 * sysdeps/x86_64/dl-irel.h: Likewise.
23263
23264 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23265 * elf/dl-sym.c: Likewise.
23266
232672011-06-15 Ulrich Drepper <drepper@gmail.com>
23268
23269 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23270 need to dereference resplen2.
23271
232722011-06-14 Andreas Schwab <schwab@redhat.com>
23273
23274 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23275
232762011-06-15 Ulrich Drepper <drepper@gmail.com>
23277
23278 * Makeconfig: Define vardbdir and inst_vardbdir.
23279 * nss/Makefile: Add rules to install db-Makefile.
23280
23281 * nss/nss_db/db-XXX.c: Cleanup.
23282
23283 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23284 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23285 GLIBC_PRIVATE.
23286 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23287 * nss/makedb.c: Implement -g option to specify that value strings
23288 are generated and should not be added to table iterated over for
23289 get*ent calls.
23290 * nss/nss_db/db-initgroups.c: New file.
23291
23292 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23293 interface.
23294
23295 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23296 (internal_getgrouplist): Adjust to name change.
23297 Update use_initgroups_entry if this is not the first call.
23298 * nss/databases.def: Add initgroups entry.
23299
23300 * nss/makedb.c (compute_tables): Check result of multiple hash table
23301 sizes to minimize maximum chain length.
23302
233032011-06-14 Ulrich Drepper <drepper@gmail.com>
23304
23305 * Versions.def: Add entry for libnss_db.
23306 * shlib-versions: Likewise.
23307 * nss/Makefile: Add rules to build libnss_db.
23308 * nss/Versions: Add libnss_db information. Organize libnss_files
23309 entries better.
23310 * nss/db-Makefile: Add gshadow support. Change rules for the new
23311 makedb progra. Some minor improvements to generate smaller files.
23312 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23313 here from...
23314 * nss/makedb.c: ...here.
23315 Improve database format to be smaller and require less memory at
23316 runtime.
23317 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23318 db anymore.
23319 * nss/nss_db/db-netgrp.c: Likewise.
23320 * nss/nss_db/db-open.c: Likewise.
23321 * nss/nss_files/flies-XXX.x: Adjust comments.
23322 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23323 * nss/nss_files/files-grp.c: Likewise.
23324 * nss/nss_files/files-hosts.c: Likewise.
23325 * nss/nss_files/files-network.c: Likewise.
23326 * nss/nss_files/files-proto.c: Likewise.
23327 * nss/nss_files/files-pwd.c: Likewise.
23328 * nss/nss_files/files-rpc.c: Likewise.
23329 * nss/nss_files/files-service.c: Likewise.
23330 * nss/nss_files/files-sgrp.c: Likewise.
23331 * nss/nss_files/files-spwd.c: Likewise.
23332 * nss/nss_db/db-alias.c: Removed.
23333 * nss/nss_db/dummy-db.h: Removed.
23334
233352011-06-02 Ulrich Drepper <drepper@gmail.com>
23336
23337 * nss/makedb.c: Rewritten to not use database library.
23338 * nss/Makefile: Update to build new makedb program.
23339
233402011-06-14 Andreas Jaeger <aj@suse.de>
23341
23342 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23343 memset declaration.
23344
233452011-06-10 Andreas Schwab <schwab@redhat.com>
23346
23347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23348 tmpbuf.
23349
233502011-06-10 Roland McGrath <roland@hack.frob.com>
23351
23352 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23353 * elf/Makefile ($(objpfx)ld.so): Likewise.
23354
23355 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23356 Don't list ld.so twice in dependencies.
23357
23358 * posix/bug-regex31.c: Include <stdlib.h>.
23359
23360 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23361
23362 * nis/nss_compat/compat-spwd.c
23363 (getspent_next_nss_netgr): Remove unused variable.
23364 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23365
23366 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23367 nonmembers" output to use the right array.
23368
23369 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23370
23371 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23372
23373 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23374 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23375 * catgets/gencat.c (read_input_file): Likewise.
23376 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23377
23378 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23379 variable definition inside #if's controlling its use.
23380
23381 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23382
23383 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23384
23385 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23386
23387 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23388 unreachable code.
23389
23390 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23391
23392 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23393 * configure: Regenerated.
23394
23395 * Makerules: Revert last change.
23396 * elf/Makefile: Likewise.
23397
233982011-06-09 Roland McGrath <roland@hack.frob.com>
23399
23400 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23401 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23402 (reloc-link): Likewise.
23403
234042011-06-09 Ulrich Drepper <drepper@gmail.com>
23405
23406 * elf/Makefile: Add rules to build pldd.
23407 * elf/pldd.c: New file.
23408 * elf/pldd-xx.c: New file.
23409
234102011-06-07 Ulrich Drepper <drepper@gmail.com>
23411
23412 * version.h: Update for 2.15 development version.
23413
234142011-06-07 David S. Miller <davem@davemloft.net>
23415
23416 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23417 ifuncs.
23418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23419 elf_machine_lazy_rel): Likewise.
23420 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23422 elf_machine_lazy_rel): Likewise.
23423 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23424 dl_hwcap via passed in argument.
23425 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23426 Likewise.
23427
234282011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23429
23430 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23431
234322011-06-06 Roland McGrath <roland@hack.frob.com>
23433
23434 [BZ #12849]
23435 * manual/fdl-1.1.texi: New file, verbatim from:
23436 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23437 * manual/lgpl-2.1.texi: New file, verbatim from:
23438 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23439 * manual/Makefile (licenses): New variable, list those new file names.
23440 (texis): Use it.
23441 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23442
23443 * manual/fdl.texi: File removed.
23444 * manual/lesser.texi: File removed.
23445 * manual/libc.texinfo (Copying, Documentation License):
23446 Use new @include file names, put @appendix directive before @include.
23447
234482011-06-04 Jakub Jelinek <jakub@redhat.com>
23449
23450 [BZ #12841]
23451 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23452 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23453 (mq_open): Add __NTH.
23454
234552011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23456
23457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23458 Assume Intel Core i3/i5/i7 processor if AVX is available.
23459
234602011-05-31 Ulrich Drepper <drepper@gmail.com>
23461
23462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23463 typo.
23464
234652011-05-31 Andreas Schwab <schwab@redhat.com>
23466
23467 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23468 memory. Use alloca_account. Fix memory leak when retrying.
23469
234702011-05-31 Ulrich Drepper <drepper@gmail.com>
23471
23472 * version.h (RELEASE): Bump for 2.14 release.
23473 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23474
23475 * config.make.in (RANLIB): Remove entry.
23476
234772011-05-30 Ulrich Drepper <drepper@gmail.com>
23478
23479 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23480 (libc.pot): Work around missing support for .ksh extension in xgettext.
23481
23482 [BZ #12684]
23483 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23484 if both request failed.
23485 (send_dg): In case of server errors clear resplen or *resplen2.
23486
23487 [BZ #12454]
23488 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23489 when there are multiple maps.
23490 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23491 (_dl_fini): Remove test here.
23492
23493 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23494
234952011-05-29 Ulrich Drepper <drepper@gmail.com>
23496
23497 [BZ #12350]
23498 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23499 bit from old_res_options.
23500 (gaih_inet): Likewise.
23501
23502 [BZ #11099]
23503 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23504 as signed.
23505
23506 * resolv/res_init.c (res_setoptions): Make the code more compact.
23507
23508 [BZ #11558]
23509 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23510 set RES_USEVC.
23511
23512 [BZ #11634]
23513 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23514
23515 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23516
23517 [BZ #11781]
23518 * malloc/malloc.h: Declare malloc hook variables as volatile.
23519
23520 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23521 in last patch.
23522
23523 [BZ #11799]
23524 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23525 raise in the comment.
23526 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23528 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23529
235302011-05-28 Ulrich Drepper <drepper@gmail.com>
23531
23532 [BZ #12811]
23533 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23534 grow the buffers more if it already has to be sufficient.
23535 (build_wcs_upper_buffer): Likewise.
23536 * posix/regexec.c (check_matching): Likewise.
23537 (clean_state_log_if_needed): Likewise.
23538 (extend_buffers): Don't enlarge buffers beyond size of the input
23539 buffer.
23540 Patches mostly by Emil Wojak <emil@wojak.eu>.
23541 * posix/bug-regex32.c: New file.
23542 * posix/Makefile (tests): Add bug-regex32.
23543
23544 * locale/findlocale.c (_nl_find_locale): Return right away if
23545 _nl_explode_name failed.
23546 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23547
23548 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23549
23550 * debug/xtrace.sh: Unify messages.
23551 * malloc/memusage.sh: Likewise.
23552
23553 [BZ #12813]
23554 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23555 time symbol from vDSO. Substitute with vsyscall if not available.
23556 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23557 __vdso_time.
23558
23559 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23560 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23561 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23562 Add sendmmsg and internal_sendmmsg.
23563 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23564 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23565 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23566
23567 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23568 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23569 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23570
235712011-05-27 Ulrich Drepper <drepper@gmail.com>
23572
23573 [BZ #12813]
23574 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23575 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23576 available.
23577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23578 __vdso_getcpu.
23579
23580 [BZ #12814]
23581 * iconvdata/Makefile (tests): Add bug-iconv9.
23582 * iconvdata/bug-iconv9.c: New file.
23583
235842011-05-27 Andreas Schwab <schwab@redhat.com>
23585
23586 [BZ #12814]
23587 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23588
235892011-05-25 Jakub Jelinek <jakub@redhat.com>
23590
23591 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23592 (struct user_regs_struct): Change intcs field back to cs.
23593
235942011-05-25 Ulrich Drepper <drepper@gmail.com>
23595
23596 * po/ja.po: Update from translation team.
23597
235982011-05-23 Ulrich Drepper <drepper@gmail.com>
23599
23600 [BZ #12795]
23601 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23602 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23603
236042011-05-20 Andreas Schwab <schwab@redhat.com>
23605
23606 * stdlib/longlong.h: Update from GCC.
23607
236082011-05-23 Andreas Schwab <schwab@redhat.com>
23609
23610 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23611 parameter name.
23612 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23613 Add parameter name.
23614 (__sysconf): Pass it down.
23615
236162011-05-22 Ulrich Drepper <drepper@gmail.com>
23617
23618 [BZ #12671]
23619 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23620 some situations.
23621 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23622 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23623 add in in __libc_use_alloca calls. Adjust callers.
23624 (glob): Use malloc in some situations.
23625
23626 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23627 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23628 pltexit.
23629
236302011-05-21 Ulrich Drepper <drepper@gmail.com>
23631
23632 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23633 and CLOCK_BOOTTIME_ALARM.
23634
23635 [BZ #12782]
23636 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23637 is returned.
23638
23639 * string/_strerror.c (__strerror_r): Print negative errors as signed
23640 numbers.
23641
23642 [BZ #12777]
23643 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23644 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23645 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23646
23647 * configure.in: Fix typo in redirection and correct removal of test
23648 files in two cases.
23649
23650 [BZ #12788]
23651 * locale/setlocale.c (new_composite_name): Fix test to check for
23652 identical name of all categories.
23653
23654 [BZ #12792]
23655 * libio/filedoalloc.c (local_isatty): New function.
23656 (_IO_file_doallocate): Use local_isatty.
23657 * stdio-common/perror.c (perror): In case a new stream is used
23658 forward the stream error.
23659 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23660 error flag.
23661
236622011-05-20 Ulrich Drepper <drepper@gmail.com>
23663
23664 [BZ #11869]
23665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23666 alloca.
23667 * include/alloca.h (extend_alloca_account): Define.
23668
23669 [BZ #11857]
23670 * posix/regex.h: Fix comments with documentation of user-accessible
23671 fields after compilation and describe correct free'ing of pattern
23672 after re_compile_pattern.
23673 Patch by Reuben Thomas <rrt@sc3d.org>.
23674
236752011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23676
23677 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23678 and -mno-altivec to prevent the compiler from using Altivec and/or
23679 VSX instructions when the corresponding registers are not available.
23680
236812011-05-19 Andreas Schwab <schwab@redhat.com>
23682
23683 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23684
236852011-05-19 Ulrich Drepper <drepper@gmail.com>
23686
23687 * libio/freopen.c (freopen): Use __dup2, not dup2.
23688 * libio/freopen64.c (freopen64): Likewise.
23689
236902011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23691
23692 [BZ #12775]
23693 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23694 * math/Makefile (tests): Add test-powl.
23695 (CFLAGS-test-powl.c): Define.
23696 * math/test-powl.c: New file.
23697
236982011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23699
23700 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23701
237022011-05-17 Ulrich Drepper <drepper@gmail.com>
23703
23704 [BZ #11837]
23705 * iconvdata/gb18030.c: Update to GB18020-2005.
23706
237072011-05-16 Ulrich Drepper <drepper@gmail.com>
23708
23709 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23710 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23711 Patch by Aharon Robbins <arnold@skeeve.com>.
23712
23713 [BZ #11892]
23714 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23715 on the stack.
23716
23717 [BZ #11895]
23718 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23719 through underflows.
23720
23721 [BZ #12766]
23722 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23723 point to strings before performing equality test for error_one_per_line
23724 mode.
23725
23726 [BZ #11697]
23727 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23728
23729 [BZ #11820]
23730 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23731 (struct user_fpregs_struct): Avoid __uint*_t types.
23732
23733 [BZ #6420]
23734 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23735 symbol info. Use it instead of calling _dl_addr locally.
23736 (lock_and_info): New function.
23737 (tr_freehook): Call lock_and_info and pass symbol info as additional
23738 parameter to tr_where.
23739 (tr_mallochook): Likewise.
23740 (tr_reallochook): Likewise.
23741 (tr_memalignhook): Likewise.
23742
23743 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23744 used and couldn't be at all thread-safe.
23745
237462011-05-15 Ulrich Drepper <drepper@gmail.com>
23747
23748 * libio/freopen.c (freopen): Don't close old file descriptor
23749 before the new one is opened. Instead dup the new file descriptor
23750 to the old one after the new stream is created.
23751 * libio/freopen64.c (freopen64): Likewise.
23752 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23753 * libio/fileops.c (_IO_new_file_close_it): Handle new
23754 _IO_FLAGS2_NOCLOSE flag.
23755 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23756 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23757 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23758 _IO_FLAGS2_NOCLOSE flag.
23759 * include/unistd.h: Add hidden_proto for dup3.
23760 Define __have_dup3.
23761 * io/dup3.c: Define hidden symbol.
23762 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23763
23764 [BZ #7101]
23765 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23766 when an incomplete long option is used.
23767 * posix/tst-getopt_long1.c: New file.
23768 * posix/Makefile (tests): Add tst-getopt_long1.
23769
23770 [BZ #10138]
23771 * scripts/config.guess: Update from autoconf-2.68.
23772 * scripts/config.sub: Likewise.
23773
23774 [BZ #10157]
23775 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23776 tests into ...
23777 (has_cpuclock): ...this. New function.
23778 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23779 macro here based on has_cpuclock code.
23780
23781 [BZ #10149]
23782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23783 First byte (not low byte) is now always NUL.
23784 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23785
23786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23787 Use non-cancelable interfaces.
23788
23789 [BZ #9809]
23790 * locale/iso-639.def: Add entry for Sorani.
23791
23792 [BZ #11901]
23793 * include/stdlib.h: Move include protection to the right place.
23794 Define abort_msg_s. Declare __abort_msg with it.
23795 * stdlib/abort.c (__abort_msg): Adjust type.
23796 * assert/assert.c (__assert_fail_base): New function. Majority
23797 of code from __assert_fail. Allocate memory for __abort_msg with
23798 mmap.
23799 (__assert_fail): Now call __assert_fail_base.
23800 * assert/assert-perr.c: Remove bulk of implementation. Use
23801 __assert_fail_base.
23802 * include/assert.hL Declare __assert_fail_base.
23803 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23804 mmap.
23805 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23806
238072011-05-14 Ulrich Drepper <drepper@gmail.com>
23808
23809 [BZ #11952]
23810 [BZ #12453]
23811 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23812 until all modules are registered in the DTV.
23813 * elf/Makefile: Add rules to build and run tst-tls19.
23814 * elf/tst-tls19.c: New file.
23815 * elf/tst-tls19mod1.c: New file.
23816 * elf/tst-tls19mod2.c: New file.
23817 * elf/tst-tls19mod3.c: New file.
23818 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23819
23820 [BZ #12083]
23821 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23822 correctly.
23823
23824 [BZ #12601]
23825 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23826 two-byte sequence errors.
23827 * iconvdata/Makefile (tests): Add bug-iconv8.
23828 * iconvdata/bug-iconv8.c: New file.
23829
23830 [BZ #12626]
23831 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23832 buf2 definition.
23833
23834 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23835
23836 [BZ #12432]
23837 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23838 (dummy_getcfa): New function.
23839 (init): Get _Unwind_GetCFA address, use dummy if not found.
23840 (backtrace_helper): In recursion check, also check whether CFA changes.
23841 (__backtrace): Completely initialize arg.
23842
23843 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23844 storing incomplete byte sequence in state object. Avoid testing for
23845 guaranteed too small input if we know there is enough data available.
23846
238472011-05-11 Andreas Schwab <schwab@redhat.com>
23848
23849 * Makeconfig (+link-pie): Indent.
23850 * Rules (binaries-pie): Define if $(have-fpie) and
23851 $(build-shared).
23852 (binaries-shared): Also filter out $(binaries-pie).
23853 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23854 * nscd/Makefile (others-pie): Add nscd.
23855 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23856 ($(objpfx)nscd): Remove command override.
23857 * login/Makefile (others-pie): Add pt_chown.
23858 ($(objpfx)pt_chown): Remove command override.
23859 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23860 remove command overrides.
23861
238622011-05-13 Ulrich Drepper <drepper@gmail.com>
23863
23864 * libio/tst_putwc.c: Fix error messages.
23865
23866 [BZ #12724]
23867 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23868 currently writing and seek to current position when not.
23869 * libio/Makefile (tests): Add bug-fclose1.
23870 * libio/bug-fclose1.c: New file.
23871
238722011-05-12 Ulrich Drepper <drepper@gmail.com>
23873
23874 [BZ #12511]
23875 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23876 don't set DF_1_NODELETE here.
23877 (do_lookup_x): When entering new entry test for copy relocation
23878 and if necessary set DF_1_NODELETE flag.
23879 * elf/tst-unique4.cc: New file.
23880 * elf/tst-unique4.h: New file.
23881 * elf/tst-unique4lib.cc: New file.
23882 * elf/Makefile: Add rules to build and run tst-unique4.
23883 Patch by Piotr Bury <pbury@goahead.com>.
23884
238852011-05-11 Ulrich Drepper <drepper@gmail.com>
23886
23887 [BZ #12052]
23888 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23889
23890 [BZ #12625]
23891 * misc/mntent_r.c (addmntent): Flush the stream after the output
23892
23893 [BZ #12393]
23894 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23895 (is_trusted_path_normalize): Skip initial colon. Append slash
23896 to empty buffer. Duplicate is_trusted_path code but allow
23897 constructed patch to be prefix.
23898 (is_dst): Allow $ORIGIN followed by /.
23899 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23900 Correct testing of result of is_trusted_path_normalize
23901 (decompose_rpath): Fix warning.
23902
239032011-05-10 Ulrich Drepper <drepper@gmail.com>
23904
23905 [BZ #11257]
23906 * grp/initgroups.c (internal_getgrouplist): When we found the service
23907 list through the initgroups entry in nsswitch.conf do not always
23908 continue on a successful lookup. Don't always use the
23909 __nss_group_database value if it is set.
23910 * nss/nsswitch.conf (initgroups): Change action for successful db
23911 lookup to continue for compatibility.
23912
239132011-05-09 Ulrich Drepper <drepper@gmail.com>
23914
23915 [BZ #11532]
23916 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23917 and CP774 modules.
23918 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23919 and CP774 modules.
23920 * iconvdata/tst-tables.sh: Likewise.
23921 * iconvdata/cp770.c: New file.
23922 * iconvdata/cp771.c: New file.
23923 * iconvdata/cp772.c: New file.
23924 * iconvdata/cp773.c: New file.
23925 * iconvdata/cp774.c: New file.
23926 * iconvdata/testdata/CP770: New file.
23927 * iconvdata/testdata/CP770..UTF8: New file.
23928 * iconvdata/testdata/CP771: New file.
23929 * iconvdata/testdata/CP771..UTF8: New file.
23930 * iconvdata/testdata/CP772: New file.
23931 * iconvdata/testdata/CP772..UTF8: New file.
23932 * iconvdata/testdata/CP773: New file.
23933 * iconvdata/testdata/CP773..UTF8: New file.
23934 * iconvdata/testdata/CP774: New file.
23935 * iconvdata/testdata/CP774..UTF8: New file.
23936
23937 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23938 END CHARMAP line.
23939 * iconvdata/gen-8bit-gap.sh: Likewise.
23940 * iconvdata/gen-8bit.sh: Likewise.
23941
23942 * locale/iso-639.def: Add ary entry.
23943
23944 [BZ #11258]
23945 * locale/C-translit.h.in: Add U20A1 transliteration.
23946
23947 [BZ #12178]
23948 * locale/iso-639.def: Add wae entry.
23949 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23950
23951 [BZ #12545]
23952 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23953 for n.
23954
23955 [BZ #12711]
23956 * locale/C-translit.h.in: Add entry for U20B9.
23957 Patch by pravin.d.s@gmail.com.
23958
239592011-05-08 Ulrich Drepper <drepper@gmail.com>
23960
23961 [BZ #12713]
23962 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23963 ENAMETOOLONG use generic getcwd.
23964 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23965 in rtld. Use *stat64.
23966 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23967 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23968 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23969 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23970 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23971 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23972 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23973 __fstatat64 macros.
23974 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23975 * dirent/rewinddir.c: Add libc_hidden_def.
23976 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23977 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23978
23979 * include/dirent.h (__alloc_dir): Add flags parameter.
23980 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23981 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23982 __alloc_dir.
23983 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23984 from fdopendir if O_CLOEXEC is already set.
23985
239862011-03-15 Alan Modra <amodra@gmail.com>
23987
23988 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23989 l_tls_firstbyte_offset non-zero. Save padding offset in
23990 l_tls_firstbyte_offset for later use.
23991 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23992 freeing static tls block.
23993
239942011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23995
23996 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23997 where #ifdef was intended. The intent is to prevent ARG_MAX from
23998 being defined by the kernel headers.
23999
240002011-05-07 Ulrich Drepper <drepper@gmail.com>
24001
24002 [BZ #12734]
24003 * resolv/resolv.h: Define RES_NOTLDQUERY.
24004 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24005 no-tld-query and set RES_NOTLDQUERY.
24006 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24007 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24008 modern BIND to search name as TLD unless forbidden.
24009
240102011-05-07 Petr Baudis <pasky@suse.cz>
24011 Ulrich Drepper <drepper@gmail.com>
24012
24013 [BZ #12393]
24014 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24015 (is_trusted_path): ...to here.
24016 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24017 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24018 using is_trusted_path_normalize() in setuid scripts.
24019
240202011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24021
24022 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24023 __BEGIN/__END_DECLS.
24024
240252011-05-06 Ulrich Drepper <drepper@gmail.com>
24026
24027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24028 NSS_STATUS_NOTFOUND if no record was found.
24029
240302011-05-05 Andreas Schwab <schwab@redhat.com>
24031
24032 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24033 (headers-not-in-tirpc): Remove rpc/netdb.h
24034 * resolv/netdb.h: Revert last change.
24035
240362011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24037
24038 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24039 circular dependency between libgcc.a and libc.a.
24040
240412011-05-05 Andreas Schwab <schwab@redhat.com>
24042
24043 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24044 * nis/Makefile: Don't install rpcsvc/*.
24045 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24046 instead of <rpc/types.h>.
24047 (MAXHOSTNAMELEN): Define.
24048
240492011-05-03 Andreas Schwab <schwab@redhat.com>
24050
24051 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24052
240532011-04-28 Maciej Babinski <mbabinski@google.com>
24054
24055 [BZ #12714]
24056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24057 gethostbyname4_r when IPv6 results are possible.
24058
240592011-05-02 Ulrich Drepper <drepper@gmail.com>
24060
24061 [BZ #12723]
24062 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24063 _PC_PIPE_BUF handling.
24064
240652011-04-30 Bruno Haible <bruno@clisp.org>
24066
24067 [BZ #12717]
24068 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24069 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24070 to 'int'.
24071 * inet/getnameinfo.c (getnameinfo): Likewise.
24072
240732011-04-29 Ulrich Drepper <drepper@gmail.com>
24074
24075 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24076 to groups setting in database lookup.
24077 * nss/nsswitch.conf: Add initgroups entry.
24078
240792011-04-22 Ulrich Drepper <drepper@gmail.com>
24080
24081 [BZ #12685]
24082 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24083 mode string.
24084 Patch by Eric Blake <eblake@redhat.com>.
24085
240862011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24087
24088 * sunrpc/Makefile (need-export-routines): Add svc_run.
24089 (routines): Remove svc_run.
24090 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24091 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24092 * sunrpc/svc_run.c (svc_run): Likewise.
24093 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24094
240952011-04-21 Ulrich Drepper <drepper@gmail.com>
24096
24097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24098 problem in reallocation in last patch.
24099
241002011-04-20 Ulrich Drepper <drepper@gmail.com>
24101
24102 * sunrpc/Makefile: Move inclusion of Rules.
24103
241042011-04-19 Ulrich Drepper <drepper@gmail.com>
24105
24106 * nss/nss_files/files-initgroups.c: New file.
24107 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24108 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24109 _nss_files_initgroups_dyn.
24110
241112011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24112
24113 * elf/elf.h (R_ARM_IRELATIVE): Define.
24114
241152011-04-19 Ulrich Drepper <drepper@gmail.com>
24116
24117 * po/ru.po: Update from translation team.
24118
241192011-04-17 Ulrich Drepper <drepper@gmail.com>
24120
24121 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24122 dependencies.
24123
241242011-02-06 Mike Frysinger <vapier@gentoo.org>
24125
24126 [BZ #12653]
24127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24128 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24129 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24130 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24131 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24132
241332011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24134
24135 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24136 differing bytes.
24137 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24140
241412011-04-17 Ulrich Drepper <drepper@gmail.com>
24142
24143 [BZ #12420]
24144 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24145 storing it.
24146 * stdlib/bug-getcontext.c: New file.
24147 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24148
241492011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24150
24151 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24152 instructions into .machine "z9-109".
24153 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24154 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24155
241562011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24157
24158 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24159 between environment variables and auxiliary vector.
24160
241612011-04-16 Ulrich Drepper <drepper@gmail.com>
24162
24163 * Makefile: Add rules to build linkobj/libc.so.
24164 * include/libc-symbols.h: Define libc_hidden_nolink.
24165 * include/rpc/auth.h: Mark functions which are to be hidden.
24166 * include/rpc/auth_des.h: Likewise.
24167 * include/rpc/auth_unix.h: Likewise.
24168 * include/rpc/clnt.h: Likewise.
24169 * include/rpc/des_crypt.h: Likewise.
24170 * include/rpc/key_prot.h: Likewise.
24171 * include/rpc/pmap_clnt.h: Likewise.
24172 * include/rpc/pmap_prot.h: Likewise.
24173 * include/rpc/pmap_rmt.h: Likewise.
24174 * include/rpc/rpc_msg.h: Likewise.
24175 * include/rpc/svc.h: Likewise.
24176 * include/rpc/svc_auth.h: Likewise.
24177 * include/rpc/xdr.h: Likewise.
24178 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24179 * nss/Makefile: Likewise.
24180 * sunrpc/Makefile: Don't install headers. Build library with normal
24181 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24182 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24183 for the compat linking library. Remove use of INTDEF/INTUSE.
24184 * sunrpc/auth_none.c: Likewise.
24185 * sunrpc/auth_unix.c: Likewise.
24186 * sunrpc/authdes_prot.c: Likewise.
24187 * sunrpc/authuxprot.c: Likewise.
24188 * sunrpc/clnt_gen.c: Likewise.
24189 * sunrpc/clnt_perr.c: Likewise.
24190 * sunrpc/clnt_raw.c: Likewise.
24191 * sunrpc/clnt_simp.c: Likewise.
24192 * sunrpc/clnt_tcp.c: Likewise.
24193 * sunrpc/clnt_udp.c: Likewise.
24194 * sunrpc/clnt_unix.c: Likewise.
24195 * sunrpc/des_crypt.c: Likewise.
24196 * sunrpc/des_soft.c: Likewise.
24197 * sunrpc/get_myaddr.c: Likewise.
24198 * sunrpc/key_call.c: Likewise.
24199 * sunrpc/key_prot.c: Likewise.
24200 * sunrpc/netname.c: Likewise.
24201 * sunrpc/pm_getmaps.c: Likewise.
24202 * sunrpc/pm_getport.c: Likewise.
24203 * sunrpc/pmap_clnt.c: Likewise.
24204 * sunrpc/pmap_prot.c: Likewise.
24205 * sunrpc/pmap_prot2.c: Likewise.
24206 * sunrpc/pmap_rmt.c: Likewise.
24207 * sunrpc/publickey.c: Likewise.
24208 * sunrpc/rpc_cmsg.c: Likewise.
24209 * sunrpc/rpc_common.c: Likewise.
24210 * sunrpc/rpc_dtable.c: Likewise.
24211 * sunrpc/rpc_prot.c: Likewise.
24212 * sunrpc/rpc_thread.c: Likewise.
24213 * sunrpc/rtime.c: Likewise.
24214 * sunrpc/svc.c: Likewise.
24215 * sunrpc/svc_auth.c: Likewise.
24216 * sunrpc/svc_authux.c: Likewise.
24217 * sunrpc/svc_raw.c: Likewise.
24218 * sunrpc/svc_run.c: Likewise.
24219 * sunrpc/svc_simple.c: Likewise.
24220 * sunrpc/svc_tcp.c: Likewise.
24221 * sunrpc/svc_udp.c: Likewise.
24222 * sunrpc/svc_unix.c: Likewise.
24223 * sunrpc/svcauth_des.c: Likewise.
24224 * sunrpc/xcrypt.c: Likewise.
24225 * sunrpc/xdr.c: Likewise.
24226 * sunrpc/xdr_array.c: Likewise.
24227 * sunrpc/xdr_float.c: Likewise.
24228 * sunrpc/xdr_intXX_t.c: Likewise.
24229 * sunrpc/xdr_mem.c: Likewise.
24230 * sunrpc/xdr_rec.c: Likewise.
24231 * sunrpc/xdr_ref.c: Likewise.
24232 * sunrpc/xdr_sizeof.c: Likewise.
24233 * sunrpc/xdr_stdio.c: Likewise.
24234
242352011-04-10 Ulrich Drepper <drepper@gmail.com>
24236
24237 [BZ #12650]
24238 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24239 * sysdeps/ia64/dl-tls.h: Likewise.
24240 * sysdeps/powerpc/dl-tls.h: Likewise.
24241 * sysdeps/s390/dl-tls.h: Likewise.
24242 * sysdeps/sh/dl-tls.h: Likewise.
24243 * sysdeps/sparc/dl-tls.h: Likewise.
24244 * sysdeps/x86_64/dl-tls.h: Likewise.
24245 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24246
242472011-03-14 Andreas Schwab <schwab@redhat.com>
24248
24249 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24250 rpath element also skip the following colon.
24251 (expand_dynamic_string_token): Add is_path parameter and pass
24252 down to DL_DST_REQUIRED and _dl_dst_substitute.
24253 (decompose_rpath): Call expand_dynamic_string_token with
24254 non-zero is_path. Ignore empty rpaths.
24255 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24256 with zero is_path.
24257
242582011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24259
24260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24261 Make cancelable.
24262
242632011-04-09 Ulrich Drepper <drepper@gmail.com>
24264
24265 [BZ #12655]
24266 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24267 Patch by Filipe David Manana <fdmanana@apache.org>.
24268
242692011-04-07 Andreas Schwab <schwab@redhat.com>
24270
24271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24272 Maintain aligned stack.
24273 (CHECK_RSP): Remove unused macro.
24274
242752011-04-03 Ulrich Drepper <drepper@gmail.com>
24276
24277 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24278 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24279
242802011-04-02 Ulrich Drepper <drepper@gmail.com>
24281
24282 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24283
24284 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24285
242862011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24287
24288 [BZ #12518]
24289 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24290 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24291 * sysdeps/x86_64/memmove.c: New file.
24292 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24293 (memcpy): Renamed to ...
24294 (__new_memcpy): This.
24295 (memcpy): Provide GLIBC_2_14 memcpy.
24296 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24297 (memcpy): Provide GLIBC_2_2_5 memcpy.
24298
242992011-04-01 Ulrich Drepper <drepper@gmail.com>
24300
24301 [BZ #12631]
24302 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24303
243042011-03-30 Andreas Schwab <schwab@redhat.com>
24305
24306 * misc/syncfs.c: New file.
24307 * misc/Makefile (routines): Add syncfs.
24308 * posix/unistd.h: Declare syncfs.
24309 * sysdeps/unix/syscalls.list: Add syncfs.
24310
243112011-04-01 Andreas Schwab <schwab@redhat.com>
24312
24313 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24314 open_by_handle_at.
24315 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24316 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24320 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24322
243232011-04-01 Ulrich Drepper <drepper@gmail.com>
24324
24325 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24326 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24327 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24329 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24332
24333 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24334 sync_file_range.c with -fexceptions.
24335 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24336 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24337 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24338 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24339 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24340 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24341 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24342 sync_file_range as cancellation point
24343 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24344 now a wrapper around __call_sync_file_range with cancellation handling.
24345 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24346 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24347 function name to __call_sync_file_range.
24348 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24349 Add call_sync_file_range.
24350
243512011-04-01 Andreas Schwab <schwab@redhat.com>
24352
24353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24354 bits/timex.h.
24355
243562011-04-01 Ulrich Drepper <drepper@gmail.com>
24357
24358 * iconv/iconv.h: Fix typo in comment.
24359 * io/fcntl.h: Likewise.
24360 * libio/stdio.h: Likewise.
24361 * posix/spawn.h: Likewise.
24362 * posix/unistd.h: Likewise.
24363 * stdlib/stdlib.h: Likewise.
24364 * time/time.h: Likewise.
24365 * wcsmbs/wchar.h: Likewise.
24366
24367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24368 open_by_handle): Add.
24369 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24370 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24371 Augment a few comments.
24372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24374 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24377 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24378 open_by_handle.
24379
24380 * io/fcntl.h (AT_EMPTY_PATH): Define.
24381
243822011-03-30 Ulrich Drepper <drepper@gmail.com>
24383
24384 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24385 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24386 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24387 to...
24388 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24389 * Versions.def: Add GLIBC_2.14.
24390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24391 Export.
24392
243932011-03-22 Ulrich Drepper <drepper@gmail.com>
24394
24395 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24396 round counter.
24397 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24398
243992011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24400
24401 [BZ #12597]
24402 * string/test-strncmp.c (do_page_test): New function.
24403 (check2): Likewise.
24404 (test_main): Call check2.
24405 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24406
244072011-03-20 Ulrich Drepper <drepper@gmail.com>
24408
24409 [BZ #12587]
24410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24411 Handle cache information in CPU leaf 4.
24412 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24413
244142011-03-18 Ulrich Drepper <drepper@gmail.com>
24415
24416 [BZ #12583]
24417 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24418 character representation.
24419 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24420
244212011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24422
24423 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24424 END(__isnan) to END(__isnanf) to match function entry point/label
24425 EALIGN(__isnanf,...).
24426
244272011-03-10 Jakub Jelinek <jakub@redhat.com>
24428
24429 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24430
244312011-03-10 Ulrich Drepper <drepper@gmail.com>
24432
24433 [BZ #12510]
24434 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24435 copy from the symbol referenced in the relocation to initialize the
24436 used variable.
24437 Patch by Piotr Bury <pbury@goahead.com>.
24438 * elf/Makefile: Add rules to build and tst-unique3.
24439 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24440 * elf/tst-unique3.cc: New file.
24441 * elf/tst-unique3.h: New file.
24442 * elf/tst-unique3lib.cc: New file.
24443 * elf/tst-unique3lib2.cc: New file.
24444
24445 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24446
244472011-03-10 Mike Frysinger <vapier@gentoo.org>
24448
24449 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24450 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24451 to _start.
24452
244532011-03-06 Ulrich Drepper <drepper@gmail.com>
24454
24455 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24456 to-be-loaded object along a path to loader is ld.so.
24457
244582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24459 Ulrich Drepper <drepper@gmail.com>
24460
24461 * sysdeps/x86_64/memset.S: After aligning destination, code
24462 branches to different locations depending on the value of
24463 misalignment, when multiarch is enabled. Fix this.
24464
244652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24466
24467 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24468 Set _x86_64_preferred_memory_instruction for AMD processsors.
24469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24470 Set bit_Prefer_SSE_for_memop for AMD processors.
24471
244722011-03-04 Ulrich Drepper <drepper@gmail.com>
24473
24474 * libio/fmemopen.c (fmemopen): Optimize a bit.
24475
244762011-03-03 Andreas Schwab <schwab@redhat.com>
24477
24478 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24479
244802011-03-03 Roland McGrath <roland@redhat.com>
24481
24482 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24483
244842011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24485
24486 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24487 __bzero_ultra1 instead of __memset_ultra1.
24488
244892011-02-23 Andreas Schwab <schwab@redhat.com>
24490 Ulrich Drepper <drepper@gmail.com>
24491
24492 [BZ #12509]
24493 * include/link.h (struct link_map): Add l_orig_initfini.
24494 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24495 returning unsuccessfully.
24496 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24497 close of a file loaded at startup, restore the original l_initfini
24498 list.
24499 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24500 list, store the pointer.
24501 * elf/Makefile ($(objpfx)noload-mem): New rule.
24502 (noload-ENV): Define.
24503 (tests): Add $(objpfx)noload-mem.
24504 * elf/noload.c: Include <memcheck.h>.
24505 (main): Call mtrace. Close all opened handles.
24506
245072011-02-17 Andreas Schwab <schwab@redhat.com>
24508
24509 [BZ #12454]
24510 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24511 dependencies are missing.
24512
245132011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24514
24515 Fix __if_freereq crash: Unlike the generic version which uses free,
24516 Hurd needs munmap.
24517 * sysdeps/mach/hurd/ifreq.h: New file.
24518
245192011-01-27 Petr Baudis <pasky@suse.cz>
24520 Ulrich Drepper <drepper@gmail.com>
24521
24522 [BZ 12445]#
24523 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24524 to extend_alloca().
24525 * stdio-common/bug23.c: New file.
24526 * stdio-common/Makefile (tests): Add bug23.
24527
245282010-09-28 Andreas Schwab <schwab@redhat.com>
24529 Ulrich Drepper <drepper@gmail.com>
24530
24531 [BZ #12489]
24532 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24533 before performing relro protection. At old place add assertion
24534 to make sure nothing changed.
24535
245362011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24537 Glauber de Oliveira Costa <glommer@gmail.com>
24538
24539 * elf/elf.h: Add new ARM TLS relocs.
24540
245412011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24542
24543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24544 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24545 cast from r3.
24546 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24547 'tests' variable.
24548 * sysdeps/wordsize-64/tst-writev.c: New file.
24549
245502011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24551
24552 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24553 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24554 insns in _dl_start to prevent a TOC reference before relocs are
24555 resolved.
24556
245572011-02-15 Ulrich Drepper <drepper@gmail.com>
24558
24559 [BZ #12469]
24560 * Makeconfig: Remove RANLIB definition.
24561 * Makerules: Don't use RANLIB.
24562 * aclocal.m4: Remove ranlib test.
24563 * configure.in: No need to check for ranlib.
24564 * elf/rtld-Rules: Don't use RANLIB.
24565
245662011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24567
24568 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24569 protection macro.
24570 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24571 inclusion protection macro.
24572
24573 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24574 SIGRTMIN and SIGRTMAX and print information in that case only when
24575 SIGRTMIN is defined.
24576
245772011-02-11 Jakub Jelinek <jakub@redhat.com>
24578
24579 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24580 arginfo fn returning -1.
24581
24582 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24583 and thousands string is zero terminated.
24584
245852011-02-03 Andreas Schwab <schwab@redhat.com>
24586
24587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24588 sysdeps/unix/sysv/linux/bits/socket.h.
24589
245902011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24591
24592 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24593 (__CPU_COUNT): Remove old macros.
24594 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24595 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24596 (__CPU_ALLOC, __CPU_FREE): Add macros.
24597 (__sched_cpualloc, __sched_cpufree): Add declarations.
24598
245992011-02-05 Ulrich Drepper <drepper@gmail.com>
24600
24601 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24602 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24603 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24604 (readdhstai): Return value of addhstaiX call.
24605 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24606 (addgrbyX): Return value returned by cache_addgr.
24607 (readdgrbyname): Return value returned by addgrbyX.
24608 (readdgrbygid): Likewise.
24609 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24610 (addpwbyX): Return value returned by cache_addpw.
24611 (readdpwbyname): Return value returned by addhstbyX.
24612 (readdpwbyuid): Likewise.
24613 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24614 (addservbyX): Return value returned by cache_addserv.
24615 (readdservbyname): Return value returned by addservbyX:
24616 (readdservbyport): Likewise.
24617 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24618 (addhstbyX): Return value returned by cache_addhst.
24619 (readdhstbyname): Return value returned by addhstbyX.
24620 (readdhstbyaddr): Likewise.
24621 (readdhstbynamev6): Likewise.
24622 (readdhstbyaddrv6): Likewise.
24623 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24624 (readdinitgroups): Return value returned by addinitgroupsX.
24625 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24626 (prune_cache): Keep track of timeout value of re-added entries.
24627 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24628 * nscd/nscd.h: Adjust prototypes of readd* functions.
24629
246302011-02-04 Roland McGrath <roland@redhat.com>
24631
24632 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24633 (nis_stats): Likewise.
24634 * nis/nis_modify.c (nis_modify): Likewise.
24635 * nis/nis_remove.c (nis_remove): Likewise.
24636 * nis/nis_add.c (nis_add): Likewise.
24637
24638 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24639
24640 * posix/fnmatch_loop.c: Add some consts.
24641
24642 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24643
246442011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24645
24646 [BZ #12460]
24647 * config.make.in (config-cflags-novzeroupper): Define.
24648 * configure.in: Substitute libc_cv_cc_novzeroupper.
24649 * elf/Makefile (AVX-CFLAGS): Define.
24650 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24651 (CFLAGS-tst-auditmod4a.c): Likewise.
24652 (CFLAGS-tst-auditmod4b.c): Likewise.
24653 (CFLAGS-tst-auditmod6b.c): Likewise.
24654 (CFLAGS-tst-auditmod6c.c): Likewise.
24655 (CFLAGS-tst-auditmod7b.c): Likewise.
24656 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24657
246582011-02-02 Ulrich Drepper <drepper@gmail.com>
24659
24660 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24661 function to the callback.
24662 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24663
246642011-02-02 Andreas Schwab <schwab@redhat.com>
24665
24666 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24667 of errno.
24668
246692011-01-19 Ulrich Drepper <drepper@gmail.com>
24670
24671 [BZ #11724]
24672 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24673 of constructors.
24674 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24675 of destructors.
24676 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24677
24678 [BZ #11724]
24679 * elf/Makefile: Add rules to build and run new test.
24680 * elf/tst-initorder.c: New file.
24681 * elf/tst-initorder.exp: New file.
24682 * elf/tst-initordera1.c: New file.
24683 * elf/tst-initordera2.c: New file.
24684 * elf/tst-initordera3.c: New file.
24685 * elf/tst-initordera4.c: New file.
24686 * elf/tst-initorderb1.c: New file.
24687 * elf/tst-initorderb2.c: New file.
24688 * elf/tst-order-a1.c: New file.
24689 * elf/tst-order-a2.c: New file.
24690 * elf/tst-order-a3.c: New file.
24691 * elf/tst-order-a4.c: New file.
24692 * elf/tst-order-b1.c: New file.
24693 * elf/tst-order-b2.c: New file.
24694 * elf/tst-order-main.c: New file.
24695 New test case by George Gensure <werkt0@gmail.com>.
24696
246972010-10-01 Andreas Schwab <schwab@redhat.com>
24698
24699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24700 decoding ACE if AI_CANONIDN.
24701
247022011-01-18 Ulrich Drepper <drepper@gmail.com>
24703
24704 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24705
247062011-01-17 Ulrich Drepper <drepper@gmail.com>
24707
24708 * version.h (RELEASE): Bump for 2.13 release.
24709 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24710
24711 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24712
24713 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24714 MADV_NOHUGEPAGE.
24715 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24716 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24721
24722 * posix/getconf.c: Update copyright year.
24723 * catgets/gencat.c: Likewise.
24724 * csu/version.c: Likewise.
24725 * debug/catchsegv.sh: Likewise.
24726 * debug/xtrace.sh: Likewise.
24727 * elf/ldconfig.c: Likewise.
24728 * elf/ldd.bash.in: Likewise.
24729 * elf/sprof.c (print_version): Likewise.
24730 * iconv/iconv_prog.c: Likewise.
24731 * iconv/iconvconfig.c: Likewise.
24732 * locale/programs/locale.c: Likewise.
24733 * locale/programs/localedef.c: Likewise.
24734 * malloc/memusage.sh: Likewise.
24735 * malloc/mtrace.pl: Likewise.
24736 * nscd/nscd.c (print_version): Likewise.
24737 * nss/getent.c: Likewise.
24738
24739 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24740 PF_CAIF, and PF_ALG.
24741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24742
247432011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24744
24745 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24746 (modules-names): Use them.
24747 (ifunc-test-modules, ifunc-pie-tests): Define.
24748 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24749 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24750 (test-extras): Likewise.
24751 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24752 $(compile-command.c).
24753 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24754 (all-built-dso): Define.
24755 (check-textrel.out, check-execstack.out): Depend on it.
24756
24757 * configure.in: Don't override --enable-multi-arch.
24758
247592011-01-15 Ulrich Drepper <drepper@gmail.com>
24760
24761 [BZ #6812]
24762 * nscd/hstcache.c (tryagain): Define.
24763 (cache_addhst): Return tryagain not notfound for temporary errors.
24764 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24765 failed.
24766
247672011-01-14 Ulrich Drepper <drepper@gmail.com>
24768
24769 [BZ #10563]
24770 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24771 to make the syscall.
24772 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24773
24774 [BZ #12378]
24775 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24776 and fall back to matching as normal character if the string ends before
24777 the matching ']' is found. This is what POSIX requires.
24778 * posix/testfnm.c: Adjust test result.
24779 * posix/globtest.sh: Adjust test result. Add new test.
24780 * posix/tst-fnmatch.input: Likewise.
24781 * posix/tst-fnmatch2.c: Add new test.
24782
247832010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24784
24785 * elf/Makefile (check-execstack): Revert last change. Depend on
24786 check-execstack.h.
24787 (check-execstack.h): New target.
24788 (generated): Add check-execstack.h.
24789 * elf/check-execstack.c: Include "check-execstack.h".
24790 (main): Revert last change.
24791 (handle_file): Return zero if GNU_STACK is absent and
24792 DEFAULT_STACK_PERMS doesn't include PF_X.
24793
247942011-01-13 Ulrich Drepper <drepper@gmail.com>
24795
24796 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24797 in child fails because the descriptor is already closed.
24798 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24799 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24800 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24801
24802 [BZ #12397]
24803 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24804 syscall.
24805
24806 [BZ #10484]
24807 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24808 temporary buffer used to handle multi lookups locally.
24809 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24810
248112011-01-12 Ulrich Drepper <drepper@gmail.com>
24812
24813 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24814 loader is ld.so.
24815
248162011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24817
24818 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24819 alignment for SSE2.
24820
248212011-01-12 Ulrich Drepper <drepper@gmail.com>
24822
24823 [BZ #12394]
24824 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24825 characters. When rounding increased number of integer digits recompute
24826 number of groups.
24827 * stdio-common/tst-grouping.c: New file.
24828 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24829
248302011-01-09 Ulrich Drepper <drepper@gmail.com>
24831
24832 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24833 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24834
24835 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24836 void.
24837 * bits/select.h: Likewise.
24838
248392011-01-08 Ulrich Drepper <drepper@gmail.com>
24840
24841 * po/ja.po: Update from translation team.
24842
248432011-01-04 David S. Miller <davem@sunset.davemloft.net>
24844
24845 [BZ #11155]
24846 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24847 implementation just like for lxstat, fxstatat, et al.
24848
248492010-12-27 Jim Meyering <meyering@redhat.com>
24850
24851 [BZ #12348]
24852 * posix/regexec.c (build_trtable): Return failure indication upon
24853 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24854
248552010-12-25 Ulrich Drepper <drepper@gmail.com>
24856
24857 [BZ #12201]
24858 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24859 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24860 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24861 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24862
24863 [BZ #12207]
24864 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24865
24866 [BZ #12204]
24867 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24868 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24869
248702010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24871
24872 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24873 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24874 script has SORT_BY_INIT_PRIORITY.
24875 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24876 NO_CTORS_DTORS_SECTIONS is defined.
24877 * elf/soinit.c: Likewise.
24878 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24879 NO_CTORS_DTORS_SECTIONS is defined.
24880 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24881 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24882 * sysdeps/sh/init-first.c: Likewise.
24883 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24884
248852010-12-24 Ulrich Drepper <drepper@gmail.com>
24886
24887 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24888 always use the slow path.
24889
248902010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24891
24892 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24893 similar rule which adds the sysdep directories to the header search in
24894 order to pick up the correct platform stackinfo.h.
24895 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24896 perform test if it is, otherwise return successfully without testing.
24897 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24898 DEFAULT_STACK_PERMS define in stackinfo.h.
24899 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24900 defined in stackinfo.h.
24901 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24902 DEFAULT_STACK_PERMS defined in stackinfo.h.
24903 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24904 * sysdeps/ia64/stackinfo.h: Likewise.
24905 * sysdeps/s390/stackinfo.h: Likewise.
24906 * sysdeps/sh/stackinfo.h: Likewise.
24907 * sysdeps/sparc/stackinfo.h: Likewise.
24908 * sysdeps/x86_64/stackinfo.h: Likewise.
24909 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24910 PF_X for powerpc64. Retain PF_X for powerpc32.
24911
249122010-12-19 Ulrich Drepper <drepper@gmail.com>
24913
24914 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24915 accurately.
24916 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24917 GETDENTS_64BIT_ALIGNED.
24918
249192010-12-14 Ulrich Drepper <dreper@gmail.com>
24920
24921 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24922
249232010-12-10 Andreas Schwab <schwab@redhat.com>
24924
24925 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24926 _GNU_SOURCE.
24927
24928 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24929 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24930 Remove __restrict.
24931 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24932 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24933
249342010-12-09 Ulrich Drepper <drepper@gmail.com>
24935
24936 [BZ #11655]
24937 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24938 are initialized.
24939
249402010-12-09 Jakub Jelinek <jakub@redhat.com>
24941
24942 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24943
249442010-12-03 Ulrich Drepper <drepper@gmail.com>
24945
24946 * po/it.po: Update from translation team.
24947
249482010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24949
24950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24951 unused codes.
24952
249532010-11-30 Ulrich Drepper <drepper@gmail.com>
24954
24955 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24956
249572010-11-24 Andreas Schwab <schwab@redhat.com>
24958
24959 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24960 specially.
24961 (gaih_getanswer_slice): Likewise.
24962
249632010-10-20 Jakub Jelinek <jakub@redhat.com>
24964
24965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24966
249672010-05-31 Petr Baudis <pasky@suse.cz>
24968
24969 [BZ #11149]
24970 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24971 silently even in the chroot mode.
24972
249732010-11-22 Ulrich Drepper <drepper@gmail.com>
24974
24975 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24976 last patch a bit. Pretty printing
24977
249782010-05-31 Petr Baudis <pasky@suse.cz>
24979
24980 [BZ #10085]
24981 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24982 initialization of skip_initgroups_dyn.
24983
249842010-11-19 Ulrich Drepper <drepper@gmail.com>
24985
24986 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24987 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24988
249892010-11-16 Ulrich Drepper <drepper@gmail.com>
24990
24991 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24992
249932010-11-11 Andreas Schwab <schwab@redhat.com>
24994
24995 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24996 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24997 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24998 ($(objpfx)tst-fnmatch-mem): New rule.
24999 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25000 * posix/tst-fnmatch.c (main): Call mtrace.
25001
250022010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25003
25004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25005 Support Intel processor model 6 and model 0x2c.
25006
250072010-11-10 Luis Machado <luisgpm@br.ibm.com>
25008
25009 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25010 signed comparison.
25011
250122010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25013
25014 [BZ #12205]
25015 * string/test-strncasecmp.c (check_result): New function.
25016 (do_one_test): Use it.
25017 (check1): New function.
25018 (test_main): Use it.
25019 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25020 Support strcasecmp and strncasecmp.
25021
250222010-11-08 Ulrich Drepper <drepper@gmail.com>
25023
25024 [BZ #12194]
25025 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25026 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25027
250282010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25029
25030 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25031 IFUNC support.
25032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25033 memset-x86-64.
25034 * sysdeps/x86_64/multiarch/bzero.S: New file.
25035 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25036 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25037 * sysdeps/x86_64/multiarch/memset.S: New file.
25038 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25040 Set bit_Prefer_SSE_for_memop for Intel processors.
25041 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25042 Define.
25043 (index_Prefer_SSE_for_memop): Define.
25044 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25045
250462010-11-04 Luis Machado <luisgpm@br.ibm.com>
25047
25048 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25049 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25050
250512010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25052
25053 [BZ #12191]
25054 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25055 (__x86_64_raw_data_cache_size_half): Likewise.
25056 (__x86_64_raw_shared_cache_size): Likewise.
25057 (__x86_64_raw_shared_cache_size_half): Likewise.
25058
25059 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25064 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25065 and __x86_64_raw_shared_cache_size_half. Round
25066 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25067 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25068 to multiple of 256 bytes.
25069
250702010-11-03 Ulrich Drepper <drepper@gmail.com>
25071
25072 [BZ #12167]
25073 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25074 of inacessible symlinks. Verify result of symlink before returning it.
25075 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25076 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25077
250782010-10-28 Erich Ritz <erichritz@gmail.com>
25079
25080 * math/math.h (isinf): Fix typo in comment.
25081
250822010-11-01 Ulrich Drepper <drepper@gmail.com>
25083
25084 * po/da.po: Update from translation team.
25085
250862010-10-26 Ulrich Drepper <drepper@gmail.com>
25087
25088 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25089 is added to the list.
25090
250912010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25092 Ulrich Drepper <drepper@gmail.com>
25093
25094 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25095 the global list here. Move code to...
25096 (_dl_add_to_namespace_list): ...here. New function.
25097 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25098 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25099 * elf/dl-load.c (lose): Don't remove the element from the list.
25100 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25101 (_dl_map_object): Likewise.
25102
251032010-10-25 Ulrich Drepper <drepper@gmail.com>
25104
25105 [BZ #12159]
25106 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25107 into all bytes of SSE register.
25108 Patch by Richard Li <richardpku@gmail.com>.
25109
251102010-10-24 Ulrich Drepper <drepper@gmail.com>
25111
25112 [BZ #12140]
25113 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25114 perturbing.
25115
251162010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25117
25118 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25119 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25120 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25121 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25123 submachine.
25124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25125
251262010-10-22 Andreas Schwab <schwab@redhat.com>
25127
25128 * include/dlfcn.h (__RTLD_SECURE): Define.
25129 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25130 mode & __RTLD_SECURE instead.
25131 (open_path): Rename preloaded parameter to secure.
25132 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25133 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25134 * elf/dl-deps.c (openaux): Likewise.
25135 * elf/rtld.c (struct map_args): Remove is_preloaded.
25136 (map_doit): Don't use it.
25137 (dl_main): Likewise.
25138 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25139 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25140
251412010-09-09 Andreas Schwab <schwab@redhat.com>
25142
25143 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25144 (sysd-rules-targets): Remove duplicates.
25145 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25146 rtld-%.$o dependency.
25147
251482010-10-18 Andreas Schwab <schwab@redhat.com>
25149
25150 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25151 _dl_map_object do it.
25152
251532010-10-19 Ulrich Drepper <drepper@gmail.com>
25154
25155 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25156 fast fma builtins, define the macros in the C99 standard.
25157 (FP_FAST_FMAF): Likewise.
25158 (FP_FAST_FMAL): Likewise.
25159 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25160
25161 * bits/mathdef.h: Update copyright year.
25162 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25163
251642010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25165
25166 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25167 builtins, define the macros in the C99 standard.
25168 (FP_FAST_FMAF): Likewise.
25169 (FP_FAST_FMAL): Likewise.
25170 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25171 multiply/add.
25172 (FP_FAST_FMAF): Likewise.
25173
251742010-10-15 Jakub Jelinek <jakub@redhat.com>
25175
25176 [BZ #3268]
25177 * math/libm-test.inc (fma_test): Some new testcases.
25178 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25179 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25180 y and infinite z. Do multiplication by C already in long double.
25181 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25183 y and infinite z. Do bitwise or of inexact bit into u.d.
25184 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25185 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25186 * sysdeps/i386/fpu/s_fma.S: Removed.
25187 * sysdeps/i386/fpu/s_fmal.S: Removed.
25188
251892010-10-16 Jakub Jelinek <jakub@redhat.com>
25190
25191 [BZ #3268]
25192 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25194 computation is not scheduled after fetestexcept. Fix value
25195 of minimum denormal long double.
25196
251972010-10-14 Jakub Jelinek <jakub@redhat.com>
25198
25199 [BZ #3268]
25200 * math/libm-test.inc (fma_test): Add some more tests.
25201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25202 correctly.
25203
252042010-10-15 Andreas Schwab <schwab@redhat.com>
25205
25206 * scripts/data/localplt-s390-linux-gnu.data: New file.
25207 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25208
252092010-10-13 Jakub Jelinek <jakub@redhat.com>
25210
25211 [BZ #3268]
25212 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25213 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25214 instead of dbl-64.
25215 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25216 inlines.
25217 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25219 if one of x and y is very large and the other is subnormal.
25220 * sysdeps/s390/fpu/s_fmaf.c: New file.
25221 * sysdeps/s390/fpu/s_fma.c: New file.
25222 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25223 * sysdeps/powerpc/fpu/s_fma.S: New file.
25224 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25225 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25226 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25227
252282010-10-12 Jakub Jelinek <jakub@redhat.com>
25229
25230 [BZ #3268]
25231 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25232 fma tests.
25233 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25234 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25235 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25236 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25237 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25238 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25239 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25240
252412010-10-12 Ulrich Drepper <drepper@redhat.com>
25242
25243 [BZ #12078]
25244 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25245 * posix/bug-regex31.input: Add test case.
25246
252472010-10-11 Ulrich Drepper <drepper@gmail.com>
25248
25249 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25250 * posix/bug-regex31.input: New file.
25251
25252 [BZ #12078]
25253 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25254 (parse_sub_exp): Fix last change, use postorder.
25255
25256 * posix/bug-regex31.c: New file.
25257 * posix/Makefile: Add rules to build and run bug-regex31.
25258
25259 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25260
25261 [BZ #12078]
25262 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25263
25264 [BZ #12108]
25265 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25266 to have entries in sys_siglist.
25267
25268 [BZ #12093]
25269 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25270 be NULL.
25271
252722010-10-07 Jakub Jelinek <jakub@redhat.com>
25273
25274 [BZ #3268]
25275 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25276 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25277 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25278 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25279 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25280 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25281 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25282 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25283 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25284 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25285 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25286 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25287 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25288 * math/ftestexcept.c (fetestexcept): Likewise.
25289 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25290 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25291 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25292 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25293 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25294 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25295 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25296
252972010-10-11 Ulrich Drepper <drepper@gmail.com>
25298
25299 [BZ #12107]
25300 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25301 newline.
25302
253032010-10-06 Ulrich Drepper <drepper@gmail.com>
25304
25305 * string/bug-strstr1.c: New file.
25306 * string/Makefile: Add rules to build and run bug-strstr1.
25307
253082010-10-05 Eric Blake <eblake@redhat.com>
25309
25310 [BZ #12092]
25311 * string/str-two-way.h (two_way_long_needle): Always clear memory
25312 when skipping input due to the shift table.
25313
253142010-10-03 Ulrich Drepper <drepper@gmail.com>
25315
25316 [BZ #12005]
25317 * malloc/mcheck.c: Handle large requests.
25318
25319 [BZ #12077]
25320 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25321 for strncmp and strncasecmp.
25322 * string/stratcliff.c: Add tests for strcmp and strncmp.
25323 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25324
253252010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25326
25327 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25328 __set_fpscr.
25329
253302010-09-30 Andreas Jaeger <aj@suse.de>
25331
25332 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25333 (CGROUP_SUPER_MAGIC): Define.
25334 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25335 Handle btrfs and cgroup file systems.
25336 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25337 Likewise.
25338
253392010-09-27 Luis Machado <luisgpm@br.ibm.com>
25340
25341 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25342 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25343
253442010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25345
25346 [BZ #12067]
25347 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25348 trying to locate the ELF header.
25349
253502010-09-27 Andreas Schwab <schwab@redhat.com>
25351
25352 [BZ #11611]
25353 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25354 Mask out sign-bit copies when constructing f_fsid.
25355
253562010-09-24 Petr Baudis <pasky@suse.cz>
25357
25358 * debug/stack_chk_fail_local.c: Add missing licence exception.
25359 * debug/warning-nop.c: Likewise.
25360
253612010-09-15 Joseph Myers <joseph@codesourcery.com>
25362
25363 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25364 implementing getdents64 using getdents syscall, set d_type if
25365 __ASSUME_GETDENTS32_D_TYPE.
25366
253672010-09-16 Andreas Schwab <schwab@redhat.com>
25368
25369 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25370 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25371
253722010-09-21 Ulrich Drepper <drepper@redhat.com>
25373
25374 [BZ #12037]
25375 * posix/unistd.h: Undo change of feature selection for ftruncate from
25376 2010-01-11.
25377
253782010-09-20 Ulrich Drepper <drepper@redhat.com>
25379
25380 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25381 detection.
25382
253832010-09-20 Andreas Schwab <schwab@redhat.com>
25384
25385 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25386 fanotify_mark.
25387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25388
253892010-09-14 Andreas Schwab <schwab@redhat.com>
25390
25391 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25392 variables after CHECK_SP call.
25393 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25394
253952010-09-13 Andreas Schwab <schwab@redhat.com>
25396 Ulrich Drepper <drepper@redhat.com>
25397
25398 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25399 re-relocationg ld.so.
25400 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25401 _dl_init_paths call.
25402 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25403 here anymore.
25404
254052010-09-14 Ulrich Drepper <drepper@redhat.com>
25406
25407 * resolv/res_init.c (__res_vinit): Count the default server we added.
25408
254092010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25410 Ulrich Drepper <drepper@redhat.com>
25411
25412 [BZ #11968]
25413 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25414 (____longjmp_chk): Use %ebx for saving value across system call.
25415 Add unwind info.
25416
254172010-09-06 Andreas Schwab <schwab@redhat.com>
25418
25419 * manual/Makefile: Don't mix pattern rules with normal rules.
25420
254212010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25422
25423 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25424 operation.
25425 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25426 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25427 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25428 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25430 Likewise.
25431
254322010-09-04 Ulrich Drepper <drepper@redhat.com>
25433
25434 [BZ #11979]
25435 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25436 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25437
254382010-09-02 Ulrich Drepper <drepper@redhat.com>
25439
25440 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25441 * sysdeps/x86_64/addmul_1.S: Likewise.
25442 * sysdeps/x86_64/lshift.S: Likewise.
25443 * sysdeps/x86_64/mul_1.S: Likewise.
25444 * sysdeps/x86_64/rshift.S: Likewise.
25445 * sysdeps/x86_64/sub_n.S: Likewise.
25446 * sysdeps/x86_64/submul_1.S: Likewise.
25447
254482010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25449
25450 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25451 Define __sched_param instead of SCHED_* and sched_param when
25452 <bits/sched.h> is included with __need_schedparam defined.
25453 * bits/sched.h [__need_schedparam]
25454 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25455 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25456 (__defined_schedparam): Define to 1.
25457 (__sched_param): New structure, identical to sched_param.
25458 (__need_schedparam): Undefine.
25459
254602010-08-31 Mike Frysinger <vapier@gentoo.org>
25461
25462 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25463 (epoll_create1): Declare.
25464
25465 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25466
254672010-08-31 Andreas Schwab <schwab@redhat.com>
25468
25469 [BZ #7066]
25470 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25471 shifting retval into place.
25472
254732010-09-01 Ulrich Drepper <drepper@redhat.com>
25474
25475 * nis/rpcsvc/nis.h: Update copyright notice.
25476 * nis/rpcsvc/nis.x: Likewise.
25477 * nis/rpcsvc/nis_callback.h: Likewise.
25478 * nis/rpcsvc/nis_callback.x: Likewise.
25479 * nis/rpcsvc/nis_object.x: Likewise.
25480 * nis/rpcsvc/nis_tags.h: Likewise.
25481 * nis/rpcsvc/yp.h: Likewise.
25482 * nis/rpcsvc/yp.x: Likewise.
25483 * nis/rpcsvc/ypupd.h: Likewise.
25484 * nis/yp_xdr.c: Likewise.
25485 * nis/ypupdate_xdr.c: Likewise.
25486
25487 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25488 mainly the body of pmap_getport. Add parameters to specify timeouts.
25489 (pmap_getport): Use __libc_rpc_getport.
25490 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25491 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25492 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25493
254942010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25495
25496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25497 fanotify_mark.
25498
254992010-08-27 Roland McGrath <roland@redhat.com>
25500
25501 * sysdeps/i386/i686/multiarch/Makefile
25502 (CFLAGS-varshift.c): New variable.
25503
255042010-08-27 Ulrich Drepper <drepper@redhat.com>
25505
25506 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25507 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25508
25509 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25510
25511 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25512
255132010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25514
25515 * sysdeps/x86_64/strlen.S: Unroll the loop.
25516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25517 strlen-sse2 strlen-sse2-bsf.
25518 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25519 __strlen_no_bsf if bit_Slow_BSF is set.
25520 (__strlen_sse42): Removed.
25521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25522 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25523
255242010-08-25 Roland McGrath <roland@redhat.com>
25525
25526 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25527 * sysdeps/x86_64/multiarch/varshift.c: New file.
25528 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25529 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25530 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25531 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25532
255332010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25534
25535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25536 strlen-sse2 strlen-sse2-bsf.
25537 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25538 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25539 (__strlen_sse2): Removed.
25540 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25543 bit_Slow_BSF for Atom.
25544 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25545 (index_Slow_BSF): Define.
25546 (HAS_SLOW_BSF): Define.
25547
255482010-08-25 Ulrich Drepper <drepper@redhat.com>
25549
25550 [BZ #10851]
25551 * resolv/res_init.c (__res_vinit): When no server address at all
25552 is given default to loopback.
25553
255542010-08-24 Roland McGrath <roland@redhat.com>
25555
25556 * configure.in: Remove config-name.h generation.
25557 * configure: Regenerated.
25558 * config-name.in: File removed.
25559 * scripts/config-uname.sh: New file.
25560 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25561 ($(objdir)config-name.h): New target.
25562
25563 * sunrpc/rpc_parse.h: Avoid nested comment.
25564
255652010-08-24 Richard Henderson <rth@redhat.com>
25566 Ulrich Drepper <drepper@redhat.com>
25567 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25571 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25572 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25573 _mm_alignr_epi8 with _mm_loadu_si128.
25574 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25575 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25576 (__m128i_shift_right): Removed.
25577 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25578 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25579 * sysdeps/x86_64/multiarch/varshift.h: New file.
25580 * sysdeps/x86_64/multiarch/varshift.S: New file.
25581
255822010-08-21 Mike Frysinger <vapier@gentoo.org>
25583
25584 * configure.in: Move assembler checks to before sysdep dir checking.
25585
255862010-08-20 Petr Baudis <pasky@suse.cz>
25587
25588 * LICENSES: Sync the sunrpc license.
25589
255902010-08-19 Ulrich Drepper <drepper@redhat.com>
25591
25592 * sunrpc/auth_des.c: Update copyright notice once again.
25593 * sunrpc/auth_none.c: Likewise.
25594 * sunrpc/auth_unix.c: Likewise.
25595 * sunrpc/authdes_prot.c: Likewise.
25596 * sunrpc/authuxprot.c: Likewise.
25597 * sunrpc/bindrsvprt.c: Likewise.
25598 * sunrpc/clnt_gen.c: Likewise.
25599 * sunrpc/clnt_perr.c: Likewise.
25600 * sunrpc/clnt_raw.c: Likewise.
25601 * sunrpc/clnt_simp.c: Likewise.
25602 * sunrpc/clnt_tcp.c: Likewise.
25603 * sunrpc/clnt_udp.c: Likewise.
25604 * sunrpc/clnt_unix.c: Likewise.
25605 * sunrpc/des_crypt.c: Likewise.
25606 * sunrpc/des_soft.c: Likewise.
25607 * sunrpc/get_myaddr.c: Likewise.
25608 * sunrpc/getrpcport.c: Likewise.
25609 * sunrpc/key_call.c: Likewise.
25610 * sunrpc/key_prot.c: Likewise.
25611 * sunrpc/openchild.c: Likewise.
25612 * sunrpc/pm_getmaps.c: Likewise.
25613 * sunrpc/pm_getport.c: Likewise.
25614 * sunrpc/pmap_clnt.c: Likewise.
25615 * sunrpc/pmap_prot.c: Likewise.
25616 * sunrpc/pmap_prot2.c: Likewise.
25617 * sunrpc/pmap_rmt.c: Likewise.
25618 * sunrpc/rpc/auth.h: Likewise.
25619 * sunrpc/rpc/auth_unix.h: Likewise.
25620 * sunrpc/rpc/clnt.h: Likewise.
25621 * sunrpc/rpc/des_crypt.h: Likewise.
25622 * sunrpc/rpc/key_prot.h: Likewise.
25623 * sunrpc/rpc/netdb.h: Likewise.
25624 * sunrpc/rpc/pmap_clnt.h: Likewise.
25625 * sunrpc/rpc/pmap_prot.h: Likewise.
25626 * sunrpc/rpc/pmap_rmt.h: Likewise.
25627 * sunrpc/rpc/rpc.h: Likewise.
25628 * sunrpc/rpc/rpc_des.h: Likewise.
25629 * sunrpc/rpc/rpc_msg.h: Likewise.
25630 * sunrpc/rpc/svc.h: Likewise.
25631 * sunrpc/rpc/svc_auth.h: Likewise.
25632 * sunrpc/rpc/types.h: Likewise.
25633 * sunrpc/rpc/xdr.h: Likewise.
25634 * sunrpc/rpc_clntout.c: Likewise.
25635 * sunrpc/rpc_cmsg.c: Likewise.
25636 * sunrpc/rpc_common.c: Likewise.
25637 * sunrpc/rpc_cout.c: Likewise.
25638 * sunrpc/rpc_dtable.c: Likewise.
25639 * sunrpc/rpc_hout.c: Likewise.
25640 * sunrpc/rpc_main.c: Likewise.
25641 * sunrpc/rpc_parse.c: Likewise.
25642 * sunrpc/rpc_parse.h: Likewise.
25643 * sunrpc/rpc_prot.c: Likewise.
25644 * sunrpc/rpc_sample.c: Likewise.
25645 * sunrpc/rpc_scan.c: Likewise.
25646 * sunrpc/rpc_scan.h: Likewise.
25647 * sunrpc/rpc_svcout.c: Likewise.
25648 * sunrpc/rpc_tblout.c: Likewise.
25649 * sunrpc/rpc_util.c: Likewise.
25650 * sunrpc/rpc_util.h: Likewise.
25651 * sunrpc/rpcinfo.c: Likewise.
25652 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25653 * sunrpc/rpcsvc/key_prot.x: Likewise.
25654 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25655 * sunrpc/rpcsvc/mount.x: Likewise.
25656 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25657 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25658 * sunrpc/rpcsvc/rex.x: Likewise.
25659 * sunrpc/rpcsvc/rstat.x: Likewise.
25660 * sunrpc/rpcsvc/rusers.x: Likewise.
25661 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25662 * sunrpc/rpcsvc/spray.x: Likewise.
25663 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25664 * sunrpc/rtime.c: Likewise.
25665 * sunrpc/svc.c: Likewise.
25666 * sunrpc/svc_auth.c: Likewise.
25667 * sunrpc/svc_authux.c: Likewise.
25668 * sunrpc/svc_raw.c: Likewise.
25669 * sunrpc/svc_run.c: Likewise.
25670 * sunrpc/svc_simple.c: Likewise.
25671 * sunrpc/svc_tcp.c: Likewise.
25672 * sunrpc/svc_udp.c: Likewise.
25673 * sunrpc/svc_unix.c: Likewise.
25674 * sunrpc/svcauth_des.c: Likewise.
25675 * sunrpc/xcrypt.c: Likewise.
25676 * sunrpc/xdr.c: Likewise.
25677 * sunrpc/xdr_array.c: Likewise.
25678 * sunrpc/xdr_float.c: Likewise.
25679 * sunrpc/xdr_mem.c: Likewise.
25680 * sunrpc/xdr_rec.c: Likewise.
25681 * sunrpc/xdr_ref.c: Likewise.
25682 * sunrpc/xdr_sizeof.c: Likewise.
25683 * sunrpc/xdr_stdio.c: Likewise.
25684
25685 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25686 handling.
25687
256882010-08-19 Andreas Schwab <schwab@redhat.com>
25689
25690 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25691
256922010-08-19 Luis Machado <luisgpm@br.ibm.com>
25693
25694 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25695 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25696 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25697 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25698 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25699 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25700 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25701 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25703 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25704 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25705 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25706 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25707 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25708
257092010-07-26 Anton Blanchard <anton@samba.org>
25710
25711 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25712 * malloc/arena.c (heap_trim): Likewise.
25713
257142010-08-16 Ulrich Drepper <drepper@redhat.com>
25715
25716 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25717 here. Not...
25718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25719 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25720
257212010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25722
25723 * sysdeps/i386/elf/Makefile: New file.
25724
257252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25726
25727 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25728 from fanotify_init.
25729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25731
257322010-08-15 Ulrich Drepper <drepper@redhat.com>
25733
25734 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25735 of strncasecmp_l.
25736 * sysdeps/multiarch/strcmp.S: Likewise.
25737
257382010-08-14 Ulrich Drepper <drepper@redhat.com>
25739
25740 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25741 strncase_l-nonascii.
25742 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25743 Add strncase_l-ssse3.
25744 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25745 * sysdeps/x86_64/strcmp.S: Likewise.
25746 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25747 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25748 * sysdeps/x86_64/strncase.S: New file.
25749 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25750 * sysdeps/x86_64/strncase_l.S: New file.
25751 * string/Makefile (strop-tests): Add strncasecmp.
25752 * string/test-strncasecmp.c: New file.
25753
25754 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25755 warning.
25756
25757 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25758 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25759
257602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25761
25762 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25763
257642010-08-12 Ulrich Drepper <drepper@redhat.com>
25765
25766 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25767 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25769
257702010-05-01 Alan Modra <amodra@gmail.com>
25771
25772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25773 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25774 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25775 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25776 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25777 tidying. Don't tail-call __sigjmp_save for static lib.
25778 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25779 save location.
25780 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25781 (CALL_MCOUNT): Add eh info, and nop after bl.
25782 (TAIL_CALL_SYSCALL_ERROR): New macro.
25783 (PSEUDO_RET): Use it.
25784 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25785 Correct save location of integer regs and cr.
25786 (_dl_profile_resolve): Correct cr save location. Delete nops
25787 after bl when SHARED. Reduce cfi size a little by better
25788 placement of cfi directives.
25789 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25790 make a stack frame. Instead use parm save area as a temp.
25791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25792 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25794 Don't make a stack frame for parent, use parm save area.
25795 Increase child stack frame to 112 bytes. Don't save unused reg,
25796 and adjust reg usage. Set up cfi on error recovery and
25797 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25799 (__makecontext): Add dummy nop after jump to exit.
25800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25801 Use correct parm save area and cr save, reduce stack frame.
25802 Correct cfi for possible PSEUDO_RET frame setup.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25804 Branch to local label emitted by PSEUDO_RET rather than
25805 __syscall_error.
25806
258072010-08-12 Andreas Schwab <schwab@redhat.com>
25808
25809 [BZ #11904]
25810 * locale/programs/locale.c (print_assignment): New function.
25811 (show_locale_vars): Use it.
25812
258132010-08-11 Ulrich Drepper <drepper@redhat.com>
25814
25815 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25816 field.
25817 (struct statfs64): Likewise.
25818 (_STATFS_F_FLAGS): Define.
25819 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25820 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25821 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25822 (ST_VALID): Define locally.
25823 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25824 __statvfs_getflags, use the provided value.
25825 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25826 __ASSUME_STATFS_F_FLAGS.
25827
25828 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25829
25830 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25831 Add sys/fanotify.h.
25832 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25833 fanotify_mask for GLIBC_2.13.
25834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25835 fanotify_init and fanotify_mark.
25836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25837 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25838
25839 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25840 Add prlimit.
25841 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25842 prlimit64 for GLIBC_2.13.
25843 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25844 prlimit64.
25845 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25846 syscall.
25847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25848 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25849 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25850 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25852 add prlimit alias.
25853 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25854
25855 [BZ #11903]
25856 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25857 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25858
25859 * nss/Makefile: Add rules to build and run tst-nss-test1.
25860 * shlib-versions: Add entry for libnss_test1.
25861 * nss/nss_test1.c: New file.
25862 * nss/tst-nss-test1.c: New file.
25863
25864 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25865 (__nss_configure_lookup): Set appropriate entry in
25866 __nss_configure_lookup to true.
25867 * nss/nsswitch.h: Define enum with indeces of databases in
25868 databases and __nss_database_custom arrays. Declare
25869 __nss_database_custom.
25870 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25871 to avoid using nscd when custom rules are installed.
25872 * nss/getXXbyYY_r.c: Likewise.
25873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25874
25875 * nss/nss_files/files-parse.c: Whitespace fixes.
25876
258772010-08-09 Ulrich Drepper <drepper@redhat.com>
25878
25879 [BZ #11883]
25880 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25881 * posix/fnmatch_loop.c: Likewise.
25882
258832010-07-17 Andi Kleen <ak@linux.intel.com>
25884
25885 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25886 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25887 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25888 * Versions.def [GLIBC_2.13]: Add.
25889
258902010-08-06 Ulrich Drepper <drepper@redhat.com>
25891
25892 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25893 Also fail if tpwd after pwuid call is NULL.
25894
258952010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25896
25897 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25898 when converting to ms.
25899
259002010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25901
25902 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25903 EOPNOTSUPP errors with ENOTTY.
25904 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25905 EOPNOTSUPP errors with ENOTTY.
25906
259072010-07-31 Ulrich Drepper <drepper@redhat.com>
25908
25909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25910 Add strcasecmp_l-ssse3.
25911 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25912 strcasecmp.
25913 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25914 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25915 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25916
259172010-07-30 Ulrich Drepper <drepper@redhat.com>
25918
25919 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25920
25921 * string/Makefile (strop-tests): Add strcasecmp.
25922 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25923 strcasecmp_l-nonascii.
25924 (gen-as-const-headers): Add locale-defines.sym.
25925 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25926 * sysdeps/x86_64/strcasecmp.S: New file.
25927 * sysdeps/x86_64/strcasecmp_l.S: New file.
25928 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25929 * sysdeps/x86_64/locale-defines.sym: New file.
25930 * string/test-strcasecmp.c: New file.
25931
25932 * string/test-strcasestr.c: Test both ends of the range of characters.
25933 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25934
259352010-07-29 Roland McGrath <roland@redhat.com>
25936
25937 [BZ #11856]
25938 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25939
259402010-07-27 Ulrich Drepper <drepper@redhat.com>
25941
25942 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25943 for ld.so.
25944
259452010-07-27 Andreas Schwab <schwab@redhat.com>
25946
25947 * manual/memory.texi (Malloc Tunable Parameters): Document
25948 M_PERTURB.
25949
259502010-07-26 Roland McGrath <roland@redhat.com>
25951
25952 [BZ #11840]
25953 * configure.in (-fgnu89-inline check): Set and substitute
25954 gnu89_inline, not libc_cv_gnu89_inline.
25955 * configure: Regenerated.
25956 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25957
259582010-07-26 Ulrich Drepper <drepper@redhat.com>
25959
25960 * string/test-strnlen.c: New file.
25961 * string/Makefile (strop-tests): Add strnlen.
25962 * string/tester.c (test_strnlen): Add a few more test cases.
25963 * string/tst-strlen.c: Better error reporting.
25964
25965 * sysdeps/x86_64/strnlen.S: New file.
25966
259672010-07-24 Ulrich Drepper <drepper@redhat.com>
25968
25969 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25970 lower-latency instructions.
25971
259722010-07-23 Ulrich Drepper <drepper@redhat.com>
25973
25974 * string/test-strcasestr.c: New file.
25975 * string/test-strstr.c: New file.
25976 * string/Makefile (strop-tests): Add strstr and strcasestr.
25977 * string/str-two-way.h: Don't undefine MAX.
25978 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25979
259802010-07-21 Andreas Schwab <schwab@redhat.com>
25981
25982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25983 strcasestr-nonascii.
25984 (CFLAGS-strcasestr-nonascii.c): Define.
25985 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25986 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25987 Remove unused attribute.
25988
259892010-07-20 Roland McGrath <roland@redhat.com>
25990
25991 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25992 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25993 ld.so.cache was broken. With it, there is no way to disable dsocaps
25994 like LD_HWCAP_MASK can disable hwcaps.
25995
259962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25997
25998 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25999
260002010-07-16 Ulrich Drepper <drepper@redhat.com>
26001
26002 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26003 call in strcasestr.
26004 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26005 __strcasestr_sse42_nonascii.
26006 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26007 strcasestr-nonascii.c.
26008 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26009
260102010-06-15 Luis Machado <luisgpm@br.ibm.com>
26011
26012 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26013 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26015 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26016
260172010-07-09 Ulrich Drepper <drepper@redhat.com>
26018
26019 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26020 fcntl.
26021
260222010-07-06 Andreas Schwab <schwab@redhat.com>
26023
26024 [BZ #11577]
26025 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26026 dl_signal_cerror.
26027
260282010-07-06 Ulrich Drepper <drepper@redhat.com>
26029
26030 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26031 _PC_PIPE_BUF using F_GETPIPE_SZ.
26032
260332010-07-05 Roland McGrath <roland@redhat.com>
26034
26035 * manual/arith.texi (Rounding Functions): Fix rint description
26036 implicit in round description.
26037
260382010-07-02 Ulrich Drepper <drepper@redhat.com>
26039
26040 * elf/Makefile: Fix linking for a few tests to make recent linker
26041 happy.
26042
260432010-06-30 Andreas Schwab <schwab@redhat.com>
26044
26045 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26046 $(common-objpfx)libc_nonshared.a.
26047
260482010-06-21 Luis Machado <luisgpm@br.ibm.com>
26049
26050 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26051 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26052 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26053 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26054 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26055 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26056 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26057 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26072 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26073 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26074 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26075 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26076 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26077 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26078 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26079 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26080 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26081 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26082 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26083 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26098
260992010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26100
26101 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26102 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26103 * string/memmove.c (memmove): Renamed to ...
26104 (MEMMOVE): ...this. Default to memmove.
26105 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26106 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26107 (END_CHK): Define.
26108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26109 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26110 mempcpy-ssse3-back memmove-ssse3-back.
26111 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26112 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26113 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26114 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26115 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26116 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26117 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26118 * sysdeps/x86_64/multiarch/memmove.c: New file.
26119 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26120 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26121 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26122 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26123 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26125 Define.
26126 (index_Fast_Copy_Backward): Define.
26127 (HAS_ARCH_FEATURE): Define.
26128 (HAS_FAST_REP_STRING): Define.
26129 (HAS_FAST_COPY_BACKWARD): Define.
26130
261312010-06-21 Andreas Schwab <schwab@redhat.com>
26132
26133 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26134 Restore proper fallback handling.
26135
261362010-06-19 Ulrich Drepper <drepper@redhat.com>
26137
26138 [BZ #11701]
26139 * posix/group_member.c (__group_member): Correct checking loop.
26140
26141 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26142 OOM in getpwuid_r correctly. Return error number when the caller
26143 should return, otherwise -1.
26144 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26145 call returning > 0 value.
26146 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26147
261482010-06-07 Andreas Schwab <schwab@redhat.com>
26149
26150 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26151 libc_nonshared.a from targets in modules-names.
26152
261532010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26154
26155 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26156 requires it.
26157
261582010-06-10 Luis Machado <luisgpm@br.ibm.com>
26159
26160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26161 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26164
261652010-06-02 Andreas Schwab <schwab@redhat.com>
26166
26167 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26168
261692010-06-14 Ulrich Drepper <drepper@redhat.com>
26170
26171 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26172 and F_GETPIPE_SZ.
26173 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26177 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26178 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26179
261802010-06-14 Roland McGrath <roland@redhat.com>
26181
26182 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26183
261842010-06-07 Jakub Jelinek <jakub@redhat.com>
26185
26186 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26187 __REDIRECT followed by __THROW.
26188 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26189 * posix/getopt.h (getopt): Likewise.
26190
261912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26192
26193 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26194 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26195 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26196 in AT_FLAGS.
26197 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26198 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26199
262002010-05-28 Luis Machado <luisgpm@br.ibm.com>
26201
26202 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26203
262042010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26205
26206 [BZ #11640]
26207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26208 Properly check family and model.
26209
262102010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26211
26212 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26213
262142010-05-24 Luis Machado <luisgpm@br.ibm.com>
26215
26216 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26217
262182010-05-21 Ulrich Drepper <drepper@redhat.com>
26219
26220 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26221 symbol reference.
26222
262232010-05-19 Andreas Schwab <schwab@redhat.com>
26224
26225 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26226 symbol reference.
26227
262282010-05-21 Andreas Schwab <schwab@redhat.com>
26229
26230 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26231 and internal_recvmmsg.
26232 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26233 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26234 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26235 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26236
26237 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26238 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26239 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26240
262412010-05-20 Andreas Schwab <schwab@redhat.com>
26242
26243 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26244
262452010-05-17 Luis Machado <luisgpm@br.ibm.com>
26246
26247 POWER7 optimizations.
26248 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26249 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26250
262512010-05-19 Ulrich Drepper <drepper@redhat.com>
26252
26253 * version.h: Update for 2.13 development version.
26254
262552010-05-12 Andrew Stubbs <ams@codesourcery.com>
26256
26257 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26258 exceptions. Return 0.
26259
262602010-05-07 Roland McGrath <roland@redhat.com>
26261
26262 * elf/ldconfig.c (main): Add a const.
26263
262642010-05-06 Ulrich Drepper <drepper@redhat.com>
26265
26266 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26267 (args_options): Add no-idn option.
26268 (ahosts_keys_int): Add idn_flags to ai_flags.
26269 (parse_option): Handle 'i' option to clear idn_flags.
26270
26271 * malloc/malloc.c (_int_free): Possible race in the most recently
26272 added check. Only act on the data if no current modification
26273 happened.
26274
26275See ChangeLog.17 for earlier changes.