]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
* stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
[thirdparty/glibc.git] / ChangeLog
1 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4 call free(NULL).
5
6 2013-03-05 David S. Miller <davem@davemloft.net>
7
8 * po/es.po: Update from translation team.
9
10 2013-03-05 Andreas Jaeger <aj@suse.de>
11
12 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13 <bits/mman-linux.h>.
14 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15 is fine.
16 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17 <bits/mman-linux.h> to end of file.
18 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19 is fine.
20 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21 <bits/mman-linux.h> to end of file.
22 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23 is fine.
24 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25 <bits/mman-linux.h> to end of file.
26
27 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28 (MCL_CURRENT, MCL_FUTURE): Define here.
29
30 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31
32 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33 attribute_hidden.
34 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35
36 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37
38 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39 fourth parameter needed for rt_sigprocmask syscall.
40 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46
47 2013-03-04 Joseph Myers <joseph@codesourcery.com>
48
49 [BZ #13550]
50 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51 comment about bounded pointers.
52 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54
55 2013-03-04 Andreas Jaeger <aj@suse.de>
56
57 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58 common definitions.
59
60 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
61 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66
67 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68
69 [BZ #15055]
70 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
71 __ieee754_sqrl instead of __sqrl.
72
73 2013-03-01 Joseph Myers <joseph@codesourcery.com>
74
75 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
76 * sysdeps/powerpc/fpu_control.h: ... here.
77 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
78 * sysdeps/powerpc/bits/fenvinline.h: ... here.
79 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
80 * sysdeps/powerpc/bits/mathinline.h: ... here.
81
82 2013-03-01 Roland McGrath <roland@hack.frob.com>
83
84 * elf/dl-hwcaps.c (_dl_important_hwcaps):
85 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
86 to just [NEED_DL_SYSINFO_DSO].
87 * elf/dl-support.c: Likewise.
88 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
89 * elf/rtld.c (dl_main): Likewise.
90 * elf/setup-vdso.h (setup_vdso): Likewise.
91 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
92 * sysdeps/unix/sysv/linux/dl-sysdep.c
93 (_dl_discover_osversion): Likewise.
94
95 2013-03-01 Carlos O'Donell <carlos@redhat.com>
96
97 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
98 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
99
100 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
101
102 * NEWS: Mention libm performance improvements and non-x86 PI
103 futex support.
104
105 * csu/libc-start.c (__pthread_initialize_minimal): Change
106 function arguments.
107 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
108
109 2013-02-28 Joseph Myers <joseph@codesourcery.com>
110
111 [BZ #13550]
112 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
113 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
114 <bp-sym.h> and <bp-asm.h>.
115 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
117 and <bp-asm.h>.
118 (memcpy): Don't use BP_SYM.
119 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
120 <bp-asm.h>.
121 (__mpn_add_n): Don't use BP_SYM.
122 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
123 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
124 and <bp-asm.h>.
125 (__mpn_addmul_1): Don't use BP_SYM.
126 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
127 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
128 <bp-sym.h>.
129 (_setjmp): Don't use BP_SYM.
130 (__novmx_setjmp): Likewise.
131 (__GI__setjmp): Likewise.
132 (__vmx_setjmp): Likewise.
133 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
134 <bp-sym.h>.
135 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
136 (__bzero): Don't use BP_SYM.
137 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
138 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
139 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
140 <bp-sym.h> and <bp-asm.h>.
141 (memcpy): Don't use BP_SYM.
142 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
143 <bp-sym.h> and <bp-asm.h>.
144 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
145 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
146 <bp-sym.h> and <bp-asm.h>.
147 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
148 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
149 <bp-asm.h>.
150 (__mpn_lshift): Don't use BP_SYM.
151 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
152 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
153 <bp-asm.h>.
154 (memset): Don't use BP_SYM.
155 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
156 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
157 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
158 <bp-asm.h>.
159 (__mpn_mul_1): Don't use BP_SYM.
160 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
162 <bp-sym.h> and <bp-asm.h>.
163 (memcmp): Don't use BP_SYM.
164 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
165 <bp-sym.h> and <bp-asm.h>.
166 (memcpy): Don't use BP_SYM.
167 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
168 <bp-sym.h> and <bp-asm.h>.
169 (memset): Don't use BP_SYM.
170 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
171 <bp-sym.h> and <bp-asm.h>.
172 (strncmp): Don't use BP_SYM.
173 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
174 <bp-sym.h> and <bp-asm.h>.
175 (memcpy): Don't use BP_SYM.
176 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
177 <bp-sym.h> and <bp-asm.h>.
178 (memset): Don't use BP_SYM.
179 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
180 <bp-sym.h> and <bp-asm.h>.
181 (__memchr): Don't use BP_SYM.
182 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
183 <bp-sym.h> and <bp-asm.h>.
184 (memcmp): Don't use BP_SYM.
185 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
186 <bp-sym.h> and <bp-asm.h>.
187 (memcpy): Don't use BP_SYM.
188 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
189 <bp-sym.h> and <bp-asm.h>.
190 (__mempcpy): Don't use BP_SYM.
191 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
192 <bp-sym.h> and <bp-asm.h>.
193 (__memrchr): Don't use BP_SYM.
194 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
195 <bp-sym.h> and <bp-asm.h>.
196 (memset): Don't use BP_SYM.
197 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
198 <bp-sym.h> and <bp-asm.h>.
199 (__rawmemchr): Don't use BP_SYM.
200 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
201 <bp-sym.h> and <bp-asm.h>.
202 (__STRCMP): Don't use BP_SYM.
203 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
204 <bp-sym.h> and <bp-asm.h>.
205 (strchr): Don't use BP_SYM.
206 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
207 <bp-sym.h> and <bp-asm.h>.
208 (__strchrnul): Don't use BP_SYM.
209 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
210 <bp-sym.h> and <bp-asm.h>.
211 (strlen): Don't use BP_SYM.
212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
213 <bp-sym.h> and <bp-asm.h>.
214 (strncmp): Don't use BP_SYM.
215 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
216 <bp-sym.h> and <bp-asm.h>.
217 (__strnlen): Don't use BP_SYM.
218 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
219 <bp-asm.h>.
220 (__mpn_rshift): Don't use BP_SYM.
221 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
222 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
223 <bp-sym.h> and <bp-asm.h>.
224 (__sigsetjmp): Don't use BP_SYM.
225 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
226 (L(start_addresses)): Don't use BP_SYM.
227 (_start): Likewise.
228 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
229 <bp-asm.h>.
230 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
231 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
232 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
233 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
234 <bp-asm.h>.
235 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
236 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
237 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
238 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
239 <bp-asm.h>.
240 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
241 comments.
242 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
243 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
244 <bp-asm.h>.
245 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
246 FIXME comments.
247 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
248 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
249 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
250 <bp-asm.h>.
251 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
252 comment.
253 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
254 and <bp-asm.h>.
255 (strncmp): Don't use BP_SYM,
256 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
257 <bp-asm.h>.
258 (__mpn_sub_n): Don't use BP_SYM.
259 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
260 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
261 and <bp-asm.h>.
262 (__mpn_submul_1): Don't use BP_SYM.
263 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
265 <bp-sym.h> and <bp-asm.h>.
266 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
268 <bp-sym.h> and <bp-asm.h>.
269 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
270 comment.
271
272 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
273
274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
275 Use ZK to minimize writes to Z.
276 (sub_magnitudes): Simplify code a bit.
277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
278 Use ZK to minimize writes to Z.
279 (sub_magnitudes): Simplify code a bit.
280
281 2013-02-27 Roland McGrath <roland@hack.frob.com>
282
283 * csu/gmon-start.c: Add special exception to license text.
284
285 2013-02-27 Richard Henderson <rth@redhat.com>
286
287 * scripts/config.guess: Update from config.git.
288 * scripts/config.sub: Likewise.
289
290 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
291
292 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
293
294 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
295
296 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
297
298 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
299
300 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
301
302 2013-02-26 Roland McGrath <roland@hack.frob.com>
303
304 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
305 [$(build-shared = yes].
306
307 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
308
309 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
310 (__mul): Reduce iterations for calculating mantissa.
311
312 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
313 MPTWO.
314 (__mpranred): Likewise.
315
316 [BZ #15160]
317 * malloc/memusagestat.c (main): Draw graphs for heap and stack
318 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
319
320 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
321
322 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
323 Define __attribute__.
324
325 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
326
327 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
328 unused.
329 * posix/regex_internal.h (__attribute): Remove.
330 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
331 (re_string_context_at): Likewise.
332 (bitset_not): Use __attribute__ and mark function as possibly
333 unused.
334 (bitset_merge): Likewise.
335 (bitset_mask): Likewise.
336 (re_string_char_size_at): Likewise.
337 (re_string_wchar_at): Likewise.
338 (re_string_elem_size_at): Likewise.
339
340 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
341
342 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
343 code.
344 (cc32): Likewise.
345
346 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
347 (__acr): Likewise.
348 (__cpy): Likewise.
349 (norm): Likewise.
350 (denorm): Likewise.
351 (__dbl_mp): Likewise.
352 (add_magnitudes): Likewise.
353 (sub_magnitudes): Likewise.
354 (__mul): Likewise.
355 (__inv): Likewise.
356
357 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
358 style.
359
360 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
361 style.
362
363 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
364 code.
365
366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
367 up changes with default code.
368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
369 Likewise.
370
371 2013-02-24 Allan McRae <allan@archlinux.org>
372
373 * manual/socket.texi (The Internet Namespace): Order menu items
374 to match that in the file.
375
376 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
377 node listing of the info page menu.
378
379 2013-02-21 Joseph Myers <joseph@codesourcery.com>
380
381 [BZ #13550]
382 * sysdeps/i386/bp-asm.h: Remove file.
383 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
384 (PARMS): Do not use macros from bp-asm.h.
385 (S1): Likewise.
386 (S2): Likewise.
387 (SIZE): Likewise.
388 (__mpn_add_n): Do not use BP_SYM
389 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
390 "bp-asm.h".
391 (PARMS): Do not use macros from bp-asm.h.
392 (S1): Likewise.
393 (SIZE): Likewise.
394 (__mpn_addmul_1): Do not use BP_SYM
395 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
396 "bp-asm.h".
397 (PARMS): Do not use macros from bp-asm.h.
398 (SIGMSK): Likewise.
399 (_setjmp): Likewise. Do not use BP_SYM.
400 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
401 "bp-asm.h".
402 (PARMS): Do not use macros from bp-asm.h.
403 (SIGMSK): Likewise.
404 (setjmp): Likewise. Do not use BP_SYM.
405 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
406 "bp-asm.h".
407 (PARMS): Do not use macros from bp-asm.h.
408 (__frexp): Do not use BP_SYM.
409 (frexp): Likewise.
410 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
411 "bp-asm.h".
412 (PARMS): Do not use macros from bp-asm.h.
413 (__frexpf): Do not use BP_SYM.
414 (frexpf): Likewise.
415 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
416 "bp-asm.h".
417 (PARMS): Do not use macros from bp-asm.h.
418 (__frexpl): Do not use BP_SYM.
419 (frexpl): Likewise.
420 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
421 "bp-asm.h".
422 (PARMS): Do not use macros from bp-asm.h.
423 (__remquo): Do not use BP_SYM.
424 (remquo): Likewise.
425 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
426 "bp-asm.h".
427 (PARMS): Do not use macros from bp-asm.h.
428 (__remquof): Do not use BP_SYM.
429 (remquof): Likewise.
430 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
431 "bp-asm.h".
432 (PARMS): Do not use macros from bp-asm.h.
433 (__remquol): Do not use BP_SYM.
434 (remquol): Likewise.
435 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
436 "bp-asm.h".
437 (PARMS): Do not use macros from bp-asm.h.
438 (DEST): Likewise.
439 (SRC): Likewise.
440 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
441 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
442 "bp-asm.h".
443 (PARMS): Do not use macros from bp-asm.h.
444 (strlen): Do not use BP_SYM.
445 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
446 "bp-asm.h".
447 (PARMS): Do not use macros from bp-asm.h.
448 (S1): Likewise.
449 (S2): Likewise.
450 (SIZE): Likewise.
451 (__mpn_add_n): Do not use BP_SYM.
452 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
453 "bp-asm.h".
454 (PARMS): Do not use macros from bp-asm.h.
455 (S1): Likewise.
456 (SIZE): Likewise.
457 (__mpn_addmul_1): Do not use BP_SYM.
458 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
459 weak_alias.
460 (bzero): Likewise.
461 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
462 "bp-asm.h".
463 (PARMS): Do not use macros from bp-asm.h.
464 (S): Likewise.
465 (SIZE): Likewise.
466 (__mpn_lshift): Do not use BP_SYM.
467 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
468 "bp-asm.h".
469 (PARMS): Do not use macros from bp-asm.h.
470 (DEST): Likewise.
471 (SRC): Likewise.
472 (LEN): Likewise.
473 (memcpy): Likewise. Do not use BP_SYM.
474 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
475 libc_hidden_def and weak_alias.
476 (mempcpy): Do not use BP_SYM in weak_alias.
477 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
478 "bp-asm.h".
479 (PARMS): Do not use macros from bp-asm.h.
480 (DEST): Likewise.
481 (LEN): Likewise.
482 [!BZERO_P] (CHR): Likewise.
483 (memset): Likewise. Do not use BP_SYM.
484 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
485 "bp-asm.h".
486 (PARMS): Do not use macros from bp-asm.h.
487 (S1): Likewise.
488 (SIZE): Likewise.
489 (__mpn_mul_1): Do not use BP_SYM.
490 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
491 "bp-asm.h".
492 (PARMS): Do not use macros from bp-asm.h.
493 (S): Likewise.
494 (SIZE): Likewise.
495 (__mpn_rshift): Do not use BP_SYM.
496 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
497 "bp-asm.h".
498 (PARMS): Do not use macros from bp-asm.h.
499 (STR): Likewise.
500 (CHR): Likewise.
501 (strchr): Likewise. Do not use BP_SYM.
502 (index): Do not use BP_SYM in weak_alias.
503 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
504 "bp-asm.h".
505 (PARMS): Do not use macros from bp-asm.h.
506 (DEST): Likewise.
507 (SRC): Likewise.
508 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
509 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
510 "bp-asm.h".
511 (PARMS): Do not use macros from bp-asm.h.
512 (strlen): Do not use BP_SYM.
513 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
514 "bp-asm.h".
515 (PARMS): Do not use macros from bp-asm.h.
516 (S1): Likewise.
517 (S2): Likewise.
518 (SIZE): Likewise.
519 (__mpn_sub_n): Do not use BP_SYM.
520 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
521 "bp-asm.h".
522 (PARMS): Do not use macros from bp-asm.h.
523 (S1): Likewise.
524 (SIZE): Likewise.
525 (__mpn_submul_1): Do not use BP_SYM.
526 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
527 "bp-asm.h".
528 (PARMS): Do not use macros from bp-asm.h.
529 (S1): Likewise.
530 (S2): Likewise.
531 (SIZE): Likewise.
532 (__mpn_add_n): Do not use BP_SYM.
533 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
534 weak_alias.
535 (bzero): Likewise.
536 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
537 "bp-asm.h".
538 (PARMS): Do not use macros from bp-asm.h.
539 (BLK2): Likewise.
540 (LEN): Likewise.
541 (memcmp): Do not use BP_SYM.
542 (bcmp): Do not use BP_SYM in weak_alias.
543 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
544 "bp-asm.h".
545 (PARMS): Do not use macros from bp-asm.h.
546 (DEST): Likewise.
547 (SRC): Likewise.
548 (LEN): Likewise.
549 (memcpy): Likewise. Do not use BP_SYM.
550 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
551 "bp-asm.h".
552 (PARMS): Do not use macros from bp-asm.h.
553 (DEST): Likewise.
554 (SRC): Likewise.
555 (LEN): Likewise.
556 (memmove): Likewise. Do not use BP_SYM.
557 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
558 "bp-asm.h".
559 (PARMS): Do not use macros from bp-asm.h.
560 (DEST): Likewise.
561 (SRC): Likewise.
562 (LEN): Likewise.
563 (__mempcpy): Likewise. Do not use BP_SYM.
564 (mempcpy): Do not use BP_SYM in weak_alias.
565 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
566 "bp-asm.h".
567 (PARMS): Do not use macros from bp-asm.h.
568 (DEST): Likewise.
569 (LEN): Likewise.
570 [!BZERO_P] (CHR): Likewise.
571 (memset): Likewise. Do not use BP_SYM.
572 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
573 "bp-asm.h".
574 (PARMS): Do not use macros from bp-asm.h.
575 (STR2): Likewise.
576 (strcmp): Do not use BP_SYM.
577 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
578 "bp-asm.h".
579 (PARMS): Do not use macros from bp-asm.h.
580 (STR): Likewise.
581 (DELIM): Likewise.
582 [USE_AS_STRTOK_R] (SAVE): Likewise.
583 (FUNCTION): Likewise. Do not use BP_SYM.
584 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
585 aliases.
586 (strtok_r): Likewise.
587 (__GI___strtok_r): Likewise.
588 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
589 (PARMS): Do not use macros from bp-asm.h.
590 (S): Likewise.
591 (SIZE): Likewise.
592 (__mpn_lshift): Do not use BP_SYM.
593 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
594 (PARMS): Do not use macros from bp-asm.h.
595 (STR): Likewise.
596 (CHR): Likewise.
597 (__memchr): Do not use BP_SYM.
598 (memchr): Do not use BP_SYM in weak_alias.
599 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
600 (PARMS): Do not use macros from bp-asm.h.
601 (BLK2): Likewise.
602 (LEN): Likewise.
603 (memcmp): Do not use BP_SYM.
604 (bcmp): Do not use BP_SYM in weak_alias.
605 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
606 (PARMS): Do not use macros from bp-asm.h.
607 (S1): Likewise.
608 (SIZE): Likewise.
609 (__mpn_mul_1): Do not use BP_SYM.
610 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
611 "bp-asm.h".
612 (PARMS): Do not use macros from bp-asm.h.
613 (STR): Likewise.
614 (CHR): Likewise.
615 (__rawmemchr): Do not use BP_SYM.
616 (rawmemchr): Do not use BP_SYM in weak_alias.
617 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
618 (PARMS): Do not use macros from bp-asm.h.
619 (S): Likewise.
620 (SIZE): Likewise.
621 (__mpn_rshift): Do not use BP_SYM.
622 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
623 (PARMS): Do not use macros from bp-asm.h.
624 (SIGMSK): Likewise.
625 (__sigsetjmp): Likewise. Do not use BP_SYM.
626 * sysdeps/i386/start.S: Do not include "bp-sym.h".
627 (_start): Do not use BP_SYM.
628 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
629 (PARMS): Do not use macros from bp-asm.h.
630 (DEST): Likewise.
631 (SRC): Likewise.
632 (__stpcpy): Likewise. Do not use BP_SYM.
633 (stpcpy): Do not use BP_SYM in weak_alias.
634 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
635 "bp-asm.h".
636 (PARMS): Do not use macros from bp-asm.h.
637 (DEST): Likewise.
638 (SRC): Likewise.
639 (LEN): Likewise.
640 (__stpncpy): Likewise. Do not use BP_SYM.
641 (stpncpy): Do not use BP_SYM in weak_alias.
642 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
643 (PARMS): Do not use macros from bp-asm.h.
644 (STR): Likewise.
645 (CHR): Likewise.
646 (strchr): Likewise. Do not use BP_SYM.
647 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
648 "bp-asm.h".
649 (PARMS): Do not use macros from bp-asm.h.
650 (STR): Likewise.
651 (CHR): Likewise.
652 (__strchrnul): Likewise. Do not use BP_SYM.
653 (strchrnul): Do not use BP_SYM in weak_alias.
654 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
655 "bp-asm.h".
656 (PARMS): Do not use macros from bp-asm.h.
657 (STOP): Likewise.
658 (strcspn): Do not use BP_SYM.
659 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
660 "bp-asm.h".
661 (PARMS): Do not use macros from bp-asm.h.
662 (STR): Likewise.
663 (STOP): Likewise.
664 (strpbrk): Likewise. Do not use BP_SYM.
665 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
666 "bp-asm.h".
667 (PARMS): Do not use macros from bp-asm.h.
668 (STR): Likewise.
669 (CHR): Likewise.
670 (strrchr): Likewise. Do not use BP_SYM.
671 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
672 (PARMS): Do not use macros from bp-asm.h.
673 (SKIP): Likewise.
674 (strspn): Do not use BP_SYM.
675 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
676 (PARMS): Do not use macros from bp-asm.h.
677 (STR): Likewise.
678 (DELIM): Likewise.
679 (SAVE): Likewise.
680 (FUNCTION): Likewise. Do not use BP_SYM.
681 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
682 aliases.
683 (strtok_r): Likewise.
684 (__GI___strtok_r): Likewise.
685 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
686 (PARMS): Do not use macros from bp-asm.h.
687 (S1): Likewise.
688 (S2): Likewise.
689 (SIZE): Likewise.
690 (__mpn_sub_n): Do not use BP_SYM.
691 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
692 "bp-asm.h".
693 (PARMS): Do not use macros from bp-asm.h.
694 (S1): Likewise.
695 (SIZE): Likewise.
696 (__mpn_submul_1): Do not use BP_SYM.
697 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
698 <bp-sym.h>.
699 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
700 and <bp-asm.h>.
701 (PARMS): Do not use macros from bp-asm.h.
702 (FLAGS): Likewise.
703 (PTID): Likewise.
704 (TLS): Likewise.
705 (CTID): Likewise.
706 (__clone): Do not use BP_SYM.
707 (clone): Do not use BP_SYM in weak_alias.
708 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
709 and <bp-asm.h>.
710 (PARMS): Do not use macros from bp-asm.h.
711 (LEN): Likewise.
712 (__mmap64): Do not use BP_SYM.
713 (mmap64): Do not use BP_SYM in weak_alias.
714 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
715 <bp-sym.h> and <bp-asm.h>.
716 (PARMS): Do not use macros from bp-asm.h.
717 (__posix_fadvise64_l64): Do not use BP_SYM.
718 * sysdeps/unix/sysv/linux/i386/semtimedop.S
719 (PARMS): Do not use macros from bp-asm.h.
720 (NSOPS): Likewise.
721 (semtimedop): Do not use BP_SYM.
722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
723 and <bp-asm.h>.
724
725 2013-02-21 Allan McRae <allan@archlinux.org>
726
727 * manual/message.texi (Charset conversion in gettext):
728 Move @end statement to beginning of line.
729
730 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
731
732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
733 static.
734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
735 Likewise.
736
737 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
738 (denorm): Likewise.
739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
741
742 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
743
744 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
745 tail-call to the resolved function if pltexit isn't needed.
746
747 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
748
749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
750 or Y being zero as being unlikely.
751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
752 Likewise.
753
754 2013-02-20 Carlos O'Donell <carlos@redhat.com>
755
756 * manual/nss.texi (System Databases and Name Service Switch):
757 Remove frobnicate @pxref.
758
759 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
760
761 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
762 __attribute__ ((unused)) to __attribute__ ((__unused__)).
763
764 2013-02-20 Petr Machata <pmachata@redhat.com>
765
766 * elf/elf.h (R_ARM_TARGET1): New macro.
767 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
768 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
769 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
770 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
771 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
772 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
773 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
774 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
775 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
776 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
777 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
778 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
779 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
780 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
781 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
782 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
783 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
784 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
785 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
786 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
787 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
788 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
789 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
790 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
791 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
792 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
793 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
794 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
795 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
796 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
797 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
798 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
799 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
800 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
801 (R_ARM_THM_GOT_BREL12): Likewise.
802 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
803 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
804 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
805 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
806 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
807 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
808 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
809 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
810 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
811
812 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
813
814 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
815 __attribute_used__ to __attribute__ ((unused)).
816
817 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
818
819 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
820 powerpc mpa.c.
821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
822 comment formatting.
823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
824
825 2013-02-19 Joseph Myers <joseph@codesourcery.com>
826
827 [BZ #13550]
828 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
829 Remove macro.
830 (ENTER): Remove both macro definitions.
831 (LEAVE): Likewise.
832 (CHECK_BOUNDS_LOW): Likewise.
833 (CHECK_BOUNDS_HIGH): Likewise.
834 (CHECK_BOUNDS_BOTH): Likewise.
835 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
836 (RETURN_BOUNDED_POINTER): Likewise.
837 (RETURN_NULL_BOUNDED_POINTER): Likewise.
838 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
839 (POP_ERRNO_LOCATION_RETURN): Likewise.
840 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
841 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
842 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
843 macros.
844 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
845 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
846 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
847 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
848 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
849 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
850 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
851 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
852 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
853 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
854 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
855 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
856 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
857 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
858 removed macros.
859 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
860 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
861 macros.
862 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
863 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
864 * sysdeps/i386/i586/memset.S (memset): Likewise.
865 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
866 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
867 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
868 macros.
869 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
870 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
871 Change uses of L(2) to L(out).
872 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
873 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
874 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
875 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
876 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
877 removed macros.
878 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
879 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
880 macros.
881 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
882 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
883 (RETURN): Do not use macro LEAVE.
884 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
885 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
886 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
887 * sysdeps/i386/i686/memset.S (memset): Likewise.
888 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
889 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
891 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
892 Likewise.
893 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
894 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
895 L(1_2) and L(1_3) into L(1).
896 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
897 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
898 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
899 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
900 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
901 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
902 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
903 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
904 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
905 macros.
906 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
907 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
908 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
909 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
910 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
911 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
912 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
913 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
914 * sysdeps/i386/strcspn.S (strcspn): Likewise.
915 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
916 * sysdeps/i386/strrchr.S (strrchr): Likewise.
917 * sysdeps/i386/strspn.S (strspn): Likewise.
918 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
919 conditional code.
920 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
921 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
922 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
923 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
924 L(1_3) into L(1_1).
925 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
926 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
927 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
928 macros.
929 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
930
931 2013-02-19 Jakub Jelinek <jakub@redhat.com>
932
933 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
934 macro.
935
936 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
937
938 * math/atest-exp.c (exp_mpn): Remove ROUND.
939 * math/atest-exp2.c (exp_mpn): Likewise.
940 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
941
942 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
943 * stdlib/tst-tls-atexit-lib.c: Likewise.
944 * stdlib/tst-tls-atexit.c: Likewise.
945
946 2013-02-18 Mike Frysinger <vapier@gentoo.org>
947
948 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
949 and __attribute_alloc_size__.
950
951 2013-02-18 Mike Frysinger <vapier@gentoo.org>
952
953 * include/programs/xmalloc.h: Change __attribute_alloc_size to
954 __attribute_alloc_size__.
955 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
956 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
957
958 2013-02-18 Mike Frysinger <vapier@gentoo.org>
959
960 * include/programs/xmalloc.h: New file.
961 * catgets/gencat.c: Include it.
962 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
963 * elf/pldd.c: Likewise.
964 * iconv/iconv_charmap.c: Likewise.
965 * iconv/iconvconfig.c: Likewise.
966 * iconv/strtab.c: Likewise.
967 * locale/programs/locale.c: Likewise.
968 * locale/programs/localedef.h: Likewise.
969 * locale/programs/simple-hash.c: Likewise.
970 * nscd/nscd.h: Likewise.
971 * nss/makedb.c: Likewise.
972 * sysdeps/generic/ldconfig.h: Likewise.
973
974 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
975
976 * Versions.def: Add GLIBC_2.18.
977 * include/link.h (struct link_map): New member l_tls_dtor_count.
978 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
979 (__call_tls_dtors): Likewise.
980 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
981 __cxa_thread_atexit_impl.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
983 Likewise.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
985 Likewise.
986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
987 Likewise.
988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
989 Likewise.
990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
992 Likewise.
993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
994 Likewise.
995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
997 Likewise.
998 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
999 (tests): Add test case tst-tls-atexit.
1000 (modules-names): Add shared library for tst-tls-atexit.
1001 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1002 (GLIBC_PRIVATE): Add __call_tls_dtors.
1003 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1004 for libstdc++.
1005 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1006 * stdlib/tst-tls-atexit.c: New test case.
1007 * stdlib/tst-tls-atexit-lib.c: New test case.
1008
1009 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1010
1011 * elf/Versions (ld): Add _dl_find_dso_for_object.
1012 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1013 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1014 (dl_open_worker): Use _dl_find_dso_for_object.
1015 * elf/dl-sym.c (do_sym): Likewise.
1016 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1017
1018 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1019
1020 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1021 Syntactic changes only.
1022 (_dl_runtime_profile): Do a tail-call to the resolved function.
1023
1024 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1025
1026 [BZ #13550]
1027 * sysdeps/x86_64/bp-asm.h: Remove file.
1028 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (__clone): Do not use BP_SYM.
1031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1032 <bp-sym.h> and <bp-asm.h>.
1033 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1034 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1035 "bp-asm.h".
1036 (_setjmp): Do not use BP_SYM.
1037 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1038 "bp-asm.h".
1039 (setjmp): Do not use BP_SYM.
1040 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1041 libc_hidden_def.
1042 (mempcpy): Do not use BP_SYM in weak_alias.
1043 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1044 "bp-asm.h".
1045 (strchr): Do not use BP_SYM.
1046 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1047 "bp-asm.h".
1048 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1049 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1050 (_start): Do not use BP_SYM.
1051 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1052 "bp-asm.h".
1053 (strcat): Do not use BP_SYM.
1054 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1055 "bp-asm.h".
1056 (STRCMP): Do not use BP_SYM.
1057 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1058 "bp-asm.h".
1059 (STRCPY): Do not use BP_SYM.
1060 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1061 "bp-asm.h".
1062 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1063 "bp-asm.h".
1064 (FUNCTION): Do not use BP_SYM.
1065 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1066 weak_alias.
1067 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1068
1069 2013-02-17 Andreas Jaeger <aj@suse.de>
1070
1071 * time/Versions: Sort entries.
1072 * string/Versions: Likewise.
1073 * resolv/Versions: Likewise.
1074 * posix/Versions: Likewise.
1075 * iconv/Versions: Likewise.
1076 * elf/Versions: Likewise.
1077 * wcsmbs/Versions: Likewise.
1078
1079 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1080
1081 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1082 loop termination condition.
1083
1084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1085 variable to calculate EZ.
1086 (__sqr): Likewise.
1087
1088 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1089 the lower precision input.
1090
1091 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1092
1093 [BZ #13550]
1094 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1095 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1096 (run-via-rtld-prefix): Do not handle %-bp tests.
1097 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1098 (all-object-suffixes): Remove .ob.
1099 (bppfx): Remove variable.
1100 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1101 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1102 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1103 [$(build-bounded) = yes] (libtype.ob): Likewise.
1104 * Makerules (elide-routines.ob): Remove variable.
1105 (do-tests-clean): Do not handle *-bp.out.
1106 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1107 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1108 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1109 (tests): Do not include $(tests-bp.out).
1110 (xtests): Do not include $(xtests-bp.out).
1111 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1112 [$(build-bounded) = yes] ($(addprefix
1113 $(objpfx),$(binaries-bounded))): Remove rule.
1114 ($(objpfx)%-bp.out): Remove rule.
1115 * config.make.in (build-bounded): Remove variable.
1116 * crypt/Makefile [$(build-bounded) = yes]
1117 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1118 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1119 append to variable.
1120 [$(build-bounded) = yes] (install-lib): Likewise.
1121 [$(build-bounded) = yes] (generated): Likewise.
1122 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1123 Remove rule.
1124 * intl/Makefile [$(build-bounded) = yes]
1125 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1126 * math/Makefile [$(build-bounded) = yes]
1127 ($(tests:%=$(objpfx)%-bp): Likewise.
1128 * misc/Makefile [$(build-bounded) = yes]
1129 ($(objpfx)tst-tsearch-bp): Likewise.
1130 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1131 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1132 Remove dependency.
1133 * string/Makefile (o-objects.ob): Remove variable.
1134 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1135 (CFLAGS-.ob): Remove variable.
1136 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1137 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1138 both definitions of variable.
1139 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1140 (ASFLAGS-.ob): Remove variable.
1141
1142 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1143
1144 [BZ #13550]
1145 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1146 Remove __BOUNDED_POINTERS__ from condition.
1147 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1148 * string/bits/string2.h [!__NO_STRING_INLINES &&
1149 !__BOUNDED_POINTERS__]: Likewise.
1150 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1151 Likewise.
1152 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1153 Remove conditional code.
1154 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1155 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1156 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1157 condition.
1158
1159 [BZ #13550]
1160 * csu/libc-start.c: Do not include <bp-sym.h>.
1161 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1162 * elf/dl-open.c: Do not include <bp-sym.h>.
1163 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1164 * math/fegetenv.c: Do not include <bp-sym.h>.
1165 (fegetenv): Do not use BP_SYM in versioned symbols.
1166 * nptl/sysdeps/pthread/bits/libc-lockP.h
1167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1168 <bp-sym.h>.
1169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1170 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1172 (__pthread_mutex_destroy): Likewise.
1173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1174 (__pthread_mutex_lock): Likewise.
1175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1176 (__pthread_mutex_trylock): Likewise.
1177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1178 (__pthread_mutex_unlock): Likewise.
1179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1180 (__pthread_mutexattr_init): Likewise.
1181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1182 (__pthread_mutexattr_destroy): Likewise.
1183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1184 (__pthread_mutexattr_settype): Likewise.
1185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1186 (__pthread_rwlock_init): Likewise.
1187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1188 (__pthread_rwlock_destroy): Likewise.
1189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1190 (__pthread_rwlock_rdlock): Likewise.
1191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1192 (__pthread_rwlock_tryrdlock): Likewise.
1193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1194 (__pthread_rwlock_wrlock): Likewise.
1195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1196 (__pthread_rwlock_trywrlock): Likewise.
1197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1198 (__pthread_rwlock_unlock): Likewise.
1199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1200 (__pthread_key_create): Likewise.
1201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1202 (__pthread_setspecific): Likewise.
1203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1204 (__pthread_getspecific): Likewise.
1205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1206 Likewise.
1207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1208 (_pthread_cleanup_push_defer): Likewise.
1209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1210 (_pthread_cleanup_pop_restore): Likewise.
1211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1212 (pthread_setcancelstate): Likewise.
1213 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1214 <bp-sym.h>.
1215 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1216 (memchr): Do not use BP_SYM in weak_alias.
1217 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1218 (fegetenv): Do not use BP_SYM in versioned symbols.
1219 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1220 (fesetenv): Do not use BP_SYM in versioned symbols.
1221 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1222 (feupdateenv): Do not use BP_SYM in versioned symbols.
1223 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1224 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1225 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1226 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1227 (open64): Do not use BP_SYM in weak_alias.
1228 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1229 (fegetenv): Do not use BP_SYM in versioned symbols.
1230 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1231 (fesetenv): Do not use BP_SYM in versioned symbols.
1232 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1233 (feupdateenv): Do not use BP_SYM in versioned symbols.
1234 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1235 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1236 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1237 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1238 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1239 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1240 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1241 <bp-sym.h>.
1242 (__libc_start_main): Do not use BP_SYM.
1243
1244 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1245
1246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1247 redundant return line.
1248 (norm): Likewise.
1249 (denorm): Likewise.
1250 (dbl_mp): Likewise.
1251 (sub_magnitudes): Likewise.
1252 (__add): Likewise.
1253 (__sub): Likewise.
1254 (__mul): Likewise.
1255 (__inv): Likewise.
1256 (__dvd): Likewise.
1257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1258 (norm): Likewise.
1259 (denorm): Likewise.
1260 (dbl_mp): Likewise.
1261 (sub_magnitudes): Likewise.
1262 (__add): Likewise.
1263 (__sub): Likewise.
1264 (__mul): Likewise.
1265 (__inv): Likewise.
1266 (__dvd): Likewise.
1267
1268 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1269 instead of __mul.
1270 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1271 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1272 (cc32): Likewise.
1273
1274 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1275 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1277 of __mul for squares.
1278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1279 function
1280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1281 Likewise.
1282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1284
1285 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1286
1287 [BZ #13550]
1288 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1289 code.
1290 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1291 prototype or function definition. Rename ubp_* variables and
1292 parameters. Remove argv definitions conditional on
1293 [__BOUNDED_POINTERS__].
1294 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1295 * elf/dl-runtime.c (_dl_fixup): Likewise.
1296 * include/set-hooks.h (RUN_HOOK): Likewise.
1297 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1298 definition.
1299 * string/strcpy.c (strcpy): Do not use __unbounded.
1300 * sysdeps/generic/frame.h (struct layout): Likewise.
1301 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1302 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1303 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1304 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1305 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1306 (__backtrace): Likewise.
1307 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1308 use __ptrvalue.
1309 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1310 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1311 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1312 Likewise.
1313 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1314 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1315 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1316 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1317 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1318 Do not use __unbounded.
1319 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1320 Rename __unboundedrlimits parameter to rlimits in prototype.
1321 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1322 Do not use __unbounded.
1323 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1324 not use __ptrvalue.
1325 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1326 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1327 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1328 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1329 __ptrvalue or __unbounded.
1330 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1331 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1332 use __unbounded.
1333 (__new_msgctl): Do not use __ptrvalue.
1334 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1335 __unbounded.
1336 (__libc_msgrcv): Do not use __ptrvalue.
1337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1338 startup_info): Do not use __unbounded.
1339 (__libc_start_main): Likewise. Rename ubp_* variables and
1340 parameters. Remove argv definitions conditional on
1341 [__BOUNDED_POINTERS__].
1342 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1343 __ptrvalue.
1344 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1345 use __unbounded.
1346 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1347 or __ptrvalue.
1348 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1349 use __unbounded.
1350 (__new_shmctl): Do not use __ptrvalue.
1351 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1352 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1353 Likewise.
1354 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1355 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1356 (__libc_sigaction): Likewise.
1357 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1358 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1359 Likewise.
1360 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1361
1362 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1363
1364 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1365
1366 * string/mempcpy.c: Implement by calling memcpy.
1367
1368 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1369
1370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1371
1372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1373 evaluation.
1374
1375 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1376 values in the mantissa.
1377
1378 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1379 minimize writes to Z.
1380 (sub_magnitudes): Simplify code a bit.
1381
1382 2013-02-12 Roland McGrath <roland@hack.frob.com>
1383
1384 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1385 from the message. The linker prefixes all warnings with that already.
1386
1387 2013-02-12 Andreas Schwab <schwab@suse.de>
1388
1389 [BZ #15078]
1390 * posix/regexec.c (extend_buffers): Add parameter min_len.
1391 (check_matching): Pass minimum needed length.
1392 (clean_state_log_if_needed): Likewise.
1393 (get_subexp): Likewise.
1394 * posix/Makefile (tests): Add bug-regex34.
1395 (bug-regex34-ENV): Define.
1396 * posix/bug-regex34.c: New file.
1397
1398 [BZ #11561]
1399 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1400 elements compare against the byte sequence of it, not its name.
1401 * posix/Makefile (tests): Add bug-regex35.
1402 (bug-regex35-ENV): Define.
1403 * posix/bug-regex35.c: New file.
1404
1405 2013-02-11 Tom de Vries <tom@codesourcery.com>
1406
1407 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1408 comment.
1409 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1410 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1411 (CHECK_EOL): Add undef.
1412
1413 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1414
1415 * bits/stdlib-bsearch.h: New file.
1416 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1417 * stdlib/stdlib.h: Likewise.
1418
1419 2013-02-11 Roland McGrath <roland@hack.frob.com>
1420
1421 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1422 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1423 declaration.
1424 * manual/search.texi (Array Search Function): Add missing const in
1425 lfind prototype.
1426 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1427 declaration to use rlim_t.
1428 (Basic Scheduling Functions): Remove erroneous const from
1429 sched_getparam prototype. Remove erroneous * from
1430 sched_get_priority_max and sched_get_priority_min prototypes.
1431 (Resource Usage): Fix summary @comment on vtimes to refer to
1432 sys/vtimes.h rather than vtimes.h.
1433 Add missing *s in vtimes prototype.
1434 (Limits on Resources): Fix ulimit prototype to return long int.
1435 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1436 prototypes to use long int rather than double.
1437 (BSD Random): Fix initstate and setstate to use char *, not void *.
1438 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1439 prototype to make second argument 'struct aiocb64 *const[]'.
1440 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1441 (Status of AIO Operations): Remove erroneous const in aio_return and
1442 aio_return64 prototypes.
1443 (Synchronizing I/O): Fix sync prototype to return void.
1444 * manual/startup.texi (Suboptions): Remove an erroneous const in
1445 getsubopt prototype.
1446 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1447 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1448 use size_t rather than int.
1449 (Scanning All Users): Likewise for getpwent_r.
1450 (Setting Groups): Add missing const to setgroups prototype.
1451 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1452 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1453 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1454 'const void *' rather than 'const char *'.
1455 (Host Address Functions): Likewise for inet_ntop.
1456 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1457 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1458 ssize_t for return value.
1459 (Sending Data): Likewise for send, sendto, sendmsg.
1460 (Socket Option Functions): Add a missing const in setsockopt prototype.
1461 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1462 use wchar_t for the argument.
1463 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1464 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1465 take no arguments.
1466 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1467 double/float/long double for second argument.
1468 Fix return types of significand, significandf, significandl.
1469 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1470 argument in fchmod prototype.
1471 (File Owner): Use uid_t and gid_t in fchown prototype.
1472 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1473 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1474 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1475 use 'const struct dirent **' as argument types to CMP function pointer
1476 argument.
1477 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1478 (File Times): Fix summary magic @comment for struct utimbuf and utime
1479 to refer to utime.h, not time.h.
1480 * manual/string.texi (Argz Functions): Add missing const in
1481 argz_extract and argz_next prototypes.
1482 (Finding Tokens in a String): Likewise for basename.
1483 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1484 (Copying and Concatenation): Fix typo in wmemmove prototype.
1485 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1486 (Signal Stack): Remove erroneous const in sigstack prototype.
1487 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1488 prototype.
1489 (Simple Calendar Time): Likewise for stime.
1490 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1491 prototype.
1492 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1493 say sys/sysctl.h instead.
1494 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1495 and vsyslog prototypes.
1496
1497 2013-02-11 Tom de Vries <tom@codesourcery.com>
1498
1499 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1500 Remove.
1501
1502 2013-02-11 Roland McGrath <roland@hack.frob.com>
1503
1504 * misc/sys/mman.h: Fix typo in mremap comment.
1505
1506 2013-02-08 Roland McGrath <roland@hack.frob.com>
1507
1508 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1509 the '\0' terminator.
1510
1511 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1512
1513 [BZ #13550]
1514 * debug/segfault.c: Don't include <bp-checks.h>.
1515 * sysdeps/generic/bp-checks.h: Remove file.
1516 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1517 (__GETDENTS): Don't use CHECK_N.
1518 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1519 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1520 (__getgroups): Don't use CHECK_N.
1521 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1522 (setgroups): Don't use CHECK_N.
1523 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1524 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1525 (__libc_msgrcv): Don't use CHECK_N.
1526 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1527 (__libc_msgsnd): Don't use CHECK_N.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1529 <bp-checks.h>.
1530 (__libc_pread): Don't use CHECK_N.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1532 include <bp-checks.h>.
1533 (__libc_pread64): Don't use CHECK_N.
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1535 include <bp-checks.h>.
1536 (__libc_pwrite): Don't use CHECK_N.
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1538 include <bp-checks.h>.
1539 (__libc_pwrite64): Don't use CHECK_N.
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1541 <bp-checks.h>.
1542 (__libc_pread): Don't use CHECK_N.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1544 include <bp-checks.h>.
1545 (__libc_pread64): Don't use CHECK_N.
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1547 include <bp-checks.h>.
1548 (__libc_pwrite): Don't use CHECK_N.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1550 include <bp-checks.h>.
1551 (__libc_pwrite64): Don't use CHECK_N.
1552 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1553 (do_pread): Don't use CHECK_N.
1554 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1555 (do_pread64): Don't use CHECK_N.
1556 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1557 (do_pwrite): Don't use CHECK_N.
1558 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1559 (do_pwrite64): Don't use CHECK_N.
1560 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1561 (__libc_readv): Don't use CHECK_N.
1562 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1563 (semop): Don't use CHECK_N.
1564 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1565 <bp-checks.h>.
1566 (semtimedop): Don't use CHECK_N.
1567 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1568 (__libc_pread): Don't use CHECK_N.
1569 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1570 <bp-checks.h>.
1571 (__libc_pread64): Don't use CHECK_N.
1572 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1573 <bp-checks.h>.
1574 (__libc_pwrite): Don't use CHECK_N.
1575 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1576 <bp-checks.h>.
1577 (__libc_pwrite64): Don't use CHECK_N.
1578 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1579 <bp-checks.h>.
1580 (__libc_msgrcv): Don't use CHECK_N.
1581 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1582 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1583 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1584 (__libc_writev): Don't use CHECK_N.
1585
1586 2013-02-08 Roland McGrath <roland@hack.frob.com>
1587
1588 * string/strcpy.c: Removed unused variable.
1589
1590 * Makeconfig (+sysdep-includes): Define with := rather than =.
1591 Use an existing include/ subdir of each sysdeps dir before it.
1592
1593 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1594
1595 * nscd/connection.c (register_traced_file): Comment function.
1596 [HAVE_INOTIFY] (union __inev): Define.
1597 [HAVE_INOTIFY] (inotify_check_files): New function.
1598 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1599 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1600 clear_db_cache.
1601 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1602
1603 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1604
1605 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1606 loaded if not already and that a failure is permanent.
1607
1608 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1609
1610 [BZ #15006]
1611 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1612 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1613
1614 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1615
1616 [BZ #13550]
1617 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1618 (CHECK_1_NULL_OK): Likewise.
1619 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1620 (__fxstat): Do not use CHECK_1.
1621 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1622 <bp-checks.h>.
1623 (___fxstat64): Do not use CHECK_1.
1624 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1625 <bp-checks.h>.
1626 (__fxstatat): Do not use CHECK_1.
1627 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1628 <bp-checks.h>.
1629 (__fxstatat64): Do not use CHECK_1.
1630 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1631 <bp-checks.h>.
1632 (__fxstat): Do not use CHECK_1.
1633 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1634 <bp-checks.h>.
1635 (__fxstatat): Do not use CHECK_1.
1636 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1637 <bp-checks.h>.
1638 (__getresgid): Do not use CHECK_1.
1639 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1640 <bp-checks.h>.
1641 (__getresuid): Do not use CHECK_1.
1642 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1643 <bp-checks.h>.
1644 (__lxstat): Do not use CHECK_1.
1645 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1646 <bp-checks.h>.
1647 (__old_msgctl): Do not use CHECK_1.
1648 (__new_msgctl): Likewise.
1649 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1650 <bp-checks.h>.
1651 (__new_setrlimit): Do not use CHECK_1.
1652 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1653 <bp-checks.h>.
1654 (__old_shmctl): Do not use CHECK_1.
1655 (__new_shmctl): Likewise.
1656 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1657 <bp-checks.h>.
1658 (__xstat): Do not use CHECK_1.
1659 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1660 (__lxstat): Do not use CHECK_1.
1661 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1662 <bp-checks.h>.
1663 (___lxstat64): Do not use CHECK_1.
1664 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1665 (__old_msgctl): Do not use CHECK_1.
1666 (__new_msgctl): Likewise.
1667 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1668 <bp-checks.h>.
1669 (__gettimeofday): Do not use CHECK_1.
1670 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1671 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1672 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1673 <bp-checks.h>.
1674 (__gettimeofday): Do not use CHECK_1.
1675 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1676 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1677 (__new_shmctl): Do not use CHECK_1.
1678 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1679 <bp-checks.h>.
1680 (do_sigtimedwait): Do not use CHECK_1.
1681 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1682 <bp-checks.h>.
1683 (do_sigwaitinfo): Do not use CHECK_1.
1684 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1685 <bp-checks.h>.
1686 (msgctl): Do not use CHECK_1.
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1688 <bp-checks.h>.
1689 (shmctl): Do not use CHECK_1.
1690 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1691 (ustat): Do not use CHECK_1.
1692 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1693 <bp-checks.h>.
1694 (__fxstat): Do not use CHECK_1.
1695 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1696 <bp-checks.h>.
1697 (__fxstatat): Do not use CHECK_1.
1698 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1699 <bp-checks.h>.
1700 (__lxstat): Do not use CHECK_1.
1701 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1702 <bp-checks.h>.
1703 (__xstat): Do not use CHECK_1.
1704 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1705 (__xstat): Do not use CHECK_1.
1706 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1707 (___xstat64): Do not use CHECK_1.
1708
1709 [BZ #13550]
1710 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1711 definitions.
1712 (CHECK_BOUNDS_HIGH): Likewise.
1713 * string/strcpy.c: Do not include <bp-checks.h>.
1714 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1715
1716 2013-02-07 Roland McGrath <roland@hack.frob.com>
1717
1718 * nscd/nscd-client.h (__nscd_drop_map_ref):
1719 Add __attribute__ ((unused)).
1720 * nis/nss-nisplus.h (niserr2nss): Likewise.
1721
1722 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1723 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1724
1725 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1726 Remove inline keyword.
1727 * include/rounding-mode.h (round_away): Likewise.
1728 * libio/wfileops.c (adjust_wide_data): Likewise.
1729 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1730 (__m128i_strloadu_tolower): Likewise.
1731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1732 (__m128i_strloadu_tolower): Likewise.
1733 * time/mktime.c (ydhms_diff): Likewise.
1734 * locale/elem-hash.h (elem_hash): Likewise.
1735 * locale/setlocale.c (setdata): Likewise.
1736 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1737 (re_string_wchar_at): Likewise.
1738 (bitset_not, bitset_merge, bitset_mask): Likewise.
1739 [!(__GNUC__ > 3)] (inline): Remove macro.
1740 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1741 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1742 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1743 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1744 * string/memcmp.c (memcmp_bytes): Likewise.
1745 * locale/programs/locarchive.c (compute_hashval): Likewise.
1746 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1747 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1748 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1749 * nss/getent.c (print_rpc, print_protocols): Likewise.
1750 (print_passwd, print_group, print_aliases): Likewise.
1751 * nis/nss-nisplus.h (niserr2nss): Likewise.
1752 * nscd/connections.c (restart_p): Likewise.
1753 Change return type to bool.
1754
1755 2013-02-05 Roland McGrath <roland@hack.frob.com>
1756
1757 * Makeconfig (all-Depend-files): Add existing
1758 $(sorted-subdirs:=/Depend) files.
1759 (all-subdirs): Remove nss.
1760 * sysdeps/unix/inet/Subdirs: Add it here instead.
1761 * hesiod/Depend: New file.
1762
1763 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1764 instead of calling alloca.
1765
1766 * io/lseek.c (__lseek): Rename to __libc_lseek.
1767 Define __lseek as an alias.
1768
1769 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1770
1771 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1772
1773 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1774 else clause and remove check for non-standard endianness.
1775
1776 2013-02-04 David S. Miller <davem@davemloft.net>
1777
1778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1779
1780 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1781
1782 [BZ #13550]
1783 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1784 (__ubp_memchr): Remove prototype.
1785 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1786 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1787 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1788 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1789 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1790 Remove alias.
1791 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1792 (__ubp_memchr): Likewise.
1793 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1794 (__ubp_memchr): Likewise.
1795 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1796 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1797 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1798 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1799 CHECK_STRING.
1800 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1801 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1802 (__getcwd): Do not use CHECK_STRING.
1803 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1804 <bp-checks.h>.
1805 (__real_chown): Do not use CHECK_STRING.
1806 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1807 <bp-checks.h>.
1808 (fchownat): Do not use CHECK_STRING.
1809 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1810 CHECK_STRING.
1811 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1812 <bp-checks.h>.
1813 (__lchown): Do not use CHECK_STRING.
1814 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1815 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1816 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1817 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1819 include <bp-checks.h>.
1820 (truncate64): Do not use CHECK_STRING.
1821 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1822 <bp-checks.h>.
1823 (__real_chown): Do not use CHECK_STRING.
1824 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1825 <bp-checks.h>.
1826 (__lchown): Do not use CHECK_STRING.
1827 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1828 <bp-checks.h>.
1829 (__chown): Do not use CHECK_STRING.
1830 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1831 <bp-checks.h>.
1832 (truncate64): Do not use CHECK_STRING.
1833 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1834 Likewise.
1835 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1836 (__xmknod): Do not use CHECK_STRING.
1837 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1838 <bp-checks.h>.
1839 (__xmknodat): Do not use CHECK_STRING.
1840 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1841 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1842
1843 2013-02-04 Andreas Schwab <schwab@suse.de>
1844
1845 [BZ #14142]
1846 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1847 * include/netdb.h: Likewise for h_errno.
1848 * elf/tst-stackguard1.c: Include <tls.h>.
1849
1850 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1851
1852 * elf/link.h (struct link_map): Extend the l_addr comment.
1853 * include/link.h (struct link_map): Likewise.
1854
1855 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1856
1857 [BZ #13550]
1858 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1859 (BOUNDED_1): Remove macro.
1860 * debug/backtrace.c: Don't include <bp-checks.h>.
1861 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1862 (__backtrace): Likewise.
1863 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1864 <bp-checks.h>.
1865 (__backtrace): Don't use BOUNDED_1.
1866 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1867 <bp-checks.h>.
1868 (__backtrace): Don't use BOUNDED_1.
1869 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1870 (__backtrace): Don't use BOUNDED_1.
1871 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1872 (shmat): Don't use BOUNDED_N.
1873
1874 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1875
1876 [BZ #13550]
1877 * sysdeps/generic/bp-start.h: Remove file.
1878 * csu/libc-start.c: Don't include <bp-start.h>.
1879 (LIBC_START_MAIN): Set up __environ directly instead of using
1880 INIT_ARGV_and_ENVIRON.
1881 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1882 <bp-start.h>.
1883
1884 [BZ #13550]
1885 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1886 definitions.
1887 (CHECK_FCNTL): Likewise.
1888 (CHECK_N_PAGES): Likewise.
1889
1890 [BZ #13550]
1891 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1892 definitions.
1893 (CHECK_SIGSET_NULL_OK): Likewise.
1894 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1895 <bp-checks.h>.
1896 (sigpending): Don't use CHECK_SIGSET.
1897 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1898 <bp-checks.h>.
1899 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1900 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1901 <bp-checks.h>.
1902 (do_sigsuspend): Don't use CHECK_SIGSET.
1903 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1904 use CHECK_SIGSET.
1905 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1906 (do_sigwait): Don't use CHECK_SIGSET.
1907 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1908 use CHECK_SIGSET.
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1910 include <bp-checks.h>.
1911 (sigpending): Don't use CHECK_SIGSET.
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1913 include <bp-checks.h>.
1914 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1915 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1916 <bp-checks.h>.
1917 (sigpending): Don't use CHECK_SIGSET.
1918 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1919 <bp-checks.h>.
1920 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1921
1922 [BZ #13550]
1923 * sysdeps/generic/bp-semctl.h: Remove file.
1924 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1925 <bp-checks.h> and <bp-semctl.h>.
1926 (__old_semctl): Don't use CHECK_SEMCTL.
1927 (__new_semctl): Likewise.
1928 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1929 and <bp-semctl.h>.
1930 (__old_semctl): Don't use CHECK_SEMCTL.
1931 (__new_semctl): Likewise.
1932 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1933 <bp-checks.h> and <bp-semctl.h>.
1934 (__old_semctl): Don't use CHECK_SEMCTL.
1935 (__new_semctl): Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1937 <bp-checks.h> and <bp-semctl.h>.
1938 (semctl): Don't use CHECK_SEMCTL.
1939
1940 [BZ #13550]
1941 * Makerules (elide-bp-thunks): Remove variable.
1942 (elide-routines.oS): Don't use $(elide-bp-thunks).
1943 (elide-routines.os): Likewise.
1944 (elide-routines.o): Likewise.
1945 (elide-routines.op): Likewise.
1946 (elide-routines.og): Likewise.
1947 (objects): Don't use $(bp-thunks).
1948 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1949 include.
1950 (common-generated): Do not add s-proto-bp.d.
1951 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1952 (int): Likewise.
1953 (typ): Likewise.
1954 Do not generate makefile rules for bounded-pointer thunks.
1955 * sysdeps/generic/bp-thunks.h: Remove file.
1956 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1957 * sysdeps/unix/s-proto-bp.S: Likewise.
1958
1959 [BZ #15062]
1960 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1961 parts of result separately when argument is not close to line from
1962 -i to i and one part of argument is small.
1963 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1964 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1965 * math/libm-test.inc (cacos_test): Add more tests.
1966 (casin_test): Likewise.
1967 (casinh_test): Likewise.
1968 * sysdeps/i386/fpu/libm-test-ulps: Update.
1969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1970
1971 2013-01-31 David S. Miller <davem@davemloft.net>
1972
1973 * po/de.po: Update from translation team.
1974
1975 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1976
1977 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1978
1979 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1980
1981 * configure.in (_AC_PROG_CC_C89): New definition.
1982 * configure: Regenerate.
1983
1984 * configure.in (AC_PROG_CPP): New definition.
1985 * configure: Regenerate.
1986
1987 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1988
1989 * debug/tst-backtrace.h: New file.
1990 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1991 (ret): Remove variable.
1992 (x): Likewise.
1993 (FAIL): Remove macro.
1994 (NO_INLINE): Likewise.
1995 (fn1): Use match function instead of strstr.
1996 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1997 (ret): Remove variable.
1998 (x): Likewise.
1999 (FAIL): Remove macro.
2000 (NO_INLINE): Likewise.
2001 (fn): Use match function instead of strstr.
2002 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2003 (ret): Remove variable.
2004 (x): Likewise.
2005 (FAIL): Remove macro.
2006 (NO_INLINE): Likewise.
2007 (handle_signal): Use match function instead of strstr.
2008 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2009 (ret): Remove variable.
2010 (x): Likewise.
2011 (FAIL): Remove macro.
2012 (NO_INLINE): Likewise.
2013 (handle_signal): Use match function instead of strstr.
2014
2015 2013-01-23 Roland McGrath <roland@hack.frob.com>
2016
2017 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2018
2019 2013-01-23 David S. Miller <davem@davemloft.net>
2020
2021 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2022 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2023 argument of CAS if possible.
2024 * sysdeps/sparc/sparc64/bits/atomic.h
2025 (__arch_compare_and_exchange_val_32_acq): Likewise.
2026 (__arch_compare_and_exchange_val_64_acq): Likewise.
2027
2028 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2029
2030 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2031 * sysdeps/posix/ulimit.c: ... this.
2032 Include <limits.h>.
2033 * sysdeps/unix/bsd/ulimit.c: Remove file.
2034
2035 2013-01-23 Adam Conrad <adconrad@0c3.net>
2036
2037 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2038 (LDFLAGS-tst-array5): Likewise.
2039
2040 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2041
2042 [BZ #15036]
2043 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2044 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2045 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2046 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2047
2048 2013-01-21 David S. Miller <davem@davemloft.net>
2049
2050 * sysdeps/sparc/backtrace.c: New file.
2051 * sysdeps/sparc/sparc32/backtrace.h: New file.
2052 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2053 * sysdeps/sparc/sparc64/backtrace.h: New file.
2054 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2055 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2056 -funwind-tables.
2057
2058 2013-01-21 Andreas Schwab <schwab@suse.de>
2059
2060 [BZ #15020]
2061 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2062 closed its stdout.
2063
2064 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2065
2066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2067 "mpa2.h".
2068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2069
2070 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2071 Mark Mitchell <mark@codesourcery.com>
2072 Tom de Vries <tom@codesourcery.com>
2073 Paul Pluzhnikov <ppluzhnikov@google.com>
2074
2075 * debug/tst-backtrace2.c: New file.
2076 * debug/tst-backtrace3.c: Likewise.
2077 * debug/tst-backtrace4.c: Likewise.
2078 * debug/tst-backtrace5.c: Likewise.
2079 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2080 (CFLAGS-tst-backtrace3.c): Likewise.
2081 (CFLAGS-tst-backtrace4.c): Likewise.
2082 (CFLAGS-tst-backtrace5.c): Likewise.
2083 (LDFLAGS-tst-backtrace2): Likewise.
2084 (LDFLAGS-tst-backtrace3): Likewise.
2085 (LDFLAGS-tst-backtrace4): Likewise.
2086 (LDFLAGS-tst-backtrace5): Likewise.
2087 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2088 tst-backtrace4 and tst-backtrace5.
2089
2090 2013-01-18 Anton Blanchard <anton@samba.org>
2091 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2092
2093 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2094 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2095 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2096 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2098 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2099 "+r" and remove output regs list as redundant. Add explicit inline
2100 asm to specify register of return val to work around compiler codegen
2101 bug. Remove (int) cast on return value. Add return type parameter to
2102 use in macro so that this macro does not truncate return value for
2103 64-bit values.
2104 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2105 pass to INTERNAL_VSYSCALL_NCS.
2106 (INLINE_VSYSCALL): Add 'long int' as return type to
2107 INTERNAL_VSYSCALL_NCS macro invocation.
2108 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2109 INTERNAL_VSYSCALL_NCS macro invocation.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2111
2112 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2113
2114 [BZ #14496]
2115 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2116 Fix application of SIMD FP exception mask.
2117
2118 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2119 mp_no from a power of two.
2120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2121 __mpexp_twomm1. Use __pow_mp.
2122
2123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2124 multiplication.
2125
2126 2013-01-17 David S. Miller <davem@davemloft.net>
2127
2128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2129
2130 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2131
2132 [BZ #15023]
2133 * include/complex.h: Condition contents on [!_COMPLEX_H].
2134 (__kernel_casinhf): New prototype.
2135 (__kernel_casinh): Likewise.
2136 (__kernel_casinhl): Likewise.
2137 * math/Makefile (libm_calls): Add k_casinh.
2138 * math/k_casinh.c: New file.
2139 * math/k_casinhf.c: Likewise.
2140 * math/k_casinhl.c: Likewise.
2141 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2142 finite nonzero arguments.
2143 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2144 finite nonzero arguments.
2145 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2146 finite nonzero arguments.
2147 * math/s_casinh.c: Do not include <float.h>.
2148 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2149 * math/s_casinhf.c: Do not include <float.h>.
2150 (__casinhf): Move code for finite nonzero arguments to
2151 k_casinhf.c.
2152 * math/s_casinhl.c: Do not include <float.h>.
2153 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2154 redefine.
2155 (__casinhl): Move code for finite nonzero arguments to
2156 k_casinhl.c.
2157 * math/libm-test.inc (cacos_test): Add more tests.
2158 * sysdeps/i386/fpu/libm-test-ulps: Update.
2159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2160
2161 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2162
2163 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2164 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2165 [!HAVE_MREMAP]: Remove [defined linux] case.
2166 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2167
2168 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2169
2170 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2171
2172 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2173
2174 * elf/elf.h (R_386_SIZE32): New relocation.
2175 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2176 R_386_SIZE32.
2177 (elf_machine_rela): Likewise.
2178 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2179 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2180
2181 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2182
2183 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2184 (FP_FAST_FMA): Do not define.
2185 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2186 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2187 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2188 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2189 !_SOFT_FLOAT]: Likewise.
2190 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2191 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2192 value.
2193 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2194 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2197 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2198 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2199 file.
2200
2201 2013-01-16 Andreas Schwab <schwab@suse.de>
2202
2203 [BZ #14327]
2204 * include/stdlib.h (__mktemp): Add declaration.
2205 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2206 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2207
2208 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2209
2210 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2211 definitions.
2212 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2213 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2214 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2215 definitions here.
2216 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2217 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2218 definitions.
2219 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2220 and ONE.
2221 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2222 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2223 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2224 definitions.
2225 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2226 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2227 definitions.
2228 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2229
2230 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2231
2232 2013-01-15 David S. Miller <davem@davemloft.net>
2233
2234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2235 trunc{,f} to libm-sysdep_routes.
2236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2238 file.
2239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2241 file.
2242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2243 file.
2244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2246 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2247 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2248 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2250 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2251 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2252
2253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2254 nearbyint{,f} to libm-sysdep_routes.
2255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2257 New file.
2258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2259 file.
2260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2261 New file.
2262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2263 file.
2264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2266 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2267 file.
2268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2270 file.
2271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2272 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2273 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2274
2275 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2276 libc_feholdexcept and libc_fesetenv.
2277
2278 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2279
2280 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2281
2282 2013-01-14 David S. Miller <davem@davemloft.net>
2283
2284 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2285 (SPARC_ASM_VIS2_IFUNC): Likewise.
2286 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2288 use of 'siam' instruction.
2289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2290 Likewise.
2291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2292 Likewise.
2293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2294 Likewise.
2295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2300 file.
2301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2302 file.
2303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2304 file.
2305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2306 file.
2307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2312 new VIS2 routines.
2313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2316 Likewise.
2317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2322 routines to libm-sysdep_routines.
2323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2324
2325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2326 fdim/fdimf to libm-sysdep_routines.
2327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2328 file.
2329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2331 file.
2332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2335 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2336 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2337 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2338 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2339
2340 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2341
2342 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2343 to optimize copies.
2344
2345 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2348
2349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2350 local variable MPTWO.
2351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2352 Likewise.
2353
2354 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2355
2356 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2357 GLOB_NOESCAPE.
2358
2359 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2360
2361 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2362
2363 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2364
2365 * manual/pattern.texi (glob_t): Document gl_flags.
2366 (glob64_t): Likewise.
2367
2368 2013-01-11 David S. Miller <davem@davemloft.net>
2369
2370 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2371 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2372 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2373 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2374 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2375 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2376 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2377 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2378 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2379 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2380 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2381 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2382 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2383
2384 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2385 sparc V9 rather than using V8 code.
2386 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2387 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2388
2389 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2390 Move to...
2391 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2392 Here.
2393
2394 2013-01-11 Roland McGrath <roland@hack.frob.com>
2395
2396 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2397 not in the main loop.
2398 * configure: Regenerated.
2399
2400 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2401
2402 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2403 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2404 to just #else.
2405 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2406 [!__GLIBC_HAVE_LONG_LONG] case.
2407 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2408 condition to just #else.
2409 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2410 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2411 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2412 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2413 unconditional.
2414 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2415 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2416 #elif condition to just #else.
2417 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2418 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2419 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2420 #elif condition to just #else.
2421
2422 2013-01-11 Steve Ellcey <sellcey@mips.com>
2423
2424 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2425 (EF_MIPS_ARCH_64): Fix value.
2426 (EF_MIPS_ARCH_32R2): New.
2427 (EF_MIPS_ARCH_64R2): New.
2428
2429 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2430
2431 * Makeconfig (+link-pie-before-libc): New.
2432 (+link-pie-after-libc): Likewise.
2433 (+link-pie-tests): Likewise.
2434 (+link-pie): Rewritten.
2435 (link-before-libc): Remove $(config-LDFLAGS).
2436 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2437 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2438 (config-LDFLAGS): Renamed to ...
2439 (rtld-LDFLAGS): This.
2440 (rtld-tests-LDFLAGS): New macro.
2441 (link-libc-rpath-link): Likewise.
2442 (link-libc-tests-rpath-link): Likewise.
2443 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2444 (link-libc): Prepand $(link-libc-rpath-link).
2445 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2446 (test-program-prefix): New macro.
2447 (test-via-rtld-prefix): Likewise.
2448 (test-program-cmd): Likewise.
2449 (host-test-program-cmd): Likewise.
2450 * Makefile ($(common-objpfx)testrun.sh): Replace
2451 $(run-program-prefix) with $(test-program-prefix).
2452 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2453 $(rtld-LDFLAGS).
2454 ($(common-objpfx)shlib.lds): Likewise.
2455 (build-module-helper): Likewise.
2456 ($(common-objpfx)format.lds): Likewise.
2457 * Rules (binaries-pie-tests): New.
2458 (binaries-pie-notests): Likewise.
2459 (binaries-pie): Rewritten.
2460 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2461 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2462 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2463 (make-test-out): Replace $(host-built-program-cmd) with
2464 $(host-test-program-cmd).
2465 * config.make.in (build-hardcoded-path-in-tests): New variable.
2466 * configure.in (--enable-hardcoded-path-in-tests): New configure
2467 option.
2468 (hardcoded_path_in_tests): New AC_SUBST.
2469 * configure: Regenerated.
2470 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2471 $(built-program-cmd) with $(test-program-cmd).
2472 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2473 (test_program_cmd): This.
2474 * elf/Makefile ($(objpfx)order.out): Run test with
2475 $(test-program-prefix).
2476 ($(objpfx)order2.out): Likewise.
2477 ($(objpfx)tst-initorder.out): Likewise.
2478 ($(objpfx)tst-initorder2.out): Likewise.
2479 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2480 $(test-program-cmd).
2481 ($(objpfx)tst-array1-static.out): Likewise.
2482 ($(objpfx)tst-array2.out): Likewise.
2483 ($(objpfx)tst-array3.out): Likewise.
2484 ($(objpfx)tst-array4.out): Likewise.
2485 ($(objpfx)tst-array5.out): Likewise.
2486 ($(objpfx)tst-array5-static.out): Likewise.
2487 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2488 $(test-program-cmd).
2489 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2490 $(run-program-prefix) with $(test-program-prefix).
2491 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2492 (test_program_prefix): This.
2493 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2494 $(run-program-prefix) with $(test-program-prefix).
2495 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2496 (test_program_prefix): This.
2497 * iconvdata/tst-tables.sh: Likewise.
2498 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2499 $(run-program-prefix) with $(test-program-prefix).
2500 ($(objpfx)tst-translit.out): Likewise.
2501 ($(objpfx)tst-gettext2.out): Likewise.
2502 ($(objpfx)tst-gettext4.out): Likewise.
2503 ($(objpfx)tst-gettext6.out): Likewise.
2504 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2505 (test_program_prefix): This.
2506 * intl/tst-gettext2.sh: Likewise.
2507 * intl/tst-gettext4.sh Likewise.
2508 * intl/tst-gettext6.sh: Likewise.
2509 * intl/tst-translit.sh: Likewise.
2510 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2511 with $(test-program-cmd).
2512 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2513 $(run-program-prefix) with $(test-program-prefix).
2514 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2515 (test_program_prefix): This.
2516 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2517 $(run-program-prefix) with $(test-program-prefix).
2518 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2519 (test_program_prefix): This.
2520 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2521 * posix/Makefile ($(objpfx)globtest.out): Replace
2522 $(run-via-rtld-prefix) and $(test-wrapper) with
2523 $(test-program-prefix) and $(test-via-rtld-prefix).
2524 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2525 $(test-program-prefix).
2526 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2527 $(host-test-program-cmd).
2528 (tst-spawn-ARGS): Likewise.
2529 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2530 $(test-program-prefix).
2531 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2532 (test_via_rtld_prefix): This.
2533 (test_wrapper): Renamed to ...
2534 (test_program_prefix): This.
2535 (run_program_prefix): Replaced by test_program_prefix.
2536 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2537 (test_program_prefix): This.
2538 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2539 with $(host-test-program-cmd).
2540 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2541 $(run-program-prefix) with $(test-program-prefix).
2542 ($(objpfx)tst-printf.out): Likewise.
2543 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2544 $(test-program-cmd).
2545 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2546 (test_program_prefix): This.
2547 * stdio-common/tst-unbputc.sh: Likewise.
2548 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2549 $(run-program-prefix) with $(test-program-prefix).
2550 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2551 (test_program_prefix): This.
2552 * string/Makefile ($(objpfx)tst-svc.out): Replace
2553 $(built-program-cmd) with $(test-program-cmd).
2554
2555 2013-01-11 Andreas Jaeger <aj@suse.de>
2556
2557 [BZ #15003]
2558 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2559 value. Sync with Linux 3.7.
2560
2561 2013-01-10 David S. Miller <davem@davemloft.net>
2562
2563 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2564 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2565 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2566
2567 2013-01-10 Roland McGrath <roland@hack.frob.com>
2568
2569 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2570 never set.
2571 * configure: Regenerated.
2572
2573 2013-01-10 David S. Miller <davem@davemloft.net>
2574
2575 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2576 sparc V9 rather than using V8 code.
2577 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2578 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2579
2580 2013-01-10 Roland McGrath <roland@hack.frob.com>
2581
2582 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2583 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2584 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2585 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2586 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2587 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2588 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2589 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2590 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2591 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2592 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2593 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2594 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2595 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2596 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2597 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2598 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2599 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2600 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2601 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2602 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2603 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2604 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2605 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2606 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2607 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2608 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2609
2610 2013-01-10 David S. Miller <davem@davemloft.net>
2611
2612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2613
2614 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2615
2616 * posix/Makefile (tests-static): New variable.
2617 (tests): Add $(tests-static).
2618 (tst-exec-static-ARGS): New variable.
2619 (tst-spawn-static-ARGS): Likewise.
2620 * posix/tst-exec-static.c: New file.
2621 * posix/tst-spawn-static.c: Likewise.
2622 * posix/tst-exec.c: Support run directly.
2623 * posix/tst-spawn.c: Likewise.
2624
2625 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2626
2627 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2628 long.
2629 * math/bits/mathcalls.h (llrint): Likewise.
2630 (llround): Likewise.
2631 * stdlib/stdlib.h (struct drand48_data): Likewise.
2632 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2633 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2634 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2635 Likewise.
2636 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2637 Likewise.
2638 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2639 (elf_greg_t): Likewise.
2640 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2641 (__jmp_buf): Likewise.
2642 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2643 definitions.
2644 (llrint): Likewise, for all definitions.
2645 (llrintl): Likewise.
2646
2647 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2648 Remove [__GNUC__] condition.
2649 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2650 condition to just [__USE_ISOC99].
2651 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2652
2653 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2654
2655 [BZ #14200]
2656 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2657 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2658 defined.
2659 (_POSIX_V6_ILP32_OFF32): Likewise.
2660 (_XBS5_ILP32_OFF32): Likewise.
2661 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2662 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2663
2664 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2665
2666 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2667
2668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2669 doubles __mpexp_twomm1. Adjust usage.
2670 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2671 Remove.
2672
2673 2013-01-10 Andreas Schwab <schwab@suse.de>
2674
2675 [BZ #14964]
2676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2677 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2678
2679 2013-01-09 David S. Miller <davem@davemloft.net>
2680
2681 [BZ #15003]
2682 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2683 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2684 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2685 TCP_FASTOPEN): Define.
2686 (tcp_repair_opt): New structure.
2687 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2688 enum values.
2689 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2690 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2691 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2692 (tcp_cookie_transactions): New structure.
2693
2694 2013-01-09 Anton Blanchard <anton@samba.org>
2695
2696 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2697 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2698 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2700
2701 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2702
2703 * include/features.h (__USE_ANSI): Remove.
2704
2705 2013-01-09 Roland McGrath <roland@hack.frob.com>
2706
2707 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2708
2709 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2710
2711 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2712
2713 * sysdeps/s390/fpu/libm-test-ulps: Update.
2714
2715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2716
2717 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2718 (__acr): Likewise.
2719 (__cpy): Likewise.
2720 (norm): Likewise.
2721 (denorm): Likewise.
2722 (__mp_dbl): Likewise.
2723 (__dbl_mp): Likewise.
2724 (add_magnitudes): Likewise.
2725 (sub_magnitudes): Likewise.
2726 (__add): Likewise.
2727 (__sub): Likewise.
2728 (__mul): Likewise.
2729 (__inv): Likewise.
2730 (__dvd): Likewise.
2731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2732 (__acr): Likewise.
2733 (__cpy): Likewise.
2734 (norm): Likewise.
2735 (denorm): Likewise.
2736 (__mp_dbl): Likewise.
2737 (__dbl_mp): Likewise.
2738 (add_magnitudes): Likewise.
2739 (sub_magnitudes): Likewise.
2740 (__add): Likewise.
2741 (__sub): Likewise.
2742 (__mul): Likewise.
2743 (__inv): Likewise.
2744 (__dvd): Likewise.
2745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2746 (__acr): Likewise.
2747 (__cpy): Likewise.
2748 (norm): Likewise.
2749 (denorm): Likewise.
2750 (__mp_dbl): Likewise.
2751 (__dbl_mp): Likewise.
2752 (add_magnitudes): Likewise.
2753 (sub_magnitudes): Likewise.
2754 (__add): Likewise.
2755 (__sub): Likewise.
2756 (__mul): Likewise.
2757 (__inv): Likewise.
2758 (__dvd): Likewise.
2759
2760 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2761
2762 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2763 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2764 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2765 2 && __USE_EXTERN_INLINES]: Likewise.
2766
2767 2013-01-08 Andreas Jaeger <aj@suse.de>
2768
2769 [BZ# 14985]
2770 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2771 Remove.
2772 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2773 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2774
2775 2013-01-07 Anton Blanchard <anton@samba.org>
2776
2777 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2778 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2779 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2780 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2781 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2782 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2783 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2784 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2786 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2788 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2789 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2791 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2795 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2796 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2797 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2798 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2800 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2801 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2802 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2804 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2806 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2807 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2809 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2810 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2811 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2813 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2814 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2815 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2817 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2818 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2819 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2820
2821 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2822
2823 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2824 (__MALLOC_PMT): Likewise.
2825 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2826 [__GNUC__], only on [_LIBC].
2827 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2828 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2829 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2830 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2831 forward declaration.
2832 (realloc_hook_ini): Likewise.
2833 (memalign_hook_ini): Likewise.
2834 (__libc_memalign): Do not use __MALLOC_PMT in variable
2835 declaration.
2836 (__libc_valloc): Likewise.
2837 (__libc_pvalloc): Likewise.
2838 (__libc_calloc): Likewise.
2839 (__posix_memalign): Likewise.
2840
2841 [BZ #14996]
2842 * math/s_casinh.c: Include <float.h>.
2843 (__casinh): Do not do computation with squaring and square root
2844 for large arguments.
2845 * math/s_casinhf.c: Include <float.h>.
2846 (__casinhf): Do not do computation with squaring and square root
2847 for large arguments.
2848 * math/s_casinhl.c: Include <float.h>.
2849 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2850 (__casinhl): Do not do computation with squaring and square root
2851 for large arguments.
2852 * math/libm-test.inc (casin_test): Add more tests.
2853 (casinh_test): Likewise.
2854 * sysdeps/i386/fpu/libm-test-ulps: Update.
2855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2856
2857 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2858
2859 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2860 (__x86_64_raw_data_cache_size): Likewise.
2861 (__x86_64_data_cache_size_half): Likewise.
2862 (__x86_64_raw_data_cache_size_half): Likewise.
2863 (__x86_64_shared_cache_size): Likewise.
2864 (__x86_64_raw_shared_cache_size): Likewise.
2865 (__x86_64_shared_cache_size_half): Likewise.
2866 (__x86_64_raw_shared_cache_size_half): Likewise.
2867 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2868 to ...
2869 (__x86_data_cache_size): This.
2870 (__x86_64_raw_data_cache_size): Renamed to ...
2871 (__x86_raw_data_cache_size): This.
2872 (__x86_64_data_cache_size_half): Renamed to ...
2873 (__x86_data_cache_size_half): This.
2874 (__x86_64_raw_data_cache_size_half): Renamed to ...
2875 (__x86_raw_data_cache_size_half): This.
2876 (__x86_64_shared_cache_size): Renamed to ...
2877 (__x86_shared_cache_size): This.
2878 (__x86_64_raw_shared_cache_size): Renamed to ...
2879 (__x86_raw_shared_cache_size): This.
2880 (__x86_64_shared_cache_size_half): Renamed to ...
2881 (__x86_shared_cache_size_half): This.
2882 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2883 (__x86_raw_shared_cache_size_half): This.
2884 * sysdeps/x86_64/memcpy.S: Updated.
2885 * sysdeps/x86_64/memset.S: Likewise.
2886 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2889
2890 2013-01-04 David S. Miller <davem@davemloft.net>
2891
2892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2893
2894 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2895
2896 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2897 1 to avoid redefinition warning.
2898 (__USE_GNU): Don't define.
2899 (init_signaling_nan): Protoize.
2900
2901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2902
2903 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2904
2905 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2907 (__cpymn): Likewise.
2908 (norm): Remove commented code.
2909 (denorm): Likewise.
2910 (__mp_dbl): Likewise.
2911 (__inv): Likewise.
2912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2913 (__cpymn): Likewise.
2914 (norm): Remove commented code.
2915 (denorm): Likewise.
2916 (__mp_dbl): Likewise.
2917 (__inv): Likewise.
2918
2919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2920 mp_no value for 1.0 and 2.0.
2921 (norm): Use RADIXI instead of radixi.d.
2922 (denorm): Likewise.
2923 (__mul): Use 0.0 instead of zero.d.
2924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2925 mp_no value for 1.0 and 2.0.
2926 (norm): Use RADIXI instead of radixi.d.
2927 (denorm): Likewise.
2928 (__mul): Use 0.0 instead of zero.d.
2929
2930 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2931
2932 [BZ #14994]
2933 * math/s_casinh.c (__casinh): Reduce finite argument to first
2934 quadrant then set signs of results at the end.
2935 * math/s_casinhf.c (__casinhf): Likewise.
2936 * math/s_casinhl.c (__casinhl): Likewise.
2937 * math/libm-test.inc (casin_test): Add more tests.
2938 (casinh_test): Likewise.
2939 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2941
2942 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2943
2944 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2945
2946 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2947
2948 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2949 declarations.
2950 (denorm): Likewise.
2951 (__mp_dbl): Likewise.
2952 (__inv): Likewise.
2953
2954 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2955 and adjust the header comment.
2956
2957 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2958 variable name from declaration.
2959
2960 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2961
2962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2963 Initialize COMMON_CPUID_INDEX_7 element.
2964 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2965 (CPUID_RTM): Likewise.
2966 (HAS_RTM): Likewise.
2967 (COMMON_CPUID_INDEX_7): New enum.
2968
2969 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2970
2971 [BZ #14981]
2972 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2973 size is zero, record memory as freed.
2974
2975 2013-01-03 Andreas Jaeger <aj@suse.de>
2976
2977 * po/ia.po: Add new Interlingua translation.
2978
2979 2012-01-03 Allan McRae <allan@archlinux.org>
2980
2981 * locale/programs/localedef.c: Fix description of '--posix' flag.
2982
2983 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2984
2985 * NEWS: Update dates in second copyright notice.
2986 * README: Update copyright dates in example.
2987 * manual/libc.texinfo: Update copyright dates.
2988 * scripts/test-installation.pl: Update copyright date in --version
2989 output.
2990
2991 * hurd/ctty-input.c: Fix copyright notice formatting.
2992 * hurd/ctty-output.c: Likewise.
2993 * hurd/dtable.c: Likewise.
2994 * hurd/hurd-raise.c: Likewise.
2995 * hurd/hurdprio.c: Likewise.
2996 * hurd/msgportdemux.c: Likewise.
2997 * misc/sys/file.h: Likewise.
2998 * misc/sys/ioctl.h: Likewise.
2999 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3000 * sysdeps/mach/hurd/chdir.c: Likewise.
3001 * sysdeps/mach/hurd/fchdir.c: Likewise.
3002 * sysdeps/mach/hurd/rename.c: Likewise.
3003 * sysdeps/mach/hurd/rmdir.c: Likewise.
3004 * sysdeps/mach/hurd/seekdir.c: Likewise.
3005 * sysdeps/mach/hurd/setsid.c: Likewise.
3006 * sysdeps/posix/wait3.c: Likewise.
3007
3008 * All files with FSF copyright notices: Update copyright dates
3009 using scripts/update-copyrights.
3010 * intl/plural.c: Regenerated.
3011 * locale/programs/charmap-kw.h: Likewise.
3012 * locale/programs/locfile-kw.h: Likewise.
3013
3014 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3015
3016 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3017 four values.
3018
3019 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3020 calculation loop and add branch prediction.
3021
3022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3023 check access beyond bounds of m1np.
3024
3025 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3026 MPTWO.
3027 (__inv): Remove local variable MPTWO to use the global
3028 constant.
3029 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3030 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3031 variable MPTWO.
3032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3033 MP3HALFS static const.
3034
3035 2013-01-01 David S. Miller <davem@davemloft.net>
3036
3037 * po/ca.po: Update from translation team.
3038
3039 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3040
3041 * scripts/update-copyrights: New file.
3042 * Makeconfig: Reformat copyright notice.
3043 * ctype/ctype.h: Likewise.
3044 * debug/swprintf_chk.c: Likewise.
3045 * elf/dl-cache.c: Likewise.
3046 * elf/dl-debug.c: Likewise.
3047 * elf/dl-object.c: Likewise.
3048 * grp/initgroups.c: Likewise.
3049 * hurd/Makefile: Likewise.
3050 * hurd/hurd/signal.h: Likewise.
3051 * hurd/hurdfault.c: Likewise.
3052 * hurd/hurdioctl.c: Likewise.
3053 * hurd/hurdlookup.c: Likewise.
3054 * hurd/intr-msg.c: Likewise.
3055 * iconv/gconv_open.c: Likewise.
3056 * libio/swprintf.c: Likewise.
3057 * locale/lc-ctype.c: Likewise.
3058 * locale/nl_langinfo.c: Likewise.
3059 * mach/Machrules: Likewise.
3060 * mach/Makefile: Likewise.
3061 * malloc/obstack.h: Likewise.
3062 * manual/Makefile: Likewise.
3063 * manual/tsort.awk: Likewise.
3064 * misc/bits/stab.def: Likewise.
3065 * nis/nis_print_group_entry.c: Likewise.
3066 * nis/nis_table.c: Likewise.
3067 * nis/nss_compat/compat-pwd.c: Likewise.
3068 * nis/nss_compat/compat-spwd.c: Likewise.
3069 * po/Makefile: Likewise.
3070 * posix/fnmatch.c: Likewise.
3071 * posix/regex.h: Likewise.
3072 * resolv/Makefile: Likewise.
3073 * resolv/nss_dns/dns-network.c: Likewise.
3074 * resolv/res_hconf.c: Likewise.
3075 * scripts/gen-sorted.awk: Likewise.
3076 * soft-fp/soft-fp.h: Likewise.
3077 * stdio-common/printf.h: Likewise.
3078 * stdlib/monetary.h: Likewise.
3079 * stdlib/random.c: Likewise.
3080 * stdlib/random_r.c: Likewise.
3081 * sysdeps/generic/Makefile: Likewise.
3082 * sysdeps/gnu/Makefile: Likewise.
3083 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3090 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3091 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3093 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3094 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3095 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3096 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3097 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3099 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3100 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3103 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3104 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3105 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3111 * sysdeps/mach/hurd/errnos.awk: Likewise.
3112 * sysdeps/mach/hurd/fork.c: Likewise.
3113 * sysdeps/mach/hurd/getcwd.c: Likewise.
3114 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3115 * sysdeps/mach/hurd/mmap.c: Likewise.
3116 * sysdeps/mach/hurd/utimes.c: Likewise.
3117 * sysdeps/mach/hurd/xmknod.c: Likewise.
3118 * sysdeps/posix/profil.c: Likewise.
3119 * sysdeps/posix/readdir_r.c: Likewise.
3120 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3121 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3122 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3123 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3125 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3126 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3127 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3131 * sysdeps/pthread/lio_listio.c: Likewise.
3132 * sysdeps/sparc/dl-procinfo.h: Likewise.
3133 * sysdeps/unix/i386/sysdep.S: Likewise.
3134 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3135 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3136 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3137 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3139 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3140 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3141 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3142 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3143 * sysdeps/wordsize-32/divdi3.c: Likewise.
3144 * time/sys/time.h: Likewise.
3145 * wcsmbs/Makefile: Likewise.
3146
3147 2013-01-01 David S. Miller <davem@davemloft.net>
3148
3149 * po/fr.po: Update from translation team.
3150
3151 * catgets/gencat.c: Update copyright year.
3152 * csu/version.c: Likewise.
3153 * debug/catchsegv.sh: Likewise.
3154 * debug/pcprofiledump.c: Likewise.
3155 * debug/xtrace.sh: Likewise.
3156 * elf/ldconfig.c: Likewise.
3157 * elf/ldd.bash.in: Likewise.
3158 * elf/pldd.c: Likewise.
3159 * elf/sotruss.ksh: Likewise.
3160 * elf/sprof.c: Likewise.
3161 * iconv/iconv_prog.c: Likewise.
3162 * iconv/iconvconfig.c: Likewise.
3163 * locale/programs/locale.c: Likewise.
3164 * locale/programs/localedef.c: Likewise.
3165 * login/programs/pt_chown.c: Likewise.
3166 * malloc/memusage.sh: Likewise.
3167 * malloc/memusagestat.c: Likewise.
3168 * malloc/mtrace.pl: Likewise.
3169 * nscd/nscd.c: Likewise.
3170 * nss/getent.c: Likewise.
3171 * nss/makedb.c: Likewise.
3172 * posix/getconf.c: Likewise.
3173
3174 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3175
3176 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3177 numbers.
3178
3179 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3180
3181 * math/bits/mathcalls.h (modf): Use __nonnull.
3182
3183 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3184
3185 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3186 (split): Use macro CN instead of the bare value.
3187 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3188 could be used.
3189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3190 instead of the bare value.
3191 (power1): Likewise.
3192
3193 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3194
3195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3196 __ATAN_TWOM.
3197 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3198
3199 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3200 their values.
3201 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3203 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3204 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3205
3206 2012-12-28 Andreas Jaeger <aj@suse.de>
3207
3208 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3209 values are from Linux 3.7.
3210
3211 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3212 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3213
3214 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3215
3216 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3217 TRUE case.
3218
3219 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3220 (norm): Likewise.
3221 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3222 variables with preprocessor constants.
3223 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3224 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3225 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3226
3227 2012-12-27 Bruno Haible <bruno@clisp.org>
3228
3229 [BZ #14317]
3230 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3231 only if needed.
3232
3233 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3234
3235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3236 and use variable directly.
3237 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3238
3239 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3240 MPONE.
3241 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3243 variable MPONE.
3244 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3246 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3247 include directive. Remove local variable MPONE.
3248 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3249 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3250 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3251
3252 2012-12-25 David S. Miller <davem@davemloft.net>
3253
3254 * version.h (RELEASE): Set to "development".
3255 (VERSION): Set to "2.17.90".
3256 * NEWS: Add 2.18 section.
3257
3258 2012-12-21 David S. Miller <davem@davemloft.net>
3259
3260 * po/hr.po: Update from translation team.
3261
3262 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3263
3264 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3265
3266 2012-12-19 Steve Ellcey <sellcey@mips.com>
3267
3268 * NEWS: Mention new memcpy for MIPS.
3269
3270 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3271
3272 * manual/contrib.texi (Contributors): Spelling correction.
3273
3274 2012-12-15 David S. Miller <davem@davemloft.net>
3275
3276 * po/ru.po: Update from translation team.
3277
3278 2012-12-13 David S. Miller <davem@davemloft.net>
3279
3280 * NEWS: Mention IFUNC testsuite enhancements.
3281
3282 * po/pl.po: Update from translation team.
3283 * po/bg.po: Likewise.
3284
3285 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3286 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3287
3288 2012-12-11 David S. Miller <davem@davemloft.net>
3289
3290 * po/sv.po: Update from translation team.
3291
3292 * po/vi.po: Update from translation team.
3293
3294 * po/cs.po: Update from translation team.
3295
3296 * po/de.po: Update from translation team.
3297 * po/eo.po: Likewise.
3298 * po/nl.po: Likewise.
3299
3300 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3301
3302 [BZ #14246]
3303 * manual/argp.texi (Argp Helper Functions): Move node to follow
3304 Argp Parsing State.
3305
3306 [BZ #14872]
3307 * manual/conf.texi (Limits on File System Capacity): Mention if
3308 terminating null is included in the max size.
3309
3310 2012-12-10 Andreas Jaeger <aj@suse.de>
3311
3312 * po/cs.po: Update from translation team.
3313
3314 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3315
3316 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3317 void pointer and cast to uintptr_t.
3318 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3319 path.
3320 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3321 * sysdeps/s390/s390-64/memset.S: Likewise.
3322
3323 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3324
3325 [BZ #14833]
3326 * menual/message.texi (Message Translation): Fix typos.
3327 (Helper programs for gettext): Likewise.
3328
3329 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3330
3331 [BZ #14898]
3332 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3333 Change to -1.
3334
3335 2012-12-07 David S. Miller <davem@davemloft.net>
3336
3337 * po/libc.pot: Update.
3338
3339 2012-12-07 Richard Henderson <rth@redhat.com>
3340
3341 [BZ #10114]
3342 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3343 normal/normal case to before the switch.
3344 (_FP_DIV): Likewise.
3345
3346 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3347 Mike Frysinger <vapier@gentoo.org>
3348
3349 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3350 check for __NR_fadvise64_64.
3351
3352 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3353
3354 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3355 0, not just to plain "0" as a statement.
3356 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3357 with cw.
3358
3359 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3360
3361 * NEWS: Use sourceware.org in Bugzilla URL.
3362
3363 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3364
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3366 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3367
3368 * stdio-common/tst-put-error.c (do_test): Add newline to the
3369 padded test to ensure flush.
3370
3371 2012-12-05 Jeff Law <law@redhat.com>
3372
3373 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3374
3375 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3376
3377 * README: Don't refer to ports add-on as distributed separately.
3378 Mention AArch64 in list of systems supported in the ports add-on.
3379
3380 * LICENSES: Add more non-FSF copyright and license notices.
3381
3382 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3383 ((unused)).
3384
3385 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3386
3387 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3388 10000 as width of padded output.
3389
3390 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3391
3392 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3393
3394 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3395 variable LX with __attribute__ ((unused)).
3396 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3397 Likewise.
3398 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3401 with __attribute__ ((unused)).
3402
3403 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3404
3405 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3406
3407 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3408
3409 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3410 (CFLAGS-nldbl-acos.c): New variable.
3411 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3412 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3413 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3414 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3415 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3416 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3417 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3418 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3419 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3420 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3421 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3422 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3423 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3424 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3425 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3426 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3427 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3428 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3429 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3430 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3431 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3432 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3433 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3434 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3435 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3436 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3437 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3438 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3439 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3440 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3441 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3442 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3443 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3444 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3445 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3446 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3447 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3448 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3449 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3450 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3451 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3452 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3453 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3454 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3455 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3456 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3457 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3458 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3459 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3460 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3461 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3462 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3463 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3464 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3465 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3466 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3467 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3468 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3469 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3470 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3471 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3472 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3473 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3474 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3475 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3476 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3477 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3478 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3479 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3480 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3481 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3482 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3483 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3484 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3485 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3486 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3487 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3488 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3489 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3490 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3491 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3492 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3493 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3494 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3495 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3496 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3497 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3498 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3499 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3500 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3501 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3502 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3503 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3504 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3505 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3506 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3507 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3508
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3510 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3511
3512 [BZ #14914]
3513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3514 whole low double instead of just low 47 bits when splitting values
3515 into two parts.
3516
3517 2012-12-03 Allan McRae <allan@archlinux.org>
3518
3519 * manual/stdio.texi (Predefined Printf Handlers): Remove
3520 @hsep and @vsep usage.
3521
3522 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3523
3524 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3525 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3526
3527 2012-12-03 Jeff Law <law@redhat.com>
3528
3529 * time/sys/time.h (settimeofday): Do not mark TV argument
3530 as __nonnull.
3531
3532 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3533
3534 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3535 when currently writing and seek to current position when not.
3536 * libio/Makefile (tests): Remove bug-fclose1.
3537 * libio/bug-fclose1.c: Delete.
3538
3539 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3540
3541 * manual/arith.texi (feenableexcept): Fix typo.
3542 (fedisableexcept): Likewise.
3543
3544 2012-11-30 Roland McGrath <roland@hack.frob.com>
3545
3546 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3547 second, differently-typed declaration, rather than a cast.
3548
3549 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3550
3551 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3552 * include/rpc/svc.h: ... here.
3553
3554 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3555
3556 [BZ #13013]
3557 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3558 depending n and resplen2 to catch cases where answer
3559 equals answerp2.
3560
3561 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3562
3563 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3564 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3565
3566 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3567
3568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3569
3570 2012-11-29 Roland McGrath <roland@hack.frob.com>
3571
3572 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3573
3574 2012-11-28 Jeff Law <law@redhat.com>
3575
3576 [BZ #13761]
3577 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3578 dataset_temporary. Track alloca usage into alloca_used.
3579 If dataset is large allocate and release it via malloc/free.
3580
3581 2012-06-04 Florian Weimer <fweimer@redhat.com>
3582
3583 [BZ #14197]
3584 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3585
3586 2012-11-28 David S. Miller <davem@davemloft.net>
3587
3588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3589
3590 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3591
3592 [BZ #14803]
3593 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3594 of pi/2 rounded to nearest to 64 bits.
3595 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3596 nearest to 64 bits.
3597 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3598 bits.
3599
3600 2012-11-28 Jeff Law <law@redhat.com>
3601 Martin Osvald <mosvald@redhat.com>
3602
3603 [BZ #14889]
3604 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3605 * sunrpc/svc.c: Include time.h.
3606 (__svc_accept_failed): New function.
3607 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3608 any reason other than EINTR, call __svc_accept_failed.
3609 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3610 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3611
3612 2012-11-28 Andreas Schwab <schwab@suse.de>
3613
3614 * scripts/abilist.awk: Also handle indirect functions in .opd
3615 section.
3616
3617 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3618
3619 [BZ #13881]
3620 * sysdeps/x86/fpu/powl_helper.c: New file.
3621 * sysdeps/x86/fpu/Makefile: Likewise.
3622 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3623 (p3): New object.
3624 (__ieee754_powl): Use __powl_helper for finite arguments except
3625 integer exponents below 8.
3626 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3627 (p3): New object.
3628 (__ieee754_powl): Use __powl_helper for finite arguments except
3629 integer exponents below 8.
3630 * math/libm-test.inc (pow_test): Add more tests and enable some
3631 previously disabled tests.
3632 * sysdeps/i386/fpu/libm-test-ulps: Update.
3633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3634
3635 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3636 Carlos O'Donell <carlos_odonell@mentor.com>
3637
3638 * nss/makedb.c (is_prime): Assert that input is odd and greater
3639 than 4. Note that fact in a comment too.
3640 (next_prime): Add 4 to input.
3641
3642 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3643
3644 [BZ #11741]
3645 * libio/Makefile (tests): Add test case tst-fwrite-error.
3646 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3647 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3648 * libio/tst-fwrite-error.c: New test case.
3649
3650 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3651
3652 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3653 before casting to void *.
3654 * include/libc-internal.h (__pointer_type): New macro.
3655 (__integer_if_pointer_type_sub): Likewise.
3656 (__integer_if_pointer_type): Likewise.
3657 (cast_to_integer): Likewise.
3658 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3659 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3660 before casting to atomic64_t.
3661 (atomic_exchange_acq): Likewise.
3662 (__arch_exchange_and_add_body): Likewise.
3663 (__arch_add_body): Likewise.
3664 (atomic_add_negative): Likewise.
3665 (atomic_add_zero): Likewise.
3666
3667 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3668
3669 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3670 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3671 (add_fdes): Likewise.
3672 (linear_search_fdes): Likewise.
3673 (binary_search_unencoded_fdes): Likewise.
3674
3675 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3676
3677 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3678
3679 2012-11-24 Adam Conrad <adconrad@0c3.net>
3680
3681 * configure.in: Autodetect C++ header directories.
3682 * configure: Regenerated.
3683
3684 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3685
3686 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3687
3688 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3689
3690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3691
3692 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3693
3694 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3695 LDBL_MANT_DIG == 106]: Disable some tests.
3696 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3697 Likewise.
3698 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3699 Likewise.
3700
3701 [BZ #14871]
3702 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3703 input for small inputs. Return +/- pi/2 for large inputs.
3704 * math/libm-test.inc (atan_test): Add more tests.
3705
3706 * sysdeps/generic/unwind-dw2-fde-glibc.c
3707 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3708 __attribute__ ((unused)).
3709
3710 [BZ #14645]
3711 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3712 x * y if x and y are nonzero and z is zero.
3713
3714 [BZ #14811]
3715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3716 nonzero exponents with absolute value below 0x1p-117 to +/-
3717 0x1p-117.
3718
3719 [BZ #14869]
3720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3721 up arguments below 2**-450, not just those below 2**-500.
3722 * math/libm-test.inc (hypot_test): Add another test.
3723
3724 [BZ #14868]
3725 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3726 Return a+b for ratio over 2**120, not 2**60.
3727 * math/libm-test.inc (hypot_test): Add another test.
3728
3729 * math/libm-test.inc (clog_test): Use
3730 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3731 (clog10_test): Likewise.
3732
3733 [BZ #6778]
3734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3735
3736 2012-11-22 Andreas Schwab <schwab@suse.de>
3737
3738 * sysdeps/i386/fpu/libm-test-ulps: Update.
3739
3740 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3741
3742 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3743 printf output with newline.
3744
3745 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3746
3747 [BZ #14865]
3748 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3749 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3750 -z nodlopen, -z initfirst and -z execstack support.
3751 * configure: Regenerated.
3752
3753 * elf/elf.h (DF_1_NODIRECT): New macro.
3754 (DF_1_IGNMULDEF): Likewise.
3755 (DF_1_NOKSYMS): Likewise.
3756 (DF_1_NOHDR): Likewise.
3757 (DF_1_EDITED): Likewise.
3758 (DF_1_NORELOC): Likewise.
3759 (DF_1_SYMINTPOSE): Likewise.
3760 (DF_1_GLOBAUDIT): Likewise.
3761 (DF_1_SINGLETON): Likewise.
3762 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3763 DT_1_SUPPORTED_MASK bits.
3764 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3765
3766 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3767
3768 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3769
3770 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3771
3772 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3773 macro.
3774
3775 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3776 (sendmmsg): Move declarations...
3777 * socket/sys/socket.h: ... here.
3778 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3779 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3780 include it from...
3781 * socket/recvmmsg.c: ... this new file.
3782 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3783 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3784 definition of __sendmmsg hidden.
3785 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3786 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3787 Move ENOSYS stub into and include it from...
3788 * socket/sendmmsg.c: ... this new file.
3789 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3790 (sysdep_routines): Move recvmmsg and sendmmsg...
3791 * socket/Makefile (routines): ... here.
3792 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3793 (GLIBC_PRIVATE): Add __sendmmsg.
3794 * include/sys/socket.h (__sendmmsg): Add declarations.
3795 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3796 sendmmsg.
3797
3798 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3799
3800 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3801 variable I1 with __attribute__ ((unused)).
3802 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3803
3804 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3805
3806 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3807 DUMMY variables with __attribute__ ((unused)).
3808
3809 * bits/byteswap.h: Include <bits/types.h>.
3810 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3811
3812 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3813
3814 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3815 string_t. Do not manually set errno.
3816 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3817 length with __strnlen. Make sure to both set errno and return it on
3818 failure.
3819
3820 2012-11-19 David S. Miller <davem@davemloft.net>
3821
3822 With help from Joseph Myers.
3823 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3824 very large arguments properly.
3825 * math/libm-test.inc (atan_test): New tests.
3826 (atan2_test): New tests.
3827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3829
3830 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3831
3832 [BZ #14856]
3833 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3834 Define to 3.
3835
3836 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3837 [POSIX] (EADDRNOTAVAIL): Likewise.
3838 [POSIX] (EAFNOSUPPORT): Likewise.
3839 [POSIX] (EALREADY): Likewise.
3840 [POSIX] (ECONNABORTED): Likewise.
3841 [POSIX] (ECONNREFUSED): Likewise.
3842 [POSIX] (ECONNRESET): Likewise.
3843 [POSIX] (EDESTADDRREQ): Likewise.
3844 [POSIX] (EDQUOT): Likewise.
3845 [POSIX] (EHOSTUNREACH): Likewise.
3846 [POSIX] (EIDRM): Likewise.
3847 [POSIX] (EISCONN): Likewise.
3848 [POSIX] (ELOOP): Likewise.
3849 [POSIX] (EMULTIHOP): Likewise.
3850 [POSIX] (ENETDOWN): Likewise.
3851 [POSIX] (ENETUNREACH): Likewise.
3852 [POSIX] (ENOBUFS): Likewise.
3853 [POSIX] (ENODATA): Likewise.
3854 [POSIX] (ENOLINK): Likewise.
3855 [POSIX] (ENOMSG): Likewise.
3856 [POSIX] (ENOPROTOOPT): Likewise.
3857 [POSIX] (ENOSR): Likewise.
3858 [POSIX] (ENOSTR): Likewise.
3859 [POSIX] (ENOTCONN): Likewise.
3860 [POSIX] (ENOTSOCK): Likewise.
3861 [POSIX] (EOPNOTSUPP): Likewise.
3862 [POSIX] (EOVERFLOW): Likewise.
3863 [POSIX] (EPROTO): Likewise.
3864 [POSIX] (EPROTONOSUPPORT): Likewise.
3865 [POSIX] (EPROTOTYPE): Likewise.
3866 [POSIX] (ESTALE): Likewise.
3867 [POSIX] (ETIME): Likewise.
3868 [POSIX] (ETXTBSY): Likewise.
3869 [POSIX] (EWOULDBLOCK): Likewise.
3870 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3871 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3872 [POSIX] (SEEK_CUR): Likewise.
3873 [POSIX] (SEEK_END): Likewise.
3874 [POSIX || UNIX98] (mode_t): Do not require.
3875 [POSIX] (off_t): Likewise.
3876 [POSIX] (pid_t): Likewise.
3877 [POSIX] (sys/stat.h): Do not allow header.
3878 [POSIX] (unistd.h): Likewise.
3879 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3880 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3881 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3882 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3883 require.
3884 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3885 sigevent): Specify elements.
3886 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3887 entry.
3888 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3889 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3890
3891 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3892 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3893 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3894 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3895 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3896 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3897 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3898 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3899 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3900 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3901 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3902 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3903 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3904 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3905 Likewise.
3906 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3907 Likewise.
3908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3909 Likewise.
3910 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3911 Likewise.
3912 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3913 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3916 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3917 Specify lower bound on value.
3918 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3919 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3920 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3921 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3922 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3923 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3924 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3925 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3926 value.
3927 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3928 as optional.
3929 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3930 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3931 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3932 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3933 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3934 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3935 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3936 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3937 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3938 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3939 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3940 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3941 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3942 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3943 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3944 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3945 entry.
3946 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3947 optional.
3948 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3949 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3950 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3951 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3952 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3953 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3954 Likewise.
3955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3956 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3957 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3958 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3959 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3960 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3961 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3962 as optional.
3963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3966 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3967 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3968 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3969 specify as optional.
3970 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3971 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3972 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3973 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3974 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3975 [XPG3] (NL_LANGMAX): Likewise.
3976 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3977 [POSIX || XPG3] (NL_NMAX): Likewise.
3978 [POSIX || XPG3] (NL_SETMAX): Likewise.
3979 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3980 [XPG3] (NZERO): Likewise.
3981 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3982 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3983 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3984 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3985 (REG_ERANGE): Expect.
3986 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3987 optional-constant.
3988 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3989 Use (void) in prototype.
3990 [POSIX] (*_t): Allow.
3991 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3992 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3993 (WRDE_BADVAL): Expect.
3994
3995 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3996 expect.
3997 [XPG3 || XPG4] (O_RSYNC): Likewise.
3998 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3999 Likewise.
4000 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4001 [XPG3 || XPG4] (sigqueue): Likewise.
4002 [XPG3 || XPG4] (sigtimedwait): Likewise.
4003 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4004 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4005 [XPG3 || XPG4] (vsnprintf): Likewise.
4006 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4007 Likewise.
4008 [XPG3 || XPG4] (blksize_t): Likewise.
4009 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4010 Likewise.
4011 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4012 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4013 [XPG3 || XPG4] (struct itimerspec): Likewise.
4014 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4015 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4016 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4017 [XPG3 || XPG4] (clockid_t): Likewise.
4018 [XPG3 || XPG4] (timer_t): Likewise.
4019 [XPG3 || XPG4] (clock_getres): Likewise.
4020 [XPG3 || XPG4] (clock_gettime): Likewise.
4021 [XPG3 || XPG4] (clock_settime): Likewise.
4022 [XPG3 || XPG4] (nanosleep): Likewise.
4023 [XPG3 || XPG4] (timer_create): Likewise.
4024 [XPG3 || XPG4] (timer_delete): Likewise.
4025 [XPG3 || XPG4] (timer_gettime): Likewise.
4026 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4027 [XPG3 || XPG4] (timer_settime): Likewise.
4028 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4029 [XPG3 || XPG4] (getlogin_r): Likewise.
4030 [XPG3 || XPG4] (pread): Likewise.
4031 [XPG3 || XPG4] (pthread_atfork): Likewise.
4032 [XPG3 || XPG4] (pwrite): Likewise.
4033
4034 [BZ #14835]
4035 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4036 <bits/siginfo.h>.
4037
4038 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4039
4040 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4041 finalizing MALLSTREAM.
4042
4043 * sysdeps/mach/hurd/syncfs.c: New file.
4044
4045 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4046
4047 [BZ #14719]
4048 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4049 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4050 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4051 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4052 (_nss_dns_gethostbyname4_r): Likewise.
4053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4054 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4055
4056 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4057
4058 [BZ #13763]
4059 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4060
4061 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4062
4063 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4064 * elf/cache.c (print_entry): Print ",AArch64" for
4065 FLAG_AARCH64_LIB64
4066
4067 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4068 * elf/cache.c (print_entry): Print ",hard-float" for
4069 FLAG_ARM_LIBHF.
4070
4071 2012-11-18 David S. Miller <davem@davemloft.net>
4072
4073 With help from Joseph Myers.
4074 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4075 cutoff to 2**-13.
4076 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4077 cutoff to 2**-25.
4078 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4079 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4080 small.
4081 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4082 * math/libm-test.inc (y0_test): New tests.
4083 (y1_test): New tests.
4084 * sysdeps/i386/fpu/libm-test-ulps: Update.
4085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4087
4088 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4089
4090 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4091 64-bit targets.
4092 * configure: Regenerated.
4093
4094 2012-11-17 David S. Miller <davem@davemloft.net>
4095
4096 [BZ #14811]
4097 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4098 nonzero exponents with absolute value below 0x1p-128 to +/-
4099 0x1p-128.
4100
4101 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4102
4103 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4104
4105 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4106
4107 * posix/getconf-speclist.c: New file.
4108 * posix/posix-envs.def: Likewise.
4109 * posix/confstr.c (START_ENV_GROUP): New macro.
4110 (END_ENV_GROUP): Likewise.
4111 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4112 (KNOWN_PRESENT_ENV_STRING): Likewise.
4113 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4114 (UNKNOWN_ENVIRONMENT): Likewise.
4115 (confstr): Include posix-envs.def instead of handling
4116 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4117 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4118 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4119 (END_ENV_GROUP): Likewise.
4120 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4121 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4122 (UNKNOWN_ENVIRONMENT): Likewise.
4123 (__sysconf): Include posix-envs.def instead of handling associated
4124 cases directly here.
4125 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4126 preprocessing getconf-speclist.c rather than running getconf or
4127 generating empty file.
4128
4129 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4130
4131 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4132
4133 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4134
4135 [BZ #14672]
4136 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4137
4138 2012-11-16 David S. Miller <davem@davemloft.net>
4139
4140 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4141 smaller than LDBL_EPSILON/2.0L, just return xm1.
4142
4143 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4144
4145 * elf/tst-array1.c (init): Set constructor priority to 1000.
4146 (fini): Set destructor priority to 1000.
4147 * elf/tst-array2dep.c: Likewise.
4148
4149 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4150
4151 [BZ #11741]
4152 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4153 (_IO_new_file_xsputn): Also return EOF if none of the input
4154 data was written when overflow failed.
4155 * libio/iopadn.c (_IO_padn): Likewise.
4156 * libio/iowpadn.c (_IO_wpadn): Likewise.
4157 * stdio-common/tst-put-error.c: Add copyright notice.
4158 (do_test): Add case for printing padded string.
4159 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4160 _IO_padn returned error.
4161 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4162 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4163 return EOF.
4164
4165 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4166
4167 * libio/libioP.h: Add comment note that the references to C++
4168 bits are now obsolete.
4169
4170 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4171
4172 * math/libm-test.inc (check_complex): Use asprintf.
4173
4174 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4175
4176 * debug/pcprofiledump.c (print_version): Update copyright year.
4177 * malloc/memusagestat.c (print_version): Likewise.
4178
4179 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4180
4181 [BZ #14831]
4182 * elf/Makefile (tests): Add tst-audit8.
4183 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4184 ($(objpfx)tst-audit8.out): New target.
4185 (tst-audit8-ENV): New variable.
4186 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4187 audit if l_reloc_result is NULL.
4188 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4189 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4190 * elf/tst-audit8.c: New file.
4191
4192 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4193
4194 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4195 * misc/Makefile (CFLAGS-select.c): Define.
4196 * posix/Makefile (CFLAGS-pause.c): Define.
4197
4198 2012-11-13 David S. Miller <davem@davemloft.net>
4199
4200 * crypt/Makefile: Move test targets after toplevel Rules
4201 inclusion. Grab any necessary sysdep routines when linking.
4202 * crypt/md5.c (md5_process_block): Remove define, we will always
4203 name it __md5_process_block.
4204 (md5_finish_ctx): Update md5_process_block call.
4205 (md5_stream): Likewise.
4206 (md5_process_bytes): Likewise.
4207 (md5_process_block): Rename to __md5_process_block and move to ...
4208 * crypt/md5-block.c: ... here.
4209 * crypt/sha256.c (sha256_process_block): Move to ...
4210 * crypt/sha256-block.c: ... here.
4211 * crypt/sha512.c (sha512_process_block): Move to ...
4212 * crypt/sha512-block.c: ... here.
4213 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4214 path.
4215 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4216 * sysdeps/sparc/sparc64/multiarch/Makefile
4217 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4218 crypt subdir.
4219 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4220 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4221 multiarch changes.
4222 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4223 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4224 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4225 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4226 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4227 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4228 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4229 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4230 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4231 file.
4232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4233 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4234 file.
4235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4236
4237 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4238
4239 * timezone/tzselect.ksh: Update from tzcode git revision
4240 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4241 * timezone/zdump.c: Likewise.
4242 * timezone/zic.c: Likewise.
4243 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4244 in TZVERSION setting, not $(PKGVERSION).
4245 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4246 REPORT_BUGS_TO settings.
4247
4248 [BZ #14838]
4249 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4250 macro.
4251
4252 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4253
4254 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4255 detection to immediately after _FP_ROUND().
4256 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4257 bits are 0.
4258
4259 2012-11-11 David S. Miller <davem@davemloft.net>
4260
4261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4262 inttypes.h
4263 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4264 __close rather than their public counterparts.
4265
4266 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4267
4268 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4269 file.
4270 [UNIX98] (sem_timedwait): Do not expect.
4271 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4272 [XPG4 || UNIX98] (sockatmark): Do not expect.
4273 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4274 (clock_getcpuclockid): Do not expect.
4275 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4276 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4277 Do not expect.
4278 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4279 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4280 [UNIX98] (vwscanf): Likewise.
4281 [UNIX98] (vswscanf): Likewise.
4282
4283 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4284
4285 * timezone/version.h: Remove file.
4286 * timezone/README: Do not refer to version.h.
4287 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4288 $(objpfx)version.h.
4289 ($(objpfx)zdump.o): Likewise.
4290 ($(objpfx)version.h): New target.
4291
4292 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4293 2012i.
4294 * timezone/README: Don't mention modification to tzselect.ksh.
4295 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4296 work on unmodified tzselect.ksh. Substitute version numbers in
4297 tzselect.ksh.
4298
4299 * Makefile (format-me): Remove.
4300 (INSTALL): Adjust indentation. Use commands directly instead of
4301 using $(format-me).
4302
4303 * aclocal.m4 (ACX_PKGVERSION): New macro.
4304 (ACX_BUGURL): Likewise.
4305 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4306 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4307 (REPORT_BUGS_TO): Likewise.
4308 * configure: Regenerated.
4309 * config.h.in (PKGVERSION): New macro.
4310 (REPORT_BUGS_TO): Likewise.
4311 * config.make.in (PKGVERSION): New variable.
4312 (PKGVERSION_TEXI): Likewise.
4313 (REPORT_BUGS_TO): Likewise.
4314 (REPORT_BUGS_TEXI): Likewise.
4315 * Makefile (format-me): Use -I$(common-objpfx)manual.
4316 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4317 ($(common-objpfx)manual/%): New target.
4318 (manual/%): Remove target.
4319 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4320 (print_version): Use PKGVERSION.
4321 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4322 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4323 and REPORT_BUGS_TO.
4324 ($(objpfx)xtrace): Likewise.
4325 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4326 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4327 (print_version): Use PKGVERSION.
4328 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4329 (do_version): Use PKGVERSION.
4330 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4331 REPORT_BUGS_TO.
4332 (common-ldd-rewrite): Likewise.
4333 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4334 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4335 (print_version): Use PKGVERSION.
4336 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4337 * elf/pldd.c (argp_program_bug_address): Remove variable.
4338 (more_help): New function.
4339 (argp): Use more_help.
4340 (print_version): Use PKGVERSION.
4341 * elf/sln.c (main): Use PKGVERSION.
4342 (usage): Use REPORT_BUGS_TO.
4343 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4344 (top level): Use PKGVERSION.
4345 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4346 (print_version): Use PKGVERSION.
4347 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4348 (print_version): Use PKGVERSION.
4349 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4350 (print_version): Use PKGVERSION.
4351 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4352 (print_version): Use PKGVERSION.
4353 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4354 (print_version): Use PKGVERSION.
4355 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4356 (print_version): Use PKGVERSION.
4357 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4358 and BUGURL.
4359 ($(objpfx)memusage): Likewise.
4360 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4361 (do_version): Use PKGVERSION.
4362 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4363 (print_version): Use PKGVERSION.
4364 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4365 ($PKGVERSION): New variable.
4366 ($REPORT_BUGS_TO): Likewise.
4367 (usage): Use $REPORT_BUGS_TO.
4368 (top level): Use $PKGVERSION.
4369 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4370 ($(objpfx)pkgvers.texi): New rule.
4371 ($(objpfx)stamp-pkgvers): Likewise.
4372 * manual/install.texi: Include pkgvers.texi.
4373 (--with-pkgversion): Document new configure option.
4374 (--with-bugurl): Likewise.
4375 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4376 than necessarily for this particular distribution. Use
4377 REPORT_BUGS_TO for where to report bugs.
4378 * INSTALL: Regenerated.
4379 * manual/libc.texinfo: Include pkgvers.texi.
4380 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4381 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4382 (print_version): Use PKGVERSION.
4383 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4384 (print_version): Use PKGVERSION.
4385 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4386 (print_version): Use PKGVERSION.
4387 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4388 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4389 macro.
4390 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4391 (print_version): Use PKGVERSION.
4392 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4393 (print_version): Use PKGVERSION.
4394 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4395 and PKGVERSION.
4396
4397 * timezone/checktab.awk: Update from tzcode 2012i.
4398 * timezone/ialloc.c: Likewise.
4399 * timezone/private.h: Likewise.
4400 * timezone/scheck.c: Likewise.
4401 * timezone/tzfile.h: Likewise.
4402 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4403 (TZVERSION): Hardcode tzcode version number.
4404 * timezone/zdump.c: Update from tzcode 2012i.
4405 * timezone/zic.c: Likewise.
4406 * timezone/version.h: New file.
4407 * timezone/README: Describe version.h. Update upstream location.
4408
4409 [BZ #14824]
4410 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4411 (mktemp): Enable declaration.
4412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4416 Likewise.
4417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4418 Likewise.
4419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4420 Likewise.
4421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4422 Likewise.
4423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4424 Likewise.
4425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4426 Likewise.
4427
4428 [BZ #14821]
4429 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4430 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4431 for copies of such integer values.
4432 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4433 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4434
4435 2012-11-09 Andreas Jaeger <aj@suse.de>
4436
4437 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4438 definitions and declarations that are provided by
4439 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4440
4441 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4442
4443 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4444 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4445 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4446 definition.
4447
4448 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4449
4450 * elf/elf.h: Update comment before AArch64 relocations.
4451
4452 2012-11-07 David S. Miller <davem@davemloft.net>
4453
4454 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4455 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4456 (__start_context): Declare.
4457 (__makecontext_ret): Delete.
4458 (__makecontext): Hook up __start_context instead of
4459 __makecontext_ret.
4460 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4461 (sysdep_routines): Add __start_context when in stdlib.
4462
4463 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4464
4465 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4466 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4467 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4468 hardcoded "nm".
4469 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4470 (READELF): New variable. Use it instead of hardcoded "readelf".
4471
4472 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4475 * sysdeps/x86/Makefile: Here.
4476 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4477 * sysdeps/x86/tst-xmmymm.sh: This.
4478
4479 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4480
4481 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4482 expectations.
4483 [UNIX98] (pthread_barrier_t): Do not expect.
4484 [UNIX98] (pthread_barrierattr_t): Likewise.
4485 [UNIX98] (pthread_spinlock_t): Likewise.
4486 [UNIX98] (pthread_barrier_destroy): Likewise.
4487 [UNIX98] (pthread_barrier_init): Likewise.
4488 [UNIX98] (pthread_barrier_wait): Likewise.
4489 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4490 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4491 [UNIX98] (pthread_barrierattr_init): Likewise.
4492 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4493 [UNIX98] (pthread_getcpuclockid): Likewise.
4494 [UNIX98] (pthread_mutex_timedlock): Likewise.
4495 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4496 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4497 [UNIX98] (pthread_sigmask): Likewise.
4498 [UNIX98] (pthread_spin_destroy): Likewise.
4499 [UNIX98] (pthread_spin_init): Likewise.
4500 [UNIX98] (pthread_spin_lock): Likewise.
4501 [UNIX98] (pthread_spin_trylock): Likewise.
4502 [UNIX98] (pthread_spin_unlock): Likewise.
4503 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4504 Do not expect.
4505 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4506 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4507 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4508 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4509 [XPG3 || XPG4] (pthread_key_t): Likewise.
4510 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4511 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4512 [XPG3 || XPG4] (pthread_once_t): Likewise.
4513 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4514 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4515 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4516 [XPG3 || XPG4] (pthread_t): Likewise.
4517
4518 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4519 not expect.
4520 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4521
4522 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4523 Change function return type to int.
4524
4525 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4526 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4527 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4528 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4529 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4530 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4531 [!POSIX] (posix_madvise): Likewise.
4532 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4533 && !UNIX98].
4534 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4535 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4536 (mode_t): Likewise.
4537 (posix_mem_offset): Likewise.
4538 (posix_typed_mem_get_info): Likewise.
4539 (posix_typed_mem_open): Likewise.
4540
4541 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4542 Change condition to [XOPEN2K8].
4543
4544 * conform/conformtest.pl: Preprocess allow-header data with -x c
4545 instead of from stdin.
4546 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4547 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4548 [C99-based standards] (cerfc): Likewise.
4549 [C99-based standards] (cexp2): Likewise.
4550 [C99-based standards] (cexpm1): Likewise.
4551 [C99-based standards] (clog10): Likewise.
4552 [C99-based standards] (clog1p): Likewise.
4553 [C99-based standards] (clog2): Likewise.
4554 [C99-based standards] (clgamma): Likewise.
4555 [C99-based standards] (ctgamma): Likewise.
4556 [C99-based standards] (cerff): Likewise.
4557 [C99-based standards] (cerfcf): Likewise.
4558 [C99-based standards] (cexp2f): Likewise.
4559 [C99-based standards] (cexpm1f): Likewise.
4560 [C99-based standards] (clog10f): Likewise.
4561 [C99-based standards] (clog1pf): Likewise.
4562 [C99-based standards] (clog2f): Likewise.
4563 [C99-based standards] (clgammaf): Likewise.
4564 [C99-based standards] (ctgammaf): Likewise.
4565 [C99-based standards] (cerfl): Likewise.
4566 [C99-based standards] (cerfcl): Likewise.
4567 [C99-based standards] (cexp2l): Likewise.
4568 [C99-based standards] (cexpm1l): Likewise.
4569 [C99-based standards] (clog10l): Likewise.
4570 [C99-based standards] (clog1pl): Likewise.
4571 [C99-based standards] (clog2l): Likewise.
4572 [C99-based standards] (clgammal): Likewise.
4573 [C99-based standards] (ctgammal): Likewise.
4574 * conform/data/inttypes.h-data [C99-based standards]: Include
4575 stdint.h-data. Remove all expectations for stdint.h contents.
4576 [C99-based standards] (PRI*): Do not allow.
4577 [C99-based standards] (SCN*): Likewise.
4578 [C99-based standards] (*_t): Likewise.
4579 [C99-based-standards] (PRId8): Expect macro.
4580 [C99-based-standards] (PRIi8): Likewise.
4581 [C99-based-standards] (PRIo8): Likewise.
4582 [C99-based-standards] (PRIu8): Likewise.
4583 [C99-based-standards] (PRIx8): Likewise.
4584 [C99-based-standards] (PRIX8): Likewise.
4585 [C99-based-standards] (SCNd8): Likewise.
4586 [C99-based-standards] (SCNi8): Likewise.
4587 [C99-based-standards] (SCNo8): Likewise.
4588 [C99-based-standards] (SCNu8): Likewise.
4589 [C99-based-standards] (SCNx8): Likewise.
4590 [C99-based-standards] (PRIdLEAST8): Likewise.
4591 [C99-based-standards] (PRIiLEAST8): Likewise.
4592 [C99-based-standards] (PRIoLEAST8): Likewise.
4593 [C99-based-standards] (PRIuLEAST8): Likewise.
4594 [C99-based-standards] (PRIxLEAST8): Likewise.
4595 [C99-based-standards] (PRIXLEAST8): Likewise.
4596 [C99-based-standards] (SCNdLEAST8): Likewise.
4597 [C99-based-standards] (SCNiLEAST8): Likewise.
4598 [C99-based-standards] (SCNoLEAST8): Likewise.
4599 [C99-based-standards] (SCNuLEAST8): Likewise.
4600 [C99-based-standards] (SCNxLEAST8): Likewise.
4601 [C99-based-standards] (PRIdFAST8): Likewise.
4602 [C99-based-standards] (PRIiFAST8): Likewise.
4603 [C99-based-standards] (PRIoFAST8): Likewise.
4604 [C99-based-standards] (PRIuFAST8): Likewise.
4605 [C99-based-standards] (PRIxFAST8): Likewise.
4606 [C99-based-standards] (PRIXFAST8): Likewise.
4607 [C99-based-standards] (SCNdFAST8): Likewise.
4608 [C99-based-standards] (SCNiFAST8): Likewise.
4609 [C99-based-standards] (SCNoFAST8): Likewise.
4610 [C99-based-standards] (SCNuFAST8): Likewise.
4611 [C99-based-standards] (SCNxFAST8): Likewise.
4612 [C99-based-standards] (PRId16): Likewise.
4613 [C99-based-standards] (PRIi16): Likewise.
4614 [C99-based-standards] (PRIo16): Likewise.
4615 [C99-based-standards] (PRIu16): Likewise.
4616 [C99-based-standards] (PRIx16): Likewise.
4617 [C99-based-standards] (PRIX16): Likewise.
4618 [C99-based-standards] (SCNd16): Likewise.
4619 [C99-based-standards] (SCNi16): Likewise.
4620 [C99-based-standards] (SCNo16): Likewise.
4621 [C99-based-standards] (SCNu16): Likewise.
4622 [C99-based-standards] (SCNx16): Likewise.
4623 [C99-based-standards] (PRIdLEAST16): Likewise.
4624 [C99-based-standards] (PRIiLEAST16): Likewise.
4625 [C99-based-standards] (PRIoLEAST16): Likewise.
4626 [C99-based-standards] (PRIuLEAST16): Likewise.
4627 [C99-based-standards] (PRIxLEAST16): Likewise.
4628 [C99-based-standards] (PRIXLEAST16): Likewise.
4629 [C99-based-standards] (SCNdLEAST16): Likewise.
4630 [C99-based-standards] (SCNiLEAST16): Likewise.
4631 [C99-based-standards] (SCNoLEAST16): Likewise.
4632 [C99-based-standards] (SCNuLEAST16): Likewise.
4633 [C99-based-standards] (SCNxLEAST16): Likewise.
4634 [C99-based-standards] (PRIdFAST16): Likewise.
4635 [C99-based-standards] (PRIiFAST16): Likewise.
4636 [C99-based-standards] (PRIoFAST16): Likewise.
4637 [C99-based-standards] (PRIuFAST16): Likewise.
4638 [C99-based-standards] (PRIxFAST16): Likewise.
4639 [C99-based-standards] (PRIXFAST16): Likewise.
4640 [C99-based-standards] (SCNdFAST16): Likewise.
4641 [C99-based-standards] (SCNiFAST16): Likewise.
4642 [C99-based-standards] (SCNoFAST16): Likewise.
4643 [C99-based-standards] (SCNuFAST16): Likewise.
4644 [C99-based-standards] (SCNxFAST16): Likewise.
4645 [C99-based-standards] (PRId32): Likewise.
4646 [C99-based-standards] (PRIi32): Likewise.
4647 [C99-based-standards] (PRIo32): Likewise.
4648 [C99-based-standards] (PRIu32): Likewise.
4649 [C99-based-standards] (PRIx32): Likewise.
4650 [C99-based-standards] (PRIX32): Likewise.
4651 [C99-based-standards] (SCNd32): Likewise.
4652 [C99-based-standards] (SCNi32): Likewise.
4653 [C99-based-standards] (SCNo32): Likewise.
4654 [C99-based-standards] (SCNu32): Likewise.
4655 [C99-based-standards] (SCNx32): Likewise.
4656 [C99-based-standards] (PRIdLEAST32): Likewise.
4657 [C99-based-standards] (PRIiLEAST32): Likewise.
4658 [C99-based-standards] (PRIoLEAST32): Likewise.
4659 [C99-based-standards] (PRIuLEAST32): Likewise.
4660 [C99-based-standards] (PRIxLEAST32): Likewise.
4661 [C99-based-standards] (PRIXLEAST32): Likewise.
4662 [C99-based-standards] (SCNdLEAST32): Likewise.
4663 [C99-based-standards] (SCNiLEAST32): Likewise.
4664 [C99-based-standards] (SCNoLEAST32): Likewise.
4665 [C99-based-standards] (SCNuLEAST32): Likewise.
4666 [C99-based-standards] (SCNxLEAST32): Likewise.
4667 [C99-based-standards] (PRIdFAST32): Likewise.
4668 [C99-based-standards] (PRIiFAST32): Likewise.
4669 [C99-based-standards] (PRIoFAST32): Likewise.
4670 [C99-based-standards] (PRIuFAST32): Likewise.
4671 [C99-based-standards] (PRIxFAST32): Likewise.
4672 [C99-based-standards] (PRIXFAST32): Likewise.
4673 [C99-based-standards] (SCNdFAST32): Likewise.
4674 [C99-based-standards] (SCNiFAST32): Likewise.
4675 [C99-based-standards] (SCNoFAST32): Likewise.
4676 [C99-based-standards] (SCNuFAST32): Likewise.
4677 [C99-based-standards] (SCNxFAST32): Likewise.
4678 [C99-based-standards] (PRId64): Likewise.
4679 [C99-based-standards] (PRIi64): Likewise.
4680 [C99-based-standards] (PRIo64): Likewise.
4681 [C99-based-standards] (PRIu64): Likewise.
4682 [C99-based-standards] (PRIx64): Likewise.
4683 [C99-based-standards] (PRIX64): Likewise.
4684 [C99-based-standards] (SCNd64): Likewise.
4685 [C99-based-standards] (SCNi64): Likewise.
4686 [C99-based-standards] (SCNo64): Likewise.
4687 [C99-based-standards] (SCNu64): Likewise.
4688 [C99-based-standards] (SCNx64): Likewise.
4689 [C99-based-standards] (PRIdLEAST64): Likewise.
4690 [C99-based-standards] (PRIiLEAST64): Likewise.
4691 [C99-based-standards] (PRIoLEAST64): Likewise.
4692 [C99-based-standards] (PRIuLEAST64): Likewise.
4693 [C99-based-standards] (PRIxLEAST64): Likewise.
4694 [C99-based-standards] (PRIXLEAST64): Likewise.
4695 [C99-based-standards] (SCNdLEAST64): Likewise.
4696 [C99-based-standards] (SCNiLEAST64): Likewise.
4697 [C99-based-standards] (SCNoLEAST64): Likewise.
4698 [C99-based-standards] (SCNuLEAST64): Likewise.
4699 [C99-based-standards] (SCNxLEAST64): Likewise.
4700 [C99-based-standards] (PRIdFAST64): Likewise.
4701 [C99-based-standards] (PRIiFAST64): Likewise.
4702 [C99-based-standards] (PRIoFAST64): Likewise.
4703 [C99-based-standards] (PRIuFAST64): Likewise.
4704 [C99-based-standards] (PRIxFAST64): Likewise.
4705 [C99-based-standards] (PRIXFAST64): Likewise.
4706 [C99-based-standards] (SCNdFAST64): Likewise.
4707 [C99-based-standards] (SCNiFAST64): Likewise.
4708 [C99-based-standards] (SCNoFAST64): Likewise.
4709 [C99-based-standards] (SCNuFAST64): Likewise.
4710 [C99-based-standards] (SCNxFAST64): Likewise.
4711 [C99-based-standards] (PRIdMAX): Likewise.
4712 [C99-based-standards] (PRIiMAX): Likewise.
4713 [C99-based-standards] (PRIoMAX): Likewise.
4714 [C99-based-standards] (PRIuMAX): Likewise.
4715 [C99-based-standards] (PRIxMAX): Likewise.
4716 [C99-based-standards] (PRIXMAX): Likewise.
4717 [C99-based-standards] (SCNdMAX): Likewise.
4718 [C99-based-standards] (SCNiMAX): Likewise.
4719 [C99-based-standards] (SCNoMAX): Likewise.
4720 [C99-based-standards] (SCNuMAX): Likewise.
4721 [C99-based-standards] (SCNxMAX): Likewise.
4722 [C99-based-standards] (PRIdPTR): Likewise.
4723 [C99-based-standards] (PRIiPTR): Likewise.
4724 [C99-based-standards] (PRIoPTR): Likewise.
4725 [C99-based-standards] (PRIuPTR): Likewise.
4726 [C99-based-standards] (PRIxPTR): Likewise.
4727 [C99-based-standards] (PRIXPTR): Likewise.
4728 [C99-based-standards] (SCNdPTR): Likewise.
4729 [C99-based-standards] (SCNiPTR): Likewise.
4730 [C99-based-standards] (SCNoPTR): Likewise.
4731 [C99-based-standards] (SCNuPTR): Likewise.
4732 [C99-based-standards] (SCNxPTR): Likewise.
4733 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4734 allow.
4735 * conform/data/stdint.h-data: Update comments to clarify
4736 requirements.
4737 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4738 type.
4739 [C99-based standards] (INT8_MAX): Likewise.
4740 [C99-based standards] (INT16_MIN): Likewise.
4741 [C99-based standards] (INT16_MAX): Likewise.
4742 [C99-based standards] (INT32_MIN): Likewise.
4743 [C99-based standards] (INT32_MAX): Likewise.
4744 [C99-based standards] (INT64_MIN): Likewise.
4745 [C99-based standards] (INT64_MAX): Likewise.
4746 [C99-based standards] (UINT8_MAX): Likewise.
4747 [C99-based standards] (UINT16_MAX): Likewise.
4748 [C99-based standards] (UINT32_MAX): Likewise.
4749 [C99-based standards] (UINT64_MAX): Likewise.
4750 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4751 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4752 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4753 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4754 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4755 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4756 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4757 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4758 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4759 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4760 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4761 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4762 [C99-based standards] (INT_FAST8_MIN): Likewise.
4763 [C99-based standards] (INT_FAST8_MAX): Likewise.
4764 [C99-based standards] (INT_FAST16_MIN): Likewise.
4765 [C99-based standards] (INT_FAST16_MAX): Likewise.
4766 [C99-based standards] (INT_FAST32_MIN): Likewise.
4767 [C99-based standards] (INT_FAST32_MAX): Likewise.
4768 [C99-based standards] (INT_FAST64_MIN): Likewise.
4769 [C99-based standards] (INT_FAST64_MAX): Likewise.
4770 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4771 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4772 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4773 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4774 [C99-based standards] (INTPTR_MIN): Likewise.
4775 [C99-based standards] (INTPTR_MAX): Likewise.
4776 [C99-based standards] (UINTPTR_MAX): Likewise.
4777 [C99-based standards] (INTMAX_MIN): Likewise.
4778 [C99-based standards] (INTMAX_MAX): Likewise.
4779 [C99-based standards] (UINTMAX_MAX): Likewise.
4780 [C99-based standards] (PTRDIFF_MIN): Likewise.
4781 [C99-based standards] (PTRDIFF_MAX): Likewise.
4782 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4783 [C99-based standards] (SIZE_MAX): Likewise.
4784 [C99-based standards] (WCHAR_MAX): Likewise.
4785 [C99-based standards] (WINT_MAX): Likewise.
4786 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4787 constraint on value.
4788 [C99-based standards] (WCHAR_MIN): Likewise.
4789 [C99-based standards] (WINT_MIN): Likewise.
4790 [C99-based standards] (*_t): Allow.
4791 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4792 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4793 Include math.h-data and complex.h-data. Remove all expectations
4794 of math.h and complex.h contents.
4795 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4796 at end of line.
4797 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4798 (struct tm): Expect tag.
4799 [C99-based-standards] (wcstof): Expect function.
4800 [C99-based-standards] (wcstold): Likewise.
4801 [C99-based-standards] (wcstoll): Likewise.
4802 [C99-based-standards] (wcstoull): Likewise.
4803 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4804 macro-int-constant. Specify type.
4805 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4806 constraint on value.
4807 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4808 Specify type.
4809 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4810 Specify value.
4811 [ISO C standards]: Do not allow headers.
4812 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4813 wcs[abcdefghijklmnopqrstuvwxyz]*.
4814 [ISO C standards] (*_t): Do not allow.
4815 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4816 Expect function.
4817 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4818 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4819 Specify type.
4820 [ISO C standards]: Do not allow headers.
4821 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4822 is[abcdefghijklmnopqrstuvwxyz]*.
4823 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4824 to[abcdefghijklmnopqrstuvwxyz]*.
4825 [ISO C standards] (*_t): Do not allow.
4826 * conform/data/stdalign.h-data: New file.
4827 * conform/data/stdbool.h-data: Likewise.
4828 * conform/data/stdnoreturn.h-data: Likewise.
4829
4830 2012-11-07 Roland McGrath <roland@hack.frob.com>
4831
4832 [BZ #14815]
4833 * manual/filesys.texi (Directory Entries): Typo fix.
4834 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4835
4836 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4837
4838 * elf/elf.h (EM_AARCH64): New macro.
4839 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4840 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4841 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4842 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4843 (R_AARCH64_TLSDESC): Likewise.
4844 (NT_ARM_TLS): Likewise.
4845 (NT_ARM_HW_BREAK): Likewise.
4846 (NT_ARM_HW_WATCH): Likewise.
4847
4848 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4849
4850 [BZ #14811]
4851 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4852 (__ieee754_powl): Saturate nonzero exponents with absolute value
4853 below 0x1p-79 to +/- 0x1p-79.
4854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4855 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4856 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4857 nonzero exponents with absolute value below 0x1p-32 to +/-
4858 0x1p-32.
4859 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4860 (__ieee754_powl): Saturate nonzero exponents with absolute value
4861 below 0x1p-79 to +/- 0x1p-79.
4862 * math/libm-test.inc (pow_test): Add more tests.
4863
4864 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4865
4866 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4867 _dl_s390_cap_flags with kernel. Increase string length.
4868 (_dl_s390_platforms): Add z196 and zEC12.
4869
4870 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4871
4872 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4873 Change XOPEN21K to XOPEN2K.
4874
4875 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4876
4877 * string/memmove.c: Use memcpy when possible.
4878
4879 2012-11-06 Andreas Jaeger <aj@suse.de>
4880
4881 * po/eo.po: Update from translation team.
4882
4883 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4884
4885 [BZ #14793]
4886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4887 exponent and small x and y exponents, scale x or y up. Increase
4888 by 2 the exponent used in scaling up.
4889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4891 * math/libm-test.inc (fma_test): Add more tests.
4892 (fma_test_towardzero): Likewise.
4893 (fma_test_downward): Likewise.
4894 (fma_test_upward): Likewise.
4895
4896 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4897
4898 [BZ #14805]
4899 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4900 fenv_t *.
4901
4902 [BZ #14801]
4903 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4904 namespace for names of struct fields.
4905 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4906 fenv_t fields.
4907 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4908 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4909
4910 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4911
4912 [BZ #3665]
4913 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4914
4915 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4916
4917 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4918 PTR_DEMANGLE.
4919
4920 [BZ #5246]
4921 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4922 PTR_DEMANGLE.
4923
4924 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4925
4926 [BZ #14797]
4927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4928 definitely overflow as x * y not x * y + z.
4929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4931 * math/libm-test.inc (fma_test): Add more tests.
4932 (fma_test_towardzero): Likewise.
4933 (fma_test_downward): Likewise.
4934 (fma_test_upward): Likewise.
4935
4936 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4937
4938 [BZ #157]
4939
4940 * include/stub-tag.h: Remove file.
4941 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4942 '#include' of it.
4943 * manual/maint.texi (Porting): Don't reference it.
4944 * Makerules ($(objpfx)stubs): Likewise.
4945 * dirent/closedir.c: Don't include <stub-tag.h>.
4946 * dirent/dirfd.c: Likewise.
4947 * dirent/fdopendir.c: Likewise.
4948 * dirent/getdents.c: Likewise.
4949 * dirent/getdents64.c: Likewise.
4950 * dirent/opendir.c: Likewise.
4951 * dirent/readdir.c: Likewise.
4952 * dirent/readdir64.c: Likewise.
4953 * dirent/readdir64_r.c: Likewise.
4954 * dirent/readdir_r.c: Likewise.
4955 * dirent/rewinddir.c: Likewise.
4956 * dirent/seekdir.c: Likewise.
4957 * dirent/telldir.c: Likewise.
4958 * gmon/profil.c: Likewise.
4959 * grp/setgroups.c: Likewise.
4960 * inet/if_index.c: Likewise.
4961 * io/access.c: Likewise.
4962 * io/chdir.c: Likewise.
4963 * io/chmod.c: Likewise.
4964 * io/chown.c: Likewise.
4965 * io/close.c: Likewise.
4966 * io/dup.c: Likewise.
4967 * io/dup2.c: Likewise.
4968 * io/dup3.c: Likewise.
4969 * io/euidaccess.c: Likewise.
4970 * io/faccessat.c: Likewise.
4971 * io/fchdir.c: Likewise.
4972 * io/fchmod.c: Likewise.
4973 * io/fchmodat.c: Likewise.
4974 * io/fchown.c: Likewise.
4975 * io/fchownat.c: Likewise.
4976 * io/fcntl.c: Likewise.
4977 * io/flock.c: Likewise.
4978 * io/fstatfs.c: Likewise.
4979 * io/fstatfs64.c: Likewise.
4980 * io/fstatvfs.c: Likewise.
4981 * io/fstatvfs64.c: Likewise.
4982 * io/futimens.c: Likewise.
4983 * io/fxstat.c: Likewise.
4984 * io/fxstat64.c: Likewise.
4985 * io/fxstatat.c: Likewise.
4986 * io/fxstatat64.c: Likewise.
4987 * io/getcwd.c: Likewise.
4988 * io/isatty.c: Likewise.
4989 * io/lchmod.c: Likewise.
4990 * io/lchown.c: Likewise.
4991 * io/link.c: Likewise.
4992 * io/linkat.c: Likewise.
4993 * io/lseek.c: Likewise.
4994 * io/lseek64.c: Likewise.
4995 * io/lxstat64.c: Likewise.
4996 * io/mkdir.c: Likewise.
4997 * io/mkdirat.c: Likewise.
4998 * io/mkfifo.c: Likewise.
4999 * io/mkfifoat.c: Likewise.
5000 * io/open.c: Likewise.
5001 * io/open64.c: Likewise.
5002 * io/openat.c: Likewise.
5003 * io/openat64.c: Likewise.
5004 * io/pipe.c: Likewise.
5005 * io/pipe2.c: Likewise.
5006 * io/poll.c: Likewise.
5007 * io/posix_fadvise.c: Likewise.
5008 * io/posix_fadvise64.c: Likewise.
5009 * io/posix_fallocate.c: Likewise.
5010 * io/posix_fallocate64.c: Likewise.
5011 * io/read.c: Likewise.
5012 * io/readlink.c: Likewise.
5013 * io/readlinkat.c: Likewise.
5014 * io/rmdir.c: Likewise.
5015 * io/sendfile.c: Likewise.
5016 * io/sendfile64.c: Likewise.
5017 * io/statfs.c: Likewise.
5018 * io/statfs64.c: Likewise.
5019 * io/statvfs.c: Likewise.
5020 * io/statvfs64.c: Likewise.
5021 * io/symlink.c: Likewise.
5022 * io/symlinkat.c: Likewise.
5023 * io/ttyname.c: Likewise.
5024 * io/ttyname_r.c: Likewise.
5025 * io/umask.c: Likewise.
5026 * io/unlink.c: Likewise.
5027 * io/unlinkat.c: Likewise.
5028 * io/utime.c: Likewise.
5029 * io/utimensat.c: Likewise.
5030 * io/write.c: Likewise.
5031 * io/xmknod.c: Likewise.
5032 * io/xmknodat.c: Likewise.
5033 * io/xstat.c: Likewise.
5034 * io/xstat64.c: Likewise.
5035 * login/getpt.c: Likewise.
5036 * login/grantpt.c: Likewise.
5037 * login/unlockpt.c: Likewise.
5038 * math/e_acoshl.c: Likewise.
5039 * math/e_acosl.c: Likewise.
5040 * math/e_asinl.c: Likewise.
5041 * math/e_atan2l.c: Likewise.
5042 * math/e_atanhl.c: Likewise.
5043 * math/e_coshl.c: Likewise.
5044 * math/e_expl.c: Likewise.
5045 * math/e_fmodl.c: Likewise.
5046 * math/e_gammal_r.c: Likewise.
5047 * math/e_hypotl.c: Likewise.
5048 * math/e_j0l.c: Likewise.
5049 * math/e_j1l.c: Likewise.
5050 * math/e_jnl.c: Likewise.
5051 * math/e_lgammal_r.c: Likewise.
5052 * math/e_log10l.c: Likewise.
5053 * math/e_log2l.c: Likewise.
5054 * math/e_logl.c: Likewise.
5055 * math/e_powl.c: Likewise.
5056 * math/e_rem_pio2l.c: Likewise.
5057 * math/e_sinhl.c: Likewise.
5058 * math/e_sqrtl.c: Likewise.
5059 * math/fclrexcpt.c: Likewise.
5060 * math/fedisblxcpt.c: Likewise.
5061 * math/feenablxcpt.c: Likewise.
5062 * math/fegetenv.c: Likewise.
5063 * math/fegetexcept.c: Likewise.
5064 * math/fegetround.c: Likewise.
5065 * math/feholdexcpt.c: Likewise.
5066 * math/fesetenv.c: Likewise.
5067 * math/fesetround.c: Likewise.
5068 * math/feupdateenv.c: Likewise.
5069 * math/fgetexcptflg.c: Likewise.
5070 * math/fraiseexcpt.c: Likewise.
5071 * math/fsetexcptflg.c: Likewise.
5072 * math/ftestexcept.c: Likewise.
5073 * math/k_cosl.c: Likewise.
5074 * math/k_rem_pio2l.c: Likewise.
5075 * math/k_sinl.c: Likewise.
5076 * math/k_tanl.c: Likewise.
5077 * math/s_asinhl.c: Likewise.
5078 * math/s_atanl.c: Likewise.
5079 * math/s_cbrtl.c: Likewise.
5080 * math/s_erfl.c: Likewise.
5081 * math/s_expm1l.c: Likewise.
5082 * math/s_log1pl.c: Likewise.
5083 * math/s_tanhl.c: Likewise.
5084 * misc/acct.c: Likewise.
5085 * misc/brk.c: Likewise.
5086 * misc/chflags.c: Likewise.
5087 * misc/chroot.c: Likewise.
5088 * misc/fchflags.c: Likewise.
5089 * misc/fgetxattr.c: Likewise.
5090 * misc/flistxattr.c: Likewise.
5091 * misc/fremovexattr.c: Likewise.
5092 * misc/fsetxattr.c: Likewise.
5093 * misc/fsync.c: Likewise.
5094 * misc/ftruncate.c: Likewise.
5095 * misc/futimes.c: Likewise.
5096 * misc/futimesat.c: Likewise.
5097 * misc/getdomain.c: Likewise.
5098 * misc/getdtsz.c: Likewise.
5099 * misc/gethostid.c: Likewise.
5100 * misc/gethostname.c: Likewise.
5101 * misc/getloadavg.c: Likewise.
5102 * misc/getpagesize.c: Likewise.
5103 * misc/getsysstats.c: Likewise.
5104 * misc/getxattr.c: Likewise.
5105 * misc/gtty.c: Likewise.
5106 * misc/ioctl.c: Likewise.
5107 * misc/lgetxattr.c: Likewise.
5108 * misc/listxattr.c: Likewise.
5109 * misc/llistxattr.c: Likewise.
5110 * misc/lremovexattr.c: Likewise.
5111 * misc/lsetxattr.c: Likewise.
5112 * misc/lutimes.c: Likewise.
5113 * misc/madvise.c: Likewise.
5114 * misc/mincore.c: Likewise.
5115 * misc/mlock.c: Likewise.
5116 * misc/mlockall.c: Likewise.
5117 * misc/mmap.c: Likewise.
5118 * misc/mprotect.c: Likewise.
5119 * misc/msync.c: Likewise.
5120 * misc/munlock.c: Likewise.
5121 * misc/munlockall.c: Likewise.
5122 * misc/munmap.c: Likewise.
5123 * misc/preadv.c: Likewise.
5124 * misc/preadv64.c: Likewise.
5125 * misc/ptrace.c: Likewise.
5126 * misc/pwritev.c: Likewise.
5127 * misc/pwritev64.c: Likewise.
5128 * misc/readv.c: Likewise.
5129 * misc/reboot.c: Likewise.
5130 * misc/remap_file_pages.c: Likewise.
5131 * misc/removexattr.c: Likewise.
5132 * misc/revoke.c: Likewise.
5133 * misc/select.c: Likewise.
5134 * misc/setdomain.c: Likewise.
5135 * misc/setegid.c: Likewise.
5136 * misc/seteuid.c: Likewise.
5137 * misc/sethostid.c: Likewise.
5138 * misc/sethostname.c: Likewise.
5139 * misc/setregid.c: Likewise.
5140 * misc/setreuid.c: Likewise.
5141 * misc/setxattr.c: Likewise.
5142 * misc/sstk.c: Likewise.
5143 * misc/stty.c: Likewise.
5144 * misc/swapoff.c: Likewise.
5145 * misc/swapon.c: Likewise.
5146 * misc/sync.c: Likewise.
5147 * misc/syncfs.c: Likewise.
5148 * misc/syscall.c: Likewise.
5149 * misc/truncate.c: Likewise.
5150 * misc/ualarm.c: Likewise.
5151 * misc/usleep.c: Likewise.
5152 * misc/ustat.c: Likewise.
5153 * misc/utimes.c: Likewise.
5154 * misc/vhangup.c: Likewise.
5155 * misc/writev.c: Likewise.
5156 * posix/_exit.c: Likewise.
5157 * posix/alarm.c: Likewise.
5158 * posix/execve.c: Likewise.
5159 * posix/fexecve.c: Likewise.
5160 * posix/fork.c: Likewise.
5161 * posix/fpathconf.c: Likewise.
5162 * posix/getaddrinfo.c: Likewise.
5163 * posix/getegid.c: Likewise.
5164 * posix/geteuid.c: Likewise.
5165 * posix/getgid.c: Likewise.
5166 * posix/getgroups.c: Likewise.
5167 * posix/getlogin.c: Likewise.
5168 * posix/getlogin_r.c: Likewise.
5169 * posix/getpgid.c: Likewise.
5170 * posix/getpid.c: Likewise.
5171 * posix/getppid.c: Likewise.
5172 * posix/getresgid.c: Likewise.
5173 * posix/getresuid.c: Likewise.
5174 * posix/getsid.c: Likewise.
5175 * posix/getuid.c: Likewise.
5176 * posix/glob64.c: Likewise.
5177 * posix/nanosleep.c: Likewise.
5178 * posix/pathconf.c: Likewise.
5179 * posix/pause.c: Likewise.
5180 * posix/posix_madvise.c: Likewise.
5181 * posix/pread.c: Likewise.
5182 * posix/pread64.c: Likewise.
5183 * posix/pwrite.c: Likewise.
5184 * posix/pwrite64.c: Likewise.
5185 * posix/sched_getaffinity.c: Likewise.
5186 * posix/sched_getp.c: Likewise.
5187 * posix/sched_gets.c: Likewise.
5188 * posix/sched_primax.c: Likewise.
5189 * posix/sched_primin.c: Likewise.
5190 * posix/sched_rr_gi.c: Likewise.
5191 * posix/sched_setaffinity.c: Likewise.
5192 * posix/sched_setp.c: Likewise.
5193 * posix/sched_sets.c: Likewise.
5194 * posix/sched_yield.c: Likewise.
5195 * posix/setgid.c: Likewise.
5196 * posix/setlogin.c: Likewise.
5197 * posix/setpgid.c: Likewise.
5198 * posix/setresgid.c: Likewise.
5199 * posix/setresuid.c: Likewise.
5200 * posix/setsid.c: Likewise.
5201 * posix/setuid.c: Likewise.
5202 * posix/sleep.c: Likewise.
5203 * posix/spawni.c: Likewise.
5204 * posix/sysconf.c: Likewise.
5205 * posix/times.c: Likewise.
5206 * posix/wait.c: Likewise.
5207 * posix/wait3.c: Likewise.
5208 * posix/wait4.c: Likewise.
5209 * posix/waitpid.c: Likewise.
5210 * resolv/gai_sigqueue.c: Likewise.
5211 * resource/getpriority.c: Likewise.
5212 * resource/getrlimit.c: Likewise.
5213 * resource/getrusage.c: Likewise.
5214 * resource/nice.c: Likewise.
5215 * resource/setpriority.c: Likewise.
5216 * resource/setrlimit.c: Likewise.
5217 * resource/ulimit.c: Likewise.
5218 * rt/aio_cancel.c: Likewise.
5219 * rt/aio_fsync.c: Likewise.
5220 * rt/aio_read.c: Likewise.
5221 * rt/aio_sigqueue.c: Likewise.
5222 * rt/aio_suspend.c: Likewise.
5223 * rt/aio_write.c: Likewise.
5224 * rt/clock_getres.c: Likewise.
5225 * rt/clock_gettime.c: Likewise.
5226 * rt/clock_nanosleep.c: Likewise.
5227 * rt/clock_settime.c: Likewise.
5228 * rt/lio_listio.c: Likewise.
5229 * rt/mq_close.c: Likewise.
5230 * rt/mq_getattr.c: Likewise.
5231 * rt/mq_notify.c: Likewise.
5232 * rt/mq_open.c: Likewise.
5233 * rt/mq_receive.c: Likewise.
5234 * rt/mq_send.c: Likewise.
5235 * rt/mq_setattr.c: Likewise.
5236 * rt/mq_timedreceive.c: Likewise.
5237 * rt/mq_timedsend.c: Likewise.
5238 * rt/mq_unlink.c: Likewise.
5239 * rt/shm_open.c: Likewise.
5240 * rt/shm_unlink.c: Likewise.
5241 * rt/timer_create.c: Likewise.
5242 * rt/timer_delete.c: Likewise.
5243 * rt/timer_getoverr.c: Likewise.
5244 * rt/timer_gettime.c: Likewise.
5245 * rt/timer_settime.c: Likewise.
5246 * setjmp/__longjmp.c: Likewise.
5247 * setjmp/setjmp.c: Likewise.
5248 * signal/kill.c: Likewise.
5249 * signal/killpg.c: Likewise.
5250 * signal/raise.c: Likewise.
5251 * signal/sigaction.c: Likewise.
5252 * signal/sigaltstack.c: Likewise.
5253 * signal/sigblock.c: Likewise.
5254 * signal/sigignore.c: Likewise.
5255 * signal/sigintr.c: Likewise.
5256 * signal/signal.c: Likewise.
5257 * signal/sigpause.c: Likewise.
5258 * signal/sigpending.c: Likewise.
5259 * signal/sigqueue.c: Likewise.
5260 * signal/sigreturn.c: Likewise.
5261 * signal/sigset.c: Likewise.
5262 * signal/sigsetmask.c: Likewise.
5263 * signal/sigstack.c: Likewise.
5264 * signal/sigsuspend.c: Likewise.
5265 * signal/sigtimedwait.c: Likewise.
5266 * signal/sigvec.c: Likewise.
5267 * signal/sigwait.c: Likewise.
5268 * signal/sigwaitinfo.c: Likewise.
5269 * signal/sysv_signal.c: Likewise.
5270 * socket/accept.c: Likewise.
5271 * socket/accept4.c: Likewise.
5272 * socket/bind.c: Likewise.
5273 * socket/connect.c: Likewise.
5274 * socket/getpeername.c: Likewise.
5275 * socket/getsockname.c: Likewise.
5276 * socket/getsockopt.c: Likewise.
5277 * socket/isfdtype.c: Likewise.
5278 * socket/listen.c: Likewise.
5279 * socket/recv.c: Likewise.
5280 * socket/recvfrom.c: Likewise.
5281 * socket/recvmsg.c: Likewise.
5282 * socket/send.c: Likewise.
5283 * socket/sendmsg.c: Likewise.
5284 * socket/sendto.c: Likewise.
5285 * socket/setsockopt.c: Likewise.
5286 * socket/shutdown.c: Likewise.
5287 * socket/sockatmark.c: Likewise.
5288 * socket/socket.c: Likewise.
5289 * socket/socketpair.c: Likewise.
5290 * stdio-common/ctermid.c: Likewise.
5291 * stdio-common/cuserid.c: Likewise.
5292 * stdio-common/remove.c: Likewise.
5293 * stdio-common/rename.c: Likewise.
5294 * stdio-common/renameat.c: Likewise.
5295 * stdio-common/tempname.c: Likewise.
5296 * stdlib/getcontext.c: Likewise.
5297 * stdlib/makecontext.c: Likewise.
5298 * stdlib/setcontext.c: Likewise.
5299 * stdlib/swapcontext.c: Likewise.
5300 * stdlib/system.c: Likewise.
5301 * streams/fattach.c: Likewise.
5302 * streams/fdetach.c: Likewise.
5303 * streams/getmsg.c: Likewise.
5304 * streams/getpmsg.c: Likewise.
5305 * streams/putmsg.c: Likewise.
5306 * streams/putpmsg.c: Likewise.
5307 * sysdeps/unix/bsd/getpt.c: Likewise.
5308 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5309 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5310 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5312 Likewise.
5313 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5315 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5316 * sysvipc/msgctl.c: Likewise.
5317 * sysvipc/msgget.c: Likewise.
5318 * sysvipc/msgrcv.c: Likewise.
5319 * sysvipc/msgsnd.c: Likewise.
5320 * sysvipc/semctl.c: Likewise.
5321 * sysvipc/semget.c: Likewise.
5322 * sysvipc/semop.c: Likewise.
5323 * sysvipc/semtimedop.c: Likewise.
5324 * sysvipc/shmat.c: Likewise.
5325 * sysvipc/shmctl.c: Likewise.
5326 * sysvipc/shmdt.c: Likewise.
5327 * sysvipc/shmget.c: Likewise.
5328 * termios/tcdrain.c: Likewise.
5329 * termios/tcflow.c: Likewise.
5330 * termios/tcflush.c: Likewise.
5331 * termios/tcgetattr.c: Likewise.
5332 * termios/tcgetpgrp.c: Likewise.
5333 * termios/tcsendbrk.c: Likewise.
5334 * termios/tcsetattr.c: Likewise.
5335 * termios/tcsetpgrp.c: Likewise.
5336 * time/adjtime.c: Likewise.
5337 * time/clock.c: Likewise.
5338 * time/getitimer.c: Likewise.
5339 * time/gettimeofday.c: Likewise.
5340 * time/setitimer.c: Likewise.
5341 * time/settimeofday.c: Likewise.
5342 * time/stime.c: Likewise.
5343 * time/time.c: Likewise.
5344
5345 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5346
5347 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5348 /usr/old/bin.
5349
5350 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5351 instead of spaces.
5352 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5353
5354 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5355
5356 [BZ #14796]
5357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5358 FE_TONEAREST before applying Dekker multiplication and Knuth
5359 addition. Clear inexact exceptions and check for exact zero
5360 results afterwards.
5361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5362 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5364 * math/libm-test.inc (fma_test): Add more tests.
5365 (fma_test_towardzero): Likewise.
5366 (fma_test_downward): Likewise.
5367 (fma_test_upward): Likewise.
5368 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5369 function.
5370 (libc_fesetround): New macro.
5371 (libc_fesetroundf): Likewise.
5372 (libc_fesetroundl): Likewise.
5373 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5374 function.
5375 (libc_fesetround_387): Likewise.
5376 (libc_fesetroundf): New macro.
5377 (libc_fesetround): Likewise.
5378 (libc_fesetroundl): Likewise.
5379 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5380 function.
5381 (libc_fesetroundf): New macro.
5382 (libc_fesetround): Likewise.
5383 (libc_fesetroundl): Likewise.
5384 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5385 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5386 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5387 libm_hidden_ver.
5388 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5389 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5390 libm_hidden_def.
5391 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5392 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5393 libm_hidden_ver.
5394 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5395 libm_hidden_def.
5396
5397 [BZ #3439]
5398 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5399 integer constant usable in #if and use that to give value to enum
5400 constant.
5401 (FE_DIVBYZERO): Likewise.
5402 (FE_UNDERFLOW): Likewise.
5403 (FE_OVERFLOW): Likewise.
5404 (FE_INVALID): Likewise.
5405 (FE_INVALID_SNAN): Likewise.
5406 (FE_INVALID_ISI): Likewise.
5407 (FE_INVALID_IDI): Likewise.
5408 (FE_INVALID_ZDZ): Likewise.
5409 (FE_INVALID_IMZ): Likewise.
5410 (FE_INVALID_COMPARE): Likewise.
5411 (FE_INVALID_SOFTWARE): Likewise.
5412 (FE_INVALID_SQRT): Likewise.
5413 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5414 (FE_TONEAREST): Likewise.
5415 (FE_TOWARDZERO): Likewise.
5416 (FE_UPWARD): Likewise.
5417 (FE_DOWNWARD): Likewise.
5418 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5419 (FE_DIVBYZERO): Likewise.
5420 (FE_OVERFLOW): Likewise.
5421 (FE_UNDERFLOW): Likewise.
5422 (FE_INEXACT): Likewise.
5423 (FE_TONEAREST): Likewise.
5424 (FE_DOWNWARD): Likewise.
5425 (FE_UPWARD): Likewise.
5426 (FE_TOWARDZERO): Likewise.
5427 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5428 (FE_UNDERFLOW): Likewise.
5429 (FE_OVERFLOW): Likewise.
5430 (FE_DIVBYZERO): Likewise.
5431 (FE_INVALID): Likewise.
5432 (FE_TONEAREST): Likewise.
5433 (FE_TOWARDZERO): Likewise.
5434 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5435 (FE_OVERFLOW): Likewise.
5436 (FE_UNDERFLOW): Likewise.
5437 (FE_DIVBYZERO): Likewise.
5438 (FE_INEXACT): Likewise.
5439 (FE_TONEAREST): Likewise.
5440 (FE_TOWARDZERO): Likewise.
5441 (FE_UPWARD): Likewise.
5442 (FE_DOWNWARD): Likewise.
5443 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5444 (FE_DIVBYZERO): Likewise.
5445 (FE_OVERFLOW): Likewise.
5446 (FE_UNDERFLOW): Likewise.
5447 (FE_INEXACT): Likewise.
5448 (FE_TONEAREST): Likewise.
5449 (FE_DOWNWARD): Likewise.
5450 (FE_UPWARD): Likewise.
5451 (FE_TOWARDZERO): Likewise.
5452
5453 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5454
5455 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5456
5457 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5458
5459 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5460 commands. Quote $PWD.
5461 (blacklist_exports): Don't use remove_newlines. Replace "declare
5462 -x" by "export".
5463 (remove_newlines): Remove.
5464
5465 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5466
5467 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5468 * stdlib/stdlib.h (atof): Moved to ...
5469 * include/bits/stdlib-float.h: Here. New file.
5470 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5471 * stdlib/bits/stdlib-float.h: New file.
5472 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5473 -mno-sse -mno-mmx.
5474 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5475 <xmmintrin.h>.
5476
5477 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5478
5479 * conform/conformtest.pl (@headers): Add fenv.h.
5480 * conform/data/fenv.h-data: New file.
5481 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5482 include of <math/fenv.h>.
5483
5484 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5485 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5486 && !UNIX98]. Enables tests for XOPEN2K8.
5487 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5488 POSIX2008]: Likewise.
5489
5490 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5491 (struct rusage): Do not expect type or its members.
5492
5493 [BZ #3439]
5494 * math/math.h (FP_NAN): Define macro to integer constant usable in
5495 #if and use that to give value to enum constant.
5496 (FP_INFINITE): Likewise.
5497 (FP_ZERO): Likewise.
5498 (FP_SUBNORMAL): Likewise.
5499 (FP_NORMAL): Likewise.
5500
5501 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5502
5503 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5504 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5505 arguments.
5506
5507 2012-11-02 Roland McGrath <roland@hack.frob.com>
5508
5509 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5510 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5511 autoconf-time if not.
5512 * configure.in: Remove AC_PREREQ.
5513
5514 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5515
5516 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5517 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5518 of the internal implementation.
5519
5520 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5521
5522 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5523 except include of <misc/sys/syslog.h>.
5524
5525 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5526
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5528 function returns with a NULL context exit with zero.
5529
5530 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5531
5532 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5533
5534 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5535
5536 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5537 (run_program_cmd): This.
5538 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5539 (tst_langinfo): New variable. Use it.
5540
5541 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5542
5543 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5544 floating point opcodes.
5545
5546 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5547
5548 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5549 variable.
5550
5551 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5552
5553 * sysdeps/mach/hurd/powerpc: Remove directory.
5554 * sysdeps/mach/powerpc: Likewise.
5555
5556 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5557
5558 * scripts/check-local-headers.sh: Ignore c++ headers.
5559
5560 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5561
5562 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5563 __libc_cleanup_region_start argument.
5564
5565 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5566
5567 [BZ #14784]
5568 [BZ #14785]
5569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5570 x * y using scaling, not as x * y + z.
5571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5573 * math/libm-test.inc (fma_test): Add more tests.
5574 (fma_test_towardzero): Likewise.
5575 (fma_test_downward): Likewise.
5576 (fma_test_upward): Likewise.
5577
5578 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5579
5580 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5581
5582 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5583
5584 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5585 New variable.
5586
5587 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5588
5589 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5590
5591 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5592
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5594 Fix sort order.
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5596 Likewise.
5597
5598 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5599
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5601 Fix the order of the list for glibc 2.17.
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5603 Likewise.
5604
5605 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5606
5607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5608
5609 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5610
5611 [BZ #14610]
5612 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5613 for low part of x being zero before using __atanl (y).
5614 * math/libm-test.inc (atan2_test): Add another test.
5615
5616 * manual/install.texi (Configuring and compiling): Document
5617 general use of test-wrapper and test-wrapper-env.
5618 * INSTALL: Regenerated.
5619
5620 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5621 (__fma): Do not extract and scale down low bits on after-rounding
5622 systems when result rounded to normal precision would have normal
5623 exponent.
5624 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5625 (__fmal): Do not extract and scale down low bits on after-rounding
5626 systems when result rounded to normal precision would have normal
5627 exponent.
5628 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5629 (__fmal): Do not extract and scale down low bits on after-rounding
5630 systems when result rounded to normal precision would have normal
5631 exponent.
5632 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5633 macro.
5634 (fma_test): Add more tests.
5635 (fma_test_towardzero): Likewise.
5636 (fma_test_downward): Likewise.
5637 (fma_test_upward): Likewise.
5638
5639 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5640
5641 * sysdeps/i386/tininess.h: Renamed to ...
5642 * sysdeps/x86/tininess.h: This.
5643 * sysdeps/x86_64/tininess.h: Removed.
5644
5645 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5646
5647 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5648 input. Use $(build-program-cmd).
5649 ($(objpfx)tst-array1-static.out): Likewise.
5650 ($(objpfx)tst-array2.out): Likewise.
5651 ($(objpfx)tst-array3.out): Likewise.
5652 ($(objpfx)tst-array4.out): Likewise.
5653 ($(objpfx)tst-array5.out): Likewise.
5654 ($(objpfx)tst-array5-static.out): Likewise.
5655
5656 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5657
5658 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5659 if defined.
5660
5661 * nss/nsswitch.h (nss_interface_function): Provide new
5662 macro for use with NSS functions.
5663 * grp/initgroups.c: Use new macro.
5664 * nss/getXXbyYY.c: Likewise.
5665 * nss/getXXbyYY_r.c: Likewise.
5666 * nss/getXXent.c: Likewise.
5667 * nss/getXXent_r.c: Likewise.
5668 * sysdeps/posix/getaddrinfo.c: Likewise.
5669
5670 2012-10-30 Andreas Jaeger <aj@suse.de>
5671
5672 * po/ru.po: Update Russion translation from translation project.
5673
5674 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5675
5676 [BZ #14152]
5677 [BZ #14783]
5678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5679 result and shift together with sticky bit instead of replicating
5680 round-to-nearest rounding.
5681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5683 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5684 missing underflow exceptions.
5685 (fma_test_towardzero): Add more tests.
5686 (fma_test_downward): Likewise.
5687 (fma_test_upward): Likewise.
5688
5689 [BZ #14047]
5690 * sysdeps/generic/tininess.h: New file.
5691 * sysdeps/i386/tininess.h: Likewise.
5692 * sysdeps/sh/tininess.h: Likewise.
5693 * sysdeps/x86_64/tininess.h: Likewise.
5694 * stdlib/tst-strtod-underflow.c: Likewise.
5695 * stdlib/tst-tininess.c: Likewise.
5696 * stdlib/strtod_l.c: Include <tininess.h>.
5697 (round_and_return): Do not set errno for exact underflow cases.
5698 Force an underflow exception when setting errno for underflow.
5699 Determine underflow based on rounding to normal precision if
5700 TININESS_AFTER_ROUNDING.
5701 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5702 ERANGE for exact underflow cases.
5703 * stdlib/Makefile (tests): Add tst-tininess and
5704 tst-strtod-underflow.
5705 ($(objpfx)tst-tininess): Use $(link-libm).
5706 ($(objpfx)tst-strtod-underflow): Likewise.
5707
5708 2012-10-30 Andreas Jaeger <aj@suse.de>
5709
5710 [BZ#14767]
5711 * elf/Makefile (tests): Remove conditional for have-initfini-array
5712 since this is now always required and the variable does not exist
5713 anymore.
5714 (tests-static): Likewise.
5715 (modules-names): Likewise.
5716
5717 * po/eo.po: Add Esperanto translation from translation project.
5718
5719 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5720 merged with constructor/destructor.
5721 (init_array): Likewise.
5722 * elf/tst-array2dep.c (fini_array): Likewise.
5723 (init_array): Likewise.
5724
5725 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5726
5727 * manual/message.texi: Delete @cartouche tags.
5728
5729 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5730
5731 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5732 EOPNOTSUPP.
5733 * sysdeps/mach/hurd/fsync.c: Likewise.
5734
5735 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5736 [_POSIX_REALTIME_SIGNALS]: Change condition to
5737 [_POSIX_REALTIME_SIGNALS > 0].
5738
5739 2012-10-27 Andreas Jaeger <aj@suse.de>
5740
5741 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5742 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5744 [__WORDSIZE != 64]: Likewise.
5745
5746 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5747
5748 * iconvdata/tst-table.sh: Remove ${SHELL}.
5749 * iconvdata/tst-tables.sh: Likewise.
5750
5751 2012-10-25 David S. Miller <davem@davemloft.net>
5752
5753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5754 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5755 of strtoull.
5756
5757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5758 ifunc-impl-list.c
5759 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5760 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5761 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5762 file.
5763
5764 2012-10-25 Roland McGrath <roland@hack.frob.com>
5765
5766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5767 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5768 __getdirentries.
5769
5770 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5771 Jim Blandy <jimb@codesourcery.com>
5772
5773 * scripts/cross-test-ssh.sh: New file.
5774 * manual/install.texi (Configuring and compiling): Document use of
5775 cross-test-ssh.sh.
5776 * INSTALL: Regenerated.
5777
5778 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5779
5780 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5781 EOPNOTSUPP.
5782
5783 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5784
5785 * Makeconfig (run-program-prefix): Fix comment.
5786
5787 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5788 Jim Blandy <jimb@codesourcery.com>
5789
5790 * Makeconfig (test-wrapper): New variable,
5791 (test-wrapper-env): Likewise.
5792 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5793 (run-built-tests): Define to yes.
5794 (run-program-prefix): Use $(test-wrapper).
5795 (built-program-cmd): Likewise.
5796 * Rules (make-test-out): Use $(test-wrapper-env) and
5797 $(host-built-program-cmd).
5798 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5799 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5800 tst-pathopt.sh.
5801 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5802 $(test-wrapper-env) to tst-rtld-load-self.sh.
5803 ($(objpfx)order2.out): Use $(test-wrapper).
5804 ($(objpfx)tst-initorder.out): Likewise.
5805 ($(objpfx)tst-initorder2.out): Likewise.
5806 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5807 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5808 (test_wrapper_env): New variable. Use it to run ld.so.
5809 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5810 Use it to run ld.so.
5811 (test_wrapper_env): Likewise.
5812 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5813 $(test-wrapper) to run-iconv-test.sh.
5814 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5815 (ICONV): Use $test_wrapper.
5816 * posix/Makefile ($(objpfx)globtest.out): Pass
5817 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5818 globtest.sh, not $(run-program-prefix).
5819 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5820 (test_wrapper): Likewise.
5821 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5822 set together with run_via_rtld_prefix.
5823 (run_program_prefix): Define in terms of test_wrapper and
5824 run_via_rtld_prefix.
5825
5826 2012-10-24 Roland McGrath <roland@hack.frob.com>
5827
5828 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5829 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5830 Targets removed.
5831
5832 [BZ #14743]
5833 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5834 Declare __clock_getres, __clock_gettime, __clock_settime,
5835 __clock_nanosleep, and __clock_getcpuclockid.
5836 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5837 Remove librt_hidden_def (clock_gettime).
5838 * sysdeps/unix/clock_gettime.c: Likewise.
5839 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5840 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5841 * rt/clock_getres.c: Define __clock_getres as an alias.
5842 * sysdeps/posix/clock_getres.c: Likewise.
5843 * rt/clock_settime.c: Define __clock_settime as an alias.
5844 * sysdeps/unix/clock_settime.c: Likewise.
5845 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5846 * sysdeps/unix/clock_nanosleep.c: Likewise.
5847 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5848 * rt/clock-compat.c: New file.
5849 * rt/Makefile (librt-routines): Add clock-compat and move
5850 $(clock-routines) to ...
5851 (routines): ... here, new variable.
5852 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5853 Don't add get_clockfreq here.
5854 * rt/Versions (libc: GLIBC_2.17): New version set.
5855 Add clock_* symbols here.
5856 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5858 (GLIBC_2.17): Add clock_* symbols.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5863 Likewise.
5864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5865 Likewise.
5866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5870 * NEWS: Mention the move.
5871
5872 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5873 Use __open, __read, __close rather than their public counterparts.
5874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5875 (__get_clockfreq_via_cpuinfo): Likewise.
5876 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5877 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5878
5879 * config.h.in (HAVE_IFUNC): New #undef.
5880 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5881 was successful.
5882 * configure: Regenerated.
5883
5884 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5885
5886 * configure.in: Move READELF check to start of file.
5887 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5888 libc_cv_asm_gnu_indirect_function in the process.
5889 * configure: Regenerated.
5890
5891 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5892
5893 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5894 send the output to /dev/null.
5895 (libc_cv_cc_with_libunwind): Likewise.
5896 (libc_cv_as_noexecstack): Likewise.
5897 * configure: Regenerate.
5898
5899 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5900
5901 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5902
5903 * posix/globtest.sh (TMPDIR): Do not set.
5904 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5905 (testout): Likewise.
5906
5907 2012-10-24 Andreas Jaeger <aj@suse.de>
5908
5909 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5910 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5911 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5912 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5913 posix_fadvise64, posix_fallocate64.
5914
5915 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5916 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5917 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5918 Likewise.
5919 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5920 Likewise.
5921 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5922
5923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5924 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5925 <bits/fcntl-linux.h>.
5926 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5927
5928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5929 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5930 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5931 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5932 [__WORDSIZE != 64]: Likewise.
5933
5934 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5935
5936 * Makeconfig (run-built-tests): New variable.
5937 * Rules [$(cross-compiling) = yes]: Change condition to
5938 [$(run-built-tests) = no].
5939 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5940 to [$(run-built-tests) = yes].
5941 * elf/Makefile [$(cross-compiling) = no]: Likewise
5942 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5943 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5944 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5945 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5946 * io/Makefile [$(cross-compiling) = no]: Likewise.
5947 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5948 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5949 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5950 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5951 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5952 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5953 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5954 * string/Makefile [$(cross-compiling) = no]: Likewise.
5955
5956 * posix/Makefile ($(objpfx)globtest.out): Pass
5957 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5958 $(rtld-installed-name).
5959 * posix/globtest.sh (elf_objpfx): Remove variable.
5960 (rtld_installed_name): Likewise.
5961 (library_path): Likewise.
5962 (run_program_prefix): New variable. Use for running globtest
5963 binary.
5964
5965 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5966 Joseph Myers <joseph@codesourcery.com>
5967
5968 * Makeconfig (host-built-program-cmd): New variable.
5969 * elf/Makefile (tst-stackguard1-ARGS): Use
5970 $(host-built-program-cmd).
5971 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5972 (tst-spawn-ARGS): Likewise.
5973 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5974
5975 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5976 Jim Blandy <jimb@codesourcery.com>
5977
5978 * Makeconfig (run-via-rtld-prefix): New variable.
5979 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5980 (built-program-cmd): Likewise.
5981
5982 2012-10-22 Andreas Jaeger <aj@suse.de>
5983
5984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5985 __O_RSYNC if it exists, otherwise to O_SYNC.
5986
5987 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5988 Joseph Myers <joseph@codesourcery.com>
5989
5990 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5991 /dev/null.
5992 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5993 from /dev/null
5994 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5995 /dev/null.
5996
5997 2012-10-22 Andreas Jaeger <aj@suse.de>
5998
5999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6000 Define always.
6001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6002
6003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6004 bits/fcntl-linux.h.
6005
6006 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6007 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6008
6009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6010 to __O_LARGEFILE.
6011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6012 to __O_LARGEFILE.
6013
6014 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6015 Joseph Myers <joseph@codesourcery.com>
6016
6017 * config.make.in (NM): New variable.
6018
6019 2012-10-21 Andreas Jaeger <aj@suse.de>
6020
6021 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6022 definitions and declarations that are provided by
6023 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6024
6025 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6026
6027 [BZ #14683]
6028 * elf/Makefile (tests-static): Add tst-leaks1-static.
6029 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6030 ($(objpfx)tst-leaks1-static): New rule.
6031 ($(objpfx)tst-leaks1-static-mem): Likewise.
6032 (tst-leaks1-static-ENV): New macro.
6033 * elf/dl-open.c (dl_open_worker): Check the main application
6034 only if SHARED is defined.
6035 * elf/tst-leaks1-static.c: New file.
6036
6037 2012-10-20 Andreas Jaeger <aj@suse.de>
6038
6039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6040 generic values for Linux.
6041 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6042 and declarations that are provided by <bits/fcntl-linux.h> and
6043 include <bits/fcntl-linux.h>.
6044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6046
6047 2012-10-20 Roland McGrath <roland@hack.frob.com>
6048
6049 * io/fcntl.h: Move include of <bits/types.h> to the top and
6050 include it unconditionally.
6051
6052 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6053
6054 * wcsmbs/Makefile (tests-ifunc): New variable.
6055 (tests): Add $(tests-ifunc).
6056 * wcsmbs/test-wcschr-ifunc.c: New file.
6057 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6058 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6059 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6060 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6061 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6062
6063 * string/Makefile (tests-ifunc): New variable.
6064 (tests): Add $(tests-ifunc).
6065 * string/test-memccpy.c (TEST_NAME): New macro.
6066 * string/test-memchr.c (TEST_NAME): Likewise.
6067 * string/test-memcmp.c (TEST_NAME): Likewise.
6068 * string/test-memcpy.c (TEST_NAME): Likewise.
6069 * string/test-memmem.c (TEST_NAME): Likewise.
6070 * string/test-memmove.c (TEST_NAME): Likewise.
6071 * string/test-memset.c (TEST_NAME): Likewise.
6072 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6073 * string/test-stpcpy.c (TEST_NAME): Likewise.
6074 * string/test-stpncpy.c (TEST_NAME): Likewise.
6075 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6076 * string/test-strcasestr.c (TEST_NAME): Likewise.
6077 * string/test-strcat.c (TEST_NAME): Likewise.
6078 * string/test-strchr.c (TEST_NAME): Likewise.
6079 * string/test-strcmp.c(TEST_NAME): Likewise.
6080 * string/test-strcpy.c (TEST_NAME): Likewise.
6081 * string/test-strcspn.c (TEST_NAME): Likewise.
6082 * string/test-strlen.c (TEST_NAME): Likewise.
6083 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6084 * string/test-strncmp.c (TEST_NAME): Likewise.
6085 * string/test-strncpy.c (TEST_NAME): Likewise.
6086 * string/test-strnlen.c (TEST_NAME): Likewise.
6087 * string/test-strpbrk.c (TEST_NAME): Likewise.
6088 * string/test-strrchr.c (TEST_NAME): Likewise.
6089 * string/test-strspn.c (TEST_NAME): Likewise.
6090 * string/test-strstr.c (TEST_NAME): Likewise.
6091 * string/test-bcopy-ifunc.c: New file.
6092 * string/test-bzero-ifunc.c: Likewise.
6093 * string/test-memccpy-ifunc.c: Likewise.
6094 * string/test-memchr-ifunc.c: Likewise.
6095 * string/test-memcmp-ifunc.c: Likewise.
6096 * string/test-memcpy-ifunc.c: Likewise.
6097 * string/test-memmem-ifunc.c: Likewise.
6098 * string/test-memmove-ifunc.c: Likewise.
6099 * string/test-mempcpy-ifunc.c: Likewise.
6100 * string/test-memset-ifunc.c: Likewise.
6101 * string/test-rawmemchr-ifunc.c: Likewise.
6102 * string/test-stpcpy-ifunc.c: Likewise.
6103 * string/test-stpncpy-ifunc.c: Likewise.
6104 * string/test-strcasecmp-ifunc.c: Likewise.
6105 * string/test-strcasestr-ifunc.c: Likewise.
6106 * string/test-strcat-ifunc.c: Likewise.
6107 * string/test-strchr-ifunc.c: Likewise.
6108 * string/test-strchrnul-ifunc.c: Likewise.
6109 * string/test-strcmp-ifunc.c: Likewise.
6110 * string/test-strcpy-ifunc.c: Likewise.
6111 * string/test-strcspn-ifunc.c: Likewise.
6112 * string/test-strlen-ifunc.c: Likewise.
6113 * string/test-strncasecmp-ifunc.c: Likewise.
6114 * string/test-strncat-ifunc.c: Likewise.
6115 * string/test-strncmp-ifunc.c: Likewise.
6116 * string/test-strncpy-ifunc.c: Likewise.
6117 * string/test-strnlen-ifunc.c: Likewise.
6118 * string/test-strpbrk-ifunc.c: Likewise.
6119 * string/test-strrchr-ifunc.c: Likewise.
6120 * string/test-strspn-ifunc.c: Likewise.
6121 * string/test-strstr-ifunc.c: Likewise.
6122
6123 * debug/Makefile (tests-ifunc): New variable.
6124 (tests): Add $(tests-ifunc).
6125 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6126 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6127 * debug/test-stpcpy_chk-ifunc.c: New file.
6128 * debug/test-strcpy_chk-ifunc.c: Likewise.
6129
6130 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6131
6132 [BZ #13601]
6133 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6134 header is not read in.
6135
6136 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6137
6138 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6139 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6140 directly. Pass built executable to script as
6141 $(built-program-cmd).
6142 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6143 $testprogram without using LD_LIBRARY_PATH and $ldso.
6144
6145 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6146 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6147 $(rtld-installed-name).
6148 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6149 (rtld_installed_name): Likewise.
6150 (library_path): Likewise.
6151 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6152 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6153 $(run-program-prefix) to tst-tables.sh.
6154 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6155 it to run tst-table-from and tst-table-to.
6156 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6157 Pass it to tst-table.sh.
6158 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6159 $(run-program-prefix) to tst-gettext.sh.
6160 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6161 tst-translit.sh.
6162 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6163 tst-gettext2.sh.
6164 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6165 to run tst-gettext.
6166 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6167 to run tst-gettext2.
6168 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6169 to run tst-translit.
6170 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6171 $(run-program-prefix) to tst-mtrace.sh.
6172 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6173 to run tst-mtrace.
6174 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6175 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6176 $(rtld-installed-name).
6177 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6178 (rtld_installed_name): Likewise.
6179 (run_program_prefix): New variable. Use it to run wordexp-test.
6180
6181 * Makeconfig (ARCH): Remove all definitions.
6182 (machine): Likewise.
6183 [ARCH]: Remove conditional code.
6184 [!objdir]: Give error.
6185 [!objdir] (objpfx): Remove.
6186 [!objdir] (common-objpfx): Likewise.
6187 [!objdir] (common-objdir): Likewise.
6188 * configure.in (config_makefile): Remove. Hardcode Makefile in
6189 AC_CONFIG_FILES call.
6190 * configure: Regenerated.
6191
6192 [BZ #13888]
6193 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6194 or TMPDIR.
6195 (testout): Likewise.
6196
6197 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6198 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6199 $(rtld-installed-name).
6200 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6201 (rtld_installed_name): Likwise.
6202 (runit): Remove function.
6203 (run_getconf): New variable, Use it for running getconf binary.
6204
6205 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6206
6207 [BZ #14716]
6208 * string/test-memmem.c (check_result): New function.
6209 (do_one_test): Use it.
6210 (check1): New function.
6211 (test_main): Use it.
6212
6213 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6214
6215 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6216
6217 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6218
6219 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6220 (_G_LSEEK64): Likewise.
6221 (_G_MMAP64): Likewise.
6222 (_G_FSTAT64): Likewise.
6223 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6224 (_G_LSEEK64): Likewise.
6225 (_G_MMAP64): Likewise.
6226 (_G_FSTAT64): Likewise.
6227 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6228 unconditional. Call __mmap64 directly.
6229 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6230 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6231 __lseek64 directly.
6232 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6233 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6234 __mmap64 directly.
6235 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6236 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6237 __lseek64 directly.
6238 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6239 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6240 __lseek64 directly.
6241 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6242 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6243 __lseek64 directly.
6244 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6245 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6246 __fxstat64 directly.
6247 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6248 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6249 unconditional.
6250 (freopen64) [!_G_OPEN64]: Remove conditional code.
6251 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6252 unconditional.
6253 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6254 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6255 unconditional.
6256 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6257 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6258 unconditional.
6259 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6260 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6261 unconditional.
6262 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6263 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6264 unconditional.
6265 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6266 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6267 unconditional.
6268 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6269 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6270 unconditional.
6271 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6272
6273 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6274
6275 [BZ #12140]
6276 * manual/memory.texi (Malloc Tunable Parameters): Add note
6277 about free list pointers overwriting some perturb bytes.
6278 Wording suggested by Roland McGrath.
6279
6280 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6281
6282 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6283 (lgamma_test): Likewise.
6284 (tgamma_test): Likewise.
6285
6286 2012-10-16 Florian Weimer <fweimer@redhat.com>
6287
6288 [BZ #14700]
6289 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6290 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6291
6292 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6293
6294 * NEWS: Mention BZ #14716.
6295 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6296 when removing AVAILABLE1_USES_J macro.
6297
6298 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6299
6300 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6301 (__bswap_64): __uint64_t for unsigned 64-bit int.
6302
6303 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6304
6305 * include/string.h (memmem): Declare libc hidden alias.
6306 * string/memmem.c (memmem): Define libc hidden alias.
6307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6308 __read, __close instead of open, read, close.
6309
6310 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6311
6312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6313 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6314 global and hidden.
6315 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6316 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6317 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6318 Likewise.
6319 (__rawmemchr_sse2): Likewise.
6320 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6321 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6322 (__strchr_sse2): Likewise.
6323 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6324 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6325 (__strcasecmp_sse2): Likewise.
6326 (__strncasecmp_sse2): Likewise.
6327 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6328 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6329 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6330 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6331 (__strrchr_sse2): Likewise.
6332 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6333 ifunc-impl-list.c.
6334 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6335 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6336 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6337 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6338 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6339 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6340 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6341 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6342 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6343 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6344 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6345 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6346 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6347 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6348 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6349 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6350 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6351 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6352 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6353 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6354 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6355 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6356 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6357 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6358 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6360 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6361 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6362 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6363 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6364
6365 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6366 global and hidden.
6367 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6368 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6369 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6370 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6371 Likewise.
6372 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6373 Likewise.
6374 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6375 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6376 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6377 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6378 ifunc-impl-list.c.
6379 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6380 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6381 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6382 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6383 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6384 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6385 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6386 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6387 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6388 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6389 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6390 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6391 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6392 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6393 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6395 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6396 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6397 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6398 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6400 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6401 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6402 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6403 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6404 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6405 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6406 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6407 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6408 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6409 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6410 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6411 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6412 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6413 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6414 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6415 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6416 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6417 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6418 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6419 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6420
6421 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6422 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6423 * include/ifunc-impl-list.h: New file.
6424 * misc/ifunc-impl-list.c: Likewise.
6425 * misc/Makefile (routines): Add ifunc-impl-list.
6426 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6427 * string/test-string.h: Include <ifunc-impl-list.h>.
6428 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6429 impl_array): New variables.
6430 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6431 are defined.
6432 (test_init): Call __libc_ifunc_impl_list to initialize
6433 func_list if TEST_IFUNC and TEST_NAME are defined.
6434
6435 * string/Makefile (strop-tests): Add bcopy and bzero.
6436 * string/test-bcopy.c: New file.
6437 * string/test-bzero.c: Likewise.
6438 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6439 defined.
6440 * string/test-memset.c: Support bzero test if TEST_BZERO is
6441 defined.
6442 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6443 __libc_memmove.
6444 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6445 __libc_memset.
6446 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6447 of memset.
6448
6449 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6450
6451 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6452 * configure: Regenerated.
6453
6454 * Makeconfig (+link-static-before-libc): Don't include
6455 $(link-static-libc).
6456
6457 * libio/libio.h (_IO_pos_t): Remove.
6458
6459 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6460
6461 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6462 McGrath.
6463
6464 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6465
6466 * crypt/crypt-entry.c: Include fips-private.h.
6467 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6468 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6469 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6470 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6471
6472 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6473
6474 * crypt/crypt-private.h: Include stdbool.h.
6475 (_ufc_setup_salt_r): Return bool.
6476 * crypt/crypt-entry.c: Include errno.h.
6477 (__crypt_r): Return NULL with EINVAL for bad salt.
6478 * crypt/crypt_util.c (bad_for_salt): New.
6479 (_ufc_setup_salt_r): Check that salt is long enough and within
6480 the specified alphabet.
6481 * crypt/badsalttest.c: New file.
6482 * crypt/Makefile (tests): Add it.
6483 ($(objpfx)badsalttest): New.
6484
6485 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6486
6487 * NEWS: Add entry for BZ #14602.
6488
6489 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6490
6491 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6492 type-generic.
6493 * math/libm-test.inc: Update comment listing what functions and
6494 macros are tested.
6495 (isgreater_test): New function.
6496 (isgreaterequal_test): Likewise.
6497 (isless_test): Likewise.
6498 (islessequal_test): Likewise.
6499 (islessgreater_test): Likewise.
6500 (isunordered_test): Likewise.
6501 (main): Call the new functions.
6502
6503 2012-10-09 Roland McGrath <roland@hack.frob.com>
6504
6505 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6506 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6507 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6508 * sysdeps/i386/configure: Regenerated.
6509 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6510 * sysdeps/mach/configure: Regenerated.
6511 * sysdeps/mach/hurd/configure: Regenerated.
6512 * sysdeps/powerpc/configure: Regenerated.
6513 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6514 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6515 * sysdeps/s390/s390-32/configure: Regenerated.
6516 * sysdeps/s390/s390-64/configure: Regenerated.
6517 * sysdeps/sh/configure: Regenerated.
6518 * sysdeps/sparc/configure: Regenerated.
6519 * sysdeps/unix/sysv/linux/configure: Regenerated.
6520 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6521 * sysdeps/x86_64/configure: Regenerated.
6522
6523 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6524 defined. Don't check if MAP is NULL.
6525
6526 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6527
6528 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6529 (_G_stat64): Likewise.
6530 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6531 (_G_stat64): Likewise.
6532 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6533 instead of struct _G_stat64.
6534 * libio/fileops.c (mmap_remap_check): Likewise.
6535 (decide_maybe_mmap): Likewise.
6536 (_IO_new_file_seekoff): Likewise.
6537 (_IO_file_stat): Likewise.
6538 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6539 _G_off64_t.
6540 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6541 instead of struct _G_stat64.
6542 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6543
6544 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6545
6546 [BZ #14602]
6547 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6548 Replace with ...
6549 (CHECK_EOL): New macro.
6550 (two_way_short_needle): Check beginning of haystack for EOL. Use
6551 CHECK_EOL.
6552 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6553 Replace with CHECK_EOL.
6554 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6555 Replace with CHECK_EOL.
6556
6557 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6558
6559 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6560 type-generic.
6561 * math/libm-test.inc: Update comment listing what functions and
6562 macros are tested.
6563 (finite_test): New function.
6564 (isinf_test): Likewise.
6565 (isnan_test): Likewise.
6566 (fpclassify_test): Test subnormal input.
6567 (isfinite_test): Likewise.
6568 (isnormal_test): Likewise.
6569 (main): Call the new functions.
6570
6571 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6572
6573 [BZ #14660]
6574 * Makerules (%.dynsym): Force C locale when running
6575 $(OBJDUMP) --dynamic-syms.
6576
6577 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6578
6579 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6580 <stdint.h>.
6581
6582 2012-10-06 David S. Miller <davem@davemloft.net>
6583
6584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6585 upper 32-bits of the length value in %o2 since we use branch-on-register
6586 tests which consider the entire 64-bit register.
6587
6588 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6589
6590 * string/test-strstr.c (check2): Add a test for page boundary.
6591
6592 2012-10-05 David S. Miller <davem@davemloft.net>
6593
6594 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6595 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6596 file.
6597 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6598 sysdep_routines.
6599 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6600 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6601 and bzero when HWCAP_SPARC_CRYPTO is present.
6602
6603 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6604
6605 [BZ #14602]
6606 * string/test-strstr.c (check2): New function.
6607 (test_main): Call check2.
6608
6609 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6610 and bug-strchr1.
6611 * string/bug-strcasestr1.c (do_test): Moved to ...
6612 * string/test-strcasestr.c (check1): Here. New function.
6613 (do_one_test): Break out result checking code into ...
6614 (check_result): This. New function.
6615 (do_one_test): Call check_result.
6616 (test_main): Call check1.
6617 * string/bug-strchr1.c (do_test): Moved to ...
6618 * string/test-strchr.c (check1): Here. New function.
6619 (do_one_test): Break out result checking code into ...
6620 (check_result): This. New function.
6621 (do_one_test): Call check_result.
6622 (test_main): Call check1.
6623 * string/bug-strstr1.c (main): Moved to ...
6624 * string/test-strstr.c (check1): Here. New function.
6625 (do_one_test): Break out result checking code into ...
6626 (check_result): This. New function.
6627 (do_one_test): Call check_result.
6628 (test_main): Call check1.
6629 * string/bug-strcasestr1.c: Removed.
6630 * string/bug-strchr1.c: Likewise.
6631 * string/bug-strstr1.c: Likewise.
6632
6633 * elf/Makefile (dl-routines): Add hwcaps.
6634 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6635 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6636 (_dl_important_hwcaps): Moved to ...
6637 * elf/dl-hwcaps.c: Here. New file.
6638 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6639
6640 [BZ #14557]
6641 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6642 if IS_IN_rtld isn't defined.
6643
6644 * elf/dl-support.c (_dl_sysinfo_map): New.
6645 Include "get-dynamic-info.h" and "setup-vdso.h".
6646 (_dl_non_dynamic_init): Call setup_vdso.
6647 * elf/dynamic-link.h: Don't include <assert.h>.
6648 (elf_get_dynamic_info): Moved to ...
6649 * elf/get-dynamic-info.h: Here. New file.
6650 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6651 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6652 * elf/setup-vdso.h: Here. New file.
6653 * elf/rtld.c: Include "setup-vdso.h".
6654 (dl_main): Call setup_vdso.
6655
6656 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6657
6658 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6659 creal in comment listing functions tested. List finite, isinf,
6660 isnan, isless, islessequal, isgreater, isgreaterequal,
6661 islessgreater, isunordered, lgamma_r and pow10 as functions and
6662 macros not tested. Mention which functions not tested are aliases
6663 for other functions. Fix typo. Note that signs of NaNs are not
6664 tested.
6665
6666 * scripts/config.guess: Update from config.git.
6667 * scripts/config.sub: Likewise.
6668
6669 2012-10-04 Roland McGrath <roland@hack.frob.com>
6670
6671 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6672 * misc/madvise.c (madvise): Renamed to __madvise.
6673 Make madvise a weak alias.
6674 * include/sys/mman.h: Declare __madvise.
6675 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6676 * sysdeps/unix/syscalls.list
6677 (madvise): Make __madvise the strong name, and madvise a weak alias.
6678 * sysdeps/unix/sysv/linux/syscalls.list
6679 (madvise, mmap): Remove redundant entries.
6680 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6681 * malloc/malloc.c (mtrim): Likewise.
6682 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6683
6684 2012-10-03 Roland McGrath <roland@hack.frob.com>
6685
6686 * sysdeps/mach/hurd/dl-cache.c: File removed.
6687 * config.h.in (USE_LDCONFIG): New #undef.
6688 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6689 * configure: Regenerated.
6690 * elf/Makefile (dl-routines): Add dl-cache only under
6691 [$(use-ldconfig) = yes].
6692 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6693 cache on [USE_LDCONFIG].
6694 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6695 [USE_LDCONFIG].
6696 * elf/rtld.c (dl_main): Likewise.
6697
6698 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6699
6700 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6701 _SC_LEVEL4_CACHE_LINESIZE.
6702
6703 2012-10-03 Roland McGrath <roland@hack.frob.com>
6704
6705 * sysdeps/unix/bsd/confstr.h: File removed.
6706
6707 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6708
6709 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6710 sys/sdt-config.h.
6711
6712 2012-10-02 Roland McGrath <roland@hack.frob.com>
6713
6714 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6715 Make 'mapoff' field ElfW(Off) rather than off_t.
6716
6717 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6718
6719 * nscd/Makefile: Remove nscd-cflags and all its users.
6720 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6721 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6722
6723 [BZ #10631]
6724 * malloc.c (malloc_printerr): Clarify error message.
6725
6726 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6727
6728 [BZ #14648]
6729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6730 Set bit_FMA_Usable if FMA is supported.
6731 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6732 macro.
6733 (bit_FMA4_Usable): Updated.
6734 (index_FMA_Usable): New macro.
6735 (CPUID_FMA): Likewise
6736 (HAS_FMA): Defined with bit_FMA_Usable.
6737
6738 2012-10-01 Roland McGrath <roland@hack.frob.com>
6739
6740 * bits/types.h (__swblk_t): Type removed.
6741 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6742 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6744 (__SWBLK_T_TYPE): Likewise.
6745 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6746 (__SWBLK_T_TYPE): Likewise.
6747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6748 (__SWBLK_T_TYPE): Likewise.
6749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6750 (__SWBLK_T_TYPE): Likewise.
6751
6752 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6753 Honza Horak <hhorak@redhat.com>
6754
6755 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6756 (xdr_mapname): Use YPMAXMAP as maxsize.
6757 (xdr_peername): Use YPMAXPEER as maxsize.
6758 (xdr_keydat): Use YPAXRECORD as maxsize.
6759 (xdr_valdat): Use YPMAXRECORD as maxsize.
6760
6761 2012-10-01 Roland McGrath <roland@hack.frob.com>
6762
6763 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6764
6765 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6766 * csu/init-first.c: ... here.
6767 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6768 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6769 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6770 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6771 * sysdeps/i386/init-first.c: File removed.
6772 * sysdeps/sh/init-first.c: File removed.
6773
6774 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6775
6776 [BZ #14645]
6777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6778 if x * y might underflow to zero and z is zero.
6779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6781 * math/libm-test.inc (min_subnorm_value): New variable.
6782 (fma_test): Add more tests.
6783 (fma_test_towardzero): Likewise.
6784 (fma_test_downward): Likewise
6785 (fma_test_upward): Likewise.
6786 (initialize): Set min_subnorm_value.
6787
6788 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6789
6790 [BZ #14638]
6791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6792 0 + 0.
6793 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6794 mode for addition resulting in exact zero.
6795 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6797 exact 0 + 0.
6798 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6800 * math/libm-test.inc (fma_test): Add more tests.
6801 (fma_test_towardzero): New function.
6802 (fma_test_downward): Likewise.
6803 (fma_test_upward): Likewise.
6804 (main): Call the new functions.
6805
6806 2012-09-28 David S. Miller <davem@davemloft.net>
6807
6808 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6809
6810 2012-09-28 Roland McGrath <roland@hack.frob.com>
6811
6812 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6813 instead of SIGALRM.
6814
6815 * sysdeps/gnu/_G_config.h: Moved to ...
6816 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6817 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6818 * sysdeps/generic/_G_config.h: ... here.
6819
6820 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6821
6822 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6823
6824 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6825 Conditionalize target on [libnss_test1.so-version].
6826
6827 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6828
6829 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6830 (elfobjdir): Move out of conditionals.
6831
6832 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6833 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6834 (__nss_lookup_function): Conditionalize label remove_from_tree on
6835 [!DO_STATIC_NSS || SHARED], matching its only use.
6836
6837 2012-09-28 David S. Miller <davem@davemloft.net>
6838
6839 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6840 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6841 file.
6842 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6843 sysdep_routines.
6844 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6846 when HWCAP_SPARC_CRYPTO is present.
6847
6848 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6849
6850 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6851
6852 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6853
6854 [BZ #6530]
6855 * stdio-common/vfprintf.c (process_string_arg): Revert
6856 2000-07-22 change.
6857
6858 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6859
6860 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6861 for testcase.
6862 * stdio-common/tst-sprintf.c: Include <locale.h>
6863 (main): Test sprintf's handling of incomplete multibyte
6864 characters.
6865
6866 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6867
6868 * elf/dl-runtime.c (VERSYMIDX): Removed.
6869 * elf/dl-version.c (VERSYMIDX): Likewise.
6870 * elf/do-rel.h (VERSYMIDX): Likewise.
6871 (VALIDX): Likewise.
6872 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6873 * elf/rtld.c (VALIDX): Likewise.
6874 (ADDRIDX): Likewise.
6875 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6876 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6877 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6878 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6879 (VALIDX): Likewise.
6880 (ADDRIDX): Likewise.
6881
6882 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6883
6884 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6885
6886 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6887
6888 [BZ #11438]
6889 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6890 to global scope.
6891 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6892 addresses are in the same scope as 192.0.2/24.
6893 * posix/gai.conf: Document new scope table defaults.
6894
6895 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6896
6897 [BZ #5298]
6898 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6899 for ftell. Compute offsets from write pointers instead.
6900 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6901
6902 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6903
6904 [BZ #14543]
6905 * libio/Makefile (tests): New test case tst-fseek.
6906 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6907 combination works in wide mode.
6908 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6909 state when the external buffer state changes.
6910
6911 2012-09-27 David S. Miller <davem@davemloft.net>
6912
6913 [BZ #14376]
6914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6915 pass reloc->r_addend in as the 'high' argument to
6916 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6917
6918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6919
6920 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6921
6922 * rt/tst-aio2.c: Include <pthread.h>.
6923 * rt/tst-aio3.c: Likewise.
6924
6925 2012-09-27 Steve Ellcey <sellcey@mips.com>
6926
6927 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6928
6929 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6930
6931 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6932 contents on [SHARED].
6933
6934 2012-09-26 Marek Polacek <polacek@redhat.com>
6935
6936 [BZ #14530]
6937 [BZ #13741]
6938 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6939 for C++ and GCC <4.3 as well as for non GCC compilers.
6940
6941 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6942
6943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6944
6945 2012-09-25 Roland McGrath <roland@hack.frob.com>
6946
6947 * Makefile.in (all, install): Declare with .PHONY.
6948 Reported by Michael Hope <michael.hope@linaro.org>.
6949
6950 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6951
6952 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6953 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6954 system header.
6955 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6956 Likewise.
6957 (sydep_routines): Add the new and the internal functions.
6958 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6959 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6961 (GLIBC_2.17): Add the new function.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6963 (GLIBC_2.17): Likewise.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6965 (GLIBC_2.17): Likewise.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6967 (GLIBC_2.17): Likewise.
6968 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6969
6970 2012-09-25 Alan Modra <amodra@gmail.com>
6971
6972 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6973 Add release barrier before setting once_control to say
6974 initialisation is done. Add hints on lwarx. Use macro in
6975 place of isync.
6976 (clear_once_control): Add release barrier.
6977
6978 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6979
6980 [BZ #13629]
6981 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6982 specially.
6983 * math/s_clog10.c (__clog10): Likewise.
6984 * math/s_clog10f.c (__clog10f): Likewise.
6985 * math/s_clog10l.c (__clog10l): Likewise.
6986 * math/s_clogf.c (__clogf): Likewise.
6987 * math/s_clogl.c (__clogl): Likewise.
6988 * math/Makefile (libm-calls): Add x2y2m1.
6989 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6990 (__x2y2m1): Likewise.
6991 (__x2y2m1l): Likewise.
6992 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6993 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6994 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6996 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6997 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6998 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6999 * sysdeps/i386/fpu/libm-test-ulps: Update.
7000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7001
7002 [BZ #14621]
7003 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7004 int as type of variable DEPTH.
7005 (glob): Use size_t instead of int as type of variables NEWCOUNT
7006 and OLD_PATHC.
7007
7008 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7009
7010 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7011 Add s_sincosf-sse2.
7012 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7013 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7014 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7015 macros for using routine as __sincosf_ia32.
7016 Use macro for function declaration and weak_alias.
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7018
7019 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7021
7022 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7023 subnormal argument.
7024 * math/s_cexpf.c (__cexpf): Likewise.
7025 * math/s_csinf.c (__csinf): Likewise.
7026 * math/s_csinhf.c (__csinhf): Likewise.
7027 * math/s_ctanf.c (__ctanf): Likewise.
7028 * math/s_ctanhf.c (__ctanhf): Likewise.
7029 * math/s_ccosh.c (__ccoshf): Likewise.
7030 * math/s_cexp.c (__cexpl): Likewise.
7031 * math/s_csin.c (__csin): Likewise.
7032 * math/s_csinh.c (__csinh): Likewise.
7033 * math/s_ctan.c (__ctan): Likewise.
7034 * math/s_ctanh.c (ctanh): Likewise.
7035 * math/s_ccoshl.c (__ccoshl): Likewise.
7036 * math/s_cexpl.c (__cexpl): Likewise.
7037 * math/s_csinl.c (__csinl): Likewise.
7038 * math/s_csinhl.c (__csinhl): Likewise.
7039 * math/s_ctanl.c (__ctanl): Likewise.
7040 * math/s_ctanhl.c (__ctanhl): Likewise.
7041
7042 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7043
7044 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7045 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7046 (_IO_off_t): Define to __off_t, not _G_off_t.
7047 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7048 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7049 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7050 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7051 type of __dummy and __dummy2 fields.
7052 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7053 (_G_ssize_t): Likewise.
7054 (_G_off_t): Likewise.
7055 (_G_pid_t): Likewise.
7056 (_G_uid_t): Likewise.
7057 (_G_wchar_t): Likewise.
7058 (_G_wint_t): Likewise.
7059 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7060 (_G_ssize_t): Likewise.
7061 (_G_off_t): Likewise.
7062 (_G_pid_t): Likewise.
7063 (_G_uid_t): Likewise.
7064 (_G_wchar_t): Likewise.
7065 (_G_wint_t): Likewise.
7066 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7067 (_G_ssize_t): Likewise.
7068 (_G_off_t): Likewise.
7069 (_G_pid_t): Likewise.
7070 (_G_uid_t): Likewise.
7071 (_G_wchar_t): Likewise.
7072 (_G_wint_t): Likewise.
7073
7074 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7075
7076 * malloc/arena.c: Include malloc-sysdep.h.
7077 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7078 is sufficient to shrink the heap or an unmap is needed.
7079 * sysdeps/generic/malloc-sysdep.h: New file. Define
7080 new function check_may_shrink_heap.
7081 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7082 new function check_may_shrink_heap.
7083
7084 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
7086 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7087 comments.
7088
7089 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7090
7091 * catgets/test-gencat.sh: Add "set -e".
7092 * elf/tst-pathopt.sh: Likewise.
7093 * grp/tst_fgetgrent.sh: Likewise.
7094 * iconvdata/run-iconv-test.sh: Likewise.
7095 * intl/tst-gettext.sh: Likewise.
7096 * intl/tst-gettext2.sh: Likewise.
7097 * intl/tst-gettext4.sh: Likewise.
7098 * intl/tst-gettext6.sh: Likewise.
7099 * intl/tst-translit.sh: Likewise.
7100 * io/ftwtest-sh: Likewise.
7101 * libio/test-freopen.sh: Likewise.
7102 * malloc/tst-mtrace.sh: Likewise.
7103 * posix/globtest.sh: Likewise.
7104 * posix/tst-getconf.sh: Likewise.
7105 * posix/wordexp-tst.sh: Likewise.
7106 * stdio-common/tst-printf.sh: Likewise.
7107 * stdio-common/tst-unbputc.sh: Likewise.
7108 * stdlib/tst-fmtmsg.sh: Likewise.
7109 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7110 * catgets/Makefile: Do not specify -e option when running
7111 testsuite shell scripts.
7112 * elf/Makefile: Likewise.
7113 * grp/Makefile: Likewise.
7114 * iconvdata/Makefile: Likewise.
7115 * intl/Makefile: Likewise.
7116 * io/Makefile: Likewise.
7117 * libio/Makefile: Likewise.
7118 * malloc/Makefile: Likewise.
7119 * posix/Makefile: Likewise.
7120 * stdio-common/Makefile: Likewise.
7121 * stdlib/Makefile: Likewise.
7122 * sysdeps/x86_64/Makefile: Likewise.
7123
7124 * io/ftwtest-sh: Add copyright header.
7125 * posix/globtest.sh: Likewise.
7126 * posix/tst-getconf.sh: Likewise.
7127 * posix/wordexp-tst.sh: Likewise.
7128 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7129
7130 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7131
7132 [BZ #13679]
7133 * Makeconfig (+link): Defined as $(+link-static) if
7134 $(build-shared) isn't yes.
7135 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7136 isn't yes.
7137 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7138
7139 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7140
7141 [BZ #14562]
7142 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7143 new chunk size with MALLOC_ALIGN_MASK.
7144
7145 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7146
7147 [BZ #5044]
7148 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7149 <rounding-mode.h>.
7150 (__printf_fphex): Determine rounding using get_rounding_mode and
7151 round_away.
7152 * stdio-common/tst-printf-round.c (struct hex_test): New
7153 structure.
7154 (hex_tests): New variable.
7155 (test_hex_in_one_mode): New function.
7156 (do_test): Also run tests for hex float output.
7157
7158 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7159
7160 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7161 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7162 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7163 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7164 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7165 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7166 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7167 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7168
7169 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7170
7171 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7172 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7173 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7174 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7175
7176 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7177
7178 [BZ #14579]
7179 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7180 mode only.
7181 * elf/tst-rtld-load-self.sh: New test.
7182 * elf/Makefile: Run it.
7183
7184 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7185
7186 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7187 (tst-writev-ENV): Remove.
7188 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7189
7190 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7191
7192 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7193
7194 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7195
7196 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7197 unconditional.
7198 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7199 Likewise.
7200 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7201 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7202 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7203 Likewise.
7204
7205 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7206
7207 [BZ #14587]
7208 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7209 * config.make.in (have-cpp-asm-debuginfo): Removed.
7210 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7211 * configure: Regenerated.
7212
7213 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7214
7215 [BZ #5044]
7216 * stdio-common/printf_fp.c: Include <stdbool.h> and
7217 <rounding-mode.h>.
7218 (___printf_fp): Determine rounding using get_rounding_mode and
7219 round_away.
7220 * stdio-common/tst-printf-round.c: New file.
7221 * stdio-common/Makefile (tests): Add tst-printf-round.
7222 (link-libm): New variable.
7223 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7224
7225 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7226
7227 [BZ #14576]
7228 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7229 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7230 Likewise.
7231 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7232 Likewise.
7233
7234 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7235
7236 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7237 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7238 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7239 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7240
7241 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7242
7243 [BZ #14518]
7244 * include/rounding-mode.h: New file.
7245 * sysdeps/generic/get-rounding-mode.h: Likewise.
7246 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7247 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7248 (MAX_VALUE): New macro.
7249 (MIN_VALUE): Likewise.
7250 (overflow_value): New function.
7251 (underflow_value): Likewise.
7252 (round_and_return): Use overflow_value and underflow_value to
7253 determine return values in overflow and underflow cases. Use
7254 round_away to determine rounding depending on rounding mode.
7255 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7256 determine return values in overflow and underflow cases.
7257 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7258 (struct test_results): New structure.
7259 (struct test): Use struct test_results to store expected results
7260 for all rounding modes.
7261 (TEST): Include expected results for all rounding modes.
7262 (test_in_one_mode): New function.
7263 (do_test): Use test_in_one_mode to compute and check results.
7264 Check results for all rounding modes.
7265 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7266 $(link-libm).
7267
7268 2012-12-09 Allan McRae <allan@archlinux.org>
7269
7270 * sysdeps/i386/fpu/libm-test-ulps: Update
7271
7272 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7273
7274 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7275 (_G_int32_t): Likewise.
7276 (_G_uint16_t): Likewise.
7277 (_G_uint32_t): Likewise.
7278 (_G_HAVE_BOOL): Likewise.
7279 (_G_HAVE_ATEXIT): Likewise.
7280 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7281 (_G_HAVE_IO_FILE_OPEN): Likewise.
7282 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7283 (_G_int32_t): Likewise.
7284 (_G_uint16_t): Likewise.
7285 (_G_uint32_t): Likewise.
7286 (_G_HAVE_BOOL): Likewise.
7287 (_G_HAVE_ATEXIT): Likewise.
7288 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7289 (_G_HAVE_IO_FILE_OPEN): Likewise.
7290 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7291 (_G_int32_t): Likewise.
7292 (_G_uint16_t): Likewise.
7293 (_G_uint32_t): Likewise.
7294 (_G_HAVE_BOOL): Likewise.
7295 (_G_HAVE_ATEXIT): Likewise.
7296 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7297 (_G_HAVE_IO_FILE_OPEN): Likewise.
7298
7299 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7300
7301 * csu/libc-tls.c: Update copyright years.
7302
7303 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7304
7305 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7306 [!_G_USING_THUNKS]: Remove conditional code.
7307 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7308 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7309
7310 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7311 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7312 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7313 (_G_VTABLE_LABEL_PREFIX): Likewise.
7314 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7315 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7316 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7317 (_G_VTABLE_LABEL_PREFIX): Likewise.
7318 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7319 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7320 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7321 (_G_VTABLE_LABEL_PREFIX): Likewise.
7322 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7323
7324 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7325
7326 * libio/Makefile: Include ../Makeconfig before tests.
7327 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7328 only if $(build-shared) is yes.
7329
7330 * iconv/gconv_db.c: Update copyright years.
7331
7332 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7333
7334 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7335 unwind info if defined PIC. Fix special cases description.
7336 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7337
7338 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7339 DP_HI_MASK entry.
7340 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7341
7342 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7343
7344 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7345
7346 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7347 is NULL.
7348
7349 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7350 (LDLIBS-tst-chk4): This.
7351 (LDFLAGS-tst-chk5): Renamed to ...
7352 (LDLIBS-tst-chk5): This.
7353 (LDFLAGS-tst-chk6): Renamed to ...
7354 (LDLIBS-tst-chk6): This.
7355 (LDFLAGS-tst-lfschk4): Renamed to ...
7356 (LDLIBS-tst-lfschk4): This.
7357 (LDFLAGS-tst-lfschk5): Renamed to ...
7358 (LDLIBS-tst-lfschk5): This.
7359 (LDFLAGS-tst-lfschk6): Renamed to ...
7360 (LDLIBS-tst-lfschk6): This.
7361
7362 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7363 on $(common-objpfx)soversions.mk.
7364
7365 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7366
7367 [BZ #10014]
7368 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7369 example host name.
7370
7371 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7372
7373 * malloc/arena.c (arena_get_retry): New function that gets
7374 another arena for the caller to try its request on.
7375 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7376 current arena cannot fulfill the request.
7377 (__libc_memalign): Likewise.
7378 (__libc_memalign): Likewise.
7379 (__libc_pvalloc): Likewise.
7380 (__libc_calloc): Likewise.
7381
7382 2012-09-05 John Tobey <john.tobey@gmail.com>
7383
7384 [BZ #13542]
7385 * manual/arith.texi (Operations on Complex): Fix description
7386 of carg branch cut.
7387
7388 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7389
7390 [BZ #10014]
7391 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7392 host name.
7393
7394 [BZ #10038]
7395 * manual/memory.texi (Memory): Make order of menu items match
7396 order of sections.
7397
7398 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7399
7400 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7401 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7402 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7403
7404 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7405
7406 * csu/libc-tls.c (static_dtv): Renamed to ...
7407 (_dl_static_dtv): This. Make it global.
7408 (_dl_initial_dtv): Removed.
7409 (__libc_setup_tls): Updated.
7410 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7411 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7412 DL_INITIAL_DTV.
7413
7414 2012-09-06 Petr Machata <pmachata@redhat.com>
7415
7416 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7417 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7418 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7419 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7420
7421 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7422
7423 [BZ #14545]
7424 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7425 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7426 freeing dtv[-1].
7427
7428 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7429
7430 [BZ #14544]
7431 * Makeconfig (link-static-before-libc): Replace $(+prector)
7432 with $(+prectorT).
7433 (link-static-after-libc): Replace $(+postctor) with
7434 $(+postctorT).
7435 (link-bounded): Replace $(+prector)/$(+postctor) with
7436 $(+prectorT)/$(+postctorT).
7437 (+prectorT): New macro.
7438 (+postctorT): Likewise.
7439
7440 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7441
7442 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7443 (round_str): Handle values above the maximum for IBM long double
7444 as inexact.
7445 * stdlib/tst-strtod-round.c (tests): Regenerated.
7446
7447 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7448
7449 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7450 assembler flag.
7451 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7452 zarch_nohighgprs around the zarch optimized routines.
7453 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7454 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7456 for zarch.
7457
7458 2012-09-05 David S. Miller <davem@davemloft.net>
7459
7460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7461
7462 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7463 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7464 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7465 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7466 entries.
7467
7468 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7469
7470 * malloc/arena.c: Fold copyright years.
7471 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7472
7473 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7474
7475 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7476
7477 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7478
7479 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7480
7481 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7482
7483 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7484 change internal state upon failure.
7485
7486 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7487
7488 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7489 * malloc/memusage.c (mmap): Likewise.
7490 (mmap64, mremap): Likewise. Adjust name in comment.
7491
7492 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7493
7494 * libio/fileops.c: Fix typos in comments.
7495 * libio/oldfileops.c: Likewise.
7496 * libio/wfileops.c: Likewise.
7497
7498 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7499
7500 [BZ #1349]
7501 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7502 (tst-malloc-usable-ENV): Set environment for test case.
7503 * malloc/hooks.c (malloc_check_get_size): New function to get
7504 requested size.
7505 * malloc/malloc.c (musable): Use malloc_check_get_size.
7506 * malloc/tst-malloc-usable.c: New test case.
7507
7508 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7509
7510 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7511
7512 2012-09-05 Allan McRae <allan@archlinux.org>
7513
7514 [BZ #13966]
7515 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7516 determine header location.
7517 * configure: Regenerated.
7518
7519 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7520
7521 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7522 float format.
7523 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7524 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7525 format.
7526 (test): Regenerate.
7527
7528 2012-09-04 David S. Miller <davem@davemloft.net>
7529
7530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7532 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7533
7534 2012-09-04 Florian Weimer <fweimer@redhat.com>
7535
7536 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7537 failures.
7538
7539 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7540
7541 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7542
7543 [BZ #9914]
7544 * libio/iogetdelim.c: Include <limits.h>.
7545 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7546 + len + 1 would overflow.
7547
7548 2012-09-03 Andreas Jaeger <aj@suse.de>
7549
7550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7551 * sysdeps/i386/fpu/libm-test-ulps: Update.
7552
7553 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7554
7555 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7556 Add s_sinf-sse2, s_conf-sse2.
7557
7558 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7559 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7560 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7561 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7562
7563 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7564 for using routine as __sinf_ia32.
7565 Use macro for function declaration and weak_alias.
7566 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7567 for using routine as __cosf_ia32.
7568 Use macro for function declaration and weak_alias.
7569
7570 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7571 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7572
7573 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7574 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7576
7577 * math/libm-test.inc (cos_test): Add more test cases.
7578 (sin_test): Likewise.
7579 (sincos_test): Likewise.
7580
7581 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7582
7583 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7584 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7585 hidden.
7586 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7587
7588 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7589
7590 [BZ #14538]
7591 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7592 first element of the GOT.
7593 (elf_machine_load_address): Return the difference between
7594 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7595
7596 2012-09-01 Allan McRae <allan@archlinux.org>
7597
7598 [BZ #13412]
7599 * configure.in (AWK): Require gawk version 3.0 or later.
7600 * configure: Regenerated.
7601
7602 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7603
7604 * sysdeps/unix/sysv/linux/kernel-features.h
7605 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7606 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7607 [__NR_clock_getres]: Make code unconditional.
7608 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7609 (clock_getcpuclockid): Remove code left unreachable by removal of
7610 conditionals.
7611 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7612 code unconditional.
7613 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7614 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7615 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7616 Make code unconditional.
7617 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7618 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7619 * sysdeps/unix/sysv/linux/clock_settime.c
7620 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7621 conditional code.
7622 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7623 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7624
7625 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7626
7627 [BZ #14476]
7628 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7629 scripts/test-installation.pl.
7630
7631 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7632 and $ld_so_version if it is set.
7633
7634 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7635
7636 [BZ #14516]
7637 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7638 failure if reading from procfs failed.
7639 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7640
7641 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7642
7643 * sysdeps/unix/sysv/linux/kernel-features.h
7644 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7645 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7646 Remove conditional code.
7647 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7648 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7649 Remove conditional code.
7650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7651 * sysdeps/unix/sysv/linux/i386/fxstat.c
7652 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7653 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7654 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7655 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7656 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7657 * sysdeps/unix/sysv/linux/i386/lxstat.c
7658 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7659 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7660 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7661 Remove conditional code.
7662 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7663 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7664 Remove conditional code.
7665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7666 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7667 <kernel-features.h>.
7668 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7669 Remove.
7670 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7671 Remove conditional code.
7672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7673 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7674 Remove conditional.
7675
7676 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7677
7678 [BZ #5400]
7679 * NEWS: Add fixed bug number.
7680
7681 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7682
7683 [BZ #14519]
7684 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7685 underflowing exponent in case of negative sign.
7686 * stdlib/tst-strtod-round-data: Add more tests.
7687 * stdlib/tst-strtod-round.c (tests): Regenerated.
7688
7689 [BZ #3479]
7690 * stdlib/strtod_l.c (NDIG): Remove.
7691 (HEXNDIG): Likewise.
7692 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7693 smallest representable value.
7694 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7695 lie within an exact representation of 1/2 ulp of the result.
7696 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7697 unconditionally.
7698 (TENS_P9_IDX): Define unconditionally.
7699 (TENS_P9_SIZE): Likewise.
7700 (TENS_P10_IDX): Likewise.
7701 (TENS_P10_SIZE): Likewise.
7702 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7703 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7704 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7705 entries for 10^2^13 and 10^2^14.
7706 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7707 (TENS_P13_IDX): Define.
7708 (TENS_P13_SIZE): Likewise.
7709 (TENS_P14_IDX): Likewise.
7710 (TENS_P14_SIZE): Likewise.
7711 (_fpioconst_pow10): Change array size to
7712 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7713 unconditional.
7714 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7715 1024]: Add entries for 10^2^13 and 10^2^14.
7716 [LAST_POW10 > _LAST_POW10]: Remove #error.
7717 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7718 (_fpioconst_pow10): Change array size to
7719 FPIOCONST_POW10_ARRAY_SIZE.
7720 * stdlib/gen-fpioconst.c: New file.
7721 * stdlib/gen-tst-strtod-round.c: Likewise.
7722 * stdlib/tst-strtod-round-data: Likewise.
7723 * stdlib/tst-strtod-round.c: Likewise.
7724 * stdlib/Makefile (tests): Add tst-strtod-round.
7725
7726 [BZ #14459]
7727 * stdlib/strtod_l.c: Include <stdint.h>.
7728 (NDEBUG): Do not define.
7729 (round_and_return): Change EXPONENT parameter to type intmax_t.
7730 Rearrange calculations to avoid internal overflow possibilities.
7731 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7732 Rearrange calculations to avoid internal overflow possibilities.
7733 Assert that number fits inside MPNSIZE limbs.
7734 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7735 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7736 calculations and add assertions to avoid internal overflow
7737 possibilities. Add casts to avoid signed/unsigned operations.
7738 * stdlib/tst-strtod-overflow.c: New file.
7739 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7740
7741 2012-08-25 Marek Polacek <polacek@redhat.com>
7742
7743 * time/time.h: Fix some typos in comments.
7744
7745 2012-08-23 Roland McGrath <roland@hack.frob.com>
7746
7747 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7748 * posix/tst-rfc3484-2.c: Likewise.
7749 * posix/tst-rfc3484-3.c: Likewise.
7750
7751 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7752
7753 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7754 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7755
7756 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7757
7758 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7759 #include of fxstatat64.c.
7760
7761 2012-08-22 Roland McGrath <roland@hack.frob.com>
7762
7763 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7764 * shadow/getspent_r.c: Likewise.
7765 * shadow/getspnam.c: Likewise.
7766 * shadow/getspnam_r.c: Likewise.
7767 * gshadow/getsgent.c: Likewise.
7768 * gshadow/getsgent_r.c: Likewise.
7769 * gshadow/getsgnam.c: Likewise.
7770 * gshadow/getsgnam_r.c: Likewise.
7771 * inet/getnetbyad.c: Likewise.
7772 * inet/getnetbyad_r.c: Likewise.
7773 * inet/getnetbynm.c: Likewise.
7774 * inet/getnetbynm_r.c: Likewise.
7775 * inet/getnetent.c: Likewise.
7776 * inet/getnetent_r.c: Likewise.
7777 * inet/getproto.c: Likewise.
7778 * inet/getproto_r.c: Likewise.
7779 * inet/getprtent.c: Likewise.
7780 * inet/getprtent_r.c: Likewise.
7781 * inet/getprtname.c: Likewise.
7782 * inet/getprtname_r.c: Likewise.
7783 * inet/getrpcbyname.c: Likewise.
7784 * inet/getrpcbyname_r.c: Likewise.
7785 * inet/getrpcbynumber.c: Likewise.
7786 * inet/getrpcbynumber_r.c: Likewise.
7787 * inet/getrpcent.c: Likewise.
7788 * inet/getrpcent_r.c: Likewise.
7789 * inet/getaliasent.c: Likewise.
7790 * inet/getaliasent_r.c: Likewise.
7791 * inet/getaliasname.c: Likewise.
7792 * inet/getaliasname_r.c: Likewise.
7793 * nscd/getgrgid_r.c: Likewise.
7794 * nscd/getgrnam_r.c: Likewise.
7795 * nscd/gethstbyad_r.c: Likewise.
7796 * nscd/gethstbynm3_r.c: Likewise.
7797 * nscd/getpwnam_r.c: Likewise.
7798 * nscd/getpwuid_r.c: Likewise.
7799 * nscd/getsrvbynm_r.c: Likewise.
7800 * nscd/getsrvbypt_r.c: Likewise.
7801 * nscd/gai.c: Likewise.
7802
7803 * configure.in (build_nscd): New substituted variable, set
7804 by --disable-build-nscd and defaults to $use_nscd.
7805 * configure: Regenerated.
7806 * config.make.in (build-nscd): New substituted variable.
7807 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7808 Change conditional to require [$(build-nscd) = yes] as well.
7809 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7810
7811 [BZ# 13696]
7812 * configure.in (use_nscd): New substituted variable, set by
7813 --disable-nscd. If enabled, define USE_NSCD.
7814 * configure: Regenerated.
7815 * config.h.in: Add USE_NSCD.
7816 * config.make.in (use-nscd): New substituted variable.
7817 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7818 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7819 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7820 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7821 (CFLAGS-getgrnam_r.c): Likewise.
7822 (CFLAGS-initgroups.c): Likewise.
7823 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7824 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7825 Variables removed.
7826 * inet/getnetgrent_r.c
7827 (nscd_setnetgrent): New function, broken out of ...
7828 (setnetgrent): ... here. Call it.
7829 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7830 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7831 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7832 * nscd/Makefile (routines, aux): Move definitions after include of
7833 Makeconfig. Conditionalize on [$(use-nscd) != no].
7834 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7835 Conditionalize on [USE_NSCD].
7836 (is_nscd, nscd_init_cb): Likewise.
7837 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7838 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7839 * nss/nss_db/db-init.c: Likewise.
7840 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7841 [USE_NSCD].
7842 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7843 (make_request): Use it.
7844 (cache_valid_p): New function.
7845 (__check_pf): Use it.
7846 * NEWS: Add item for --disable-nscd.
7847
7848 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7849
7850 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7851 to support sed >= 4.2.1-20-ga9bf076.
7852 * configure: Regenerated.
7853
7854 2012-08-22 Roland McGrath <roland@hack.frob.com>
7855
7856 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7857 Conditionalize whole body on [IREL].
7858
7859 2012-08-22 Jeff Law <law@redhat.com>
7860
7861 [BZ #14505]
7862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7863 if the family is PF_UNSPEC.
7864
7865 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7866
7867 * Makerules (lib-version): Rename from V.
7868 (install-lib-nosubdir): Change V to lib-version.
7869
7870 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7871
7872 [BZ #14252]
7873 * powerpc32/power6/wcschr.c: New file.
7874 * powerpc32/power6/wcscpy.c: New file.
7875 * powerpc32/power6/wcsrchr.c: New file.
7876 * powerpc64/power6/wcschr.c: New file.
7877 * powerpc64/power6/wcscpy.c: New file.
7878 * powerpc64/power6/wcsrchr.c: New file.
7879
7880 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7881
7882 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7883 (two_way_short_needle): Use it.
7884 * string/strstr.c (AVAILABLE1_USES_J): Define.
7885 * string/strcasestr.c: Likewise.
7886
7887 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7888 array references.
7889 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7890
7891 [BZ #11607]
7892 * NEWS: Add an entry.
7893 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7894 define their defaults.
7895 (two_way_short_needle): Detect end-of-string on-the-fly.
7896 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7897 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7898 * string/bug-strcasestr1.c: New test.
7899 * string/Makefile: Run it.
7900
7901 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7902
7903 [BZ #11607]
7904 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7905 the first character.
7906
7907 2012-08-21 Roland McGrath <roland@hack.frob.com>
7908
7909 * csu/elf-init.c (__libc_csu_irel): Function removed.
7910 * csu/libc-start.c (apply_irel): New function.
7911 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7912
7913 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7914
7915 * sysdeps/unix/sysv/linux/kernel-features.h
7916 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7917 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7918 <kernel-features.h>.
7919 [__NR_fadvise64_64]: Make code unconditional.
7920 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7921 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7922 !__NR_fadvise64_64)]: Likewise.
7923 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7924 !__NR_fadvise64_64))]: Likewise.
7925 [__NR_fadvise64]: Make code unconditional.
7926 [!__NR_fadvise64]: Remove conditional code.
7927 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7928 <kernel-features.h>.
7929 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7930 unconditional.
7931 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7932 conditional code.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7934 not include <kernel-features.h>.
7935 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7936 unconditional.
7937 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7938 conditional code.
7939 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7940 include <kernel-features.h>.
7941 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7942 unconditional.
7943 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7944 conditional code.
7945
7946 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7947
7948 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7949 slight instruction rearrangements per scrollpipe analysis.
7950 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7951
7952 2012-08-20 Roland McGrath <roland@hack.frob.com>
7953
7954 * manual/syslog.texi (syslog; vsyslog, closelog):
7955 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7956 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7957
7958 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7959 DSOCAPS to match condition on defining it.
7960
7961 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7962
7963 * sysdeps/unix/sysv/linux/kernel-features.h
7964 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7966 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7967 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7969 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7970 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7972 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7973 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7974
7975 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7976 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7977
7978 * sysdeps/unix/sysv/linux/kernel-features.h
7979 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7980 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7981 unconditional.
7982 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7983 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7984 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7985 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7986 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7987 Make code unconditional.
7988 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7989 (__mmap64) [!__NR_mmap2]: Likewise.
7990 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7991 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7992 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7993 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7994 [__NR_mmap2]: Make code unconditional.
7995 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7996 (__mmap64) [!__NR_mmap2]: Likewise.
7997
7998 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7999
8000 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8001
8002 2012-08-18 Andreas Jaeger <aj@suse.de>
8003
8004 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8005
8006 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8007
8008 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8009 * include/unistd.h (__have_sock_cloexec): Likewise.
8010 (__have_pipe2): Likewise.
8011 (__have_dup3): Likewise.
8012
8013 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8014
8015 [BZ #9685]
8016 * include/unistd.h (__have_pipe2): Change define into an extern int.
8017 (__have_dup3): Likewise.
8018 * socket/have_sock_cloexec.c: Include fcntl.h.
8019 (__have_pipe2): New variable.
8020 (__have_dup3): Likewise.
8021
8022 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8023
8024 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8025
8026 2012-08-17 Marek Polacek <polacek@redhat.com>
8027
8028 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8029 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8030
8031 2012-08-17 Roland McGrath <roland@hack.frob.com>
8032
8033 * configure.in: Add AC_SUBST for sysheaders.
8034 * configure: Regenerated.
8035 * config.make.in (sysheaders): New substituted variable.
8036
8037 * sysdeps/unix/mkfifo.c: Moved ...
8038 * sysdeps/posix/mkfifo.c: ... here.
8039 * sysdeps/unix/mkfifoat.c: Moved ...
8040 * sysdeps/posix/mkfifoat.c: ... here.
8041
8042 * sysdeps/unix/utime.c: Moved ...
8043 * sysdeps/posix/utime.c: ... here.
8044
8045 * sysdeps/unix/time.c: Moved ...
8046 * sysdeps/posix/time.c: ... here.
8047 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8048 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8049
8050 * sysdeps/unix/nice.c: Moved ...
8051 * sysdeps/posix/nice.c: ... here.
8052
8053 * sysdeps/unix/alarm.c: Moved ...
8054 * sysdeps/posix/alarm.c: ... here.
8055
8056 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8057
8058 2012-08-17 Jeff Law <law@redhat.com>
8059
8060 * intl/Makefile (codeset_mo): New variable.
8061 ($(codeset_mo)): New target.
8062 (tst-codeset.out): Depend on that. Remove explicit rule.
8063 (tst-gettext3.out, tst-gettext5.out): Likewise.
8064 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8065 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8066 * intl/tst-codeset.sh: Remove.
8067 * intl/tst-gettext3.sh: Likewise.
8068 * intl/tst-gettext5.sh: Likewise.
8069
8070 2012-08-17 Roland McGrath <roland@hack.frob.com>
8071
8072 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8073 * sysdeps/unix/syscalls.list: ... here.
8074
8075 * sysdeps/posix/getaddrinfo.c
8076 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8077 (gaiconf_init, gaiconf_reload): Use them.
8078 [!_STATBUF_ST_NSEC]
8079 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8080 Define using time_t rather than struct timespec.
8081
8082 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8083 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8084 Macros removed.
8085 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8086 [!NO_THREADS].
8087 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8088 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8089 Likewise.
8090
8091 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8092 __libc_cleanup_push argument.
8093
8094 * bits/param.h: New file.
8095 * misc/sys/param.h: New file.
8096 * include/sys/param.h: New file.
8097 * misc/Makefile (headers): Add bits/param.h.
8098 * sysdeps/generic/sys/param.h: File removed.
8099 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8100 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8101 * sysdeps/mach/hurd/bits/param.h: New file.
8102 * sysdeps/mach/hurd/sys/param.h: File removed.
8103
8104 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8105 last change.
8106
8107 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8108 [_IO_MTSAFE_IO].
8109 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8110 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8111 New macros.
8112
8113 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8114 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8115 rather than -D_IO_MTSAFE_IO conditionally.
8116 * stdio-common/Makefile (CPPFLAGS): Likewise.
8117 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8118 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8119 Use $(libio-mtsafe).
8120 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8121 of -D_IO_MTSAFE_IO.
8122 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8123 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8124 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8125 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8126 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8127 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8128 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8129 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8130 (CFLAGS-fread_u_chk.c): Likewise.
8131 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8132 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8133 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8134 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8135 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8136 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8137 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8138 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8139 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8140
8141 * libio/Makefile: Test [$(libc-reentrant) = yes]
8142 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8143
8144 * Makeconfig
8145 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8146 * sysdeps/pthread/configure: File removed.
8147 * sysdeps/pthread/Makeconfig: New file.
8148 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8149 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8150
8151 2012-08-16 Gary Benson <gbenson@redhat.com>
8152
8153 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8154 unmapping the first object in a namespace.
8155
8156 2012-08-16 Roland McGrath <roland@hack.frob.com>
8157
8158 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8159 (__internal_setnetgrent): ... this. Add internal_function to
8160 definition. Add libc_hidden_def.
8161 (setnetgrent): Update caller.
8162 (internal_endnetgrent): Renamed to ...
8163 (__internal_endnetgrent): ... this. Add internal_function to
8164 definition. Add libc_hidden_def.
8165 (endnetgrent): Update caller.
8166 (internal_getnetgrent_r): Renamed to ...
8167 (__internal_getnetgrent_r): ... this. Add internal_function to
8168 definition. Add libc_hidden_def.
8169 (__getnetgrent_r): Update caller.
8170 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8171
8172 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8173
8174 * stdlib/longlong.h: Update from GCC.
8175
8176 2012-08-16 Roland McGrath <roland@hack.frob.com>
8177
8178 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8179 on _QL, which is set by umul_ppmm but never used.
8180 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8181 variables, which are set by GMP macros but never used.
8182 * stdio-common/_itowa.c (_itowa): Likewise.
8183 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8184 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8185
8186 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8187
8188 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8189 struct La_sh_regs is not constant.
8190 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8191 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8192 and struct La_sparc64_regs are not constant.
8193
8194 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8195
8196 * sysdeps/unix/sysv/linux/kernel-features.h
8197 (__ASSUME_POSIX_TIMERS): Remove.
8198 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8199 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8200 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8201 Make code unconditional.
8202 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8203 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8204 Make code unconditional.
8205 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8206 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8207 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8208 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8209 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8210 Make code unconditional.
8211 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8212 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8213 (__libc_missing_posix_timers): Remove.
8214
8215 2012-08-15 Roland McGrath <roland@hack.frob.com>
8216
8217 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8218 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8219
8220 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8221
8222 * elf/dl-sym.c: Include <stdlib.h>.
8223
8224 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8225 constants, which avoids warnings in 32-bit builds.
8226
8227 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8228 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8229
8230 * misc/lseek.c: File moved to ...
8231 * io/lseek.c: ... here.
8232
8233 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8234
8235 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8236 shifting LEN more than 31 bits at once.
8237
8238 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8239
8240 [BZ #14195]
8241 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8242 segmentation fault for a case of two empty input strings.
8243 * string/test-strncasecmp.c (check1): Renamed to...
8244 (bz12205): ...this.
8245 (bz14195): Add new testcase for two empty input strings and N > 0.
8246 (test_main): Call new testcase, adapt for renamed function.
8247
8248 2012-08-15 Andreas Jaeger <aj@suse.de>
8249
8250 [BZ #14090]
8251 * crypt/md5test2.c: New test, based on test supplied by Serge
8252 Belyshev <belyshev@depni.sinp.msu.ru>.
8253 * crypt/Makefile (xtests): Add md5test-giant..
8254 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8255
8256 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8257
8258 [BZ #14090]
8259 * crypt/md5.c (md5_process_block): Don't assume the buffer
8260 length is less than 2**32.
8261 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8262 length is less than 2**64.
8263
8264 2012-08-15 Roland McGrath <roland@hack.frob.com>
8265
8266 * string/str-two-way.h: Include <sys/param.h>.
8267 (MAX): Macro removed.
8268
8269 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8270 Move #define and #undef of memmove to just before and after
8271 including <string.h>.
8272
8273 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8274 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8275 and after including <string.h>. Move declarations of
8276 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8277 to before #include "string/memmove.c".
8278
8279 * include/dirent.h: Declare __getdirentries.
8280
8281 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8282 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8283
8284 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8285
8286 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8287 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8288 * sysdeps/i386/configure: Regenerated.
8289 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8290 STABS_CURRENT_FILE, and STABS_FUN.
8291 (END): Remove call to STABS_FUN_END.
8292 (STABS_CURRENT_FILE1): Delete.
8293 (STABS_CURRENT_FILE): Likewise.
8294 (STABS_FUN): Likewise.
8295 (STABS_FUN_END): Likewise.
8296 (STABS_FUN2): Likewise.
8297 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8298 * sysdeps/x86_64/configure: Regenerated.
8299
8300 2012-08-14 Roland McGrath <roland@hack.frob.com>
8301
8302 * elf/dl-open.c: Include <atomic.h>.
8303 * elf/dl-lookup.c: Likewise.
8304
8305 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8306
8307 * sysdeps/unix/sysv/linux/kernel-features.h
8308 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8309 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8310 unconditionally.
8311 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8312 unconditionally.
8313 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8314 condition on __ASSUME_CLONE_THREAD_FLAGS.
8315
8316 2012-08-14 Andreas Jaeger <aj@suse.de>
8317
8318 * sysdeps/i386/fpu/libm-test-ulps: Update.
8319
8320 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8321
8322 * include/atomic.h (atomic_exchange_and_add): Split into ...
8323 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8324 New atomic macros.
8325
8326 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8327
8328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8329
8330 2012-08-13 Jeff Law <law@redhat.com>
8331
8332 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8333 null byte in the output string.
8334
8335 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8336
8337 * sysdeps/unix/sysv/linux/kernel-features.h
8338 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8339 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8340 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8341 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8342 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8343 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8344 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8345
8346 2012-08-09 Jeff Law <law@redhat.com>
8347
8348 [BZ #13939]
8349 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8350 When avoid_arena is set, don't retry in the that arena. Pick the
8351 next one, whatever it might be.
8352 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8353 (arena_lock): Pass in new parameter to arena_get2.
8354 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8355 arena_get2.
8356 (__libc_malloc): Unify retrying after main arena failure with
8357 __libc_memalign version.
8358 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8359
8360 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8361
8362 [BZ #14166]
8363 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8364 to __redirect_strstr.
8365 (__strstr_sse42): Use typeof __redirect_strstr.
8366 (__strstr_ia32): Likewise.
8367 (__libc_strstr): New prototype.
8368 (strstr): Renamed to ...
8369 (__libc_strstr): This.
8370 (strstr): New strong alias of __libc_strstr.
8371 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8372 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8373 __redirect_time.
8374 Include <time.h>.
8375 (__libc_time): New prototype.
8376 (time_ifunc): Replace time with __libc_time.
8377 (time): New strong alias and hidden definition of __libc_time.
8378 (__GI_time): Remove strong alias.
8379 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8380 Include <stddef.h>.
8381 (memmove): Redefined to __redirect_memmove.
8382 (__memmove_sse2): Use typeof __redirect_memmove.
8383 (__memmove_ssse3): Likewise.
8384 (__memmove_ssse3_back): Likewise.
8385 (__libc_memmove): New prototype.
8386 (memmove): Renamed to ...
8387 (__libc_memmove): This.
8388 (memmove): New strong alias of __libc_memmove.
8389
8390 2012-08-08 Mark Salter <msalter@redhat.com>
8391
8392 * elf/elf.h
8393 (R_MN10300_TLS_GD): Define.
8394 (R_MN10300_TLS_LD): Likewise.
8395 (R_MN10300_TLS_LDO): Likewise.
8396 (R_MN10300_TLS_GOTIE): Likewise.
8397 (R_MN10300_TLS_IE): Likewise.
8398 (R_MN10300_TLS_LE): Likewise.
8399 (R_MN10300_TLS_DTPMOD): Likewise.
8400 (R_MN10300_TLS_DTPOFF): Likewise.
8401 (R_MN10300_TLS_TPOFF): Likewise.
8402 (R_MN10300_SYM_DIFF): Likewise.
8403 (R_MN10300_ALIGN): Likewise.
8404 (R_MN10300_NUM): Update.
8405
8406 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8407
8408 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8409 Remove.
8410
8411 2012-08-08 Roland McGrath <roland@hack.frob.com>
8412
8413 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8414
8415 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8416 sysdeps/unix -> sysdeps/posix move.
8417 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8418
8419 2012-08-07 Allan McRae <allan@archlinux.org>
8420
8421 [BZ #14303]
8422 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8423 (SUNOS_CPP): Likewise.
8424 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8425 not found.
8426 (open_input): Call CPP using execvp.
8427
8428 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8429
8430 * sysdeps/unix/sysv/linux/kernel-features.h
8431 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8432 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8433 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8434 (__ASSUME_WAITID_SYSCALL): Likewise.
8435 * sysdeps/unix/sysv/linux/dl-execstack.c
8436 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8437 code unconditional.
8438 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8439 conditional code.
8440 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8441 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8442 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8443 code.
8444 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8445 unconditional.
8446 [__ASSUME_WAITID_SYSCALL]: Likewise.
8447 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8448
8449 2012-08-07 Roland McGrath <roland@hack.frob.com>
8450
8451 * sysdeps/unix/closedir.c: Renamed to ...
8452 * sysdeps/posix/closedir.c: ... here.
8453 * sysdeps/unix/dirfd.c: Renamed to ...
8454 * sysdeps/posix/dirfd.c: ... here.
8455 * sysdeps/unix/dirstream.h: Renamed to ...
8456 * sysdeps/posix/dirstream.h: ... here.
8457 * sysdeps/unix/fdopendir.c: Renamed to ...
8458 * sysdeps/posix/fdopendir.c: ... here.
8459 * sysdeps/unix/opendir.c: Renamed to ...
8460 * sysdeps/posix/opendir.c: ... here.
8461 * sysdeps/unix/readdir.c: Renamed to ...
8462 * sysdeps/posix/readdir.c: ... here.
8463 * sysdeps/unix/readdir_r.c: Renamed to ...
8464 * sysdeps/posix/readdir_r.c: ... here.
8465 * sysdeps/unix/rewinddir.c: Renamed to ...
8466 * sysdeps/posix/rewinddir.c: ... here.
8467 * sysdeps/unix/seekdir.c: Renamed to ...
8468 * sysdeps/posix/seekdir.c: ... here.
8469 * sysdeps/unix/telldir.c: Renamed to ...
8470 * sysdeps/posix/telldir.c: ... here.
8471 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8472 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8473 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8474 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8475
8476 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8477 * bits/fcntl.h: ... here.
8478
8479 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8480 not 0.
8481 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8482 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8483 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8484 (struct flock): Move l_start, l_len to the beginning.
8485 Use __pid_t for l_pid.
8486 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8487 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8488 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8489 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8490 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8491 [__USE_LARGEFILE64] (struct flock64): New type.
8492 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8493
8494 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8495 * bits/dirent.h: ... here.
8496
8497 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8498 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8499
8500 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8501
8502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8503 Change from 2.6.0 to 2.6.16.
8504 * sysdeps/unix/sysv/linux/configure: Regenerated.
8505 * sysdeps/unix/sysv/linux/kernel-features.h
8506 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8507 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8508 version.
8509 (__ASSUME_UTIMES): Likewise.
8510 (__ASSUME_CLONE_STOPPED): Remove.
8511 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8512 architectures, not kernel version.
8513 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8514 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8515 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8516 (__ASSUME_WAITID_SYSCALL): Likewise.
8517 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8518 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8519 * README: State 2.6.16 as minimum Linux kernel version. Do not
8520 refer to older versions.
8521
8522 2012-08-06 Roland McGrath <roland@hack.frob.com>
8523
8524 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8525 Define alphasort64 as an alias.
8526 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8527 Define versionsort64 as an alias.
8528 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8529 Define scandir64 as an alias.
8530 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8531 Define scandirat64 as an alias.
8532 * dirent/alphasort64.c (alphasort64):
8533 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8534 * dirent/versionsort64.c: Likewise.
8535 * dirent/scandir64.c: Likewise.
8536 * dirent/scandirat64.c: Likewise.
8537 * sysdeps/wordsize-64/alphasort.c: File removed.
8538 * sysdeps/wordsize-64/alphasort64.c: File removed.
8539 * sysdeps/wordsize-64/scandir.c: File removed.
8540 * sysdeps/wordsize-64/scandir64.c: File removed.
8541 * sysdeps/wordsize-64/scandirat.c: File removed.
8542 * sysdeps/wordsize-64/scandirat64.c: File removed.
8543 * sysdeps/wordsize-64/versionsort.c: File removed.
8544 * sysdeps/wordsize-64/versionsort64.c: File removed.
8545 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8546 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8551 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8552 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8553
8554 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8556 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8558 [defined __arch64__ || defined __sparcv9]
8559 (__INO_T_MATCHES_INO64_T): New macro.
8560 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8561 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8562 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8563 * sysdeps/unix/sysv/linux/bits/dirent.h
8564 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8565 (_DIRENT_MATCHES_DIRENT64): New macro.
8566
8567 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8568 Define lockf64 as an alias.
8569 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8570 Define fseeko64 as an alias.
8571 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8572 Define ftello64 as an alias.
8573 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8574 Define _IO_fgetpos64 and fgetpos64 as aliases.
8575 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8576 Define _IO_fsetpos64 and fsetpos64 as aliases.
8577 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8578 Conditionalize body on this.
8579 * libio/fseeko64.c: Likewise.
8580 * libio/ftello64.c: Likewise.
8581 * libio/iofgetpos64.c: Likewise.
8582 * libio/iofsetpos64.c: Likewise.
8583 * sysdeps/wordsize-64/lockf.c: File removed.
8584 * sysdeps/wordsize-64/lockf64.c: File removed.
8585 * sysdeps/wordsize-64/fseeko.c: File removed.
8586 * sysdeps/wordsize-64/fseeko64.c: File removed.
8587 * sysdeps/wordsize-64/ftello.c: File removed.
8588 * sysdeps/wordsize-64/ftello64.c: File removed.
8589 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8590 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8591 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8592 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8603
8604 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8606 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8608 [defined __arch64__ || defined __sparcv9]
8609 (__OFF_T_MATCHES_OFF64_T): New macro.
8610 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8611 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8613 (__OFF_T_MATCHES_OFF64_T): New macro.
8614
8615 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8616
8617 * stdlib/secure-getenv.c (__secure_getenv): Replace
8618 GLIBC_2_16 with GLIBC_2_17.
8619
8620 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8621
8622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8624
8625 2012-08-03 David S. Miller <davem@davemloft.net>
8626
8627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8628
8629 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8630
8631 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8632 Remove.
8633 (__ASSUME_CORRECT_SI_PID): Likewise.
8634 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8635 (__ASSUME_TMPFS_NAME): Likewise.
8636 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8637 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8638 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8639 (HAVE_AUX_SECURE): Make definition unconditional.
8640 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8641 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8642
8643 2012-08-03 Roland McGrath <roland@hack.frob.com>
8644
8645 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8646 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8647 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8648 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8649 __eloop_threshold instead of SYMLOOP_MAX.
8650
8651 * sysdeps/generic/eloop-threshold.h: New file.
8652 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8653 of MAXSYMLINKS.
8654 * elf/chroot_canon.c (chroot_canon): Likewise.
8655
8656 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8657
8658 [BZ #13717]
8659 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8660 Change to 2.6.0 everywhere.
8661 * sysdeps/unix/sysv/linux/configure: Regenerated.
8662 * sysdeps/unix/sysv/linux/kernel-features.h
8663 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8664 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8665 kernel versions.
8666 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8667 (__ASSUME_FUTEX_REQUEUE): Remove.
8668 (__ASSUME_STATFS64): Define unconditionally.
8669 (__ASSUME_AT_SECURE): Likewise.
8670 (__ASSUME_CORRECT_SI_PID): Likewise.
8671 (__ASSUME_TGKILL): Define without depending on kernel version for
8672 i386.
8673 (__ASSUME_UTIMES): Likewise.
8674 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8675 kernel version.
8676 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8677 (__ASSUME_TMPFS_NAME): Likewise.
8678 * README: Update reference to Linux kernel versions.
8679
8680 2012-08-02 Marek Polacek <polacek@redhat.com>
8681
8682 [BZ# 14150]
8683 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8684 libc_cv_asm_type_prefix with %.
8685 * configure: Regenerated.
8686 * include/libc-symbols.h: Remove comment about
8687 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8688 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8689 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8690 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8691 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8692 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8693 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8694 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8695 * elf/tst-unique2mod1.c: Likewise.
8696 * elf/tst-unique1mod2.c: Likewise.
8697 * elf/tst-unique1mod1.c: Likewise.
8698 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8699 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8700 Replace ASM_TYPE_DIRECTIVE with .type.
8701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8702 * sysdeps/i386/sysdep.h: Likewise.
8703 * sysdeps/x86_64/sysdep.h: Likewise.
8704 * sysdeps/sh/sysdep.h: Likewise.
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8706 Do not define ASM_TYPE_DIRECTIVE.
8707 * sysdeps/powerpc/sysdep.h: Likewise.
8708 * sysdeps/powerpc/powerpc32/sysdep.h:
8709 Replace ASM_TYPE_DIRECTIVE with .type.
8710 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8711 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8712 * sysdeps/i386/fpu/e_powf.S: Likewise.
8713 * sysdeps/i386/fpu/e_expl.S: Likewise.
8714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8715 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8716 * sysdeps/i386/fpu/e_pow.S: Likewise.
8717 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8718 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8719 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8720 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8721 * sysdeps/i386/fpu/e_log2.S: Likewise.
8722 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8723 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8724 * sysdeps/i386/fpu/e_powl.S: Likewise.
8725 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8726 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8727 * sysdeps/i386/fpu/e_logl.S: Likewise.
8728 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8729 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8730 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8731 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8732 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8733 * sysdeps/i386/fpu/e_log.S: Likewise.
8734 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8735 * sysdeps/i386/fpu/e_logf.S: Likewise.
8736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8737 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8738 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8739 * sysdeps/i386/fpu/e_log10.S: Likewise.
8740 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8741 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8742 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8743 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8745 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8746 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8747 * sysdeps/i386/i686/strtok.S: Likewise.
8748 * sysdeps/i386/i386-mcount.S: Likewise.
8749 * sysdeps/i386/strtok.S: Likewise.
8750 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8751 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8752 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8753 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8754 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8755 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8756 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8757 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8758 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8759 * sysdeps/x86_64/_mcount.S: Likewise.
8760 * sysdeps/x86_64/strtok.S: Likewise.
8761 * sysdeps/sh/_mcount.S: Likewise.
8762
8763 2012-08-01 Roland McGrath <roland@hack.frob.com>
8764
8765 * libio/iofopen.c: Include <fcntl.h>.
8766 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8767 (_IO_fopen64, fopen64): Define as aliases.
8768 * libio/iofopen64.c: Include <fcntl.h>.
8769 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8770 Conditionalize body on this.
8771 * sysdeps/wordsize-64/iofopen.c: File removed.
8772 * sysdeps/wordsize-64/iofopen64.c: File removed.
8773
8774 2012-08-01 Marek Polacek <polacek@redhat.com>
8775
8776 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8777 Use dlfcn directly instead of a variable.
8778 (binfmt-subdir): Do not define.
8779 (dlfcn): Likewise.
8780
8781 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8782
8783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8784 Remove all definitions.
8785 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8786 <kernel-features.h>.
8787 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8788 (miss_F_GETOWN_EX): Remove all definitions.
8789 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8790 macro definition.
8791 [!__ASSUME_FCNTL64]: Remove conditional code.
8792 [__ASSUME_FCNTL64]: Make code unconditional.
8793 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8794 <kernel-features.h>.
8795 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8796 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8797 (lockf64) [__NR_fcntl64]: Make code unconditional.
8798 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8799
8800 * sysdeps/unix/sysv/linux/kernel-features.h
8801 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8802 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8803 Make code unconditional.
8804 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8805 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8807 [__NR_vfork]: Make code unconditional.
8808 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8809 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8811 [__NR_vfork]: Make code unconditional.
8812 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8813 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8814
8815 2012-08-01 Roland McGrath <roland@hack.frob.com>
8816
8817 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8818 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8819
8820 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8821 Define mkstemp64 as an alias.
8822 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8823 Define mkstemps64 as an alias.
8824 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8825 Define mkostemp64 as an alias.
8826 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8827 Define mkostemps64 as an alias.
8828 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8829 Conditionalize body on this.
8830 * misc/mkostemp64.c: Likewise.
8831 * misc/mkostemps64.c: Likewise.
8832 * misc/mkstemps64.c: Likewise.
8833 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8834 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8835 * sysdeps/wordsize-64/mkostemp.c: File removed.
8836 * sysdeps/wordsize-64/mkstemp.c: File removed.
8837 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8840 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8841
8842 [BZ #14138]
8843 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8844 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8845 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8846 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8847
8848 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8849 compat_symbol macros from <shlib-compat.h> rather than the underlying
8850 default_symbol_version and symbol_version macros, so that DEFAULT
8851 lines in shlib-versions are respected.
8852 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8853
8854 2012-08-01 Florian Weimer <fweimer@redhat.com>
8855
8856 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8857 Declare with warn_unused_result.
8858 (setgid, setregid, setegid, setresgid): Likewise.
8859 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8860 Likewise.
8861 * WUR-REPORT: Remove set*id functions.
8862
8863 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8864
8865 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8866
8867 2012-07-31 Roland McGrath <roland@hack.frob.com>
8868
8869 * include/sys/socket.h (__libc_accept, __libc_accept4):
8870 Add attribute_hidden.
8871 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8872
8873 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8874 use of PTR_MANGLE.
8875 * inet/getnetgrent_r.c (setup): Likewise.
8876
8877 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8878
8879 2012-07-31 David S. Miller <davem@davemloft.net>
8880
8881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8882
8883 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8884
8885 [BZ #13629]
8886 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8887 value between 1.0 and 2.0 and smaller part has absolute value less
8888 than 1.0.
8889 * math/s_clog10.c (__clog10): Likewise.
8890 * math/s_clog10f.c (__clog10f): Likewise.
8891 * math/s_clog10l.c (__clog10l): Likewise.
8892 * math/s_clogf.c (__clogf): Likewise.
8893 * math/s_clogl.c (__clogl): Likewise.
8894 * math/libm-test.inc (clog_test): Add more tests.
8895 (clog10_test): Likewise.
8896 * sysdeps/i386/fpu/libm-test-ulps: Update.
8897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8898
8899 2012-07-31 Florian Weimer <fweimer@redhat.com>
8900
8901 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8902 Exit with zero in case no suitable GID is found, and write a
8903 message to standard error.
8904
8905 2012-07-30 Roland McGrath <roland@hack.frob.com>
8906
8907 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8908 rather than to 1.
8909 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8910 (MAXPATHLEN): Removed.
8911 (NOGROUP, NODEV): New macros.
8912 (setbit, clrbit, isset, isclr): New macros.
8913 (howmany, roundup, powerof2): New macros.
8914 (DEV_BSIZE): New macro.
8915
8916 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8917 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8918
8919 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8920 definition on [!__NO_LONG_DOUBLE_MATH].
8921
8922 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8923 PTR_MANGLE and PTR_DEMANGLE.
8924
8925 * socket/accept4.c (accept4): Rename to __libc_accept4.
8926 Define accept4 as a weak alias.
8927
8928 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8929 on [_DIRENT_HAVE_D_TYPE].
8930 * io/ftw.c (ftw_dir): Likewise.
8931
8932 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8933
8934 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8935
8936 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8937 Use the BSD numbers rather than the arbitrary ones we had.
8938 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8939 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8940 (SIGXCPU, SIGXFSZ): New macros.
8941 (_NSIG): Now 32.
8942
8943 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8944 initializer on [_LIBC_REENTRANT].
8945
8946 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8947 definitions inside [_POSIX_MAPPED_FILES].
8948
8949 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8950
8951 * dirent/opendir.c: Include <fcntl.h>.
8952
8953 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8954 (__libc_getspecific): Likewise.
8955 (__libc_key_create): Likewise.
8956
8957 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8958 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8959 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8960 (tmpfile64): Define as alias.
8961 * sysdeps/wordsize-64/tmpfile.c: File removed.
8962 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8965
8966 * stdio-common/vfscanf.c: Include <stdbool.h>.
8967 * nss/makedb.c: Likewise.
8968 * stdio-common/_i18n_number.h: Likewise.
8969 * argp/argp-help.c: Likewise.
8970 * posix/wordexp.c: Likewise.
8971 * sysdeps/posix/spawni.c: Likewise.
8972 * nss/nss_files/files-initgroups.c: Likewise.
8973 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8974 * nss/nss_files/files-initgroups.c: Likewise.
8975 * nss/nss_db/db-netgrp.c: Likewise.
8976 * nss/nss_db/db-initgroups.c: Likewise.
8977 * io/fchmodat.c: Include <sys/stat.h>.
8978
8979 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8980 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8981
8982 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8983 [HAVE_MMAP].
8984
8985 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8986 Add multiple inclusion protection.
8987
8988 2012-07-27 David S. Miller <davem@davemloft.net>
8989
8990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8991
8992 2012-07-27 Gary Benson <gbenson@redhat.com>
8993
8994 [BZ #14298]
8995 * elf/rtld.c: Include <stap-probe.h>.
8996 (dl_main): Added static probes "init_start" and "init_complete".
8997 * elf/dl-load.c: Include <stap-probe.h>.
8998 (lose): Take new parameter "nsid".
8999 Added static probe "map_failed".
9000 (_dl_map_object_from_fd): Pass namespace id to lose.
9001 Added static probe "map_start".
9002 (open_verify): Pass namespace id to lose.
9003 * elf/dl-open.c: Include <stap-probe.h>.
9004 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9005 and "reloc_complete".
9006 * elf/dl-close.c: Include <stap-probe.h>.
9007 (_dl_close_worker): Added static probes "unmap_start" and
9008 "unmap_complete".
9009 * elf/rtld-debugger-interface.txt: New file documenting the above.
9010
9011 2012-07-26 Roland McGrath <roland@hack.frob.com>
9012
9013 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9014 rather than a string variable.
9015 * sunrpc/rpc_main.c (h_output): Likewise.
9016 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9017
9018 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9019
9020 * inet/check_native.c: New file.
9021
9022 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9023
9024 [BZ #13629]
9025 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9026 if larger part has absolute value 1.0.
9027 * math/s_clog10.c (__clog10): Likewise.
9028 * math/s_clog10f.c (__clog10f): Likewise.
9029 * math/s_clog10l.c (__clog10l): Likewise.
9030 * math/s_clogf.c (__clogf): Likewise.
9031 * math/s_clogl.c (__clogl): Likewise.
9032 * math/libm-test.inc (clog_test): Add more tests.
9033 (clog10_test): Likewise.
9034 * sysdeps/i386/fpu/libm-test-ulps: Update.
9035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9036
9037 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9038 (pltexit): Likewise.
9039 (La_regs): Likewise.
9040 (La_retval): Likewise.
9041 (int_retval): Likewise.
9042 Update #error for removed macros to refer only to definitions in
9043 tst-audit.h.
9044 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9045 macro.
9046 (pltexit): Likewise.
9047 (La_regs): Likewise.
9048 (La_retval): Likewise.
9049 (int_retval): Likewise.
9050 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9051 macro.
9052 (pltexit): Likewise.
9053 (La_regs): Likewise.
9054 (La_retval): Likewise.
9055 (int_retval): Likewise.
9056 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9057 macro.
9058 (pltexit): Likewise.
9059 (La_regs): Likewise.
9060 (La_retval): Likewise.
9061 (int_retval): Likewise.
9062 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9063 macro.
9064 (pltexit): Likewise.
9065 (La_regs): Likewise.
9066 (La_retval): Likewise.
9067 (int_retval): Likewise.
9068 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9069 macro.
9070 (pltexit): Likewise.
9071 (La_regs): Likewise.
9072 (La_retval): Likewise.
9073 (int_retval): Likewise.
9074 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9075 macro.
9076 (pltexit): Likewise.
9077 (La_regs): Likewise.
9078 (La_retval): Likewise.
9079 (int_retval): Likewise.
9080 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9081 macro definitions in tst-audit.h.
9082 * sysdeps/i386/tst-audit.h: New file.
9083 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9084 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9085 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9086 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9087 * sysdeps/sh/tst-audit.h: Likewise.
9088 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9089 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9090 * sysdeps/x86_64/tst-audit.h: Likewise.
9091
9092 2012-07-26 Andreas Jaeger <aj@suse.de>
9093
9094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9095 ptrace.
9096
9097 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9098 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9099 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9100 PTRACE_O_MASK.
9101 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9102 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9103 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9104
9105 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9106 value.
9107
9108 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9109 _sigsys.
9110 (si_call_addr, si_syscall, si_arch): Define new macro.
9111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9112 _sigsys.
9113 (si_call_addr, si_syscall, si_arch): Define new marcro.
9114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9115 _sigsys.
9116 (si_call_addr, si_syscall, si_arch): Define new macro.
9117 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9118 _sigsys.
9119 (si_call_addr, si_syscall, si_arch): Define new macro.
9120
9121 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9122
9123 [BZ #13717]
9124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9125 Change to 2.4.21 where previously 2.4.1.
9126 * sysdeps/unix/sysv/linux/configure: Regenerated.
9127 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9128 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9129 Linux kernel version.
9130 (__ASSUME_STD_AUXV): Remove.
9131 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9132 kernel version.
9133 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9134 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9135 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9136 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9137 (__ASSUME_NETLINK_SUPPORT): Likewise.
9138 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9139 (__no_netlink_support): Remove conditional definition.
9140 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9141 Remove.
9142 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9143 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9144 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9145 (if_nameindex_ioctl): Remove.
9146 (if_nameindex_netlink): Do not handle __no_netlink_support.
9147 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9148 code.
9149 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9150 Remove conditional code.
9151 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9152 code.
9153 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9154 unconditional.
9155 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9156 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9157 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9158 Remove.
9159 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9160 [!__ASSUME_STD_AUXV]: Remove conditional code.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9162 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9163 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9165 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9166 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9167 code.
9168 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9170 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9171 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9172 conditional code.
9173 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9175 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9176 code.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9178 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9179 conditional code.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9181 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9182 code unconditional.
9183 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9184 conditional code.
9185 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9186 unconditional.
9187 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9188 conditional code.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9190 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9191 unconditional.
9192 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9193 conditional code.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9195 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9196 code unconditional.
9197 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9198 conditional code.
9199 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9200 unconditional.
9201 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9202 conditional code.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9204 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9205 code unconditional.
9206 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9207 conditional code.
9208 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9209 unconditional.
9210 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9211 conditional code.
9212
9213 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9214
9215 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9216 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9217 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9218 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9219 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9220 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9221 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9222 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9223 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9224 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9225 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9226 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9227 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9228 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9229 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9230 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9231 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9233 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9235 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9236 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9238
9239 2012-07-25 Florian Weimer <fweimer@redhat.com>
9240
9241 * Versions.def: Add GLIBC_2.17.
9242 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9243 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9244 Introduce __libc_secure_getenv.
9245 * stdlib/Versions (2.17): Add secure_getenv
9246 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9247 * stdlib/secure-getenv.c: Rename __secure_getenv to
9248 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9249 symbol __secure_getenv for GLIBC_2.0.
9250 * stdlib/tst-secure-getenv.c: New.
9251 * stdlib/Makefile (tests): Add testcase.
9252 * manual/startup.texi (Environment Access): Document
9253 secure_getenv.
9254 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9255 __libc_secure_getenv.
9256 * inet/ruserpass.c (ruserpass): Likewise.
9257 * malloc/mtrace.c (mtrace): Likewise.
9258 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9259 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9260 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9261 * sysdeps/posix/tempname.c: Likewise. Evaluate
9262 HAVE_SECURE_GETENV.
9263 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9264 __secure_getenv to __libc_secure_getenv.
9265 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9267 Likewise.
9268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9269 Likewise.
9270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9277
9278 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9279
9280 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9281 (struct La_i86_retval): Likewise.
9282 (struct La_x86_64_regs): Likewise.
9283 (struct La_x86_64_retval): Likewise.
9284 (struct La_x32_regs): Likewise.
9285 (struct La_x32_retval): Likewise.
9286 (struct La_ppc32_regs): Likewise.
9287 (struct La_ppc32_retval): Likewise.
9288 (struct La_ppc64_regs): Likewise.
9289 (struct La_ppc64_retval): Likewise.
9290 (struct La_sh_regs): Likewise.
9291 (struct La_sh_retval): Likewise.
9292 (struct La_s390_32_regs): Likewise.
9293 (struct La_s390_32_retval): Likewise.
9294 (struct La_s390_64_regs): Likewise.
9295 (struct La_s390_64_retval): Likewise.
9296 (struct La_sparc32_regs): Likewise.
9297 (struct La_sparc32_retval): Likewise.
9298 (struct La_sparc64_regs): Likewise.
9299 (struct La_sparc64_retval): Likewise.
9300 (struct audit_ifaces): Remove architecture-specific pltenter and
9301 pltexit members.
9302 * sysdeps/i386/ldsodefs.h: New file.
9303 * sysdeps/powerpc/ldsodefs.h: Likewise.
9304 * sysdeps/s390/ldsodefs.h: Likewise.
9305 * sysdeps/sh/ldsodefs.h: Likewise.
9306 * sysdeps/sparc/ldsodefs.h: Likewise.
9307 * sysdeps/x86_64/ldsodefs.h: Likewise.
9308
9309 2012-07-25 Marek Polacek <polacek@redhat.com>
9310
9311 [BZ #6808]
9312 * math/libm-test.inc (yn_test): Add another test.
9313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9314 to ERANGE when the result is +-Inf.
9315 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9316 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9318 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9319
9320 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9321
9322 * conform/data/time.h-data (NULL): Use macro-constant. Require
9323 equal to 0.
9324 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9325 clock_t.
9326 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9327
9328 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9329
9330 * configure.in <sysdeps resolving>: Correct printing
9331 Implies_before.
9332 * configure: Regenerate.
9333
9334 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9335
9336 * math/w_ilogb.c: Include <limits.h>.
9337 * math/w_ilogbl.c: Likewise.
9338
9339 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9340
9341 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9342 va_copy. Document allowing for unavailable va_copy only as
9343 pre-C99 compatibility.
9344 * manual/string.texi (Copying and Concatenation): Use va_copy
9345 instead of __va_copy in concat example.
9346
9347 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9348
9349 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9350 (__sendto): Use create_address_port. Initialize APORT and deallocate
9351 it if not null.
9352
9353 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9354 with O_NOLINK passed to __file_name_lookup.
9355
9356 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9357 with O_NOLINK passed to __file_name_lookup.
9358
9359 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9360 negative N or less than NGIDS.
9361
9362 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9363 type to string_t. Set ERANGE as errno and return it if NAME is not big
9364 enough. Use memcpy instead of strncpy.
9365
9366 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9367
9368 * elf/Makefile (check-data): Remove.
9369 (localplt.data): New vpath directive.
9370 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9371 instead of $(check-data).
9372 * scripts/data/localplt-generic.data: Move to ...
9373 * sysdeps/generic/localplt.data: ... here.
9374 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9375 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9376 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9378 ... here.
9379 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9381 ... here.
9382 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9384 ... here.
9385 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9387 ... here.
9388 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9390 ... here.
9391 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9393 ... here.
9394
9395 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9396
9397 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9398 PPC32 and PPC64 files.
9399 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9400 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9401
9402 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9403
9404 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9405 __makecontext_ret to ...
9406 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9407 ... here and call exit if uc_link is NULL. New file.
9408 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9409 __makecontext_ret.S.
9410 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9411 __makecontext_ret to ...
9412 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9413 ... here and call exit if uc_link is NULL. New file.
9414 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9415 __makecontext_ret.S.
9416
9417 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9418
9419 * elf/elf.h (R_390_IRELATIVE): New definition.
9420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9421 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9422 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9424 (elf_machine_lazy_rel): Likewise.
9425 * sysdeps/s390/dl-irel.h: New file.
9426 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9427 * sysdeps/s390/s390-64/memset.S: New asm code.
9428 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9429 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9430 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9431 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9432 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9433 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9434 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9435 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9436 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9437 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9438 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9439 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9440 * sysdeps/s390/s390-32/memset.S: New asm code.
9441 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9442
9443 2012-07-17 Marek Polacek <polacek@redhat.com>
9444
9445 [BZ #14349]
9446 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9447 * sysdeps/s390/s390-64/configure.in: Likewise.
9448 * sysdeps/sparc/configure.in: Likewise.
9449 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9450 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9451 * sysdeps/i386/configure.in: Likewise.
9452 * sysdeps/x86_64/configure.in: Likewise.
9453 * sysdeps/sh/configure.in: Likewise.
9454 * sysdeps/s390/s390-32/configure: Regenerated.
9455 * sysdeps/s390/s390-64/configure: Likewise.
9456 * sysdeps/x86_64/configure: Likewise.
9457 * sysdeps/sh/configure: Likewise.
9458 * sysdeps/powerpc/powerpc64/configure: Likewise.
9459 * sysdeps/powerpc/powerpc32/configure: Likewise.
9460 * sysdeps/sparc/configure: Likwise.
9461 * sysdeps/i386/configure: Likewise.
9462
9463 * elf/dl-open.c: Comment fixes.
9464
9465 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9466
9467 * Makefile [CXX] (check-data): Remove.
9468 [CXX] (c++-types.data): New vpath directive.
9469 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9470 vpath. Do not allow for C++ type data being missing.
9471 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9472 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9473 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9474 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9475 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9476 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9477 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9479 ... here.
9480 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9482 ... here.
9483 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9485 ... here.
9486 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9488 ... here.
9489 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9491 ... here.
9492 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9494 ... here.
9495 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9497 ... here.
9498 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9500
9501 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9502 definitions to architecture-specific files.
9503 (TLS_IE): Likewise.
9504 (TLS_LD): Likewise.
9505 (TLS_GD): Likewise.
9506 * sysdeps/i386/tls-macros.h: New file.
9507 * sysdeps/powerpc/tls-macros.h: Likewise.
9508 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9509 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9510 * sysdeps/sh/tls-macros.h: Likewise.
9511 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9512 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9513 * sysdeps/x86_64/tls-macros.h: Likewise.
9514
9515 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9516
9517 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9518 zero value for regular exit case.
9519
9520 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9521 (__start_context): Preserve zero value for regular exit case.
9522
9523 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9524 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9525
9526 * manual/setjmp.texi (setcontext): Clarify normal process
9527 termination when uc_link is the null pointer.
9528 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9529 exit call.
9530
9531 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9532
9533 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9534 preprocessor. Test for each exception mask separately.
9535
9536 2012-07-16 Andreas Jaeger <aj@suse.de>
9537
9538 * po/ru.po: Update from translation team.
9539
9540 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9541
9542 * conform/data/string.h-data (NULL): Use macro-constant. Require
9543 equal to 0.
9544 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9545 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9546 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9547 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9549
9550 2012-07-13 Andreas Jaeger <aj@suse.de>
9551
9552 * po/fr.po: Update from translation team.
9553
9554 2012-07-12 Marek Polacek <polacek@redhat.com>
9555
9556 [BZ #14173]
9557 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9559 loop condition.
9560
9561 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9562
9563 [BZ #13717]
9564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9565 Change to 2.4.1 where previously 2.4.0.
9566 * sysdeps/unix/sysv/linux/configure: Regenerated.
9567 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9568 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9569 version.
9570 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9571 (__ASSUME_AT_CLKTCK): Remove.
9572 (__ASSUME_AT_PAGESIZE): Likewise.
9573 (__ASSUME_AT_XID): Likewise.
9574 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9575 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9576 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9577 unconditionally.
9578 (HAVE_AUX_PAGESIZE): Likewise.
9579 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9580 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9581 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9582
9583 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9584
9585 [BZ #14307]
9586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9587 the temporary buffer used to invoke __gethostbyname2_r,
9588 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9589 host_data / struct gaih_addrtuple.
9590 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9591 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9592 header file nss/nsswitch.h.
9593 * nss/nsswitch.h (global scope): Add definition of implementation
9594 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9595 resolv/nss_dns/dns-host.c).
9596
9597 2012-07-11 Andreas Jaeger <aj@suse.de>
9598
9599 * po/fr.po: Update from translation team.
9600
9601 * po/sv.po: Update from translation team
9602 * po/fr.po: Another update from translation team.
9603
9604 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9605
9606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9607 for subnormals or multiply small sinh result by itself.
9608 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9610
9611 2012-07-11 David S. Miller <davem@davemloft.net>
9612
9613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9614
9615 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9616
9617 [BZ #14347]
9618 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9619 (INTERNAL_MARK): Shift it here.
9620
9621 2012-07-10 Marek Polacek <polacek@redhat.com>
9622
9623 [BZ #14151]
9624 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9625 libc_cv_asm_global_directive with .globl.
9626 * configure: Regenerated.
9627 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9628 with .globl.
9629 * sysdeps/i386/configure: Regenerated.
9630 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9631 with .globl.
9632 * sysdeps/x86_64/configure: Regenerated.
9633 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9634 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9635 * elf/tst-unique2mod2.c: Likewise.
9636 * elf/tst-unique2mod1.c: Likewise.
9637 * elf/tst-unique1mod2.c: Likewise.
9638 * elf/tst-unique1mod1.c: Likewise.
9639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9640 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9643 * sysdeps/mach/sysdep.h: Likewise.
9644 * sysdeps/i386/sysdep.h: Likewise.
9645 * sysdeps/i386/i386-mcount.S: Likewise.
9646 * sysdeps/x86_64/_mcount.S: Likewise.
9647 * sysdeps/x86_64/sysdep.h: Likewise.
9648 * sysdeps/sh/_mcount.S: Likewise.
9649 * sysdeps/sh/sysdep.h: Likewise.
9650 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9652 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9654 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9655 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9656 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9657 * locale/localeinfo.h: Likewise.
9658 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9659 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9660
9661 2012-07-09 Roland McGrath <roland@hack.frob.com>
9662
9663 [BZ #14336]
9664 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9665 system".
9666 * manual/message.texi (The Uniforum approach): Likewise.
9667 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9668 (glibc iconv Implementation): Likewise.
9669
9670 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9671
9672 [BZ #14337]
9673 * math/s_clog.c (__clog): Avoid scaling a value down where that
9674 could result in underflow.
9675 * math/s_clog10.c (__clog10): Likewise.
9676 * math/s_clog10f.c (__clog10f): Likewise.
9677 * math/s_clog10l.c (__clog10l): Likewise.
9678 * math/s_clogf.c (__clogf): Likewise.
9679 * math/s_clogl.c (__clogl): Likewise.
9680 * math/libm-test.inc (clog_test): Add more tests.
9681 (clog10_test): Likewise.
9682 * sysdeps/i386/fpu/libm-test-ulps: Update.
9683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9684
9685 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9686
9687 [BZ #14283]
9688 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9689 by 7 not 8 to examine high bit of fractional part.
9690
9691 [BZ #14042]
9692 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9693 for call to __mcount_internal.
9694 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9695 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9696 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9697
9698 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9699
9700 [BZ #14154]
9701 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9702 approximation for values within 0x1p-13f of an odd multiple of
9703 pi/4.
9704 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9705 exception. Add more tests.
9706 * sysdeps/i386/fpu/libm-test-ulps: Update.
9707
9708 [BZ #6778]
9709 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9710 inputs and return -1 for them. Do not check for +Inf in case not
9711 reachable for +Inf.
9712 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9713 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9714 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9715 and return -1 for them. Do not check for +Inf in case not
9716 reachable for +Inf.
9717 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9718 define.
9719 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9720 and return -1 for them. Do not check for +Inf in case not
9721 reachable for +Inf.
9722 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9723 spurious underflow.
9724 * sysdeps/i386/fpu/libm-test-ulps: Update.
9725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9726
9727 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9728
9729 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9730
9731 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9732
9733 [BZ #14157]
9734 [BZ #14331]
9735 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9736 could result in spurious underflow. Scale down values above
9737 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9738 * math/s_csqrtf.c (__csqrtf): Likewise.
9739 * math/s_csqrtl.c (__csqrtl): Likewise.
9740 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9741 spurious underflow.
9742 * sysdeps/i386/fpu/libm-test-ulps: Update.
9743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9744
9745 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9746
9747 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9748 xopen-msg.sed.
9749 * catgets/xopen-msg.awk: New file.
9750 * catgets/xopen-msg.sed: Removed.
9751
9752 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9753 po2text.sed.
9754 * intl/po2test.awk: New file.
9755 * intl/po2test.sed: Removed.
9756
9757 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9758
9759 [BZ #14328]
9760 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9761 or multiply small sinh result by itself.
9762 * math/s_ctanf.c (__ctanf): Likewise.
9763 * math/s_ctanh.c (__ctanh): Likewise.
9764 * math/s_ctanhf.c (__ctanhf): Likewise.
9765 * math/s_ctanhl.c (__ctanhl): Likewise.
9766 * math/s_ctanl.c (__ctanl): Likewise.
9767 * math/libm-test.inc (ctan_test_tonearest): New function.
9768 (ctan_test_towardzero): Likewise.
9769 (ctan_test_downward): Likewise.
9770 (ctan_test_upward): Likewise.
9771 (ctanh_test_tonearest): Likewise.
9772 (ctanh_test_towardzero): Likewise.
9773 (ctanh_test_downward): Likewise.
9774 (ctanh_test_upward): Likewise.
9775 (main): Call these new functions.
9776 * sysdeps/i386/fpu/libm-test-ulps: Update.
9777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9778
9779 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9780
9781 * .gitignore: Delete /ports entry.
9782
9783 2012-07-03 Andreas Jaeger <aj@suse.de>
9784
9785 * po/bg.po: Update from translation team.
9786 * po/cs.po: Likewise.
9787 * po/de.po: Likewise.
9788 * po/hr.po: Likewise.
9789 * po/nl.pl: Likewise.
9790 * po/pl.po: Likewise.
9791 * po/vi.po: Likewise.
9792
9793 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9794
9795 * Makeconfig [!+link] (+link-before-libc): New variable.
9796 [!+link] (+link-after-libc): Likewise.
9797 [!+link] (+link-tests): Likewise.
9798 [!+link] (+link): Define in terms of $(+link-before-libc) and
9799 $(+link-after-libc).
9800 [!+link-static] (+link-static-before-libc): New variable.
9801 [!+link-static] (+link-static-after-libc): Likewise.
9802 [!+link-static] (+link-static-tests): Likewise.
9803 [!+link-static] (+link-static): Define in terms of
9804 $(+link-static-before-libc) and $(+link-static-after-libc).
9805 [build-shared] (link-libc-before-gnulib): New variable.
9806 [build-shared] (link-libc-tests): Likewise.
9807 [build-shared] (link-libc): Define in terms of
9808 $(link-libc-before-gnulib).
9809 [!build-shared] (link-libc-tests): New variable.
9810 (link-libc-static-tests): New variable.
9811 [!gnulib] (gnulib-arch): New variable.
9812 [!gnulib] (gnulib-tests): Likewise.
9813 [!gnulib] (static-gnulib-arch): Likewise.
9814 [!gnulib] (static-gnulib-tests): Likewise.
9815 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9816 Define with "=" instead of ":=".
9817 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9818 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9819 * Rules (binaries-all-notests): New variable.
9820 (binaries-all-tests): Likewise.
9821 (binaries-static-notests): Likewise.
9822 (binaries-static-tests): Likewise.
9823 (binaries-all): Define using $(binaries-all-notests) and
9824 $(binaries-all-tests).
9825 (binaries-static): Define using $(binaries-static-notests) and
9826 $(binaries-static-tests).
9827 (binaries-shared-tests): New variable.
9828 (binaries-shared-notests): Likewise.
9829 (binaries-shared): Remove variable.
9830 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9831 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9832 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9833 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9834 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9835 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9836 * elf/Makefile (sln-modules): New variable.
9837 (extra-objs): Add $(sln-modules:=.o).
9838 (ldconfig-modules): Add static-stubs.
9839 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9840 * elf/static-stubs.c: New file.
9841
9842 [BZ #14283]
9843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9844 by 7 not 8 to examine high bit of fractional part. Use volatile
9845 variables when splitting into final array of floats if
9846 __FLT_EVAL_METHOD__ != 0.
9847 * math/libm-test.inc (cos_test): Add another test.
9848 (sin_test): Likewise.
9849 * sysdeps/i386/fpu/libm-test-ulps: Update.
9850
9851 [BZ #14273]
9852 * math/libm-test.inc (cosh_test): Add more tests.
9853
9854 * version.h (RELEASE): Set to "development".
9855 (VERSION): Set to "2.16.90".
9856
9857 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9858
9859 * NEWS: Update copyright. Remove last-updated date.
9860 Mention math library bug fixes and timezone data changes.
9861 * README: Mention GNU/Hurd, x32, and HPPA support status.
9862
9863 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9864
9865 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9866
9867 2012-06-27 Andreas Jaeger <aj@suse.de>
9868
9869 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9870
9871 2012-06-25 Andreas Jaeger <aj@suse.de>
9872
9873 * sysdeps/s390/fpu/libm-test-ulps: Update.
9874
9875 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9876 Thomas Schwinge <thomas@codesourcery.com>
9877
9878 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9879 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9881 fanotify_mark.
9882
9883 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9884
9885 * sysdeps/mach/start.c: Remove file.
9886 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9887 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9888 * sysdeps/sh/init-first.c: Likewise.
9889
9890 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9891 registers for frame unwinding purposes, add CFI directives.
9892 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9893 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9894 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9895 Likewise.
9896
9897 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9898 __fortify_fail returning.
9899 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9900
9901 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9902 sysdeps/sh/____longjmp_chk.S.
9903 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9904 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9905 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9906 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9907
9908 * sysdeps/sh/abort-instr.h: New file.
9909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9910 process in case exit returns.
9911
9912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9913 initialize the GOT register before use.
9914
9915 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9916 calculation of ARGC > 4.
9917
9918 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9919 meaningful names to some local labels.
9920
9921 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9922 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9923
9924 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9925 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9926 (__arch_compare_and_exchange_val_16_acq): Likewise.
9927 (__arch_compare_and_exchange_val_32_acq): Likewise.
9928 (atomic_exchange_and_add): Fix gUSA sequence.
9929 (atomic_add): Likewise.
9930 (atomic_add_negative): Likewise.
9931 (atomic_add_zero): Likewise.
9932 (atomic_bit_test_set): Likewise.
9933
9934 2012-06-22 Andreas Schwab <schwab@redhat.com>
9935
9936 [BZ #13579]
9937 * include/link.h (struct link_map): Add l_free_initfini.
9938 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9939 l_initfini.
9940 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9941 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9942 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9943 set.
9944
9945 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9946
9947 * configure.in: Use AC_LANG_SOURCE.
9948 * configure: Regenerate.
9949
9950 2012-06-22 Roland McGrath <roland@hack.frob.com>
9951
9952 * configure.in (libc_cv_localstatedir): New substituted variable.
9953 * configure: Regenerated.
9954 * config.make.in (localstatedir): New variable, substituted from
9955 libc_cv_localstatedir.
9956 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9957 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9958 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9959 * sysdeps/gnu/configure: Regenerated.
9960
9961 2012-06-21 Jeff Law <law@redhat.com>
9962
9963 [BZ #14277]
9964 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9965 free. Simplify list management for _LIBC case.
9966
9967 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9968
9969 [BZ #14273]
9970 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9971 Clear sign bit of 64-bit integer value before comparing against
9972 overflow value.
9973
9974 * sysdeps/mach/configure: Regenerated.
9975
9976 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9977
9978 [BZ #14278]
9979 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9980
9981 2012-06-21 Jeff Law <law@redhat.com>
9982
9983 [BZ #13882]
9984 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9985 uint16_t for elements in the "seen" array to avoid char overflows.
9986 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9987 * elf/dl-open.c (dl_open_worker): Likewise.
9988
9989 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9990
9991 * scripts/list-sources.sh: Scan PORTS for translations.
9992 * po/libc.pot: Regenerated.
9993
9994 2012-06-21 Andreas Jaeger <aj@suse.de>
9995
9996 [BZ #12194]
9997 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9998 warning.
9999 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10000 * bits/byteswap-16.h (__bswap_16): Likewise.
10001 * bits/byteswap.h (__bswap_constant_16): Likewise.
10002
10003 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10004
10005 [BZ #14117]
10006 * sysdeps/i386/fpu_control.h: Removed.
10007 * sysdeps/x86_64/fpu_control.h: Moved to ...
10008 * sysdeps/x86/fpu_control.h: Here.
10009
10010 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10011 (_FPU_SETCW): Likewise.
10012
10013 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10014
10015 [BZ #14117]
10016 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10017 * sysdeps/x86/fpu/bits/mathinline.h: This.
10018 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10019
10020 [BZ #14050]
10021 [BZ #14117]
10022 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10023 functions if __x86_64__ is defined.
10024
10025 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10026
10027 * string/endian.h: Add !__ASSEMBLER__ condition for including
10028 conversion interfaces.
10029
10030 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10031
10032 [BZ #14241]
10033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10034 of ABS(x) in calculating zero to negative powers other than odd
10035 integers.
10036 * math/libm-test.inc (pow_test): Add more tests.
10037
10038 2012-06-15 Andreas Jaeger <aj@suse.de>
10039
10040 * manual/contrib.texi (Contributors): Update entry of Liubov
10041 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10042 Machado Filho.
10043
10044 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10045
10046 * string/string.h: Add __wur to GNU version of strerror_r.
10047
10048 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10049
10050 [BZ #14229]
10051 * string/Makefile (tests): Add tst-strtok_r.
10052 * string/tst-strtok_r.c: New file.
10053 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10054 RAX_LP/RDX_LP on SAVE_PTR.
10055
10056 2012-06-14 Roland McGrath <roland@hack.frob.com>
10057
10058 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10059
10060 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10061
10062 * libm_test.inc (csqrt_test): Allow more spurious underflow
10063 exceptions.
10064 (j0_test): Likewise.
10065 (j1_test): Likewise.
10066 (y0_test): Likewise.
10067 (y1_test): Likewise.
10068
10069 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10070
10071 * po/Makefile (libc.pot): Use UTF-8 charset.
10072
10073 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10074
10075 [BZ #14210]
10076 Suppress sign-conversion warning from FD_SET.
10077 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10078 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10079 not unsigned long int.
10080 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10081
10082 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10083
10084 [BZ #14050]
10085 [BZ #14117]
10086 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10087 __extern_always_inline instead of __extern_inline.
10088 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10089 (__signbit): Likewise.
10090 (__signbitl): Support C++ namespace.
10091 (lrintf): New inline function.
10092 (lrint): Likewise.
10093 (llrintf): Likewise.
10094 (llrint): Likewise.
10095 (fmaxf): Likewise.
10096 (fmax): Likewise.
10097 (fminf): Likewise.
10098 (fmin): Likewise.
10099 (rint): Likewise.
10100 (rintf): Likewise.
10101 (ceil): Likewise.
10102 (ceilf): Likewise.
10103 (floor): Likewise.
10104 (floorf): Likewise.
10105 (nearbyint): Likewise.
10106 (nearbyintf): Likewise.
10107
10108 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10109
10110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10111 non-default versions.
10112
10113 2012-06-11 Roland McGrath <roland@hack.frob.com>
10114
10115 [BZ #14218]
10116 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10117
10118 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10119
10120 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10121 (FE_UPWARD, FE_DOWNWARD): Don't define.
10122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10123 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10124
10125 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10126 reading it.
10127 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10128 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10129
10130 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10131
10132 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10135 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10136
10137 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 [BZ #14117]
10140 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10141 * sysdeps/i386/fpu/Implies: New file.
10142 * sysdeps/x86_64/fpu/Implies: Likewise.
10143 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10144 * sysdeps/x86/fpu/bits/fenv.h: This.
10145
10146 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10147 __SSE_MATH__.
10148
10149 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10150
10151 [BZ #14134]
10152 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10153 character 0xffff that matches the last element of the
10154 conversion table.
10155
10156 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10157
10158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10159 fmodl commit.
10160
10161 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10162
10163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10164 values higher than 25.6283.
10165
10166 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10167
10168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10169 subnormal exponent extraction and add some __builtin_expect.
10170 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10171 Fix for subnormal mantissa calculation.
10172
10173 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10174
10175 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10176 cpu2 is -1 and errno is not ENOSYS.
10177
10178 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 [BZ #14117]
10181 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10182 * sysdeps/x86/bits/string.h: This.
10183 * sysdeps/x86_64/bits/string.h: Removed.
10184
10185 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10186 if not compiling for x86-64, but compiling for >= i486.
10187
10188 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10189 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10190
10191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10192 New macro from Linux kernel 3.4.0.
10193 (FP_XSTATE_MAGIC2): Likewise.
10194 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10195 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10196 (struct _fpx_sw_bytes): New struct.
10197 (struct _xsave_hdr): Likewise.
10198 (struct _ymmh_state): Likewise.
10199 (struct _xstate): Likewise.
10200
10201 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10202 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10203 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10204 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10205 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10206 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10207
10208 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10209 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10210 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10211 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10212 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10213 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10214
10215 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10216
10217 [BZ #13743]
10218 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10219 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10220 (sysdep_headers): Include sys/platform/ppc.h.
10221 * sysdeps/powerpc/test-gettimebase.c: Test for
10222 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10223 * manual/Makefile (appendices): Include platform.texi.
10224 * manual/contrib.texi (Contributors): Update @node pointers.
10225 * manual/maint.texi (Maintenance): Likewise.
10226 (Platform): New node.
10227 * manual/platform.texi: New file. Document the new features.
10228
10229 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10230 Jakub Jelinek <jakub@redhat.com>
10231
10232 [BZ #14188]
10233 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10234 where __builtin_expect is unavailable.
10235
10236 2012-06-03 David S. Miller <davem@davemloft.net>
10237
10238 * stdlib/longlong.h: Updated from GCC.
10239
10240 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10241
10242 [BZ #14042]
10243 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10244 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10245 __mcount_internal.
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10247 (GLIBC_2.16): Likewise.
10248
10249 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10250
10251 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10252
10253 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10254
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10256 (default-abi): New variable.
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10258 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10259 variable.
10260 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10261 Likewise.
10262 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10263 Likewise.
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10265 Likewise.
10266
10267 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10268 definition. Document in comment.
10269
10270 2012-06-01 David S. Miller <davem@davemloft.net>
10271
10272 * stdlib/longlong.h: Updated from GCC.
10273
10274 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10275
10276 [BZ #14117]
10277 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10278 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10279 sys/debugreg.h sys/io.h here.
10280 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10281 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10282 sys/io.h.
10283 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10284 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10285 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10286 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10287 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10288 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10289
10290 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10291 Define only if __x86_64__ is defined.
10292
10293 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10294
10295 [BZ #14048]
10296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10297 Use int64_t for variable i.
10298 * math/libm-test.inc (fmod_test): Add more tests.
10299
10300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10301 z computation is not scheduled after fetestexcept.
10302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10303 Use math_force_eval instead of asm to ensure calculation scheduled
10304 before exception test.
10305 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10306 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10307
10308 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10309
10310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10311 computation is not scheduled after fetestexcept.
10312
10313 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10314
10315 [BZ #14117]
10316 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10317 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10318
10319 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10320
10321 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10322 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10323
10324 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10325
10326 [BZ #14117]
10327 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10328 <bits/wordsize.h>.
10329 (__WCHAR_MIN): Support __WORDSIZE == 64.
10330 (__WCHAR_MAX): Likewise.
10331
10332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10334
10335 [BZ #14183]
10336 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10337 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10338
10339 [BZ #14117]
10340 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10342
10343 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10344 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10345
10346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10347 Defined to 1 if __x86_64__ isn't defined.
10348 (_STAT_VER_LINUX_OLD): New.
10349 (st_atime): Remove duplicate.
10350 (st_mtime): Likewise.
10351 (st_ctime): Likewise.
10352
10353 2012-05-31 David S. Miller <davem@davemloft.net>
10354
10355 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10356 entries.
10357
10358 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10359
10360 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10361 gen-libm-test.pl.
10362
10363 [BZ #14132]
10364 * elf/dl-reloc.c: Include <_itoa.h>.
10365 (_dl_reloc_bad_type): Remove use of INTUSE.
10366 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10367 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10368 * stdio-common/psiginfo.c (psiginfo): Likewise.
10369 * stdio-common/psignal.c (psignal): Likewise.
10370 * string/strsignal.c (strsignal): Likewise.
10371 * include/signal.h (_sys_siglist): Declare hidden proto.
10372 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10373 INTVARDEF with libc_hidden_data_def.
10374 * stdio-common/itoa-udigits.c: Likewise.
10375 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10376 (_itoa_lower_digits_internal): Remove declaration.
10377 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10378 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10379 (_sys_sigabbrev_internal): Remove aliases.
10380 (_sys_siglist): Define hidden alias.
10381
10382 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10383
10384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10385 bits/sysctl.h.
10386
10387 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10388
10389 [BZ #14117]
10390 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10391 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10392
10393 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10395 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10396 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10397 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10398 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10399
10400 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10401 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10402 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10403
10404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10405 with __addr.
10406 (insw): Likewise.
10407 (insl): Likewise.
10408 (outsb): Likewise.
10409 (outsw): Likewise.
10410 (outsl): Likewise.
10411
10412 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10413 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10414 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10415
10416 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10417 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10419 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10420 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10421 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10422
10423 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10424 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10425
10426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10427 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10428
10429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10431 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10432
10433 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10434 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10435 to ...
10436 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10437
10438 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10439 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10440 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10441
10442 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10443 for x86-64.
10444 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10445
10446 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10447
10448 * math/math.h (M_El): Use two more decimal places.
10449 (M_LOG2El): Likewise.
10450 (M_LOG10El): Likewise.
10451 (M_LN2l): Likewise.
10452 (M_LN10l): Likewise.
10453 (M_PIl): Likewise.
10454 (M_PI_2l): Likewise.
10455 (M_PI_4l): Likewise.
10456 (M_1_PIl): Likewise.
10457 (M_2_PIl): Likewise.
10458 (M_2_SQRTPIl): Likewise.
10459 (M_SQRT2l): Likewise.
10460 (M_SQRT1_2l): Likewise.
10461
10462 2012-05-31 David S. Miller <davem@davemloft.net>
10463
10464 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10465 values between float registers.
10466 * sysdeps/sparc/sparc64/memset.S: Likewise.
10467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10468
10469 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10470
10471 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10472 -D_FORTIFY_SOURCE=1.
10473 (CPPFLAGS-tst-longjmp_chk.c): Define.
10474 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10475 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10476 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10477 CFLAGS-tst-wchar-h.c.
10478
10479 2012-05-31 Marek Polacek <polacek@redhat.com>
10480
10481 [BZ #14132]
10482 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10483 __endmntent_internal): Remove declaration.
10484 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10485 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10486 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10487
10488 2012-05-30 David S. Miller <davem@davemloft.net>
10489
10490 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10491 (___Q_simulate_exceptions): Use real FP ops rather than writing
10492 into the %fsr.
10493 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10494 Likewise.
10495
10496 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10497
10498 [BZ #14117]
10499 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10500 * sysdeps/x86/bits/xtitypes.h: This.
10501
10502 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10503 * sysdeps/x86/bits/wordsize.h: This.
10504
10505 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10506 * sysdeps/x86/bits/huge_vall.h: This.
10507
10508 * sysdeps/i386/bits/select.h: Removed.
10509 * sysdeps/x86_64/bits/select.h: Renamed to ...
10510 * sysdeps/x86/bits/select.h: This.
10511
10512 * sysdeps/i386/bits/setjmp.h: Removed.
10513 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10514 * sysdeps/x86/bits/setjmp.h: This.
10515
10516 * sysdeps/i386/bits/mathdef.h: Removed.
10517 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10518 * sysdeps/x86/bits/mathdef.h: This.
10519
10520 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10521
10522 [BZ #14132]
10523 * include/sys/socket.h (__connect_internal)
10524 (__libc_sa_len_internal): Remove declaration.
10525 (__connect, __libc_sa_len): Declare hidden_proto.
10526 (SA_LEN): Remove use of INTUSE.
10527 * socket/connect.c: Add libc_hidden_def.
10528 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10529 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10530 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10531 alias.
10532 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10534 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10535 of adding _internal alias.
10536
10537 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10538
10539 [BZ #14117]
10540 * sysdeps/i386/bits/link.h: Removed.
10541 * sysdeps/i386/bits/linkmap.h: Likewise.
10542 * sysdeps/x86_64/bits/link.h: Renamed to ...
10543 * sysdeps/x86/bits/link.h: This.
10544 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10545 * sysdeps/x86/bits/linkmap.h: This.
10546
10547 * sysdeps/i386/bits/endian.h: Removed.
10548 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10549 * sysdeps/x86/bits/endian.h: This.
10550
10551 * sysdeps/i386/bits/byteswap.h: Removed.
10552 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10553 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10554 * sysdeps/x86/bits/byteswap.h: This.
10555 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10556 * sysdeps/x86/bits/byteswap-16.h: This.
10557 * sysdeps/i386/Implies: Add x86.
10558 * sysdeps/x86_64/Implies: Likewise.
10559
10560 2012-05-30 David S. Miller <davem@davemloft.net>
10561
10562 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10563 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10564 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10565 (FP_TRAPPING_EXCEPTIONS): Define.
10566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10567 (FP_TRAPPING_EXCEPTIONS): Define.
10568 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10569 subnormals only when inexact has been signalled or underflow
10570 exceptions are enabled.
10571 (_FP_PACK_CANONICAL): Likewise.
10572
10573 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10574
10575 [BZ #14183]
10576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10577 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10578
10579 2012-05-30 Richard Henderson <rth@twiddle.net>
10580
10581 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10582 with #ifndef NOT_IN_libc.
10583
10584 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10585 marked to avoid plt entry.
10586
10587 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10588
10589 [BZ #14112]
10590 * Makeconfig (default-abi): New macro.
10591 (abi-includes): Likewise.
10592 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10593 $(abi-$(default-abi)-lib-soname) for soname if defined.
10594 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10595 abi-variants.
10596 * Makefile (installed-stubs): Likewise.
10597 * include/stubs-biarch.h: Removed.
10598 * scripts/lib-names.awk: Only handle one library at a time.
10599 * scripts/soversions.awk: Remove WORDSIZE support.
10600 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10601 entries.
10602 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10603 Removed.
10604 (syscall-list-default-condition): Likewise.
10605 (syscall-list-default-condition): Likewise.
10606 (syscall-list-includes): Likewise.
10607 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10608 syscall-list-* with abi-*. Handle undefined abi-variants.
10609 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10610 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10611 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10612 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10613 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10614 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10615 Removed.
10616 (syscall-list-32-options): Likewise.
10617 (syscall-list-32-condition): Likewise.
10618 (syscall-list-64-options): Likewise.
10619 (syscall-list-64-condition): Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10621 macro.
10622 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10623 Renamed to ...
10624 (abi-*): This.
10625 (abi-64-ld-soname): New macro.
10626 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10627 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10628 Renamed to ...
10629 (abi-*): This.
10630 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10631 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10632
10633 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10634
10635 * sysdeps/unix/sysv/linux/kernel-features.h
10636 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10637 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10638 include <kernel-features.h>.
10639 [!__NR_ftruncate64]: Remove conditional code.
10640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10641 [__NR_ftruncate64]: Make code unconditional.
10642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10643 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10644 include <kernel-features.h>.
10645 [!__NR_ftruncate64]: Remove conditional code.
10646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10647 [__NR_ftruncate64]: Make code unconditional.
10648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10650 include <kernel-features.h>.
10651 [!__NR_ftruncate64]: Remove conditional code.
10652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10653 [__NR_ftruncate64]: Make code unconditional.
10654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10656 include <kernel-features.h>.
10657 [!__NR_ftruncate64]: Remove conditional code.
10658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10659 [__NR_ftruncate64]: Make code unconditional.
10660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10661
10662 * configure.in (libc_cv_fpie): Weaken to a compile test using
10663 LIBC_TRY_CC_OPTION.
10664 * configure: Regenerated.
10665
10666 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10667
10668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10672 Refreshed.
10673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10679 Refreshed.
10680
10681 2012-05-27 David S. Miller <davem@davemloft.net>
10682
10683 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10684 (___Q_zero): New.
10685 (__Q_simulate_exceptions): Return void. Change to simulate
10686 exceptions by writing into the %fsr.
10687 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10688 (__Qp_handle_exceptions): Likewise.
10689 (numbers): Delete.
10690 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10691 __Qp_handle_exceptions.
10692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10693 __Qp_handle_exceptions.
10694 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10695 as unused and give dummy FP_RND_NEAREST initializer.
10696 (FP_INHIBIT_RESULTS): Define.
10697 (___Q_simulate_exceptions): Update declaration.
10698 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10699 formatting.
10700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10701 as unused and give dummy FP_RND_NEAREST initializer.
10702 (__Qp_handle_exceptions): Update declaration.
10703 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10704 formatting.
10705
10706 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10707
10708 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10709 the temporary FPU control word.
10710 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10711 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10712 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10713 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10715 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10716 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10718 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10719 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10720 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10721
10722 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10723
10724 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10725 fields.
10726
10727 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10728
10729 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10730 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10731 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10732 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10733 Likewise.
10734 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10735 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10736 Likewise.
10737
10738 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10739
10740 * po/h.po: Update from translation team.
10741
10742 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10743
10744 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10745
10746 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10747 handling of denormals.
10748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10749 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10750 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10755 Likewise.
10756
10757 2012-05-26 Marek Polacek <polacek@redhat.com>
10758
10759 [BZ #14152]
10760 * math/libm-test.inc (fma_test): Don't always expect underflow
10761 exception.
10762
10763 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10764
10765 [BZ #12416]
10766 * elf/tst-execstack.c: Include stackinfo.h.
10767 (do_test): Adjust test case to ensure that pthread_getattr_np
10768 behaviour remains the same after marking stack executable.
10769
10770 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10771
10772 * sysdeps/unix/sysv/linux/kernel-features.h
10773 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10774 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10775 kernel-features.h.
10776 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10777 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10778 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10779 kernel-features.h.
10780 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10781 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10782
10783 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10784
10785 * configure.in: Define the default includes to being none.
10786 * configure: Regenerated.
10787
10788 2012-05-25 Roland McGrath <roland@hack.frob.com>
10789
10790 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10791 * sysdeps/x86_64/setjmp.S: Likewise.
10792 * sysdeps/i386/bsd-setjmp.S: Likewise.
10793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10794 * sysdeps/i386/setjmp.S: Likewise.
10795 * sysdeps/i386/__longjmp.S: Likewise.
10796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10797 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10798
10799 * include/stap-probe.h: New file.
10800 * configure.in: Handle --enable-systemtap.
10801 * configure: Regenerated.
10802 * config.h.in (USE_STAP_PROBE): New #undef.
10803 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10804 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10805 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10806
10807 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10808
10809 [BZ #13717]
10810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10811 to 2.4.0 where earlier.
10812 * sysdeps/unix/sysv/linux/configure: Regenerated.
10813 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10814 <kernel-features.h>.
10815 [__ASSUME_32BITUIDS]: Make code unconditional.
10816 [!__ASSUME_32BITUIDS]: Remove conditional code.
10817 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10818 <kernel-features.h>.
10819 [__ASSUME_32BITUIDS]: Make code unconditional.
10820 [!__ASSUME_32BITUIDS]: Remove conditional code.
10821 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10822 [__ASSUME_32BITUIDS]: Make code unconditional.
10823 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10824 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10825 <kernel-features.h>.
10826 [__ASSUME_32BITUIDS]: Make code unconditional.
10827 [!__ASSUME_32BITUIDS]: Remove conditional code.
10828 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10829 <kernel-features.h>.
10830 [__ASSUME_32BITUIDS]: Make code unconditional.
10831 [!__ASSUME_32BITUIDS]: Remove conditional code.
10832 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10833 <kernel-features.h>.
10834 [__ASSUME_32BITUIDS]: Make code unconditional.
10835 [!__ASSUME_32BITUIDS]: Remove conditional code.
10836 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10837 <kernel-features.h>.
10838 [__ASSUME_32BITUIDS]: Make code unconditional.
10839 [!__ASSUME_32BITUIDS]: Remove conditional code.
10840 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10841 <kernel-features.h>.
10842 [__ASSUME_32BITUIDS]: Make code unconditional.
10843 [!__ASSUME_32BITUIDS]: Remove conditional code.
10844 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10845 <kernel-features.h>.
10846 [__ASSUME_32BITUIDS]: Make code unconditional.
10847 [!__ASSUME_32BITUIDS]: Remove conditional code.
10848 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10849 <kernel-features.h>.
10850 [__ASSUME_32BITUIDS]: Make code unconditional.
10851 [!__ASSUME_32BITUIDS]: Remove conditional code.
10852 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10853 <kernel-features.h>.
10854 [__ASSUME_32BITUIDS]: Make code unconditional.
10855 [!__ASSUME_32BITUIDS]: Remove conditional code.
10856 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10857 <kernel-features.h>.
10858 [__ASSUME_32BITUIDS]: Make code unconditional.
10859 [!__ASSUME_32BITUIDS]: Remove conditional code.
10860 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10861 <kernel-features.h>.
10862 [__ASSUME_32BITUIDS]: Make code unconditional.
10863 [!__ASSUME_32BITUIDS]: Remove conditional code.
10864 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10865 <kernel-features.h>.
10866 [__NR_setresgid] (__setresgid): Do not declare.
10867 [__ASSUME_32BITUIDS]: Make code unconditional.
10868 [!__ASSUME_32BITUIDS]: Remove conditional code.
10869 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10870 <kernel-features.h>.
10871 [__NR_setresuid] (__setresuid): Do not declare.
10872 [__ASSUME_32BITUIDS]: Make code unconditional.
10873 [!__ASSUME_32BITUIDS]: Remove conditional code.
10874 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10875 <kernel-features.h>.
10876 [__ASSUME_32BITUIDS]: Make code unconditional.
10877 [!__ASSUME_32BITUIDS]: Remove conditional code.
10878 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10879 <kernel-features.h>.
10880 [__ASSUME_32BITUIDS]: Make code unconditional.
10881 [!__ASSUME_32BITUIDS]: Remove conditional code.
10882 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10883 <kernel-features.h>.
10884 [__ASSUME_32BITUIDS]: Make code unconditional.
10885 [!__ASSUME_32BITUIDS]: Remove conditional code.
10886 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10887 <kernel-features.h>.
10888 [__ASSUME_32BITUIDS]: Make code unconditional.
10889 [!__ASSUME_32BITUIDS]: Remove conditional code.
10890 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10891 <kernel-features.h>.
10892 [__ASSUME_32BITUIDS]: Make code unconditional.
10893 [!__ASSUME_32BITUIDS]: Remove conditional code.
10894 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10895 <kernel-features.h>.
10896 [__ASSUME_32BITUIDS]: Make code unconditional.
10897 [!__ASSUME_32BITUIDS]: Remove conditional code.
10898 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10899 <kernel-features.h>.
10900 [__ASSUME_32BITUIDS]: Make code unconditional.
10901 [!__ASSUME_32BITUIDS]: Remove conditional code.
10902 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10903 <kernel-features.h>.
10904 [__ASSUME_32BITUIDS]: Make code unconditional.
10905 [!__ASSUME_32BITUIDS]: Remove conditional code.
10906 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10907 <kernel-features.h>.
10908 [__ASSUME_32BITUIDS]: Make code unconditional.
10909 [!__ASSUME_32BITUIDS]: Remove conditional code.
10910 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10911 <kernel-features.h>.
10912 [__ASSUME_32BITUIDS]: Make code unconditional.
10913 [!__ASSUME_32BITUIDS]: Remove conditional code.
10914 * sysdeps/unix/sysv/linux/kernel-features.h
10915 (__ASSUME_SETRESUID_SYSCALL): Remove.
10916 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10917 (__ASSUME_32BITUIDS): Likewise.
10918 (__ASSUME_LDT_WORKS): Likewise.
10919 (__ASSUME_O_DIRECTORY): Likewise.
10920 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10921 architecture but not kernel version.
10922 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10923 (__ASSUME_MMAP2_SYSCALL): Likewise.
10924 (__ASSUME_STAT64_SYSCALL): Likewise.
10925 (__ASSUME_IPC64): Likewise.
10926 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10927 <kernel-features.h>.
10928 [__ASSUME_32BITUIDS]: Make code unconditional.
10929 [!__ASSUME_32BITUIDS]: Remove conditional code.
10930 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10931 <kernel-features.h>.
10932 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10933 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10934 132096]: Remove conditional code.
10935 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10937 <kernel-features.h>.
10938 [__ASSUME_32BITUIDS]: Make code unconditional.
10939 [!__ASSUME_32BITUIDS]: Remove conditional code.
10940 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10941 <kernel-features.h>.
10942 [__ASSUME_32BITUIDS]: Make code unconditional.
10943 [!__ASSUME_32BITUIDS]: Remove conditional code.
10944 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10945 <kernel-features.h>.
10946 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10947 unconditional.
10948 (__setresgid): Do not declare.
10949 [__ASSUME_32BITUIDS]: Make code unconditional.
10950 [!__ASSUME_32BITUIDS]: Remove conditional code.
10951 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10952 <kernel-features.h>.
10953 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10954 unconditional.
10955 (__setresuid): Do not declare.
10956 [__ASSUME_32BITUIDS]: Make code unconditional.
10957 [!__ASSUME_32BITUIDS]: Remove conditional code.
10958 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10959 <kernel-features.h>.
10960 [__ASSUME_32BITUIDS]: Make code unconditional.
10961 [!__ASSUME_32BITUIDS]: Remove conditional code.
10962 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10963 <kernel-features.h>.
10964 [__ASSUME_32BITUIDS]: Make code unconditional.
10965 [!__ASSUME_32BITUIDS]: Remove conditional code.
10966
10967 2012-05-25 Richard Henderson <rth@twiddle.net>
10968
10969 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10970 dl_hwcap to ifunc resolver.
10971 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10972 elf_ifunc_invoke.
10973 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10974 dl_hwcap to ifunc resolver.
10975 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10976
10977 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10978
10979 [BZ #14153]
10980 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10981 for |x| <= 2**-26, not 2**-57.
10982 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10983 exception.
10984
10985 2012-05-24 Jeff Law <law@redhat.com>
10986
10987 * stdio-common/Makefile (tests): Add bug25.
10988 * stdio-common/bug25.c: New test.
10989
10990 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10991
10992 [BZ #13576]
10993 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10994 multiple of MALLOC_ALIGNMENT in size.
10995 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10996
10997 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10998
10999 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11000 Require >= 256.
11001 (FILENAME_MAX): Use macro-int-constant.
11002 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11003 (_IOFBF): Use macro-int-constant.
11004 (_IOLBF): Likewise.
11005 (_IONBF): Likewise.
11006 (SEEK_CUR): Likewise.
11007 (SEEK_END): Likewise.
11008 (SEEK_SET): Likewise.
11009 (TMP_MAX): Likewise.
11010 (EOF): Use macro-int-constant. Require < 0.
11011 (NULL): Use macro-constant. Require == 0.
11012 (stdin): Require type to be FILE *.
11013 (stdout): Likewise.
11014 (stderr): Likewise.
11015 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11016 macro-int-constant.
11017 (EXIT_SUCCESS): Likewise.
11018 (NULL): Use macro-constant. Require == 0.
11019 (RAND_MAX): Use macro-int-constant.
11020 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11021 [C99-based standards] (strtof): Require function.
11022 [C99-based standards] (strtold): Likewise.
11023 [C99-based standards] (strtoll): Likewise.
11024 [C99-based standards] (strtoull): Likewise.
11025 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11026 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11027 [ISO || ISO99 || ISO11] (math.h): Likewise.
11028 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11029 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11031
11032 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11033
11034 [BZ #14132]
11035 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11036 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11037 * intl/dgettext.c (DCGETTEXT): Likewise.
11038 * intl/gettext.c (DCGETTEXT): Likewise.
11039 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11040 * posix/regex_internal.h (gettext): Likewise.
11041 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11042 Remove declaration.
11043 * include/argz.h (__argz_count_internal)
11044 (__argz_stringify_internal): Remove declaration.
11045 (__argz_count, __argz_stringify): Declare hidden proto.
11046 * intl/dcgettext.c: Remove use of INTDEF.
11047 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11048 * string/argz-stringify.c: Likewise.
11049 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11050 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11051 Declare hidden proto.
11052 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11053 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11054 Declare hidden proto.
11055 * include/stdio.h (__asprintf_internal): Don't declare.
11056 (__asprintf): Don't define as macro. Declare hidden proto.
11057 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11058 (__fsetlocking): Declare hidden proto.
11059 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11060 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11061 hidden proto.
11062 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11063 (_IO_setlinebuf): Remove use of INTUSE.
11064 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11065 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11066 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11067 Remove declaration.
11068 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11069 (_IO_do_flush): Remove use of INTUSE.
11070 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11071 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11072 (_IO_adjust_column, _IO_least_wmarker)
11073 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11074 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11075 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11076 (_IO_default_doallocate, _IO_wdefault_doallocate)
11077 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11078 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11079 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11080 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11081 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11082 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11083 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11084 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11085 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11086 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11087 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11088 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11089 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11090 proto.
11091 (_IO_flush_all_internal, _IO_adjust_column_internal)
11092 (_IO_default_uflow_internal, _IO_default_finish_internal)
11093 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11094 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11095 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11096 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11097 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11098 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11099 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11100 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11101 (_IO_file_close_internal, _IO_file_close_it_internal)
11102 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11103 (_IO_file_init_internal, _IO_file_attach_internal)
11104 (_IO_file_fopen_internal, _IO_file_read_internal)
11105 (_IO_file_sync_internal, _IO_file_seek_internal)
11106 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11107 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11108 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11109 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11110 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11111 (_IO_list_all_internal, _IO_link_in_internal)
11112 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11113 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11114 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11115 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11116 (_IO_do_write_internal, _IO_padn_internal)
11117 (_IO_getline_info_internal, _IO_getline_internal)
11118 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11119 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11120 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11121 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11122 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11123 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11124 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11125 with libc_hidden_ver, remove use of INTUSE.
11126 * libio/genops.c: Likewise.
11127 * libio/freopen.c: Likewise.
11128 * libio/freopen64.c: Likewise.
11129 * libio/iofclose.c: Likewise.
11130 * libio/iofdopen.c: Likewise.
11131 * libio/iofflush.c: Likewise.
11132 * libio/iofflush_u.c: Likewise.
11133 * libio/iofgets.c: Likewise.
11134 * libio/iofgets_u.c: Likewise.
11135 * libio/iofopen.c: Likewise.
11136 * libio/iofopncook.c: Likewise.
11137 * libio/iofread.c: Likewise.
11138 * libio/iofread_u.c: Likewise.
11139 * libio/ioftell.c: Likewise.
11140 * libio/iofwrite.c: Likewise.
11141 * libio/iogetline.c: Likewise.
11142 * libio/iogets.c: Likewise.
11143 * libio/iogetwline.c: Likewise.
11144 * libio/iopadn.c: Likewise.
11145 * libio/iopopen.c: Likewise.
11146 * libio/ioseekoff.c: Likewise.
11147 * libio/ioseekpos.c: Likewise.
11148 * libio/iosetbuffer.c: Likewise.
11149 * libio/iosetvbuf.c: Likewise.
11150 * libio/ioungetc.c: Likewise.
11151 * libio/ioungetwc.c: Likewise.
11152 * libio/iovdprintf.c: Likewise.
11153 * libio/iovsprintf.c: Likewise.
11154 * libio/iovsscanf.c: Likewise.
11155 * libio/memstream.c: Likewise.
11156 * libio/obprintf.c: Likewise.
11157 * libio/oldfileops.c: Likewise.
11158 * libio/oldiofclose.c: Likewise.
11159 * libio/oldiofdopen.c: Likewise.
11160 * libio/oldiofopen.c: Likewise.
11161 * libio/oldiopopen.c: Likewise.
11162 * libio/oldstdfiles.c: Likewise.
11163 * libio/putc.c: Likewise.
11164 * libio/setbuf.c: Likewise.
11165 * libio/setlinebuf.c: Likewise.
11166 * libio/stdfiles.c: Likewise.
11167 * libio/strops.c: Likewise.
11168 * libio/vasprintf.c: Likewise.
11169 * libio/vscanf.c: Likewise.
11170 * libio/vsnprintf.c: Likewise.
11171 * libio/vswprintf.c: Likewise.
11172 * libio/wfiledoalloc.c: Likewise.
11173 * libio/wfileops.c: Likewise.
11174 * libio/wgenops.c: Likewise.
11175 * libio/wmemstream.c: Likewise.
11176 * libio/wstrops.c: Likewise.
11177 * libio/__fpurge.c: Likewise.
11178 * libio/__fsetlocking.c: Likewise.
11179 * assert/assert.c: Likewise.
11180 * debug/fgets_chk.c: Likewise.
11181 * debug/fgets_u_chk.c: Likewise.
11182 * debug/fread_chk.c: Likewise.
11183 * debug/fread_u_chk.c: Likewise.
11184 * debug/gets_chk.c: Likewise.
11185 * debug/obprintf_chk.c: Likewise.
11186 * debug/vasprintf_chk.c: Likewise.
11187 * debug/vdprintf_chk.c: Likewise.
11188 * debug/vsnprintf_chk.c: Likewise.
11189 * debug/vsprintf_chk.c: Likewise.
11190 * malloc/mtrace.c: Likewise.
11191 * misc/error.c: Likewise.
11192 * misc/syslog.c: Likewise.
11193 * stdio-common/asprintf.c: Likewise.
11194 * stdio-common/fxprintf.c: Likewise.
11195 * stdio-common/getw.c: Likewise.
11196 * stdio-common/isoc99_fscanf.c: Likewise.
11197 * stdio-common/isoc99_scanf.c: Likewise.
11198 * stdio-common/isoc99_vfscanf.c: Likewise.
11199 * stdio-common/isoc99_vscanf.c: Likewise.
11200 * stdio-common/isoc99_vsscanf.c: Likewise.
11201 * stdio-common/printf-prs.c: Likewise.
11202 * stdio-common/printf_fp.c: Likewise.
11203 * stdio-common/printf_fphex.c: Likewise.
11204 * stdio-common/printf_size.c: Likewise.
11205 * stdio-common/putw.c: Likewise.
11206 * stdio-common/scanf.c: Likewise.
11207 * stdio-common/sprintf.c: Likewise.
11208 * stdio-common/tmpfile.c: Likewise.
11209 * stdio-common/vfprintf.c: Likewise.
11210 * stdio-common/vfscanf.c: Likewise.
11211 * stdlib/strfmon_l.c: Likewise.
11212 * sunrpc/openchild.c: Likewise.
11213 * sunrpc/xdr_stdio.c: Likewise.
11214 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11215 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11216
11217 2012-05-24 Roland McGrath <roland@hack.frob.com>
11218
11219 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11220
11221 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11222 in the third column, to generate for the shared library an IFUNC
11223 that uses _dl_vdso_vsym.
11224 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11225 * Makeconfig (object-suffixes-noshared): New variable.
11226
11227 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11228 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11229 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11230 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11231
11232 [BZ #14132]
11233 * include/sys/time.h (__gettimeofday): Remove macro.
11234 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11235 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11236 Remove INTDEF.
11237 (__gettimeofday): Add libc_hidden_def.
11238 (gettimeofday): Add libc_hidden_weak.
11239 * sysdeps/mach/gettimeofday.c: Likewise.
11240 * sysdeps/posix/gettimeofday.c: Likewise.
11241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11242 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11244 (__gettimeofday_internal): Remove strong_alias.
11245 (__gettimeofday): Add libc_hidden_def.
11246 (gettimeofday): Add libc_hidden_weak.
11247 * sysdeps/unix/syscalls.list (gettimeofday):
11248 Remove __gettimeofday_internal alias.
11249
11250 2012-05-24 Daniel Jacobowitz <drow@false.org>
11251 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 [BZ #12495]
11254 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11255 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11256 (largebin_index_32_big): New.
11257 (largebin_index): Use it for 16-byte alignment.
11258 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11259 correction with front_misalign.
11260
11261 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11262
11263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11265 Likewise.
11266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11267 Likewise.
11268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11269 Likewise.
11270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11271 Likewise.
11272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11273 Likewise.
11274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11275 Likewise.
11276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11277 Likewise.
11278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11279 Likewise.
11280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11281 Likewise.
11282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11283 Likewise.
11284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11285 Likewise.
11286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11287 Likewise.
11288
11289 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11290 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11291
11292 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11293
11294 [BZ #10846]
11295 [BZ #14036]
11296 * math/libm-test.inc (exp_test): Add test from bug 14036.
11297 (pow_test): Add test from bug 10846.
11298
11299 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11300 and other flags.
11301 (special_function): Do not include flags in test name.
11302 (parse_args): Likewise.
11303 * sysdeps/i386/fpu/libm-test-ulps: Update.
11304 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11305 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11308
11309 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11310 exceptions.
11311 * math/libm-test.inc ("Philosophy"): Update comment about
11312 exception testing.
11313 (UNDERFLOW_EXCEPTION): New macro.
11314 (UNDERFLOW_EXCEPTION_OK): Likewise.
11315 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11316 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11317 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11318 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11319 (INVALID_EXCEPTION_OK): Update value.
11320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11321 (OVERFLOW_EXCEPTION_OK): Likewise.
11322 (IGNORE_ZERO_INF_SIGN): Likewise.
11323 (test_exceptions): Handle underflow exceptions.
11324 (acos_test): Update for underflow exception expectations.
11325 (cexp_test): Likewise.
11326 (clog_test): Likewise.
11327 (clog10_test): Likewise.
11328 (csqrt_test): Likewise.
11329 (ctan_test): Likewise.
11330 (ctanh_test): Likewise.
11331 (exp_test): Likewise.
11332 (exp10_test): Likewise.
11333 (exp2_test): Likewise.
11334 (expm1_test): Likewise.
11335 (fma_test): Likewise.
11336 (j0_test): Likewise.
11337 (jn_test): Likewise.
11338 (nexttoward_test): Likewise.
11339 (pow_test): Likewise.
11340 (scalbn_test): Likewise.
11341 (scalbln_test): Likewise.
11342 (tan_test): Likewise.
11343 (y1_test): Likewise.
11344 * sysdeps/i386/fpu/libm-test-ulps: Update.
11345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11346
11347 2012-05-23 David S. Miller <davem@davemloft.net>
11348
11349 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11350 (__libc_sigaction): Remove unused local variables.
11351
11352 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11353
11354 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11355
11356 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11357
11358 mktime: avoid signed integer overflow
11359 * time/mktime.c (__mktime_internal): Do not mishandle the case
11360 where diff == INT_MIN.
11361
11362 mktime: simplify computation of average
11363 * time/mktime.c (ranged_convert): Use new time_t_avg function
11364 instead of rolling our own (probably-slower) code.
11365
11366 mktime: do not assume signed right shift propagates sign bit
11367 * time/mktime.c (isdst_differ): New static function.
11368 (__mktime_internal): No need to normalize tm_isdst now.
11369 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11370 tm_isdst values.
11371
11372 mktime: merge another wrapv change from gnulib
11373 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11374 from some compilers.
11375
11376 mktime: remove incorrect attempt at unusual arithmetics
11377 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11378 The code didn't really work on such machines anyway.
11379 (TYPE_MINIMUM): Assume two's complement.
11380 (twos_complement_arithmetic): Verify that long_int and time_t
11381 are two's complement (or unsigned, in the latter case).
11382
11383 mktime: check signed shifts on long_int and time_t, too
11384 * time/mktime.c (SHR): Check that shifts work as desired
11385 on the types long_int and time_t too, as SHR is used on
11386 such types.
11387
11388 mktime: do not assume 'long' is wide enough
11389 * time/mktime.c (verify): Move decl up.
11390 (long_int): New type.
11391 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11392 to remove assumption in the code that 'long' is wide enough to
11393 store year values. This assumption is not true on x32 and on
11394 some non-glibc platforms.
11395
11396 mktime: merge wrapv change from gnulib
11397 * time/mktime.c (WRAPV): New macro.
11398 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11399 (guess_time_tm, __mktime_internal): Do not assume that signed
11400 integer overflow wraps around; modern compilers generate code
11401 where this assumption is no longer valid.
11402
11403 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11404
11405 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11406 Replace "jmp L(pseudo_end)" with "ret".
11407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11408 Likewise.
11409
11410 2012-05-23 Andreas Jaeger <aj@suse.de>
11411
11412 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11413 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11414
11415 2012-05-23 Andreas Jaeger <aj@suse.de>
11416 Maximilian Attems <max@stro.at>
11417
11418 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11419 New macros.
11420
11421 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11422
11423 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11424 code so that pseudo_end is just ret and the stack pointer is
11425 correct also for static library in error case.
11426
11427 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11428
11429 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11430 move to syscalls.list.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11435
11436 * manual/install.texi (Running make install): Do not mention Linux
11437 kernel version for which pt_chown is not needed.
11438 (Linux): Do not mention problems with nscd with 2.0 kernels.
11439 * INSTALL: Regenerated.
11440
11441 2012-05-23 Andreas Jaeger <aj@suse.de>
11442
11443 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11444 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11445 macro.
11446 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11448 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11450 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11456 * sysdeps/unix/sysv/linux/bits/in.h
11457 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11458
11459 2012-05-22 Roland McGrath <roland@hack.frob.com>
11460
11461 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11462 (PREPARE_VERSION): Just use assert instead, it will be elided
11463 under [NDEBUG] anyway.
11464
11465 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11466
11467 * sysdeps/unix/sysv/linux/Makefile: Include
11468 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11469 (sysdep_routines): Remove sysctl.
11470 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11471 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11472 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11473 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11474 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11475
11476 2012-05-22 Andreas Jaeger <aj@suse.de>
11477
11478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11479 that pseudo_end is just ret and the stack pointer is correct also
11480 for static library in error case.
11481
11482 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11483
11484 [BZ #14122]
11485 * nss/nsswitch.c (defconfig_entries): New variable.
11486 (__nss_database_lookup): Don't leak defconfig entries.
11487 (nss_parse_service_list): Don't leak on error paths.
11488 (free_database_entries): New function.
11489 (free_defconfig): New function.
11490 (free_mem): Move common code to free_database_entries.
11491
11492 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11493
11494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11495 Add arch_prctl.
11496 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11497
11498 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11499 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11501 New macro.
11502 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11503 (INTERNAL_SYSCALL_TYPES): Likewise.
11504 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11505 (LOAD_REGS_TYPES_[1-6]): Likewise.
11506 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11507 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11508
11509 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11510
11511 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11512 copysignl for GLIBC_2_0.
11513 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11514 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11516 logbl for GLIBC_2_0.
11517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11518 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11519
11520 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11521
11522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11524
11525 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11526 Use "neg %eax".
11527
11528 * time/mktime.c: Update copyright years.
11529
11530 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11531
11532 mktime: merge comment-quoting-style change from gnulib
11533 * time/mktime.c: Quote 'like this' in comments.
11534 The GNU coding standards suggest that we no longer quote `like this',
11535 as "`" and "'" are typically rendered asymmetrically nowadays.
11536 The typical gnulib style is to quote 'like this' when quoting
11537 code, and "like this" when quoting English.
11538
11539 * time/mktime.c (compile-command): Add "-I.".
11540
11541 mktime: merge mktime-internal.h change from gnulib
11542 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11543
11544 mktime: merge time_r change from gnulib
11545 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11546
11547 mktime: merge DEBUG change from gnulib
11548 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11549 case system <time.h> has a #define.
11550
11551 mktime: merge <sys/types.h> change from gnulib
11552 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11553 since <time.t> is now guaranteed to define time_t.
11554
11555 mktime: merge HAVE_CONFIG_H change from gnulib
11556 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11557
11558 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11559
11560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11561 Use "neg %eax".
11562
11563 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11564 __rlim_t cast.
11565 (struct rusage): Use anonymous union to pad each field to
11566 __syscall_slong_t.
11567
11568 2012-05-21 David S. Miller <davem@davemloft.net>
11569
11570 * Makefules (o-iterator): Remove .s cases.
11571 (compile-command.s): Delete.
11572 (COMPILE.s): Delete.
11573 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11574
11575 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11576
11577 * configure.in (libc_cv_predef_stack_protector): Only consider
11578 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11579 * configure: Regenerated.
11580
11581 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11584 New macro. Use R*LP on int and pointer.
11585 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11586 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11587 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11588 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11589
11590 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11591 [__WORDSIZE_TIME64_COMPAT32] instead of
11592 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11593 (struct utmp): Likewise.
11594 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11595 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11596 Renamed to ...
11597 (__WORDSIZE_TIME64_COMPAT32): This.
11598 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11599 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11600 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11601 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11602 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11603 (__WORDSIZE_TIME64_COMPAT32): New macro.
11604
11605 2012-05-21 Andreas Jaeger <aj@suse.de>
11606
11607 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11608 only if [SHARED]. Add prototype for __wcschr_ia32.
11609
11610 2012-05-21 Roland McGrath <roland@hack.frob.com>
11611
11612 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11613 of %rbp unmolested in the jmp_buf while mangling the low bits.
11614 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11615 unmolested high bits of %rbp while demangling the low bits.
11616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11617
11618 2012-05-21 Andreas Jaeger <aj@suse.de>
11619
11620 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11621 * sunrpc/svc_simple.c: Use it for registerrpc.
11622 * sunrpc/xcrypt.c: Use it for passwd2des.
11623
11624 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11625
11626 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11627
11628 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11629 Don't define if [__SYSCALL_WORDSIZE != 32].
11630 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11631 New macro.
11632
11633 2012-05-21 Bruno Haible <bruno@clisp.org>
11634 Andreas Jaeger <aj@suse.de>
11635
11636 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11637 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11638 inptr and inend for must_buffer_ch.
11639 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11640 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11641 * stdio-common/Makefile (tests): Remove bug15.
11642 (bug15-ENV): Remove macro.
11643 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11644 anymore.
11645
11646 2012-05-19 Andreas Jaeger <aj@suse.de>
11647 Roland McGrath <roland@hack.frob.com>
11648
11649 * manual/contrib.texi: Completely rewritten. It contains now an
11650 alphabetical list of contributors and their contributions.
11651
11652 2012-05-21 Richard Henderson <rth@twiddle.net>
11653
11654 * misc/getauxval.c (__getauxval): Use unsigned long int.
11655 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11656 (getauxval): Use unsigned long int.
11657
11658 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11659
11660 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11661
11662 2012-05-21 Roland McGrath <roland@hack.frob.com>
11663
11664 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11665 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11666 __alignof__ (long double).
11667
11668 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11669
11670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11671
11672 2012-05-20 Richard Henderson <rth@twiddle.net>
11673
11674 * misc/getauxval.c: New file.
11675 * misc/sys/auxv.h: New file.
11676 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11677 (routines): Add getauxval.
11678 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11679 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11680 * elf/dl-sysdep.c (_dl_auxv): Remove.
11681 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11682 * elf/dl-support.c (_dl_auxv): New variable.
11683 (_dl_aux_init): Initialize it.
11684 * manual/startup.texi (Auxiliary Vector): New node.
11685 * sysdeps/generic/bits/hwcap.h: New file.
11686 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11687 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11688 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11689 * sysdeps/sparc/sysdep.h: ... here. Include it.
11690 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11693 Update.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11702
11703 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11704
11705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11706
11707 2012-05-19 David S. Miller <davem@davemloft.net>
11708
11709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11710
11711 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11712
11713 [BZ #14123]
11714 * math/s_ccosh.c: Include <float.h>
11715 (__ccosh): Avoid internal overflow calculating sinh and cosh
11716 values before multiplying by sin and cos values.
11717 * math/s_ccoshf.c: Likewise.
11718 * math/s_ccoshl.c: Likewise.
11719 * math/s_csin.c: Likewise.
11720 * math/s_csinf.c: Likewise.
11721 * math/s_csinl.c: Likewise.
11722 * math/s_csinh.c: Likewise.
11723 * math/s_csinhf.c: Likewise.
11724 * math/s_csinhl.c: Likewise.
11725 * math/libm-test.inc (ccos_test): Add more tests.
11726 (ccosh_test): Likewise.
11727 (csin_test): Likewise.
11728 (csinh_test): Likewise.
11729 * sysdeps/i386/fpu/libm-test-ulps: Update.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11731
11732 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11735 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11736
11737 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11738
11739 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11740
11741 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11742 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11743 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11744 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11745 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11746 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11747 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11748 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11749 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11750 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11751 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11752 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11753 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11754 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11755 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11756 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11757 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11758 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11759 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11760 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11761 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11762 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11763 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11764 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11765 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11766 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11767 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11768 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11769 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11770 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11771 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11772
11773 2012-05-18 Andreas Jaeger <aj@suse.de>
11774
11775 * csu/.gitignore: Delete.
11776
11777 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11778
11779 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11780 (timex): Use __syscall_slong_t.
11781
11782 2012-05-18 Andreas Jaeger <aj@suse.de>
11783 Carlos O'Donell <carlos_odonell@mentor.com>
11784
11785 * manual/install.texi (Configuring and compiling): Update
11786 description about files modified in the source directory.
11787 * INSTALL: Regenerated.
11788
11789 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11790
11791 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11792 value. Use "or" to set return value to -1.
11793 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11794 negate return value.
11795
11796 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11797
11798 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11799 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11800 failure if the compiler has Graphite support disabled.
11801 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11802 Likewise.
11803 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11804 CFLAGS-memmove.c): Likewise.
11805 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11806 Likewise.
11807
11808 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11809
11810 * sysdeps/x86_64/x32/_itoa.h: New file.
11811
11812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11813 getdents system call only if kernel and user dirents have the
11814 same d_ino and d_off.
11815
11816 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11817 LLONG_MAX != LONG_MAX.
11818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11819 (_fitoa_word): Likewise.
11820
11821 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11822 years.
11823 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11824 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11826
11827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11828 include <bits/wordsize.h>. Check __x86_64__ instead of
11829 __WORDSIZE.
11830 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11831 if __x86_64__ is defined. Use anonymous union on fpstate.
11832
11833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11834 anonymous union.
11835
11836 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11837
11838 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11839 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11840 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11841 Refer to _rtld_local_ro instead of _rtld_global_ro.
11842 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11843 Likewise.
11844 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11845 Likewise.
11846 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11847 Likewise.
11848 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11849 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11850 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11851
11852 * sysdeps/powerpc/powerpc32/dl-machine.c
11853 (__elf_machine_runtime_setup) [PROF]: Don't reference
11854 _dl_prof_resolve.
11855
11856 2012-05-18 Andreas Jaeger <aj@suse.de>
11857
11858 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11859 function only available for GCCs before 3.4 since GCC 3.4
11860 introduced a builtin.
11861 (lrint): Likewise.
11862 (llrintf): Likewise.
11863 (llrint): Likewise.
11864 (fmaxf): Likewise.
11865 (fmax): Likewise.
11866 (fminf): Likewise.
11867 (fmin): Likewise.
11868 (rint): Likewise.
11869 (rintf): Likewise.
11870 (nearbyint): Likewise.
11871 (nearbyintf): Likewise.
11872 (ceil): Likewise.
11873 (ceilf): Likewise.
11874 (floor): Likewise.
11875 (floorf): Likewise.
11876
11877 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11878
11879 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11880 on both fields and cast pointer to __syscall_ulong_t.
11881
11882 * bits/types.h (__fsword_t): New type.
11883 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11884 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11886 (__FSWORD_T_TYPE): Likewise.
11887 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11888 (__FSWORD_T_TYPE): Likewise.
11889 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11890 (__FSWORD_T_TYPE): Likewise.
11891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11892 (__FSWORD_T_TYPE): Likewise.
11893 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11894 __SWORD_TYPE with __fsword_t.
11895 (statfs64): Likewise.
11896
11897 2012-05-17 David S. Miller <davem@davemloft.net>
11898
11899 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11900
11901 2012-05-17 Andreas Jaeger <aj@suse.de>
11902
11903 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11904 warning.
11905
11906 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11909
11910 2012-05-17 Andreas Jaeger <aj@suse.de>
11911
11912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11913 when it is used.
11914
11915 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11916
11917 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11918
11919 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11920
11921 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11922 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11923
11924 2012-05-17 Andreas Jaeger <aj@suse.de>
11925 Carlos O'Donell <carlos_odonell@mentor.com>
11926
11927 [BZ #14059]
11928 * sysdeps/x86_64/multiarch/init-arch.h
11929 (bit_YMM_Usable): Rename to...
11930 (bit_AVX_Usable): ... this.
11931 (bit_FMA4_Usable): New macro.
11932 (bit_XMM_state): New macro.
11933 (bit_YMM_state): New macro.
11934 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11935 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11936 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11937 (CPUID_OSXSAVE): New macro.
11938 (CPUID_AVX): New macro.
11939 (CPUID_FMA4): New macro.
11940 (index_YMM_Usable): Rename to...
11941 (index_AVX_Usable): ... this.
11942 (HAS_AVX): Use HAS_ARCH_FEATURE.
11943 (HAS_FMA4): Likewise.
11944 (HAS_YMM_USABLE): Remove.
11945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11946 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11947 are present.
11948 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11949 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11950 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11951 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11952 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11953
11954 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11955
11956 * math/libm-test.c: Support platforms without multiple rounding modes.
11957 * math/bug-nextafter.c: Support platforms without FP exceptions.
11958 * math/bug-nexttoward.c: Likewise.
11959 * math/test-fenv.c: Likewise.
11960 * math/test-misc.c: Likewise.
11961 * stdlib/bug-getcontext.c: Likewise.
11962
11963 2012-05-17 Andreas Jaeger <aj@suse.de>
11964
11965 * manual/examples/search.c (critter_cmp): Change signature to
11966 avoid warnings.
11967 * manual/string.texi (Collation Functions): Likewise.
11968
11969 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 * bits/types.h: Fold copyright years.
11972 * bits/typesizes.h: Likewise.
11973 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11977 * time/time.h: Likewise.
11978
11979 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11980
11981 [BZ #208]
11982 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11983 in instead of returning them. Return void.
11984 (__libc_mallinfo): Accumulate over all arenas.
11985 (__malloc_stats): Adjust for change in int_mallinfo interface.
11986
11987 2012-05-16 Roland McGrath <roland@hack.frob.com>
11988
11989 [BZ #10375]
11990 * configure.in (NM): Add AC_CHECK_TOOL for it.
11991 (libc_extra_cflags): New substituted variable.
11992 Check for -fstack-protector being used implicitly.
11993 * configure: Regenerated.
11994 * config.make.in (config-extra-cflags): New variable,
11995 gets @libc_extra_cflags@.
11996 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11997
11998 [BZ #10375]
11999 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12000 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12001 * configure: Regenerated.
12002 * config.make.in (CPPUNDEFS): New substituted variable.
12003 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12004 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12005 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12006
12007 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12010 (mq_attr): Use __syscall_slong_t.
12011
12012 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12013
12014 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12015 Check __x86_64__ instead of __WORDSIZE.
12016 (_STAT_VER_LINUX): Likewise.
12017 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12018 __syscall_ulong_t and __syscall_slong_t.
12019 (stat64): Likewise.
12020
12021 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12024
12025 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12026
12027 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12028
12029 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12030
12031 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12032 __syscall_ulong_t.
12033
12034 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12035 include <bits/wordsize.h>. Check __x86_64__ instead of
12036 __WORDSIZE.
12037 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12038 defined.
12039 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12040
12041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12042 include <bits/wordsize.h>. Check __x86_64__ instead of
12043 __WORDSIZE.
12044 (user_regs_struct): Use "__extension__ unsigned long long"
12045 instead of "unsigned long" if __x86_64__ is defined.
12046 (user): Likewise. Pad after pointer field if __ILP32__ is
12047 defined.
12048
12049 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12050
12051 * configure.in (makeinfo): Require version 4.5 or later. Allow
12052 versions 5 to 9.
12053 * configure: Regenerated.
12054 * manual/install.texi (texinfo): Increase version requirement to
12055 4.5 or later.
12056 * INSTALL: Regenerated.
12057
12058 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12059
12060 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12061
12062 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12063
12064 * sysdeps/x86_64/x32/ffs.c: New file.
12065
12066 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12067 __syscall_ulong_t.
12068 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12069 defined. Use __syscall_ulong_t.
12070 (shminfo): Use __syscall_ulong_t.
12071 (shm_info): Likewise.
12072
12073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12074 __syscall_ulong_t.
12075
12076 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12077 <bits/wordsize.h>.
12078 (msgqnum_t): Use __syscall_ulong_t.
12079 (msglen_t): Likewise.
12080 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12081 __syscall_ulong_t.
12082
12083 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12085
12086 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12087
12088 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12089 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12090
12091 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12092 __syscall_slong_t.
12093
12094 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12095 include <bits/wordsize.h>. Check __x86_64__ instead of
12096 __WORDSIZE.
12097
12098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12099 "unsigned long long int" if __x86_64__ is defined.
12100 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12101
12102 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12104 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12105
12106 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12107 <stdint.h>.
12108 (GET_PC): Cast to uintptr_t first.
12109 (GET_FRAME): Likewise.
12110 (GET_STACK): Likewise.
12111
12112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12114 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12116 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12118 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12119 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12120 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12121 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12122 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12124 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12125 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12127 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12129 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12130 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12132 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12133 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12134 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12135 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12136 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12137 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12139 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12141
12142 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12143
12144 * Makerules (+depfiles): Also collect depfiles from .oS in
12145 $(extra-objs).
12146 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12147 .oS, $(libnldbl-routines)).
12148
12149 * Makerules (native-compile-mkdep-flags): Define.
12150 * sunrpc/Makefile (extra-objs): Add $(addprefix
12151 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12152 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12153 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12154 calling $(make-target-directory).
12155
12156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12157
12158 * bits/types.h (__snseconds_t): Removed.
12159 * time/time.h (struct timespec): Replace __snseconds_t with
12160 __syscall_slong_t.
12161 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12162 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12163 Likewise.
12164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12165 (__SNSECONDS_T_TYPE): Likewise.
12166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12167 (__SNSECONDS_T_TYPE): Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12169 (__SNSECONDS_T_TYPE): Likewise.
12170
12171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12172
12173 * sysdeps/mach/hurd/bits/typesizes.h
12174 (__SYSCALL_SLONG_TYPE): New macro.
12175 (__SYSCALL_ULONG_TYPE): Likewise.
12176
12177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12178
12179 * bits/types.h (__syscall_slong_t): New type.
12180 (__syscall_ulong_t): Likewise.
12181
12182 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12183 (__SYSCALL_ULONG_TYPE): Likewise.
12184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12185 (__SYSCALL_SLONG_TYPE): Likewise.
12186 (__SYSCALL_ULONG_TYPE): Likewise.
12187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12188 (__SYSCALL_SLONG_TYPE): Likewise.
12189 (__SYSCALL_ULONG_TYPE): Likewise.
12190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12191 (__SYSCALL_SLONG_TYPE): Likewise.
12192 (__SYSCALL_ULONG_TYPE): Likewise.
12193
12194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12195
12196 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12197 Add sigaltstack-offsets.sym.
12198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12199 <sigaltstack-offsets.h>.
12200 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12201 longjmp_msg pointer.
12202 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12203 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12204 signal stack.
12205 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12206
12207 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12208
12209 * elf/stackguard-macros.h: Remove file.
12210 * sysdeps/generic/stackguard-macros.h: New file.
12211 * sysdeps/i386/stackguard-macros.h: Likewise.
12212 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12213 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12214 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12215 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12216 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12217 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12218 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12219 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12220 <elf/stackguard-macros.h>.
12221
12222 [BZ #14109]
12223 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12224 __aligned__ in attribute.
12225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12226 (gregset_t): Likewise.
12227
12228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12229
12230 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12231 * sysdeps/x86_64/64/Implies-after: Here. New file.
12232 * sysdeps/x86_64/x32/Implies-after: New file.
12233
12234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12235
12236 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12237 and access return value for _dl_profile_fixup. Use R10_LP to
12238 load frame size.
12239
12240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12241
12242 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12243
12244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12245
12246 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12247 * sysdeps/x86_64/x32/sysdep.h: New file.
12248
12249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12250
12251 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12252 * sysdeps/x86_64/setjmp.S: Likewise.
12253
12254 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12255
12256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12258 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12259 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12260 remove unused global constant.
12261
12262 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12263
12264 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12265 include of <not-cancel.h>.
12266
12267 2012-05-15 Roland McGrath <roland@hack.frob.com>
12268
12269 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12270
12271 2012-05-15 Jeff Law <law@redhat.com>
12272 Andreas Jaeger <aj@suse.de>
12273
12274 [BZ #13594]
12275 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12276 out from...
12277 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12278 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12280 code changing __hst_map_handle.map.
12281
12282 2012-05-15 Roland McGrath <roland@hack.frob.com>
12283
12284 * configure.in (sysnames): Look for Implies-before and Implies-after
12285 files.
12286 * configure: Regenerated.
12287
12288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12289
12290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12291 8-byte data alignment with LP_SIZE alignment.
12292
12293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12294
12295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12296 into R10_LP.
12297
12298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12299
12300 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12301
12302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12303
12304 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12307 Likewise.
12308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12309
12310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12313 (stackinfo_sub_sp): Likewise.
12314
12315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12316
12317 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12318 RAX_LP.
12319
12320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12321
12322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12323 into R*_LP.
12324
12325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12326
12327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12328 sizes into R*_LP.
12329
12330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12333
12334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12335
12336 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12337 into R11_LP and load __x86_64_shared_cache_size_half into
12338 R8_LP.
12339
12340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12341
12342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12343 R8_LP.
12344
12345 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12346
12347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12348 logb for POWER7.
12349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12350 logbf for POWER7.
12351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12352 logbl for POWER7.
12353 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12354 powerpc32/power7/fpu/s_logb.c via #include.
12355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12356 powerpc32/power7/fpu/s_logbf.c via #include.
12357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12358 powerpc32/power7/fpu/s_logbl.c via #include.
12359
12360 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12361
12362 * README.libm: Remove file.
12363
12364 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12367 count for x32. Use R*_LP and omit operand-size suffix.
12368
12369 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12370
12371 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12372 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12373 * sysdeps/x86_64/x32/shlib-versions: New file.
12374
12375 2012-05-14 Roland McGrath <roland@hack.frob.com>
12376
12377 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12378 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12379 Use _dl_fatal_printf instead.
12380
12381 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12382
12383 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12384 set if not set by the user. Do not allow for being unset.
12385 * sysdeps/unix/sysv/linux/configure: Regenerated.
12386
12387 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12388
12389 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12390 the `q' suffix from lea and replace .quad with ASM_ADDR.
12391
12392 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12393
12394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12395 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12396 instead of $17.
12397 (PTR_DEMANGLE): Likewise.
12398
12399 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12400
12401 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12402 (LP_OP): Likewise.
12403 (ASM_ADDR): Likewise.
12404 (RAX_LP): Likewise.
12405 (RBP_LP): Likewise.
12406 (RBX_LP): Likewise.
12407 (RCX_LP): Likewise.
12408 (RDI_LP): Likewise.
12409 (RSI_LP): Likewise.
12410 (RSP_LP): Likewise.
12411 (R8_LP): Likewise.
12412 (R9_LP): Likewise.
12413 (R10_LP): Likewise.
12414 (R10_LP): Likewise.
12415 (R11_LP): Likewise.
12416 (R12_LP): Likewise.
12417 (R13_LP): Likewise.
12418 (R14_LP): Likewise.
12419 (R15_LP): Likewise.
12420
12421 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12422
12423 * sysdeps/x86_64/x32/dl-machine.h: New file.
12424
12425 2012-05-14 Andreas Jaeger <aj@suse.de>
12426
12427 * manual/Makefile (subdir): Remove export of subdir.
12428 (all): Remove target.
12429 (.PHONY): Remove all from list.
12430 (mkinstalldirs): Remove.
12431 (.PHONY): Remove installdirs from list.
12432 ($(inst_infodir)/libc.info): Use make-target-directory.
12433 (installdirs): Remove.
12434 (subdir_%): Remove.
12435 (glibc-targets): Remove.
12436 (lib): Remove.
12437 (stubs): Remove.
12438 ($(objpfx)stubs ../po/manual.pot): Remove.
12439 ($(objpfx)stamp%): Remove.
12440 (make-target-directory): Remove.
12441 (subdir_install): Remove.
12442 (routines): Remove.
12443 (aux): Remove.
12444 (sources): Remove.
12445 (objects): Remove.
12446 (headers): Remove.
12447
12448 [BZ #13750]
12449 * manual/.gitignore: Remove, it's not needed anymore.
12450 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12451 all files in it.
12452 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12453 directory.
12454 (texis): Renamed to $(objpfx)texis.
12455 (texis-path): New, contains path to generated files.
12456 (chapters.%): Use texis-path for complete path, add extra argument
12457 libc-texinfo.sh.
12458 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12459 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12460 (summary,texi, stamp-summary): Use complete path of
12461 files. Generate files in build dir.
12462 (dir-add.texi): Build in build dir.
12463 (libm-err.texi,stamp-libm-err): Likewise.
12464 (version.texi, stamp-version): Likewise.
12465 (.%c.texi): Likewise.
12466 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12467 (mostlyclean): Remove target.
12468 (realclean): Remove target.
12469 (generated): Add new variable with contents from mostlyclean and
12470 realclean, remove entries duplicated in common-mostlyclean, add
12471 stamp-libm-err and stamp-version.
12472 (generated-dirs): Add libc directory.
12473 ($(inst_infodir)/libc.info): Install files from build dir.
12474
12475 * manual/install.texi (Configuring and compiling): Adjust since
12476 the info files are not part of the tar ball anymore.
12477
12478 2012-05-14 Andreas Jaeger <aj@suse.de>
12479
12480 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12481 variable.
12482
12483 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12484
12485 [BZ #13717]
12486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12487 to 2.2.0 where earlier.
12488 * sysdeps/unix/sysv/linux/configure: Regenerated.
12489 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12490 Remove conditional code.
12491 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12492 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12493 Remove conditional code.
12494 [!__NR_lchown]: Likewise.
12495 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12496 [__NR_lchown]: Likewise.
12497 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12498 comment referencing __ASSUME_LCHOWN_SYSCALL.
12499 * sysdeps/unix/sysv/linux/i386/sigaction.c
12500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12502 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12503 Remove conditional code.
12504 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12505 (__protocol_available): Remove #if 0 code.
12506 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12507 conditional code.
12508 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12509 * sysdeps/unix/sysv/linux/kernel-features.h
12510 (__ASSUME_GETCWD_SYSCALL): Don't define.
12511 (__ASSUME_REALTIME_SIGNALS): Likewise.
12512 (__ASSUME_PREAD_SYSCALL): Likewise.
12513 (__ASSUME_PWRITE_SYSCALL): Likewise.
12514 (__ASSUME_POLL_SYSCALL): Likewise.
12515 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12516 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12517 non-SPARC.
12518 (__ASSUME_SIOCGIFNAME): Don't define.
12519 (__ASSUME_MSG_NOSIGNAL): Likewise.
12520 (__ASSUME_SENDFILE): Define unconditionally.
12521 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12522 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12523 conditional code.
12524 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12525 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12526 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12527 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12528 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12529 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12530 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12544 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12555 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12556 Remove conditional code.
12557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12558 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12559 Remove conditional code.
12560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12561 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12562 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12563 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12564 Remove conditional code.
12565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12566 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12567 Remove conditional code.
12568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12569 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12570 Remove conditional code.
12571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12572 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12573 Remove conditional code.
12574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12575 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12576 Remove conditional code.
12577 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12578 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12581 * sysdeps/unix/sysv/linux/sigaction.c
12582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12584 * sysdeps/unix/sysv/linux/sigpending.c
12585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12587 * sysdeps/unix/sysv/linux/sigprocmask.c
12588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12590 * sysdeps/unix/sysv/linux/sigsuspend.c
12591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12594 (__libc_missing_rt_sigs): Remove.
12595 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12596 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12597 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12598 Remove conditional code.
12599 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12600 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12601 return 1.
12602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12603 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12605 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12606
12607 2012-05-14 Andreas Jaeger <aj@suse.de>
12608
12609 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12610 it's not used in glibc.
12611 (__coshm1): Likewise.
12612 (__acosh1p): Likewise.
12613 (__sgn): Likewise.
12614
12615 * manual/string.texi (Copying and Concatenation): Add missing
12616 variable in concat example.
12617 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12618
12619 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12620
12621 [BZ #14103]
12622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12623 __builtin_clzl with __builtin_clzll.
12624
12625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12626
12627 [BZ #14104]
12628 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12629 libc_freeres_ptr.
12630
12631 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12632
12633 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12634 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12635 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12637
12638 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12639
12640 * NEWS: Update ia64 info.
12641
12642 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12643
12644 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12645 used as bcopy.
12646
12647 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12648
12649 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12650 * sysdeps/unix/syscalls.list (dup3): Likewise.
12651 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12652 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12653
12654 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12657 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12658
12659 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12660
12661 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12662 thread pointer.
12663 (TLS_IE): Use mov/add instead of movq/addq to load thread
12664 pointer.
12665 (TLS_GD_PREFIX): New.
12666 (TLS_GD): Use it.
12667
12668 2012-05-11 David S. Miller <davem@davemloft.net>
12669
12670 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12671 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12672 (_FPU_SETCW): Likewise.
12673
12674 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12675
12676 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12677 is 32-byte aligned.
12678
12679 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12680
12681 [BZ #11837]
12682 * iconvdata/gb18030.c: Update tables.
12683 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12684 characters specially.
12685 (BODY for TO_LOOP): Add encoding of missing ranges.
12686
12687 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12688
12689 [BZ #13673]
12690 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12691 * sysdeps/mach/hurd/dup3.c: Likewise.
12692 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12693 * sysdeps/powerpc/memmove.c:: Likewise.
12694
12695 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12696
12697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12698 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12699
12700 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 * elf/elf.h (R_X86_64_RELATIVE64): New.
12703 (R_X86_64_NUM): Updated.
12704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12705 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12706 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12707 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12708 tst-quad1pie tst-quad2pie
12709 (modules-names): Add tst-quadmod1 tst-quadmod2.
12710 ($(objpfx)tst-quad1): New dependency.
12711 ($(objpfx)tst-quad2): Likewise.
12712 ($(objpfx)tst-quad1pie): Likewise.
12713 ($(objpfx)tst-quad2pie): Likewise.
12714 * sysdeps/x86_64/tst-quad1.c: New file.
12715 * sysdeps/x86_64/tst-quad1pie.c: New file.
12716 * sysdeps/x86_64/tst-quad2.c: Likewise.
12717 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12718 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12719 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12720 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12721 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12722
12723 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12724
12725 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12726 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12727 * streams/stropts.h (t_scalar_t): Define type.
12728
12729 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12730 (_PATH_PRESERVE): Set to "/var/lib".
12731 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12732
12733 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12734 instead of int.
12735
12736 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12737 if __dir_mkfile succeeded.
12738
12739 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12740 checking for _hurd_dtablesize. Unlock it right after having
12741 finished _hurd_dtable allocation.
12742
12743 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12744
12745 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12746 * sysdeps/mach/hurd/configure: Regenerated.
12747 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12748 special-casing to...
12749 * sysdeps/gnu/configure.in: ... this new file.
12750 * sysdeps/unix/sysv/linux/configure: Regenerated.
12751 * sysdeps/gnu/configure: New generated file.
12752
12753 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12754 for Linux: use nsec instead of usec, as well as:
12755 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12756 members of type struct timespec.
12757 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12758 New macros.
12759 (struct stat64): Likewise.
12760 (_STATBUF_ST_NSEC): New macro.
12761 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12762
12763 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12764 __strtoul_internal rather than strtoul.
12765
12766 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12767
12768 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12769 and reject them.
12770
12771 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12772
12773 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12774 which preserves existing values.
12775 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12776
12777 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12778
12779 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12780 TIMEOUT values. Return EINVAL for NFDS values either negative or
12781 greater than FD_SETSIZE.
12782
12783 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12784
12785 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12786 allocated, call __vm_protect to finish enabling the existing space, and
12787 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12788 allocate the remainder.
12789
12790 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12791
12792 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12793 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12794
12795 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12796
12797 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12798 sysdeps/mach/hurd/readlink.c.
12799
12800 * posix/tst-sysconf.c (posix_options): Only use
12801 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12802 _POSIX_SYNCHRONIZED_IO when they are defined
12803 * sysdeps/mach/hurd/bits/posix_opt.h:
12804 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12805 (_XOPEN_REALTIME): Undefine macro.
12806 (_XOPEN_REALTIME_THREADS): Undefine macro.
12807 (_XOPEN_SHM): Undefine macro.
12808 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12809 macro to -1.
12810 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12811 macro to -1.
12812 (_POSIX_ASYNC_IO): Undefine macro.
12813 (_POSIX_PRIORITIZED_IO): Undefine macro.
12814 (_POSIX_SPIN_LOCKS): Define macro to -1.
12815
12816 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12817 SA_NODEFER, SA_RESETHAND.
12818 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12819 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12820 F_DUPFD_CLOEXEC.
12821
12822 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12823
12824 * elf/Makefile (pldd-modules): Define unconditionally.
12825
12826 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12827
12828 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12829
12830 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12831
12832 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12833 Return ENOENT when name is empty.
12834 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12835
12836 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12837
12838 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12839
12840 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12841
12842 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12843
12844 Fix mlock in all cases except non-readable pages.
12845 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12846 instead of VM_PROT_ALL as parameter to __vm_wire function.
12847
12848 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12849 (__mkdir): When path is `/', just fail with EEXIST.
12850 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12851
12852 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12853
12854 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12855 <sys/uio.h> (for writev).
12856 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12857 and <sys/param.h> (for MIN).
12858
12859 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12860
12861 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12862 REQUESTED_TIME. Properly set the remaining time and return EINTR
12863 if interrupted.
12864
12865 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12866
12867 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12868 Depend on against $(link-rpcuserlibs).
12869
12870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12871
12872 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12873 (__libc_stack_end): Do not use attribute_relro.
12874 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12875 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12876 to libthread-provided value.
12877 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12878 attribute_relro.
12879
12880 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12881
12882 [BZ #3748]
12883 * bits/libc-lock.h (__libc_once_get): New macro.
12884 * sysdeps/mach/bits/libc-lock.h: Likewise.
12885 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12887 instead of using implementation details.
12888
12889 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12890 * libio/freopen.c: Likewise.
12891 * libio/freopen64.c: Likewise.
12892 * misc/syslog.c: Likewise.
12893 * nscd/connections.c: Likewise.
12894 * nscd/netgroupcache.c: Likewise.
12895 * sysdeps/posix/getcwd.c: Likewise.
12896
12897 2012-05-10 Roland McGrath <roland@hack.frob.com>
12898
12899 * math/w_ilogbf.c: Add #include <limits.h>.
12900
12901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12902
12903 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12904 path instead of returning without unlocking.
12905
12906 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12907 immediate-write ioctls.
12908 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12909
12910 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12911
12912 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12913 __builtin_frame_address instead of making assumptions about the
12914 location of the return address relative to DATA. Force early load of
12915 the return address.
12916 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12917 __builtin_frame_address.
12918
12919 dup3 for GNU Hurd.
12920 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12921 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12922 implement dup3 and do some further code clean-ups.
12923 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12924 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12925
12926 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12927
12928 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12929
12930 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12931 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12932 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12933 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12934 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12935 d->port.lock.
12936
12937 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12938 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12939 when handler == SIG_ERR, not when handler != SIG_ERR.
12940
12941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12942
12943 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12944 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12945 definitions.
12946
12947 accept4 for GNU Hurd.
12948 * include/sys/socket.h (__libc_accept4): New prototype.
12949 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12950 to implement __libc_accept4.
12951 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12952 __libc_accept4.
12953 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12954
12955 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12956 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12957 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12958 signal-defines.sym.
12959
12960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12961
12962 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12963
12964 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12965
12966 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12967 assertion on O_CLOEXEC flag.
12968 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12969 * hurd/intern-fd.c: Likewise.
12970 * hurd/port2fd.c: Likewise.
12971
12972 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12973
12974 [BZ #3906]
12975 * bits/in.h (IPV6_PKTINFO): Define new macro.
12976 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12977
12978 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12979
12980 [BZ #13954]
12981 [BZ #13955]
12982 [BZ #13956]
12983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12985 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12986 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12987 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12989 * math/libm-test.inc (logb_test) : Additional logb tests.
12990
12991 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12992 Andreas Jaeger <aj@suse.de>
12993
12994 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12995 * configure: Regenerated.
12996 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12997 * config.make.in (link-obsolete-rpc): New substituted variable.
12998 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12999 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13000 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13001 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13002 so that libc.a contains the symbols.
13003 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13004 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13005 * sunrpc/auth_none.c: Likewise.
13006 * sunrpc/auth_unix.c: Likewise.
13007 * sunrpc/authdes_prot.c: Likewise.
13008 * sunrpc/authuxprot.c: Likewise.
13009 * sunrpc/clnt_gen.c: Likewise.
13010 * sunrpc/clnt_perr.c: Likewise.
13011 * sunrpc/clnt_raw.c: Likewise.
13012 * sunrpc/clnt_simp.c: Likewise.
13013 * sunrpc/clnt_tcp.c: Likewise.
13014 * sunrpc/clnt_udp.c: Likewise.
13015 * sunrpc/clnt_unix.c: Likewise.
13016 * sunrpc/des_crypt.c: Likewise.
13017 * sunrpc/des_soft.c: Likewise.
13018 * sunrpc/get_myaddr.c: Likewise.
13019 * sunrpc/key_call.c: Likewise.
13020 * sunrpc/key_prot.c: Likewise.
13021 * sunrpc/netname.c: Likewise.
13022 * sunrpc/pm_getmaps.c: Likewise.
13023 * sunrpc/pm_getport.c: Likewise.
13024 * sunrpc/pmap_clnt.c: Likewise.
13025 * sunrpc/pmap_prot.c: Likewise.
13026 * sunrpc/pmap_prot2.c: Likewise.
13027 * sunrpc/pmap_rmt.c: Likewise.
13028 * sunrpc/publickey.c: Likewise.
13029 * sunrpc/rpc_cmsg.c: Likewise.
13030 * sunrpc/rpc_common.c: Likewise.
13031 * sunrpc/rpc_dtable.c: Likewise.
13032 * sunrpc/rpc_prot.c: Likewise.
13033 * sunrpc/rpc_thread.c: Likewise.
13034 * sunrpc/rtime.c: Likewise.
13035 * sunrpc/svc.c: Likewise.
13036 * sunrpc/svc_auth.c: Likewise.
13037 * sunrpc/svc_raw.c: Likewise.
13038 * sunrpc/svc_run.c: Likewise.
13039 * sunrpc/svc_tcp.c: Likewise.
13040 * sunrpc/svc_udp.c: Likewise.
13041 * sunrpc/svc_unix.c: Likewise.
13042 * sunrpc/svcauth_des.c: Likewise.
13043 * sunrpc/xcrypt.c: Likewise.
13044 * sunrpc/xdr.c: Likewise.
13045 * sunrpc/xdr_array.c: Likewise.
13046 * sunrpc/xdr_float.c: Likewise.
13047 * sunrpc/xdr_intXX_t.c: Likewise.
13048 * sunrpc/xdr_mem.c: Likewise.
13049 * sunrpc/xdr_rec.c: Likewise.
13050 * sunrpc/xdr_ref.c: Likewise.
13051 * sunrpc/xdr_sizeof.c: Likewise.
13052 * sunrpc/xdr_stdio.c: Likewise.
13053
13054 2012-05-10 Roland McGrath <roland@hack.frob.com>
13055
13056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13057 change. Update copyright years.
13058
13059 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13060
13061 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13062
13063 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13064 Joseph Myers <joseph@codesourcery.com>
13065 Paul Pluzhnikov <ppluzhnikov@google.com>
13066
13067 [BZ #14012]
13068 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13069 requiring rpcgen.
13070 [cross-compiling] (extra-libs): Likewise.
13071 [cross-compiling] (extra-libs-others): Likewise.
13072 [cross-compiling] (librpcsvc-routines): Likewise.
13073 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13074 [cross-compiling] (omit-deps): Likewise.
13075 (sunrpc-CPPFLAGS): New variable.
13076 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13077 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13078 (cross-rpcgen-objs): New variable.
13079 (extra-objs): Append $(cross-rpcgen-objs).
13080 ($(cross-rpcgen-objs)): New rule.
13081 ($(objpfx)cross-rpcgen): Likewise.
13082 (rpcgen-cmd): Define to use $(built-program-file). Expand
13083 comment.
13084 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13085 ($(objpfx)x%.stmp): Likewise.
13086 * sunrpc/proto.h [IS_IN_build] (_): Define.
13087 [IS_IN_build] (_libc_intl_domainname): Likewise.
13088
13089 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13090
13091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13092 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13093 and R_X86_64_TPOFF64.
13094
13095 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13096
13097 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13098 sysdeps/unix/sysv/syscalls.list.
13099 (stime): Likewise.
13100 (utime): Likewise.
13101 * sysdeps/unix/sysv/syscalls.list: Remove file.
13102
13103 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13104
13105 [BZ #3440]
13106 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13107 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13108 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13109 (__LC_IDENTIFICATION): Make these macros useful in #if
13110 expressions, as required by C99.
13111
13112 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13113
13114 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13115 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13116 after this.
13117
13118 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13119
13120 * stdlib/longlong.h: Updated from GCC.
13121
13122 2012-05-09 Andreas Jaeger <aj@suse.de>
13123
13124 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13125 default is first entry.
13126 (run_mode): Set type.
13127 (main): Remove informal message about syslog.
13128 (options): Fix typo.
13129
13130 [BZ #14053]
13131 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13132 to asm.
13133 (lrint): Likewise.
13134 (llrintf): Likewise.
13135 (llrint): Likewise.
13136 (rint): Likewise.
13137 (rintf): Likewise.
13138 (nearbyint): Likewise.
13139 (nearbyintf): Likewise.
13140
13141 2012-05-09 Andreas Jaeger <aj@suse.de>
13142 Pedro Alves <palves@redhat.com>
13143
13144 * nscd/nscd.c (run_mode): Use enum.
13145 (main): Cleanup coding style issue.
13146
13147 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13148 Andreas Jaeger <aj@suse.de>
13149
13150 * nscd/nscd.c (go_background): Replaced with...
13151 (run_mode): ... this.
13152 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13153 (options): Add -F --foreground.
13154 (main): Implement it.
13155 (parse_opt): Parse it.
13156
13157 2012-05-09 Andreas Jaeger <aj@suse.de>
13158
13159 [BZ #14083]
13160 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13161 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13162 -Wconversion warning.
13163 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13164 Likewise.
13165
13166 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13167
13168 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13169 == 0.
13170 (LC_ALL): Use macro-int-constant.
13171 (LC_COLLATE): Likewise.
13172 (LC_CTYPE): Likewise.
13173 (LC_MESSAGES): Likewise.
13174 (LC_MONETARY): Likewise.
13175 (LC_NUMERIC): Likewise.
13176 (LC_TIME): Likewise.
13177 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13178 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13180 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13181 Specify type.
13182 [C99-based standards] (float_t): Expect type.
13183 [C99-based standards] (double_t): Expect type.
13184 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13185 type.
13186 [C99-based standards] (HUGE_VALL): Likewise.
13187 [C99-based standards] (INFINITY): Likewise.
13188 [C99-based standards] (NAN): Likewise.
13189 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13190 [C99-based standards] (FP_NAN): Likewise.
13191 [C99-based standards] (FP_NORMAL): Likewise.
13192 [C99-based standards] (FP_SUBNORMAL): Likewise.
13193 [C99-based standards] (FP_ZERO): Likewise.
13194 [C99-based standards] (FP_FAST_FMA): Use
13195 optional-macro-int-constant. Specify type. Require == 1.
13196 [C99-based standards] (FP_FAST_FMAF): Likewise.
13197 [C99-based standards] (FP_FAST_FMAL): Likewise.
13198 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13199 [C99-based standards] (FP_ILOGBNAN): Likewise.
13200 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13201 Specify type.
13202 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13203 [C99-based standards] (math_errhandling): Specify type.
13204 [ISO99 || ISO11] (signgam): Do not allow.
13205 [non-C99-based standards] (copysignf): Do not allow.
13206 [non-C99-based standards] (exp2f): Likewise.
13207 [non-C99-based standards] (log2f): Likewise.
13208 [non-C99-based standards] (modff): Allow.
13209 [non-C99-based standards] (erff): Do not allow.
13210 [non-C99-based standards] (erfcf): Likewise.
13211 [non-C99-based standards] (gammaf): Likewise.
13212 [non-C99-based standards] (hypotf): Likewise.
13213 [non-C99-based standards] (j0f): Likewise.
13214 [non-C99-based standards] (j1f): Likewise.
13215 [non-C99-based standards] (jnf): Likewise.
13216 [non-C99-based standards] (lgammaf): Likewise.
13217 [non-C99-based standards] (tgammaf): Likewise.
13218 [non-C99-based standards] (y0f): Likewise.
13219 [non-C99-based standards] (y1f): Likewise.
13220 [non-C99-based standards] (ynf): Likewise.
13221 [non-C99-based standards] (isnanf): Likewise.
13222 [non-C99-based standards] (acoshf): Likewise.
13223 [non-C99-based standards] (asinhf): Likewise.
13224 [non-C99-based standards] (atanhf): Likewise.
13225 [non-C99-based standards] (cbrtf): Likewise.
13226 [non-C99-based standards] (expm1f): Likewise.
13227 [non-C99-based standards] (ilogbf): Likewise.
13228 [non-C99-based standards] (log1pf): Likewise.
13229 [non-C99-based standards] (logbf): Likewise.
13230 [non-C99-based standards] (nextafterf): Likewise.
13231 [non-C99-based standards] (remainderf): Likewise.
13232 [non-C99-based standards] (rintf): Likewise.
13233 [non-C99-based standards] (scalbf): Likewise.
13234 [non-C99-based standards] (copysignl): Likewise.
13235 [non-C99-based standards] (exp2l): Likewise.
13236 [non-C99-based standards] (log2l): Likewise.
13237 [non-C99-based standards] (modfl): Allow.
13238 [non-C99-based standards] (erfl): Do not allow.
13239 [non-C99-based standards] (erfcl): Likewise.
13240 [non-C99-based standards] (gammal): Likewise.
13241 [non-C99-based standards] (hypotl): Likewise.
13242 [non-C99-based standards] (j0l): Likewise.
13243 [non-C99-based standards] (j1l): Likewise.
13244 [non-C99-based standards] (jnl): Likewise.
13245 [non-C99-based standards] (lgammal): Likewise.
13246 [non-C99-based standards] (tgammal): Likewise.
13247 [non-C99-based standards] (y0l): Likewise.
13248 [non-C99-based standards] (y1l): Likewise.
13249 [non-C99-based standards] (ynl): Likewise.
13250 [non-C99-based standards] (isnanl): Likewise.
13251 [non-C99-based standards] (acoshl): Likewise.
13252 [non-C99-based standards] (asinhl): Likewise.
13253 [non-C99-based standards] (atanhl): Likewise.
13254 [non-C99-based standards] (cbrtl): Likewise.
13255 [non-C99-based standards] (expm1l): Likewise.
13256 [non-C99-based standards] (ilogbl): Likewise.
13257 [non-C99-based standards] (log1pl): Likewise.
13258 [non-C99-based standards] (logbl): Likewise.
13259 [non-C99-based standards] (nextafterl): Likewise.
13260 [non-C99-based standards] (remainderl): Likewise.
13261 [non-C99-based standards] (rintl): Likewise.
13262 [non-C99-based standards] (scalbl): Likewise.
13263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13264 [non-C99-based standards] (FP_*): Do not allow.
13265 [C99-based standards] (FP_*): Change to
13266 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13267 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13268 allow.
13269 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13270 (SIG_ERR): Likewise.
13271 [X/Open-based standards] (SIG_HOLD): Likewise.
13272 (SIG_IGN): Likewise.
13273 (SIGABRT): Use macro-int-constant. Specify type. Require
13274 positive value.
13275 (SIGFPE): Likewise.
13276 (SIGILL): Likewise.
13277 (SIGINT): Likewise.
13278 (SIGSEGV): Likewise.
13279 (SIGTER): Likewise.
13280 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13281 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13282 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13283 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13284 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13285 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13286 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13287 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13288 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13289 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13290 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13291 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13292 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13293 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13294 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13295 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13296 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13297 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13298 [X/Open-based standards] (SIGTRAP): Likewise.
13299 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13300 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13301 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13302 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13303 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13304 allow.
13305
13306 2012-05-08 Ian Wienand <ianw@vmware.com>
13307
13308 [BZ #14080]
13309 * time/tzset.c (__tzset_parse_tz): Update default rules for
13310 daylight time changes in the Energy Policy Act of 2005.
13311
13312 2012-05-09 Andreas Jaeger <aj@suse.de>
13313
13314 [BZ #13983]
13315 * elf/ldconfig.c (parse_conf): Change string to make clear that
13316 ldconfig only issued a warning if ld.so.conf does not exist.
13317
13318 2012-05-08 David S. Miller <davem@davemloft.net>
13319
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13321 movxtod instead of popping the value on the stack.
13322
13323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13324
13325 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13326
13327 * config.h.in: Add HAVE_ARM_PCS_VFP.
13328
13329 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13330
13331 [BZ #13979]
13332 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13333 checking but the checks are disabled for any reason.
13334
13335 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13336
13337 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13338 and ELF64_R_TYPE with ELFW(R_TYPE).
13339
13340 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13341
13342 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13343 (ulimit): Likewise.
13344
13345 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13346 (settimeofday): Likewise.
13347
13348 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13349
13350 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13351 a struct th_u2 inside the union, and move tu_block/tu_code into
13352 a new th_u3 union of tu_block/tu_code inside of that. Move
13353 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13354 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13355 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13356 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13357 (th_stuff): Change to th_u1.tu_stuff.
13358 (th_data): Define.
13359 (th_msg): Change to th_u1.th_u2.tu_data.
13360
13361 2012-05-07 David S. Miller <davem@davemloft.net>
13362
13363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13364
13365 [BZ #14074]
13366 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13367 (SETUP_PIC_REG): Use it.
13368 (SETUP_PIC_REG_LEAF): Use it.
13369
13370 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13371
13372 [BZ #13885]
13373 [BZ #13923]
13374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13375 USE_AS_EXPM1L.
13376 (EXPL_FINITE): Likewise.
13377 (FLDLOG): Likewise.
13378 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13379 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13380 e_expl.S.
13381 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13382 USE_AS_EXPM1L.
13383 (EXPL_FINITE): Likewise.
13384 (FLDLOG): Likewise.
13385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13386 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13387 e_expl.S.
13388 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13389 test of -max_value argument for long double.
13390 * sysdeps/i386/fpu/libm-test-ulps: Update.
13391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13392
13393 2012-05-06 David S. Miller <davem@davemloft.net>
13394
13395 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13396 quad soft-float symbols whose references which are compiler
13397 generated.
13398 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13399
13400 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13401
13402 [BZ #13884]
13403 [BZ #13914]
13404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13405 USE_AS_EXP10L.
13406 (EXPL_FINITE): Likewise.
13407 (FLDLOG): Likewise.
13408 (c0): Likewise.
13409 (c1): Likewise.
13410 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13411 Adjust comments for base varying.
13412 (__expl_finite): Change alias to EXPL_FINITE.
13413 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13414 e_expl.S.
13415 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13416 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13418 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13419 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13420 USE_AS_EXP10L.
13421 (EXPL_FINITE): Likewise.
13422 (FLDLOG): Likewise.
13423 (c0): Likewise.
13424 (c1): Likewise.
13425 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13426 Adjust comments for base varying.
13427 (__expl_finite): Change alias to EXPL_FINITE.
13428 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13429 tests for bugs.
13430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13431
13432 [BZ #14064]
13433 * math/libm-test.inc (check_float_internal): Correct ulp
13434 calculation for subnormal expected results.
13435
13436 2012-05-06 Andreas Jaeger <aj@suse.de>
13437
13438 * Makeconfig (+math-flags): New, set to -frounding-math.
13439 (+cflags): Add +math-flags so that all of glibc gets compiled with
13440 it.
13441
13442 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13443
13444 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13445
13446 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13447 Disable one test.
13448
13449 [BZ #13787]
13450 [BZ #13922]
13451 [BZ #14036]
13452 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13453 (__ieee754_expl): Allow for and saturate large arguments.
13454 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13455 (u_threshold): Likewise.
13456 (__exp): Call __ieee754_exp before checking for overflow and
13457 underflow.
13458 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13459 (u_threshold): Likewise.
13460 (__expf): Call __ieee754_expf before checking for overflow and
13461 underflow.
13462 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13463 (u_threshold): Likewise.
13464 (__expl): Call __ieee754_expl before checking for overflow and
13465 underflow.
13466 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13467 (__ieee754_expl): Allow for and saturate large arguments.
13468 * math/libm-test.inc (exp_test): Add another test. Do not allow
13469 missing overflow exception on overflow.
13470 (expm1_test): Do not allow missing overflow exception on overflow.
13471
13472 * sysdeps/i386/fpu/e_expl.c: Move to ...
13473 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13474 rather than using inline asm.
13475 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13476 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13477 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13478
13479 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13480 (nice): Likewise.
13481 (poll): Likewise.
13482 (signal): Likewise.
13483 (time): Likewise.
13484 (times): Likewise.
13485
13486 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13487
13488 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13489 sysdeps/unix/common/syscalls.list.
13490 (fchmod): Likewise.
13491 (fchown): Likewise.
13492 (ftruncate): Likewise.
13493 (getrusage): Likewise.
13494 (gettimeofday): Likewise.
13495 (setpgid): Likewise.
13496 (setregid): Likewise.
13497 (setreuid): Likewise.
13498 (sigaction): Likewise.
13499 (truncate): Likewise.
13500 (vhangup): Likewise.
13501 * sysdeps/unix/common/syscalls.list: Remove file.
13502 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13503 * sysdeps/unix/sysv/linux/Implies: Likewise.
13504
13505 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13506
13507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13510 Moved to ...
13511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13512 Here.
13513 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13514 to ...
13515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13516 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13517 to ...
13518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13519 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13520 to ...
13521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13522 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13523 to ...
13524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13525 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13526 to ...
13527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13528 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13529 to ...
13530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13531 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13532 to ...
13533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13534 Here.
13535 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13536 to ...
13537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13538 Here.
13539 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13540 to ...
13541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13542 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13543 Moved to ...
13544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13545 Here.
13546 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13547 to ...
13548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13549
13550 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13551
13552 * sysdeps/unix/common/bits/dirent.h: Remove file.
13553 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13554
13555 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13556 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13557 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13558 * sysdeps/unix/bsd/isatty.c: Likewise.
13559 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13560 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13561 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13562
13563 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13564
13565 [BZ #13563]
13566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13567 long double comparison inaccuracies.
13568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13570
13571 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13572
13573 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13575
13576 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13577
13578 [BZ #14049]
13579 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13580 nonzero digits before rounding a hex value.
13581 * stdlib/tst-strtod.c (tests): Add another test.
13582
13583 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13584
13585 * sysdeps/s390/fpu/libm-test-ulps: Update.
13586
13587 2012-05-03 Andreas Jaeger <aj@suse.de>
13588
13589 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13590 does not get optimized out.
13591 (malloc_opt_barrier): New.
13592
13593 2012-05-03 Andreas Jaeger <aj@suse.de>
13594 Roland McGrath <roland@hack.frob.com>
13595
13596 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13597 intermediate file deletion.
13598 (generated): Add .symlist files.
13599
13600 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13601
13602 [BZ #13775]
13603 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13604 Redirect under this condition.
13605 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13606 [__USE_GNU] (__dprintf_chk): Not under this condition.
13607 [__USE_GNU] (__vdprintf_chk): Likewise.
13608 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13609 under this condition.
13610 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13611 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13612 [__USE_XOPEN2K8] (vdprintf): Likewise.
13613 [__USE_GNU] (__dprintf_chk): Not under this condition.
13614 [__USE_GNU] (__vdprintf_chk): Likewise.
13615 [__USE_GNU] (dprintf): Likewise.
13616 [__USE_GNU] (vdprintf): Likewise.
13617
13618 2012-05-03 Roland McGrath <roland@hack.frob.com>
13619
13620 * elf/Makefile (common-generated): Set this instead of generated for
13621 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13622 $(all-built-dso)-derived lists.
13623
13624 2012-05-03 Andreas Jaeger <aj@suse.de>
13625
13626 * sysdeps/i386/fpu/libm-test-ulps: Update.
13627
13628 * FAQ: Removed.
13629 * FAQ.in: Likewise.
13630 * scripts/gen-FAQ.pl: Likewise.
13631 * manual/install.texi (Installation): Point to online location of
13632 FAQ.
13633 * Makefile (files-for-dist): Remove FAQ.
13634 (FAQ): Remove.
13635
13636 2012-05-02 Allan McRae <allan@archlinux.org>
13637
13638 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13639 (LDFLAGS-reldepmod5.so): Likewise.
13640 (LDFLAGS-reldep6mod1.so): Likewise.
13641 (LDFLAGS-reldep6mod4.so): Likewise.
13642 (LDFLAGS-reldep8mod3.so): Likewise.
13643 (LDFLAGS-unload4mod1.so): Likewise.
13644 (LDFLAGS-unload4mod2.so): Likewise.
13645 (LDFLAGS-tst-initorder): Likewise.
13646 (LDFLAGS-tst-initordera2.so): Likewise.
13647 (LDFLAGS-tst-initordera3.so): Likewise.
13648 (LDFLAGS-tst-initordera4.so): Likewise.
13649 (LDFLAGS-tst-initorderb2.so): Likewise.
13650 (LDFLAGS-noload): Likewise.
13651 (LDFLAGS-next): Likewise.
13652 (LDFLAGS-order2mod1.so): Likewise.
13653 (LDFLAGS-order2mod2.so): Likewise.
13654 (LDFLAGS-tst-initorder2): Likewise.
13655 (LDFLAGS-tst-initorder2a.so): Likewise.
13656 (LDFLAGS-tst-initorder2b.so): Likewise.
13657 (LDFLAGS-tst-initorder2c.so): Likewise.
13658 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13659
13660 2012-05-02 David S. Miller <davem@davemloft.net>
13661
13662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13663
13664 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13665
13666 [BZ #14055]
13667 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13668
13669 2012-05-02 Andreas Jaeger <aj@suse.de>
13670
13671 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13672 since we manipulate rounding mode.
13673 (CPPFLAGS-test-idouble.c): Likewise.
13674 (CPPFLAGS-test-ifloat.c): Likewise.
13675 (CFLAGS-test-ldouble.c): Likewise.
13676 (CFLAGS-test-double.c): Likewise.
13677 (CFLAGS-test-float.c): Likewise.
13678 (CFLAGS-test-misc.c): Likewise.
13679 (CFLAGS-test-test-fenv.c): Likewise.
13680
13681 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13682
13683 [BZ #2550]
13684 [BZ #2570]
13685 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13686 comparisons to determine direction to adjust input.
13687
13688 2012-05-01 Roland McGrath <roland@hack.frob.com>
13689
13690 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13691 output to the target.
13692
13693 * scripts/localplt.awk: New file.
13694 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13695 (check-localplt-CFLAGS): Variable removed.
13696 ($(all-built-dso:=.jmprel)): New static pattern rule.
13697 (generated): Add those targets.
13698 (localplt-built-dso): New variable.
13699 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13700
13701 * elf/check-localplt.c: File removed.
13702
13703 * scripts/check-execstack.awk: New file.
13704 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13705 (check-execstack-CFLAGS): Variable removed.
13706 ($(objpfx)check-execstack.h): Target removed.
13707 ($(objpfx)execstack-default): New target.
13708 (generated): Add that instead of check-execstack.h.
13709 ($(all-built-dso:=.phdr)): New static pattern rule.
13710 (generated): Add those targets.
13711 * elf/check-execstack.c: File removed.
13712
13713 * scripts/check-textrel.awk: New file.
13714 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13715 (check-textrel-CFLAGS): Variable removed.
13716 (all-built-dso): Use := to define.o
13717 ($(all-built-dso:=.dyn)): New static pattern rule.
13718 (generated): Add those targets.
13719 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13720 * config.make.in (READELF): New substituted variable.
13721 * elf/check-textrel.c: File removed.
13722
13723 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13724
13725 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13726 allow.
13727 * conform/data/ctype.h-data [C99-based standards] (isblank):
13728 Expect function.
13729 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13730 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13732 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13733 Specify type. Require positive value.
13734 (EILSEQ): Likewise.
13735 (ERANGE): Likewise.
13736 [ISO || POSIX] (EILSEQ): Do not expect.
13737 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13738 Specify type. Require positive value.
13739 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13740 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13741 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13742 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13743 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13744 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13745 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13746 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13747 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13748 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13749 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13750 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13751 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13752 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13753 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13754 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13755 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13756 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13757 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13758 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13759 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13760 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13761 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13762 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13763 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13764 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13765 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13766 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13767 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13768 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13769 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13770 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13771 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13772 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13773 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13774 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13775 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13776 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13777 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13778 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13779 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13780 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13781 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13782 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13783 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13784 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13785 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13786 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13787 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13788 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13789 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13790 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13791 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13792 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13793 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13794 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13795 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13796 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13797 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13798 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13799 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13800 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13801 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13802 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13803 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13804 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13805 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13806 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13807 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13808 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13809 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13810 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13811 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13812 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13813 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13814 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13815 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13816 Require >= 2.
13817 (FLT_ROUNDS): Expect as macro, not constant.
13818 (FLT_MANT_DIG): Use macro-int-constant.
13819 (DBL_MANT_DIG): Likewise.
13820 (LDBL_MANT_DIG): Likewise.
13821 (FLT_DIG): Likewise.
13822 (DBL_DIG): Likewise.
13823 (LDBL_DIG): Likewise.
13824 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13825 (DBL_MIN_EXP): Likewise.
13826 (LDBL_MIN_EXP): Likewise.
13827 (FLT_MAX_EXP): Use macro-int-constant.
13828 (DBL_MAX_EXP): Likewise.
13829 (LDBL_MAX_EXP): Likewise.
13830 (FLT_MAX_10_EXP): Likewise.
13831 (DBL_MAX_10_EXP): Likewise.
13832 (LDBL_MAX_10_EXP): Likewise.
13833 (FLT_MAX): Use macro-constant.
13834 (DBL_MAX): Likewise.
13835 (LDBL_MAX): Likewise.
13836 (FLT_EPSILON): Use macro-constant. Give upper bound.
13837 (DBL_EPSILON): Likewise.
13838 (LDBL_EPSILON): Likewise.
13839 (FLT_MIN): Likewise.
13840 (DBL_MIN): Likewise.
13841 (LDBL_MIN): Likewise.
13842 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13843 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13844 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13845 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13846 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13847 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13848 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13849 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13850 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13851 [ISO11] (FLT_TRUE_MIN): Likewise.
13852 [ISO11] (LDBL_TRUE_MIN): Likewise.
13853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13854 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13855 (SCHAR_MIN): Use macro-int-constant. Specify type.
13856 (SCHAR_MAX): Likewise.
13857 (UCHAR_MAX): Likewise.
13858 (CHAR_MIN): Likewise.
13859 (CHAR_MAX): Likewise.
13860 (MB_LEN_MAX): Use macro-int-constant.
13861 (SHRT_MIN): Use macro-int-constant. Specify type.
13862 (SHRT_MAX): Likewise.
13863 (USHRT_MAX): Likewise.
13864 (INT_MAX): Likewise.
13865 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13866 bound negative.
13867 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13868 bound with "U".
13869 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13870 bound with "L".
13871 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13872 bound negative. Suffix upper bound with "L".
13873 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13874 bound with "UL".
13875 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13876 Specify type.
13877 [C99-based standards] (LLONG_MAX): Likewise.
13878 [C99-based standards] (ULLONG_MAX): Likewise.
13879 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13880 == 0.
13881 [ISO11] (max_align_t): Require type.
13882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13883
13884 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13885 from $CFLAGS, without defining away __attribute__ calls.
13886 (checknamespace): Use $CFLAGS_namespace.
13887
13888 * conform/conformtest.pl (@keywords): Only include C99 keywords
13889 for standards based on C99 or C11.
13890
13891 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13892 Disable tests.
13893 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13894 UNIX98]: Likewise.
13895
13896 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13897 usability of symbols in #if.
13898
13899 * conform/conformtest.pl: If macro or constant types start
13900 "promoted:", expect the symbol to be of the following type
13901 promoted by the integer promotions.
13902
13903 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13904 in one place. Also handle "macro-constant".
13905
13906 * conform/conformtest.pl: Only accept expected macro values with
13907 "==". Parse all "macro" lines in one place.
13908 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13909
13910 * conform/conformtest.pl: Handle braced types on "constant" lines
13911 instead of handling "typed-constant".
13912 * conform/data/signal.h-data: Use "constant" instead of
13913 "typed-constant".
13914
13915 * conform/conformtest.pl: Handle "optional-" at start of lines in
13916 one place rather than duplicating several cases. Handle each
13917 format of "macro" line with initial "optional-".
13918
13919 * conform/conformtest.pl: Only accept expected constant or
13920 optional-constant values with "==". Parse all "constant" lines in
13921 one place. Parse all "optional-constant" lines in one place.
13922 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13923 * conform/data/fmtmsg.h-data: Likewise.
13924 * conform/data/netinet/in.h-data: Likewise.
13925 * conform/data/tar.h-data: Likewise.
13926 * conform/data/limits.h-data: Use "==" form on "constant" and
13927 "optional-constant" lines.
13928
13929 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13930 Use -std=c99 for XOPEN2K.
13931 (@knownproblems): Remove.
13932 (newtoken): Don't check %isknown.
13933
13934 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13935 Do not expect macro.
13936 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13937 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13938 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13939 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13940 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13941 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13942 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13943 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13944 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13945 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13946 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13947 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13948 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13949 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13950 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13951 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13952 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13953 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13954 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13955 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13956 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13957 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13958 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13960 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13961 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13962 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13963 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13964 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13965 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13966 [XPG3] (acosh): Likewise.
13967 [XPG3] (asinh): Likewise.
13968 [XPG3] (atanh): Likewise.
13969 [XPG3] (cbrt): Likewise.
13970 [XPG3] (expm1): Likewise.
13971 [XPG3] (ilogb): Likewise.
13972 [XPG3] (log1p): Likewise.
13973 [XPG3] (logb): Likewise.
13974 [XPG3] (nextafter): Likewise.
13975 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13976 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13977 [XPG3] (remainder): Likewise.
13978 [XPG3] (rint): Likewise.
13979 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13980 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13981 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13982 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13983 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13984 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13985 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13986 [UNIX98 || XOPEN2K] (scalb): Expect.
13987 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13988 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13989 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13990 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13991 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13992 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13993 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13994 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13995 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13996 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13997 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13998 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13999 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14000 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14001 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14002 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14003 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14004 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14005 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14006 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14007 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14008 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14009 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14010 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14011 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14012 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14013 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14014 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14015 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14016 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14017 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14018 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14019 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14020 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14021 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14022 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14023 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14024 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14025 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14026 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14027 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14028 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14029 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14030 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14031 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14032 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14033 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14034 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14035 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14036 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14037 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14038 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14039 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14040 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14041 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14042 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14043 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14044 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14045 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14046 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14047 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14048 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14049 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14050 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14051 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14052 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14053 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14054 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14055 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14056 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14057 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14058 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14059 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14060 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14061 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14062 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14063 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14064 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14065 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14066 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14067 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14068 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14069 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14070 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14071 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14072 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14073 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14074 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14075 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14076 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14077 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14078 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14079 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14080 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14081 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14082 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14083 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14084 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14085 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14086 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14087 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14088 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14089 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14090 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14091 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14092 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14093 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14094 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14095 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14096 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14097 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14098 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14099 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14100 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14101 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14102 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14103 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14104 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14105 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14106 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14107 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14108 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14109 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14110 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14111 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14112 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14113 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14114 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14115 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14116 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14117 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14118 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14119 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14120 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14121 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14122 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14123 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14124
14125 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14126 _XOPEN_SOURCE_EXTENDED for XPG4.
14127
14128 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14129
14130 * Makeconfig (localtime): Remove variable.
14131 (inst_localtime-file): Likewise.
14132
14133 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14134
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14136 Update.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14138 Update.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14140 Update.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14142 Update.
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14144 Update.
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14146 Update.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14148 Update.
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14150 Update.
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14152 Update.
14153
14154 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14155
14156 [BZ #2550]
14157 [BZ #2570]
14158 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14159 comparisons to determine direction to adjust input.
14160 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14161 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14162 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14163 Likewise.
14164 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14165 Likewise.
14166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14167 Likewise.
14168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14170 Likewise.
14171 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14172 Likewise.
14173 * math/libm-test.inc (nexttoward_test): Add more tests.
14174
14175 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14176
14177 [BZ #14040]
14178 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14179 in version GLIBC_2.1, not GLIBC_2.0.
14180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14181 Likewise.
14182
14183 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14184
14185 [BZ #13942]
14186 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14187 (1 - x) * (1 + x).
14188 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14189 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14190 * math/libm-test.inc (acos_test): Add more tests.
14191 (asin_test): Likewise.
14192 * sysdeps/i386/fpu/libm-test-ulps: Update.
14193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14194
14195 [BZ #14034]
14196 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14197 of square root.
14198 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14199 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14200 * math/libm-test.inc (acos_test_tonearest): New function.
14201 (acos_test_towardzero): Likewise.
14202 (acos_test_downward): Likewise.
14203 (acos_test_upward): Likewise.
14204 (asin_test_tonearest): Likewise.
14205 (asin_test_towardzero): Likewise.
14206 (asin_test_downward): Likewise.
14207 (asin_test_upward): Likewise.
14208 (main): Call the new functions.
14209 * sysdeps/i386/fpu/libm-test-ulps: Update.
14210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14211
14212 [BZ #13884]
14213 [BZ #13924]
14214 * math/e_exp10.c: Include <float.h>.
14215 (__ieee754_exp10): Handle underflow here rather than multiplying
14216 large negative argument by M_LN10.
14217 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14218 of __ieee754_expf.
14219 * math/e_exp10l.c: Include <float.h>.
14220 (__ieee754_exp10l): Handle underflow here rather than multiplying
14221 large negative argument by M_LN10l.
14222 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14223 spurious overflow exception on underflow.
14224
14225 2012-04-29 Marek Polacek <polacek@redhat.com>
14226
14227 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14228 (__fortify_function): New macro.
14229 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14230 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14231 __extern_always_inline.
14232 * libio/bits/stdio2.h: Likewise.
14233 * libio/bits/stdio.h: Likewise.
14234 * string/string.h: Likewise.
14235 * string/bits/string3.h: Likewise.
14236 * include/stdio.h: Likewise.
14237 * stdlib/bits/stdlib.h: Likewise.
14238 * stdlib/stdlib.h: Likewise.
14239 * rt/bits/mqueue2.h: Likewise.
14240 * rt/mqueue.h: Likewise.
14241 * posix/bits/unistd.h: Likewise.
14242 * posix/unistd.h: Likewise.
14243 * io/bits/poll2.h: Likewise.
14244 * io/bits/fcntl2.h: Likewise.
14245 * io/fcntl.h: Likewise.
14246 * io/sys/poll.h: Likewise.
14247 * misc/bits/syslog.h: Likewise.
14248 * misc/bits/syslog-ldbl.h: Likewise.
14249 * misc/sys/syslog.h: Likewise.
14250 * socket/bits/socket2.h: Likewise.
14251 * socket/sys/socket.h: Likewise.
14252 * debug/tst-chk1.c: Likewise.
14253 * wcsmbs/bits/wchar2.h: Likewise.
14254 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14255 * wcsmbs/wchar.h: Likewise.
14256
14257 2012-04-29 Andreas Jaeger <aj@suse.de>
14258
14259 * Makerules (tests): Remove enable-check-abi protection.
14260 (check-abi-warn): Remove.
14261 (check-abi-%): Remove check-abi-warn usage.
14262
14263 * configure.in: Remove check-abi configure option.
14264 * configure: Regenerated.
14265 * config.make.in (enable-check-abi): Remove.
14266
14267 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14268
14269 [BZ #14033]
14270 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14271 double functions to double *_finite functions.
14272
14273 [BZ #13941]
14274 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14275 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14276 LDBL_MIN_EXP.
14277 * stdio-common/Makefile (tests): Add tst-sprintf3.
14278 * stdio-common/tst-sprintf3.c: New file.
14279
14280 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14281 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14282
14283 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14284
14285 * conform/conformtest.pl: Remove duplicate typed-constant
14286 handling.
14287
14288 2012-04-28 David S. Miller <davem@davemloft.net>
14289
14290 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14291 (check-abi-%): Remove AWK script prerequisite and explicit
14292 abilist directory.
14293 (check-abi): Rewrite to just diff the symlist with the abilist.
14294 (config-tls, config-abi-config): Delete, no longer used.
14295 (update-abi-%): Remove AWK script and explicit abilist directory.
14296 (update-abi): Rewrite to simply compare and conditionally copy the
14297 symlist and the sysdep abilist file. Remove update-abi-config
14298 checks.
14299 * abilist/ld.abilist: Remove.
14300 * abilist/libBrokenLocale.abilist: Remove.
14301 * abilist/libanl.abilist: Remove.
14302 * abilist/libcrypt.abilist: Remove.
14303 * abilist/libdl.abilist: Remove.
14304 * abilist/librt.abilist: Remove.
14305 * abilist/libthread_db.abilist: Remove.
14306 * abilist/libutil.abilist: Remove.
14307 * scripts/extract-abilist.awk: Remove.
14308 * scripts/merge-abilist.awk: Remove.
14309 * sysdeps/generic/libcidn.abilist: New file.
14310 * sysdeps/generic/libnss_compat.abilist: New file.
14311 * sysdeps/generic/libnss_db.abilist: New file.
14312 * sysdeps/generic/libnss_dns.abilist: New file.
14313 * sysdeps/generic/libnss_files.abilist: New file.
14314 * sysdeps/generic/libnss_hesiod.abilist: New file.
14315 * sysdeps/generic/libnss_nis.abilist: New file.
14316 * sysdeps/generic/libnss_nisplus.abilist: New file.
14317 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14318 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14319 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14320 file.
14321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14322 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14323 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14324 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14325 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14326 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14327 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14328 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14329 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14330 file.
14331 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14332 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14333 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14334 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14335 file.
14336 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14337 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14338 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14339 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14340 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14341 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14342 file.
14343 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14344 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14345 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14346 file.
14347 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14349 New file.
14350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14351 New file.
14352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14353 New file.
14354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14355 New file.
14356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14357 New file.
14358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14359 New file.
14360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14361 New file.
14362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14363 New file.
14364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14365 New file.
14366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14367 New file.
14368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14369 New file.
14370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14371 New file.
14372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14373 New file.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14375 file.
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14377 New file.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14379 New file.
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14381 file.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14383 New file.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14385 New file.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14387 file.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14389 New file.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14391 New file.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14393 New file.
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14395 New file.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14397 New file.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14399 New file.
14400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14402 file.
14403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14404 New file.
14405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14406 file.
14407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14408 file.
14409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14410 file.
14411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14412 file.
14413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14414 file.
14415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14416 New file.
14417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14418 file.
14419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14420 file.
14421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14422 New file.
14423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14424 file.
14425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14427 file.
14428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14429 New file.
14430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14431 file.
14432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14433 file.
14434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14435 file.
14436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14437 file.
14438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14439 file.
14440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14441 New file.
14442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14443 file.
14444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14445 file.
14446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14447 New file.
14448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14449 file.
14450 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14451 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14452 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14453 file.
14454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14455 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14456 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14457 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14458 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14459 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14460 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14461 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14462 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14463 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14466 file.
14467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14468 New file.
14469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14470 file.
14471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14472 file.
14473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14474 file.
14475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14476 file.
14477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14478 file.
14479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14480 New file.
14481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14482 New file.
14483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14484 file.
14485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14486 New file.
14487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14488 file.
14489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14491 file.
14492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14493 New file.
14494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14495 file.
14496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14497 file.
14498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14499 file.
14500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14501 file.
14502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14503 file.
14504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14505 New file.
14506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14507 New file.
14508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14509 file.
14510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14511 New file.
14512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14513 file.
14514
14515 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14516
14517 * conform/conformtest.pl: Fix typo in handling typed-constant from
14518 allow-header.
14519
14520 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14521
14522 * README: Cut down references to pre-2.6 Linux kernels and
14523 Linuxthreads. Update lists of configurations in libc and ports
14524 and sort alphabetically. Say "or newer" with Linux kernel version
14525 requirements.
14526
14527 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14528
14529 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14530
14531 [BZ #887]
14532 * math/libm-test.inc (logb_test_downward): New test to expose
14533 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14534 rounding mode.
14535
14536 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14537
14538 [BZ #14027]
14539 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14540 to be done.
14541 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14542 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14543
14544 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14545
14546 * sysdeps/unix/i386/brk.S: Remove file.
14547 * sysdeps/unix/i386/dl-brk.S: Likewise.
14548 * sysdeps/unix/i386/pipe.S: Likewise.
14549 * sysdeps/unix/i386/sigreturn.S: Likewise.
14550 * sysdeps/unix/i386/syscall.S: Likewise.
14551 * sysdeps/unix/i386/vfork.S: Likewise.
14552 * sysdeps/unix/i386/wait.S: Likewise.
14553
14554 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14555 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14556
14557 * configure.in (arm*-none*): Do not allow without
14558 --enable-hacker-mode.
14559 (netbsd*): Remove case setting base_os.
14560 (386bsd*): Likewise.
14561 (freebsd*): Likewise.
14562 (bsdi*): Likewise.
14563 (osf*): Likewise.
14564 (sunos*): Likewise.
14565 (ultrix*): Likewise.
14566 (newsos*): Likewise.
14567 (dynix*): Likewise.
14568 (*bsd*): Likewise.
14569 (sysv*): Likewise.
14570 (isc*): Likewise.
14571 (esix*): Likewise.
14572 (sco*): Likewise.
14573 (minix*): Likewise.
14574 (irix4*): Likewise.
14575 (irix6*): Likewise.
14576 (solaris[2-9]*): Likewise.
14577 (none): Likewise.
14578 * configure: Regenerated.
14579
14580 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14581
14582 [BZ #11521]
14583 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14584 overflow or cancellation in calculating denominator.
14585 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14587 down expression to avoid unexpected rounding in newer GCCs.
14588 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14589
14590 2012-04-26 David S. Miller <davem@davemloft.net>
14591
14592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14593 long-double compat symbols.
14594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14607
14608 2012-04-25 David S. Miller <davem@davemloft.net>
14609
14610 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14611 HWCAP_* values only after the memory barriers have been defined.
14612 (atomic_full_barrier): Define.
14613 (atomic_read_barrier): Define.
14614 (atomic_write_barrier): Define.
14615
14616 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14617
14618 * shlib-versions: Add libgcc_s version information.
14619 * sysdeps/generic/libgcc_s.h: Remove.
14620 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14621 libgcc_s.h.
14622 * sysdeps/gnu/unwind-resume.c: Likewise.
14623 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14624
14625 2012-04-25 David S. Miller <davem@davemloft.net>
14626
14627 * sysdeps/unix/sparc/brk.S: Delete.
14628 * sysdeps/unix/sparc/dl-brk.S: Delete.
14629 * sysdeps/unix/sparc/pipe.S: Delete.
14630 * sysdeps/unix/sparc/sysdep.S: Delete.
14631 * sysdeps/unix/sparc/sysdep.h: Delete.
14632 * sysdeps/unix/sparc/vfork.S: Delete.
14633 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14634 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14636 ret_ERRVAL, r0, r1, MOVE): Define.
14637 (JUMPTARGET): Remove.
14638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14639 sysdeps/unix/sparc/sysdep.h
14640 (ENTRY, END): Remove.
14641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14642
14643 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14644
14645 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14646 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14647 -DIS_IN_build.
14648
14649 * timezone/README: Update upstream location and email address for
14650 tzcode and tzdata.
14651 * timezone/zdump.c: Update from tzcode 2012b.
14652 * timezone/zic.c: Likewise.
14653
14654 * configure.in (libc_cv_as_needed): Remove test.
14655 * configure: Regenerated.
14656 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14657 conditional definition.
14658 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14659 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14660 * config.make.in (have-as-needed): Remove variable.
14661
14662 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14663 Paul Pluzhnikov <ppluzhnikov@google.com>
14664
14665 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14666 strings correctly.
14667
14668 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14669
14670 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14671 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14672 * sysdeps/sh/strlen.S: Likewise.
14673
14674 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14675
14676 * sysdeps/unix/fork.S: Remove file.
14677 * sysdeps/unix/i386/fork.S: Likewise.
14678 * sysdeps/unix/sparc/fork.S: Likewise.
14679
14680 * sysdeps/unix/system.c: Remove file.
14681 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14682
14683 * sysdeps/unix/getegid.S: Remove file.
14684 * sysdeps/unix/geteuid.S: Likewise.
14685
14686 2012-04-24 Roland McGrath <roland@hack.frob.com>
14687
14688 * scripts/check-localplt.awk: New file.
14689 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14690 of diff.
14691 * scripts/data/localplt-generic.data: Add a comment.
14692
14693 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14694 NODE when __dir_mkfile failed.
14695 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14696 Reported by Ludovic Courtès <ludo@gnu.org>.
14697
14698 2012-04-24 Andreas Jaeger <aj@suse.de>
14699
14700 * Makerules (common-clean): Also remove gen-as-const-headers
14701 files.
14702
14703 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14704
14705 * Makerules (native-compile): Do not change working directory for
14706 build. Use $(OUTPUT_OPTION) in command.
14707 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14708
14709 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14710
14711 [BZ #13886]
14712 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14713 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14714 * math/libm-test.inc (floor_test): Add more tests.
14715 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14716
14717 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14718
14719 * sysdeps/unix/getdents.c: Remove file.
14720 * sysdeps/unix/sysv/getdents.c: Likewise.
14721 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14722
14723 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14724 sysdeps/unix/mman/syscalls.list.
14725 (mmap): Likewise.
14726 (mprotect): Likewise.
14727 (msync): Likewise.
14728 (munmap): Likewise.
14729 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14730 * sysdeps/unix/mman/syscalls.list: Remove.
14731 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14732
14733 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14734 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14735 * configure: Regenerated.
14736 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14737 $(libgcc_s_suffix).
14738 * config.make.in (libgcc_s_suffix): Remove variable.
14739
14740 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14741
14742 * sysdeps/unix/sysv/gethostname.c: Move to ...
14743 * sysdeps/posix/gethostname.c: ... here.
14744
14745 * sysdeps/unix/execve.S: Remove file.
14746
14747 * sysdeps/unix/_exit.S: Remove file.
14748
14749 2012-04-23 Andreas Jaeger <aj@suse.de>
14750
14751 [BZ #13739]
14752 * manual/Makefile: Remove make dist support, there's no
14753 need for a stand-alone documentation tar ball.
14754 (TEXI2DVI): Define always, it's not in Makeconfig.
14755 (dist): Removed.
14756 (tar-it): Removed.
14757 (edition): Removed.
14758 (glibc-doc-$(edition).tar): Removed
14759 (%.Z): Removed.
14760 (%.gz): Removed.
14761 (%.uu): Removed.
14762 (ETAGS): Remove, it's in Makeconfig.
14763 (move-if-change): Remove, it's in Makeconfig.
14764
14765 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14766
14767 [BZ #13970]
14768 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14769 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14770 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14771 (strtod_l, strtof_l, strtold_l): Remove __wur.
14772 It is not necessarily an error to ignore strtol's return value.
14773 One can reliably look at the stored endptr to decide whether
14774 the number had valid syntax.
14775
14776 2012-04-21 Andreas Jaeger <aj@suse.de>
14777
14778 [BZ #13739]
14779 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14780
14781 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14782
14783 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14784 * sysdeps/unix/sysv/Versions: Remove file.
14785
14786 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14787
14788 [BZ #13927]
14789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14790
14791 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14792
14793 [BZ #7064]
14794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14795 version from __vm86.
14796
14797 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14798
14799 * sysdeps/unix/common/lxstat.c: Remove file.
14800 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14801
14802 * sysdeps/unix/sysv/Makefile: Remove file.
14803
14804 * sysdeps/unix/sysv/direct.h: Remove file.
14805
14806 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14807 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14808 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14809 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14810 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14811 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14812 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14813
14814 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14815
14816 * sysdeps/unix/xmknod.c: Remove file.
14817 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14818
14819 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14820
14821 * sysdeps/unix/sysv/i386/time.S: Remove file.
14822
14823 * sysdeps/unix/fxstat.c: Remove file.
14824 * sysdeps/unix/xstat.c: Likewise.
14825 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14826
14827 * sysdeps/unix/sysv/sigaction.c: Remove file.
14828
14829 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14830 (sysdep_headers): Remove variable.
14831 [termio.h not in sysdep_headers] (generated): Likewise.
14832 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14833 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14834 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14835 * sysdeps/unix/sysv/tcflow.c: Likewise.
14836 * sysdeps/unix/sysv/tcflush.c: Likewise.
14837 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14838 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14839 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14840 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14841 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14842
14843 * sysdeps/unix/siglist.c: Remove file.
14844
14845 * sysdeps/unix/getppid.S: Remove file.
14846
14847 * sysdeps/unix/mkdir.c: Remove file.
14848 * sysdeps/unix/rmdir.c: Likewise.
14849
14850 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14851
14852 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14853 ERR_MAX value.
14854 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14855 errlist-compat value.
14856
14857 2012-04-18 David S. Miller <davem@davemloft.net>
14858
14859 * sysdeps/generic/memcopy.h (reg_char): Delete.
14860 * debug/strcat_chk.c: Use char, not reg_char.
14861 * debug/strcpy_chk.c: Likewise.
14862 * debug/strncat_chk.c: Likewise.
14863 * debug/strncpy_chk.c: Likewise.
14864 * string/memchr.c: Likewise.
14865 * string/memrchr.c: Likewise.
14866 * string/rawmemchr.c: Likewise.
14867 * string/strcat.c: Likewise.
14868 * string/strchr.c: Likewise.
14869 * string/strchrnul.c: Likewise.
14870 * string/strcmp.c: Likewise.
14871 * string/strcpy.c: Likewise.
14872 * string/strncat.c: Likewise.
14873 * string/strncmp.c: Likewise.
14874 * string/strncpy.c: Likewise.
14875
14876 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14877
14878 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14879 __builtin_memcopy is called when src and dest ranges are known to not
14880 overlap.
14881
14882 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14883
14884 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14885 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14886 fwd_align_merge macro call.
14887 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14888 bwd_align_merge macro call.
14889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14890
14891 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14892
14893 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14894 bwd_align_merge macros.
14895 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14896 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14897 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14898
14899 2012-04-18 David S. Miller <davem@davemloft.net>
14900
14901 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14902
14903 2012-04-18 Andreas Jaeger <aj@suse.de>
14904
14905 [BZ# 6794]
14906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14907 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14908 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14909
14910 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14911 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14912 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14913
14914 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14915 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14916 Adjust for changed ldbl-128 files.
14917
14918 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14919 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14920 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14921
14922 2012-04-17 David S. Miller <davem@davemloft.net>
14923
14924 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14925
14926 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14927
14928 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14929 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14930 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14931 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14932 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14933 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14934
14935 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14936
14937 [BZ #6794]
14938 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14939 * math/libm-test.inc: Add ilogb errno and exception tests.
14940 * math/w_ilogb.c: New file: ilogb wrapper.
14941 * math/w_ilogbf.c: New file: ilogbf wrapper.
14942 * math/w_ilogbl.c: New file: ilogbl wrapper.
14943 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14944 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14945 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14946 exception being thrown with 0.0 as argument.
14947 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14948 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14949 exception being thrown with 0.0 as argument.
14950 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14951 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14952 exception being thrown with 0.0 as argument.
14953 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14954 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14955 exception being thrown with 0.0 as argument.
14956 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14957 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14958 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14959 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14960 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14961 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14962 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14963 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14964 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14965
14966 2012-04-17 Petr Baudis <pasky@ucw.cz>
14967
14968 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14969 with altivec.
14970
14971 2012-04-16 Marek Polacek <polacek@redhat.com>
14972
14973 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14974
14975 2012-04-16 Marek Polacek <polacek@redhat.com>
14976
14977 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14978 operands of fdivp instruction.
14979
14980 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14981
14982 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14983 * elf/tst-auditmod3b.c: Likewise.
14984 * elf/tst-auditmod4b.c: Likewise.
14985 * elf/tst-auditmod5b.c: Likewise.
14986 * elf/tst-auditmod6b.c: Likewise.
14987 * elf/tst-auditmod6c.c: Likewise.
14988 * elf/tst-auditmod7b.c: Likewise.
14989 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14990 * sysdeps/x86_64/preconfigure.in: Likewise.
14991 * sysdeps/x86_64/preconfigure: Regenerated.
14992
14993 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14994
14995 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14996 __ILP32__.
14997
14998 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14999
15000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15001 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15002
15003 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15004
15005 [BZ #13973]
15006 * locale/iso-639.def: Fix gl language name. Spotted by
15007 Yaron Shahrabani.
15008
15009 2012-04-12 Roland McGrath <roland@hack.frob.com>
15010
15011 [BZ #2074]
15012 * libio/libio.h (__io_write_fn): Update comment.
15013
15014 2012-04-12 Petr Baudis <pasky@ucw.cz>
15015
15016 [BZ #2074]
15017 * stdio.texi (Hook Functions): The user provided writer function
15018 is not allowed to return -1.
15019
15020 2012-04-11 David S. Miller <davem@davemloft.net>
15021
15022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15023
15024 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15025
15026 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15027 Add a leading slash to rtkaio.
15028
15029 2012-04-11 Jim Meyering <meyering@redhat.com>
15030
15031 [BZ #11959]
15032 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15033 It is not necessarily an error to ignore fwrite's return
15034 value. One can reliably use ferror to test for errors after
15035 the fact.
15036
15037 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15038
15039 * bits/types.h (__snseconds_t): New type.
15040 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15041
15042 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15044 (__SNSECONDS_T_TYPE): Likewise.
15045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15046 (__SNSECONDS_T_TYPE): Likewise.
15047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15048 (__SNSECONDS_T_TYPE): Likewise.
15049
15050 2012-04-10 Andreas Jaeger <aj@suse.de>
15051
15052 [BZ #2636]
15053 * manual/time.texi (Processor Time): Return type of times is
15054 elapsed real time since an arbitrary point in the past.
15055 (CPU Time): Move CLK_TCK from here...
15056 (Processor Time): ...to here. Correct description.
15057 * manual/conf.texi (Constants for Sysconf): Correct description of
15058 _SC_CLK_TCK.
15059
15060 2012-04-10 David S. Miller <davem@davemloft.net>
15061
15062 [BZ #13967]
15063 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15064 where the is a gap between DT_REL(A) and DT_JMPREL.
15065
15066 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15067
15068 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15069 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15070 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15071
15072 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15073
15074 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15075 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15076 (dl_main): Handle --inhibit-cache.
15077 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15078 _dl_inhibit_cache.
15079 * elf/dl-load.c (_dl_map_object): Use it.
15080 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15081
15082 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15083
15084 [BZ #13872]
15085 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15086 (__ieee754_powl): Saturate large exponents rather than testing for
15087 overflow of y*log2(x).
15088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15089 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15090 exceptions.
15091
15092 [BZ #11521]
15093 * math/s_ctan.c: Include <float.h>.
15094 (__ctan): Avoid internal overflow or cancellation in calculating
15095 denominator.
15096 * math/s_ctanf.c: Likewise.
15097 * math/s_ctanl.c: Likewise.
15098 * math/s_ctanh.c: Likewise.
15099 * math/s_ctanhf.c: Likewise.
15100 * math/s_ctanhl.c: Likewise.
15101 * math/libm-test.inc (ctan_test): Add more tests.
15102 (ctanh_test): Likewise.
15103 * sysdeps/i386/fpu/libm-test-ulps: Update.
15104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15105
15106 2012-04-09 Andreas Jaeger <aj@suse.de>
15107
15108 [BZ #6894]
15109 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15110 is an optional BSD extension.
15111
15112 [BZ #10254]
15113 * manual/stdio.texi (Opening Streams): Document additional fopen
15114 parameters.
15115
15116 2012-04-09 Roland McGrath <roland@hack.frob.com>
15117
15118 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15119 %eax without telling the compiler.
15120
15121 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15122
15123 [BZ # 13963]
15124 * manual/install.texi: Use sourceware.org.
15125
15126 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15127
15128 [BZ #13873]
15129 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15130 (__ieee754_pow): Generate overflow and underflow using huge*huge
15131 and tiny*tiny rather than just returning constant infinity or zero
15132 for large exponents.
15133 * math/libm-test.inc (pow_test): Require overflow exceptions for
15134 applicable cases of large exponents.
15135
15136 [BZ #706]
15137 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15138 (__ieee754_pow): Use iterative multiplication algorithm only for
15139 integer exponents with absolute value below 1024. Check for odd
15140 integer exponents when using algorithm for real exponents.
15141 * math/libm-test.inc (pow_test): Add more tests.
15142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15143
15144 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15145
15146 [BZ #13705]
15147 * math/libm-test.inc (exp_test): Do not allow overflow exception
15148 on underflow test.
15149
15150 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15151
15152 [BZ #13705]
15153 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15154 instead of __kernel_standard_f.
15155
15156 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15157
15158 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15159 * sysdeps/x86_64/memset_chk.S: Likewise.
15160
15161 2012-04-08 Andreas Jaeger <aj@suse.de>
15162
15163 [BZ #10153]
15164 * manual/startup.texi (Environment Access): Describe return value
15165 for putenv and setenv.
15166
15167 [BZ #6895]
15168 * manual/filesys.texi (Directory Entries): Add description for
15169 DT_LNK.
15170
15171 [BZ #6890]
15172 * manual/filesys.texi (Directory Entries): Clarify that it's file
15173 system not operating system in the description of DT_UNKNOWN.
15174
15175 [BZ #6578]
15176 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15177
15178 2012-04-08 Stephen Compall <s11@member.fsf.org>
15179
15180 [BZ #6649]
15181 * manual/llio.texi (Opening and Closing Files): Add cross
15182 reference to explain mode argument.
15183
15184 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15185
15186 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15187 * sysdeps/x86_64/memset_chk.S: Likewise.
15188
15189 2012-04-07 David S. Miller <davem@davemloft.net>
15190
15191 * elf/elf.h (R_SPARC_WDISP10): Define.
15192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15193 R_SPARC_SIZE32.
15194 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15195 R_SPARC_SIZE64 and R_SPARC_H34.
15196
15197 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15198
15199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15200 conditions and remove no longer applicable assertion.
15201
15202 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15203
15204 * bits/byteswap.h: Include <features.h>.
15205 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15206 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15207
15208 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15209
15210 * bits/byteswap.h (__bswap_16): Removed.
15211 Include <bits/byteswap-16.h> to get __bswap_16.
15212 * sysdeps/i386/bits/byteswap.h: Likewise.
15213 * sysdeps/s390/bits/byteswap.h: Likewise.
15214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15215 * bits/byteswap-16.h: New file.
15216 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15217 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15218 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15219 * string/Makefile (headers): Add bits/byteswap-16.h.
15220
15221 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15222
15223 [BZ #13895]
15224 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15225 extra indirection.
15226 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15227 * nss/tst-nss-static.c: New.
15228
15229 2012-04-06 Robert Millan <rmh@gnu.org>
15230
15231 [BZ #6486]
15232 * manual/llio.texi (File Position Primitive): lseek
15233 refers to WHENCE when it really means OFFSET.
15234
15235 2012-04-06 Andreas Jaeger <aj@suse.de>
15236
15237 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15238 strncmp declarations.
15239
15240 * abilist/libc.abilist: Add __poll and __ppoll.
15241
15242 2012-04-05 David S. Miller <davem@davemloft.net>
15243
15244 * scripts/check-local-headers.sh: Accept a host triplet in the
15245 path matched by the exclude regexp.
15246
15247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15248 definition.
15249 * sysdeps/powerpc/powerpc32/dl-machine.h
15250 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15251 * sysdeps/s390/s390-32/dl-machine.h
15252 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15253 * sysdeps/sparc/sparc32/dl-machine.h
15254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15255 * sysdeps/sparc/sparc64/dl-machine.h
15256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15257
15258 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15259 lazy binding.
15260 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15261 undefined symbol errors.
15262
15263 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15264 DT_NEEDED entries.
15265
15266 2012-04-05 Michael Matz <matz@suse.de>
15267
15268 [BZ #13592]
15269 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15270
15271 2012-04-05 Andreas Jaeger <aj@suse.de>
15272
15273 [BZ #13908]
15274 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15275 comment.
15276
15277 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15278
15279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15280 which ROUND is no valid rounding mode.
15281
15282 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15283
15284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15285 read again.
15286 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15287
15288 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15289
15290 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15291 an exception using FPU order intentionally.
15292
15293 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15294
15295 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15296 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15297 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15298 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15299
15300 2012-04-05 Simon Josefsson <simon@josefsson.org>
15301
15302 [BZ #12340]
15303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15304 EINVAL when BUFLEN is too smal.
15305
15306 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15307
15308 [BZ #13553]
15309 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15310 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15311
15312 2012-04-03 Andreas Jaeger <aj@suse.de>
15313
15314 [BZ #13938]
15315 * manual/setjmp.texi (System V contexts): Fix sentence.
15316
15317 [BZ #13926]
15318 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15319 New macro for this case.
15320 [!__GNUC__] (__bswap_64): New inline function for this case.
15321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15322 * bits/byteswap.h: Likewise.
15323 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15324 ull, guard with __GLIBC_HAVE_LONG_LONG.
15325
15326 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15327 __GLIBC_HAVE_LONG_LONG.
15328
15329 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15330 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15331
15332 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15333
15334 [BZ #13691]
15335 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15336 inptr and inend, rather than using last_ch.
15337
15338 2012-04-02 David S. Miller <davem@davemloft.net>
15339
15340 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15341 * stdio-common/printf-parse.h (read_int): Change return type to
15342 'int', return -1 on INT_MAX overflow.
15343 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15344 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15345 overflows INT_MAX. Check for overflow of in-format-string precision
15346 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15347 SIZE_MAX not INT_MAX for integer overflow test.
15348 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15349 skip the construct in the format string but do not record anything.
15350 * stdio-common/bug22.c: Adjust to test both width/prevision
15351 INT_MAX overflow as well as total length INT_MAX overflow. Check
15352 explicitly for proper errno values.
15353
15354 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15355
15356 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15357 CHAR_MAX.
15358 * string/test-strcmp.c [! WIDE]: Likewise.
15359 * time/tst-mktime2.c: Likewise for INT_MAX.
15360 * string/test-string.h: #include <sys/param.h> for MIN.
15361
15362 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15363 * sysdeps/i386/init-first.c (init): Likewise.
15364 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15365 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15366 * sysdeps/sh/init-first.c (init): Likewise.
15367
15368 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15369
15370 * po/ru.po: Update from translation team.
15371 * po/vi.po: Likewise.
15372
15373 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15374
15375 * resolv/nss_dns/dns-host.c: Merge copyright years.
15376
15377 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15378
15379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15380 Optimize memcpy with prefetch if
15381 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15382 src, dst pointers have unequal 16 byte alignments.
15383
15384 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15385
15386 [BZ #13928]
15387 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15388 from a CNAME entry and return the minimum ttl for the query.
15389 (gaih_getanswer_slice): Likewise.
15390
15391 2012-03-30 Jeff Law <law@redhat.com>
15392
15393 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15394 due to long keys.
15395 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15396 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15397
15398 * resolv/nss_dns/dns-host.c: Update copyright year.
15399
15400 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15401
15402 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15403 requests to save a system call. Fix check that all bytes are sent.
15404
15405 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15406 comments for sendmmsg.
15407
15408 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15409
15410 [BZ #13691]
15411 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15412 with only 1 character between 0x0041 and 0x01b0.
15413 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15414 * wcsmbs/tst-mbsnrtowcs.c: New file.
15415
15416 2012-03-29 David S. Miller <davem@davemloft.net>
15417
15418 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15419 small copies by hand.
15420
15421 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15422
15423 [BZ #13761]
15424 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15425 _nss_compat_initgroups_dyn): Fall back to malloc/free
15426 for large group memberships.
15427
15428 2012-03-28 David S. Miller <davem@davemloft.net>
15429
15430 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15431 that branches into memcpy.
15432 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15435 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15437 bits.
15438 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15439 implementation too.
15440 * sysdeps/sparc/mempcpy.S: New file.
15441
15442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15443 the IFUNC routine in the libc case.
15444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15445
15446 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15447 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15448 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15449 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15450 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15451 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15452 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15453 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15454
15455 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15456 loop to 256 bytes instead of 64 bytes and fix test signedness.
15457
15458 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15459 * sysdeps/sparc/sparc32/Makefile: rather than here...
15460 * sysdeps/sparc/sparc64/Makefile: and here.
15461
15462 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15463
15464 * malloc/mallocbug.c: Avoid warnings about unused variables.
15465
15466 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15467
15468 [BZ #13760]
15469 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15470 in the right place. Discard and retry query if response is
15471 larger than input buffer size.
15472
15473 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15474
15475 [BZ #369]
15476 [BZ #2678]
15477 [BZ #3866]
15478 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15479 x for large integer exponent.
15480 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15481 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15482 sign of result as needed afterwards.
15483 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15484 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15485 result for underflowing pow the same as for overflow.
15486 (__kernel_standard_l): Handle powl overflow and underflow here
15487 rather than calling __kernel_standard.
15488 * math/libm-test.inc (pow_test): Add more tests.
15489
15490 [BZ #3868]
15491 [BZ #13879]
15492 [BZ #13910]
15493 [BZ #13911]
15494 [BZ #13912]
15495 [BZ #13913]
15496 [BZ #13915]
15497 [BZ #13916]
15498 [BZ #13917]
15499 [BZ #13918]
15500 [BZ #13919]
15501 [BZ #13920]
15502 [BZ #13921]
15503 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15504 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15505 (__kernel_standard_l): New function.
15506 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15507 __kernel_standard.
15508 * math/w_acosl.c (__acosl): Likewise.
15509 * math/w_asinl.c (__asinl): Likewise.
15510 * math/w_atan2l.c (__atan2l): Likewise.
15511 * math/w_atanhl.c (__atanhl): Likewise.
15512 * math/w_coshl.c (__coshl): Likewise.
15513 * math/w_exp10l.c (__exp10l): Likewise.
15514 * math/w_exp2l.c (__exp2l): Likewise.
15515 * math/w_fmodl.c (__fmodl): Likewise.
15516 * math/w_hypotl.c (__hypotl): Likewise.
15517 * math/w_j0l.c (__j0l, __y0l): Likewise.
15518 * math/w_j1l.c (__j1l, __y1l): Likewise.
15519 * math/w_jnl.c (__jnl, __ynl): Likewise.
15520 * math/w_lgammal.c (__lgammal): Likewise.
15521 * math/w_log10l.c (__log10l): Likewise.
15522 * math/w_log2l.c (__log2l): Likewise.
15523 * math/w_logl.c (__logl): Likewise.
15524 * math/w_powl.c (__powl): Likewise.
15525 * math/w_remainderl.c (__remainderl): Likewise.
15526 * math/w_scalbl.c (sysv_scalbl): Likewise.
15527 * math/w_sinhl.c (__sinhl): Likewise.
15528 * math/w_sqrtl.c (__sqrtl): Likewise.
15529 * math/w_tgammal.c (__tgammal): Likewise.
15530 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15531 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15532 * math/libm-test.inc (acos_test): Add more tests.
15533 (acosh_test): Likewise.
15534 (asin_test): Likewise.
15535 (atanh_test): Likewise.
15536 (exp_test): Likewise.
15537 (exp10_test): Likewise.
15538 (exp2_test): Likewise.
15539 (expm1_test): Likewise.
15540 (lgamma_test): Likewise.
15541 (log_test): Likewise.
15542 (log10_test): Likewise.
15543 (log1p_test): Likewise.
15544 (log2_test): Likewise.
15545 (pow_test): Do not allow some spurious overflow exceptions.
15546 (sqrt_test): Add more tests.
15547 (tgamma_test): Likewise.
15548 (y0_test): Likewise.
15549 (y1_test): Likewise.
15550 (yn_test): Likewise.
15551
15552 2012-03-27 Anton Blanchard <anton@samba.org>
15553
15554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15555 MAP_HUGETLB.
15556 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15557 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15559
15560 2012-03-27 David S. Miller <davem@davemloft.net>
15561
15562 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15563
15564 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15565 have-as-vis3 check.
15566
15567 2012-03-27 Andreas Jaeger <aj@suse.de>
15568
15569 * sysdeps/x86_64/elf/configure.in: Moved to ...
15570 * sysdeps/x86_64/configure.in: ... here.
15571 * sysdeps/x86_64/elf/start.S: Moved to ...
15572 * sysdeps/x86_64/start.S: ... here.
15573 * sysdeps/x86_64/elf/configure: Delete.
15574
15575 * sysdeps/x86_64/configure.in: Merge contents from
15576 sysdeps/i386/configure.in (without i686 check).
15577
15578 * sysdeps/i386/elf/Versions: Merge into ...
15579 * sysdeps/i386/Versions: ... this.
15580 * sysdeps/i386/elf/Versions: Delete file.
15581 * sysdeps/i386/elf/start.S: Moved to ...
15582 * sysdeps/i386/start.S: ...here.
15583 * sysdeps/i386/elf/configure.in: Merge into...
15584 * sysdeps/i386/configure.in: ...here.
15585 * sysdeps/i386/elf/configure.in: Delete file.
15586 * sysdeps/i386/elf/configure: Delete file.
15587
15588 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15589 * debug/backtracesyms.c: ... here.
15590 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15591 * debug/backtracesymsfd.c: ... here.
15592 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15593 * sysdeps/generic/ifunc-sel.h: ... here.
15594
15595 * sysdeps/unix/i386/start.c: Delete file.
15596 * sysdeps/unix/sparc/start.c: Delete file.
15597 * sysdeps/unix/start.c: Delete file.
15598
15599 * sysdeps/sh/elf/configure.in: Moved to ...
15600 * sysdeps/sh/configure.in: ... here.
15601 * sysdeps/sh/elf/start.S: Moved to ...
15602 * sysdeps/sh/start.S: ... here.
15603 * sysdeps/sh/elf/configure: Delete file.
15604
15605 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15606 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15607 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15608 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15609 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15610 * sysdeps/powerpc/powerpc64/start.S: here.
15611 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15612 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15613 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15614 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15615 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15616
15617 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15618 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15619 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15620 * sysdeps/powerpc/powerpc32/start.S: ... here.
15621 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15622 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15623 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15624
15625 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15626 * sysdeps/powerpc/ifunc-sel.h: ... here.
15627 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15628 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15629
15630 * sysdeps/sparc/elf/configure.in: Moved to ...
15631 * sysdeps/sparc/configure.in: ... here.
15632 * sysdeps/sparc/elf/configure: Delete file.
15633 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15634 * sysdeps/sparc/sparc32/start.S: ... here.
15635 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15636 * sysdeps/sparc/sparc64/start.S: ... here.
15637 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15638 * sysdeps/sparc/sparc32/Makefile: ... this.
15639 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15640 * sysdeps/sparc/sparc64/Makefile: ... this.
15641
15642 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15643 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15644 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15645 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15646 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15647 * sysdeps/s390/s390-32/setjmp.S: ... here.
15648 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15649 * sysdeps/s390/s390-32/configure.in: ... here.
15650 * sysdeps/s390/s390-32/elf/configure: Delete file.
15651 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15652 * sysdeps/s390/s390-32/start.S: ... here.
15653
15654 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15655 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15656 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15657 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15658 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15659 * sysdeps/s390/s390-64/setjmp.S: ... here.
15660 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15661 * sysdeps/s390/s390-64/configure.in: ... here
15662 * sysdeps/s390/s390-64/elf/configure: Delete file.
15663 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15664 * sysdeps/s390/s390-64/start.S: ... here.
15665 * sysdeps/s390/s390-64/elf/configure: Delete.
15666
15667 * configure.in: Remove support for elf directories in sysdeps.
15668
15669 * configure: Regenerated.
15670 * sysdeps/i386/configure: Regenerated.
15671 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15672 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15673 * sysdeps/s390/s390-32/configure: Regenerated.
15674 * sysdeps/s390/s390-64/configure: Regenerated.
15675 * sysdeps/sh/configure: Regenerated.
15676 * sysdeps/sparc/configure: Regenerated.
15677 * sysdeps/x86_64/configure: Regenerated.
15678
15679 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15680
15681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15682
15683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15684 denormal result into account.
15685
15686 2012-03-25 Roland McGrath <roland@hack.frob.com>
15687
15688 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15689 Reported by Allan McRae <allan@archlinux.org>.
15690
15691 2012-03-23 Jeff Law <law@redhat.com>
15692
15693 * nss/getnssent.c (__nss_getent): Fix typo.
15694
15695 2012-03-23 David S. Miller <davem@davemloft.net>
15696
15697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15698
15699 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15700
15701 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15702 to pad to uint64_t for each field.
15703 (dl_tls_index): Replace unsigned long with uint64_t.
15704
15705 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15706 Paul Pluzhnikov <ppluzhnikov@google.com>
15707
15708 [BZ #6528]
15709 * grp/Makefile (otherlibs): Don't set it.
15710 * inet/Makefile (otherlibs): Likewise.
15711 * login/Makefile (otherlibs): Likewise.
15712 * nscd/Makefile (otherlibs): Likewise.
15713 * posix/Makefile (otherlibs): Likewise.
15714 * pwd/Makefile (otherlibs): Likewise.
15715 * rt/Makefile (otherlibs): Likewise.
15716 * sunrpc/Makefile (otherlibs): Likewise.
15717 * nss/Makefile (otherlibs): Likewise.
15718 Add libnss_files to routines and static-only-routines.
15719 ($(objpfx)getent): Remove rule.
15720 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15721 static-only-routines.
15722
15723 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15724
15725 [BZ #13892]
15726 * math/s_cexp.c: Include <float.h>.
15727 (__cexp): Handle exp result overflowing not necessarily
15728 overflowing both real and imaginary parts of result.
15729 * math/s_cexpf.c: Likewise.
15730 * math/s_cexpl.c: Likewise.
15731 * math/libm-test.inc (cexp_test): Add more tests.
15732 * sysdeps/i386/fpu/libm-test-ulps: Update.
15733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15734
15735 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15736
15737 * include/link.h (ELFW): New macro.
15738 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15739 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15740
15741 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15742
15743 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15744 with uint64_t.
15745
15746 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15747
15748 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15749 declaration.
15750 (struct La_x32_retval): Likewise.
15751
15752 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15753
15754 * sysdeps/x86_64/preconfigure.in: New file.
15755 * sysdeps/x86_64/preconfigure: New generated file.
15756
15757 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15758
15759 [BZ #13824]
15760 * math/e_exp2l.c: Include <float.h>.
15761 (__ieee754_exp2l): Handle overflow and underflow cases
15762 separately. Only pass fractional part of argument to
15763 __ieee754_expl.
15764 * math/libm-test.inc (exp2_test): Add more tests.
15765
15766 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15767 negating x to take absolute value.
15768 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15769 Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15772 Likewise.
15773 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15774 computing low part if x was negated.
15775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15776
15777 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15778
15779 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15780 la_x32_gnu_pltexit.
15781 (pltexit): Cast int_retval to ptrdiff_t.
15782 * elf/tst-auditmod3b.c: Likewise.
15783 * elf/tst-auditmod4b.c: Likewise.
15784 * elf/tst-auditmod5b.c: Likewise.
15785 * elf/tst-auditmod6b.c: Likewise.
15786 * elf/tst-auditmod6c.c: Likewise.
15787 * elf/tst-auditmod7b.c: Likewise.
15788
15789 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15790 and x32_gnu_pltexit.
15791
15792 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15793 __ELF_NATIVE_CLASS.
15794 (La_x32_regs): New macro.
15795 (La_x32_retval): Likewise.
15796 (la_x32_gnu_pltenter): New function prototype.
15797 (la_x32_gnu_pltexit): Likewise.
15798
15799 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15800
15801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15802 exponent.
15803
15804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15805
15806 * configure.in (libc_cv_cc_nofma): Check for option to disable
15807 generation of FMA instructions.
15808 * configure: Regenerate.
15809 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15810 * sysdeps/ieee754/dbl-64/Makefile: New file.
15811 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15812 Remove brandred-fma4.
15813 (CFLAGS-brandred-fma4.c): Remove.
15814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15816 define.
15817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15818 define.
15819
15820 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15821
15822 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15823 LLONG_MAX != LONG_MAX.
15824 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15825 (_fitoa_word): Likewise.
15826 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15827 LLONG_MAX != LONG_MAX.
15828 * stdio-common/_itowa.h: Include <_itoa.h>.
15829 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15830 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15831 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15832 only if not defined.
15833 (_ITOA_WORD_TYPE): Likewise.
15834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15835 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15836
15837 2012-03-21 David S. Miller <davem@davemloft.net>
15838
15839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15840
15841 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15842
15843 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15844 of x86_64 when setting libc_cv_slibdir, libdir and
15845 libc_cv_localedir.
15846 * sysdeps/unix/sysv/linux/configure: Regenerated.
15847
15848 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15849
15850 * manual/lang.texi (Old Varargs): Remove section.
15851 (How Variadic): Update menu.
15852 (va_start): Do not mention varargs.h.
15853
15854 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15855 Joseph Myers <joseph@codesourcery.com>
15856
15857 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15858 link test.
15859 * configure: Regenerated.
15860
15861 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15862
15863 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15864 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15865 conformtest.pl
15866
15867 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15868
15869 * NOTES: Remove.
15870 * Makefile (files-for-dist): Remove NOTES.
15871 (NOTES): Remove rule.
15872 * README: Don't refer to NOTES.
15873 * manual/creature.texi: Don't include macros.texi.
15874 * manual/intro.texi (creature.texi): Remove comment referring to
15875 NOTES.
15876
15877 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15878 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15879 * configure: Regenerated.
15880 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15881 LIBC_TRY_CC_OPTION.
15882 (libc_cv_as_i686): Likewise.
15883 (libc_cv_cc_avx): Likewise.
15884 (libc_cv_cc_sse2avx): Likewise.
15885 (libc_cv_cc_fma4): Likewise.
15886 (libc_cv_cc_novzeroupper): Likewise.
15887 * sysdeps/i386/configure: Regenerated.
15888
15889 [BZ #13883]
15890 * sysdeps/i386/fpu/s_cexp.S: Remove.
15891 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15892 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15893 * math/libm-test.inc (cexp_test): Add more tests.
15894 * sysdeps/i386/fpu/libm-test-ulps: Update.
15895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15896
15897 2012-03-21 Allan McRae <allan@archlinux.org>
15898
15899 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15900
15901 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15902
15903 [BZ #13871]
15904 * math/w_exp2.c: Do not include <float.h>.
15905 (o_threshold, u_threshold): Remove.
15906 (__exp2): Calculate result before checking finiteness and calling
15907 __kernel_standard.
15908 * math/w_exp2f.c: Likewise.
15909 * math/w_exp2l.c: Likewise.
15910 * math/libm-test.inc (exp2_test): Require overflow exception for
15911 1e6 input.
15912
15913 [BZ #3866]
15914 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15915 range of signed 64-bit integers before using fistpll. Remove
15916 checks for whether integers fit in mantissa bits.
15917 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15918 the range of signed 32-bit integers before using fistpl. Remove
15919 checks for whether integers fit in mantissa bits.
15920 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15921 (__ieee754_powl): Test for y outside the range of signed 64-bit
15922 integers before using fistpll. Reduce 64-bit values to 63-bit
15923 ones as needed.
15924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15925 divide-by-zero is raised for zero to large negative powers.
15926 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15927 (__ieee754_powl): Test for y outside the range of signed 64-bit
15928 integers before using fistpll. Reduce 64-bit values to 63-bit
15929 ones as needed.
15930 * math/libm-test.inc (pow_test): Add more tests.
15931
15932 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15933
15934 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15935 <stdio-common/_itoa.h>.
15936 * debug/segfault.c: Likewise.
15937 * elf/dl-cache.c: Likewise.
15938 * elf/dl-minimal.c: Likewise.
15939 * elf/dl-misc.c: Likewise.
15940 * elf/dl-sysdep.c: Likewise.
15941 * elf/dl-version.c: Likewise.
15942 * elf/rtld.c: Likewise.
15943 * hurd/hurdsock.c: Likewise.
15944 * hurd/lookup-retry.c: Likewise.
15945 * malloc/malloc.c: Likewise.
15946 * malloc/mtrace.c: Likewise.
15947 * nscd/nscd_getgr_r.c: Likewise.
15948 * nscd/nscd_getpw_r.c: Likewise.
15949 * nscd/nscd_getserv_r.c: Likewise.
15950 * posix/getopt_init.c: Likewise.
15951 * posix/wordexp.c: Likewise.
15952 * stdio-common/_itoa.c: Likewise.
15953 * stdio-common/printf_fphex.c: Likewise.
15954 * stdio-common/vfprintf.c: Likewise.
15955 * string/_strerror.c: Likewise.
15956 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15957 * sysdeps/i386/i686/hp-timing.h: Likewise.
15958 * sysdeps/mach/_strerror.c: Likewise.
15959 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15960 * sysdeps/mach/hurd/sethostid.c: Likewise.
15961 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15962 * sysdeps/mach/xpg-strerror.c: Likewise.
15963 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15965 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15966 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15967 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15968 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15969 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15970 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15971 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15972 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15973 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15974 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15975 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15976 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15977 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15978 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15979 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15980 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15981 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15982 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15983 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15984
15985 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15986
15987 * stdio-common/_itoa.h: Moved to ...
15988 * sysdeps/generic/_itoa.h: Here.
15989
15990 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15991
15992 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15993 instead of "_itoa.h" and "_itowa.h".
15994 * stdio-common/vfprintf.: Likewise.
15995
15996 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15997
15998 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15999 <bits/wordsize.h>.
16000 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16001 (__signbit): Likwise.
16002 (llrintf): Likwise.
16003 (llrint): Likwise.
16004
16005 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16006
16007 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16008 __WORDSIZE != 64.
16009
16010 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16011
16012 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16013 OVERFLOW_EXCEPTION_OK.
16014 * math/libm-test.inc ("Philosophy"): Update comment about
16015 exception testing.
16016 (OVERFLOW_EXCEPTION): Define.
16017 (OVERFLOW_EXCEPTION_OK): Likewise.
16018 (INVALID_EXCEPTION_OK): Renumber.
16019 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16020 (IGNORE_ZERO_INF_SIGN): Likewise.
16021 (test_exceptions): Handle FE_OVERFLOW.
16022 (exp10_test): Expect overflow exceptions.
16023 (exp2_test): Likewise.
16024 (expm1_test): Likewise.
16025 (nextafter_test): Likewise.
16026 (pow_test): Likewise.
16027 (scalbn_test): Likewise.
16028 (scalbln_test): Likewise.
16029
16030 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16031
16032 * sysdeps/x86_64/bits/atomic.h
16033 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16034 64bit integer.
16035 (atomic_exchange_acq): Likewise.
16036 (__arch_exchange_and_add_body): Likewise.
16037 (__arch_add_body): Likewise.
16038 (atomic_add_negative): Likewise.
16039 (atomic_add_zero): Likewise.
16040
16041 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16042
16043 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16044 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16045
16046 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16047
16048 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16049 Check __x86_64__ instead of __WORDSIZE.
16050
16051 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16052
16053 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16054
16055 2012-03-19 David S. Miller <davem@davemloft.net>
16056
16057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16058
16059 * sysdeps/sparc/fpu/fenv_private.h: New file.
16060 * sysdeps/sparc/fpu/math_private.h: Use it.
16061 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16062 Remove.
16063 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16064 (libc_feholdexcept_setroundl): Remove.
16065 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16066 Remove.
16067 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16068 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16069
16070 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16071
16072 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16073 int64_t instead of long int.
16074 (INSERT_WORDS64): Likwise.
16075
16076 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16077
16078 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16079 _Unwind_GetCFA return to _Unwind_Ptr first.
16080
16081 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16082
16083 [BZ #13629]
16084 * math/s_clog.c: Include <float.h>.
16085 (__clog): Scale large or subnormal inputs.
16086 * math/s_clogf.c: Likewise.
16087 * math/s_clogl.c: Likewise.
16088 * math/s_clog10.c: Include <float.h>.
16089 (M_LOG10_2): Define.
16090 (__clog10): Scale large or subnormal inputs.
16091 * math/s_clog10f.c: Likewise.
16092 * math/s_clog10l.c: Likewise.
16093 * math/libm-test.inc (clog_test): Add more tests.
16094 (clog10_test): Likewise.
16095 * sysdeps/i386/fpu/libm-test-ulps: Update.
16096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16097
16098 [BZ #11451]
16099 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16100 x and y.
16101 * math/libm-test.inc (atan2_test): Add another test.
16102
16103 * Makerules (common-objdir-compile): Remove.
16104 * sysdeps/unix/Makefile (config-generated): Do not add
16105 $(unix-generated) to variable.
16106 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16107 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16108 Remove rule.
16109 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16110 Likewise.
16111 [generic bits/local_lim.h] (before-compile): Do not append to
16112 variable.
16113 [generic bits/local_lim.h] (common-generated): Likewise.
16114 [generic sys/param.h] (before-compile): Do not append to variable.
16115 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16116 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16117 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16118 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16119 include.
16120 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16121 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16122 [generic sys/param.h] ($(addprefix
16123 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16124 [generic sys/param.h] (common-generated): Do not append to
16125 variable.
16126 [generic sys/param.h] (sysdep_headers): Likewise.
16127 [generic bits/errno.h] (before-compile): Do not append to
16128 variable.
16129 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16130 rule.
16131 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16132 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16133 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16134 [generic bits/errno.h] (common-generated): Do not append to
16135 variable.
16136 [generic bits/ioctls.h] (before-compile): Do not append to
16137 variable.
16138 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16139 rule.
16140 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16141 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16142 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16143 rule.
16144 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16145 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16146 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16147 [generic bits/ioctls.h] (common-generated): Do not append to
16148 variable.
16149 [generic sys/syscall.h] (syscall.h): Remove variable.
16150 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16151 rule.
16152 [generic sys/syscall.h] (before-compile): Do not append to
16153 variable.
16154 [generic sys/syscall.h] (common-generated): Likewise.
16155 * sysdeps/unix/errnos-tmpl.c: Remove file.
16156 * sysdeps/unix/errnos.awk: Likewise.
16157 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16158 * sysdeps/unix/ioctls.awk: Likewise.
16159 * sysdeps/unix/mk-local_lim.c: Likewise.
16160 * sysdeps/unix/snarf-ioctls: Likewise.
16161
16162 2012-03-19 Richard Henderson <rth@twiddle.net>
16163
16164 * sysdeps/i386/fpu/fenv_private.h: New file.
16165 * sysdeps/i386/fpu/math_private.h: Use it.
16166 (math_opt_barrier, math_force_eval): Remove.
16167 (libc_feholdexcept_setround_53bit): Remove.
16168 (libc_feupdateenv_53bit): Remove.
16169 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16170 (math_opt_barrier, math_force_eval): Remove.
16171 (libc_feholdexcept): Remove.
16172 (libc_feholdexcept_setround): Remove.
16173 (libc_fetestexcept, libc_fesetenv): Remove.
16174 (libc_feupdateenv_test): Remove.
16175 (libc_feupdateenv, libc_feholdsetround): Remove.
16176 (libc_feresetround): Remove.
16177
16178 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16179 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16180
16181 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16182 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16183 (libc_feupdateenv_testl): New.
16184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16185 (libc_feupdateenv_testf): New.
16186 (libc_feupdateenv): Use libc_feupdateenv_test.
16187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16189
16190 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16191 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16192 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16193 (libc_feresetround_noex): New.
16194 (libc_feresetround_noexf): New.
16195 (libc_feresetround_noexl): New.
16196 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16197 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16198 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16199 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16200 SET_RESTORE_ROUND.
16201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16203 (__cos): Likewise.
16204 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16205 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16206 SET_RESTORE_ROUND_NOEX.
16207 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16208 SET_RESTORE_ROUND_NOEXF.
16209 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16210 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16211 (libc_feholdsetroundf): New.
16212 (libc_feresetround, libc_feresetroundf): New.
16213
16214 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16215 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16216 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16217
16218 * sysdeps/generic/math_private.h: Include <fenv.h>.
16219 (default_libc_feholdexcept): New.
16220 (default_libc_feholdexcept_setround): New.
16221 (default_libc_fesetenv, default_libc_feupdateenv): New.
16222 (libc_feholdexcept): Only define if undefined.
16223 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16225 (libc_feholdexcept_setroundl): Likewise.
16226 (libc_feholdexcept_setround_53bit): Likewise.
16227 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16230 (libc_feupdateenv_53bit): Likewise.
16231 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16232 (libc_feholdexcept): Convert from macro to inline function.
16233 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16234 (libc_fesetenv, libc_feupdateenv): Likewise.
16235
16236 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16237 not previously defined.
16238 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16239 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16240 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16242 * sysdeps/ieee754/flt-32/math_private.h: New file.
16243 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16244 math_private.h below SET_FLOAT_WORD.
16245 (__isnan, __isinf_ns, __finite): Remove.
16246 (__isnanf, __isinf_nsf, __finitef): Remove.
16247
16248 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16249
16250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16251
16252 2012-03-17 David S. Miller <davem@davemloft.net>
16253
16254 [BZ #6471]
16255 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16256 for 2.16.
16257
16258 2012-03-16 David S. Miller <davem@davemloft.net>
16259
16260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16261 warnings.
16262
16263 [BZ #6471]
16264 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16265 properly.
16266 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16267 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16268 sysdep_routines when subdir is sysvipc.
16269 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16270 __getshmlba helper.
16271
16272 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16273
16274 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16277 [__LP64__].
16278
16279 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16280
16281 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16282 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16283 (__lround): Renamed to ...
16284 (__llround): This. Replace long int with long long int.
16285 Define lround functions as aliases of llround functions.
16286 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16287
16288 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16289
16290 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16291 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16292 adresses to uintptr_t. Replace "long int" and "unsigned long
16293 int" with "greg_t" on va_arg.
16294
16295 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16296
16297 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16298 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16299
16300 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16301 Move e_machine check before EI_CLASS check. Handle x32
16302 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16303 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16304 SKIP_EM_IA_64 and include
16305 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16306
16307 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16308 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16309 (add_system_dir): New macro.
16310
16311 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16312 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16313
16314 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16315
16316 [BZ #2551]
16317 [BZ #2552]
16318 [BZ #2553]
16319 [BZ #2554]
16320 [BZ #2562]
16321 [BZ #2563]
16322 [BZ #2565]
16323 [BZ #2566]
16324 [BZ #2576]
16325 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16326 (y0): Likewise.
16327 * math/w_j0f.c (j0f): Likewise.
16328 (y0f): Likewise.
16329 * math/w_j0l.c (__j0l): Likewise.
16330 (__y0l): Likewise.
16331 * math/w_j1.c (j1): Likewise.
16332 (y1): Likewise.
16333 * math/w_j1f.c (j1f): Likewise.
16334 (y1f): Likewise.
16335 * math/w_j1l.c (__j1l): Likewise.
16336 (__y1l): Likewise.
16337 * math/w_jn.c (jn): Likewise.
16338 (yn): Likewise.
16339 * math/w_jnf.c (jnf): Likewise.
16340 (ynf): Likewise.
16341 * math/w_jnl.c (__jnl): Likewise.
16342 (__ynl): Likewise.
16343 * math/libm-test.inc (j0_test): Add more tests.
16344 (j1_test): Likewise.
16345 (jn_test): Likewise. Add trailing semicolon to existing test.
16346 (y0_test): Likewise.
16347 (y1_test): Likewise.
16348 * sysdeps/i386/fpu/libm-test-ulps: Update.
16349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16350
16351 [BZ #13851]
16352 [BZ #13854]
16353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16354 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16355 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16356 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16357 (__tanl): Set errno for infinite argument.
16358 * sysdeps/i386/fpu/mptan.c: Remove.
16359 * sysdeps/i386/fpu/s_tan.S: Likewise.
16360 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16361 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16362 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16363 * math/libm-test.inc (tan_test): Add more tests and enable more
16364 tests for double and long double.
16365 * sysdeps/i386/fpu/libm-test-ulps: Update.
16366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16367
16368 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16369
16370 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16371 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16372
16373 2012-03-16 Roland McGrath <roland@hack.frob.com>
16374
16375 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16376 * configure.in: Use it for both main tree and add-ons.
16377 * configure: Regenerated.
16378
16379 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16380
16381 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16382
16383 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16384
16385 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16386 in comment.
16387
16388 [BZ #13851]
16389 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16390 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16392 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16394 infinite argument.
16395 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16397 != 0 for prec == 2.
16398 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16399 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16400 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16401 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16402 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16403 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16404 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16405 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16406 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16407 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16408 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16409 * math/libm-test.inc (cos_test): Add more tests and enable more
16410 tests for long double.
16411 (sin_test): Likewise.
16412 (sincos_test): Likewise.
16413 * sysdeps/i386/fpu/libm-test-ulps: Update.
16414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16415
16416 2012-03-16 David S. Miller <davem@davemloft.net>
16417
16418 * sysdeps/sparc/fpu/math_private.h: New file.
16419
16420 2012-03-15 David S. Miller <davem@davemloft.net>
16421
16422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16423 file.
16424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16426 file.
16427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16433 sysdep routines.
16434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16435
16436 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16437 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16438
16439 * sysdeps/sparc/sparc-ifunc.h: New file.
16440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16441 sparc-ifunc.h
16442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16444 Likewise.
16445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16446 Likewise.
16447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16451 Likewise.
16452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16457 Likewise.
16458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16459 Likewise.
16460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16466 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16484
16485 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16486
16487 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16488 scaling.
16489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16490
16491 2012-03-15 Andreas Jaeger <aj@suse.de>
16492
16493 [BZ #13852]
16494 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16495 ieee754/flt-32 implementation for sin, cos and sincos.
16496 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16497 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16498 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16499 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16500 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16501 ieee754/flt-32 implementation for tan.
16502
16503 * math/libm-test.inc (cos_test): Enable some large input tests for
16504 float as well
16505 (sin_test): Likewise.
16506 (sincos_test): Likewise.
16507 (tan_test): Add tests for large input.
16508
16509 * sysdeps/i386/fpu/libm-test-ulps: Update.
16510
16511 2012-03-15 Andreas Jaeger <aj@suse.de>
16512
16513 [BZ #13658]
16514 * math/libm-test.inc (cos_test): Add more test cases.
16515 (sin_test): Likewise.
16516 (sincos_test): Likewise.
16517
16518 2012-03-15 Andreas Jaeger <aj@suse.de>
16519
16520 [BZ #13837]
16521 * math/libm-test.inc (cos_test): Add a test case for large input
16522 value.
16523 (sin_test): Likewise.
16524 (sincos_test): Likewise.
16525
16526 2012-03-15 Andreas Jaeger <aj@suse.de>,
16527 Joseph Myers <joseph@codesourcery.com>
16528
16529 [BZ #13658]
16530 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16531 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16532 * sysdeps/i386/fpu/branred.c: Likewise.
16533 * sysdeps/i386/fpu/dosincos.c: Likewise.
16534 * sysdeps/i386/fpu/mpa.c: Likewise.
16535 * sysdeps/i386/fpu/s_cos.S: Likewise.
16536 * sysdeps/i386/fpu/s_sin.S: Likewise.
16537 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16538 * sysdeps/i386/fpu/sincos32.c: Likewise.
16539
16540 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16541 Define.
16542 (libc_feupdateenv_53bit): Define.
16543 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16544 Define.
16545 (libc_feupdateenv_53bit): Define.
16546
16547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16548 53 bit (without extend i386 double precision).
16549
16550 * math/libm-test.inc (sincos_test): Add tests for large input.
16551 (sin): Likewise.
16552 (cos): Likewise.
16553
16554 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16555
16556 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16557
16558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16559
16560 2012-03-15 David S. Miller <davem@davemloft.net>
16561
16562 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16563 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16564 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16565 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16578 file.
16579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16581 file.
16582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16584 file.
16585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16587 file.
16588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16590 fmin/fmax sysdep routines.
16591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16592
16593 2012-03-14 David S. Miller <davem@davemloft.net>
16594
16595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16615 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16624 routines.
16625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16626 file.
16627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16629 file.
16630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16632 file.
16633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16635 file.
16636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16638 file.
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16641 file.
16642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16643 file.
16644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16645 file.
16646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16647 file.
16648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16649 New file.
16650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16651 file.
16652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16653 file.
16654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16656 file.
16657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16659 file.
16660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16662 file.
16663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16665 VIS3 routines.
16666
16667 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16668 New file.
16669
16670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16671
16672 * sysdeps/sparc/configure.in: New file.
16673 * sysdeps/sparc/configure: Generate.
16674 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16675 * configure: Regenerate.
16676 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16677 * config.make.in (have-as-vis3): New.
16678 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16679 available use -Av9d instead of -Av9a.
16680 * sysdeps/sparc/sparc64/Makefile: Likewise.
16681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16683 New file.
16684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16685 file.
16686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16687 New file.
16688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16689 file.
16690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16695
16696 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16697 fzeros/fnegs to load 0x80000000 into a float register instead of
16698 using the stack.
16699 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16700
16701 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16702
16703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16704 bits/syscall.h.
16705 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16706 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16707 ($(inst_includedir)/bits/syscall.h): Remove rule.
16708 ($(objpfx)bits/syscall.d): Include instead of
16709 $(objpfx)syscall-list.d.
16710 (generated): Change syscall-list.h and syscall-list.d to
16711 bits/syscall.h and bits/syscall.d.
16712
16713 2012-03-14 Roland McGrath <roland@hack.frob.com>
16714
16715 [BZ #13846]
16716 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16717
16718 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16719
16720 [BZ #13841]
16721 * math/s_csqrt.c: Include <float.h>.
16722 (__csqrt): Scale large or subnormal inputs.
16723 * math/s_csqrtf.c: Likewise.
16724 * math/s_csqrtl.c: Likewise.
16725 * math/libm-test.inc (csqrt_test): Add more tests.
16726 * sysdeps/i386/fpu/libm-test-ulps: Update.
16727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16728
16729 [BZ #13840]
16730 * math/libm-test.inc (hypot_test): Add more tests.
16731
16732 2012-03-13 David S. Miller <davem@davemloft.net>
16733
16734 [BZ #13840]
16735 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16736 double-precision for the calculation instead of scaling.
16737
16738 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16739
16740 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16741 manipulate bits before adding and subtracting TWO52[sx].
16742 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16744 Likewise.
16745 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16746
16747 2012-03-13 David S. Miller <davem@davemloft.net>
16748
16749 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16750 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16752 rtld-global-offsets.h
16753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16754
16755 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16756 large parameters.
16757
16758 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16759
16760 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16761 'err' in the ifdef scope in which it is actually used.
16762
16763 * nss/nss_db/db-init.c: Include string.h
16764
16765 2012-03-12 David S. Miller <davem@davemloft.net>
16766
16767 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16768 masking out of the most significant byte of random value used.
16769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16770 Fix coding style in previous change.
16771
16772 * sysdeps/unix/sysv/linux/kernel-features.h
16773 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16774 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16775 expression.
16776 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16777 later.
16778
16779 2012-03-11 David S. Miller <davem@davemloft.net>
16780
16781 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16782 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16783 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16784 for 'resultvar' otherwise things get truncated on 64-bit.
16785
16786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16787 Fix masking out of the most significant byte of random value used.
16788
16789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16790
16791 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16792
16793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16794
16795 2012-03-09 David S. Miller <davem@davemloft.net>
16796
16797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16798 variables with appropriate CPP guards.
16799 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16800 frame pointer, not the stack pointer. Correct layout comments. Fix test
16801 on resulting framesize and the management of the outregs buffer for pltexit.
16802 Preserve floating point return values across _dl_call_pltexit call.
16803 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16804 framesize and the management of the outregs buffer for pltexit.
16805 Preserve floating point return values across _dl_call_pltexit
16806 call.
16807 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16808 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16809 (print_exit): Fix format string for return register value.
16810
16811 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16812
16813 * sunrpc/Makefile (others): Add rpcgen.
16814 ($(objpfx)rpcgen): Remove special build rule and dependency on
16815 libc.
16816 * sunrpc/rpcgen.c: New file.
16817
16818 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16819
16820 [BZ #13673]
16821 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16822 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16823 * sysdeps/i386/crti.S: Likewise.
16824 * sysdeps/i386/crtn.S: Likewise.
16825 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16826 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16827 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16828 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16829 * sysdeps/sh/crti.S: Likewise.
16830 * sysdeps/sh/crtn.S: Likewise.
16831 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16832
16833 [BZ #13673]
16834 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16835 with URL.
16836 * locale/programs/locfile-kw.gperf: Likewise.
16837 * locale/programs/charmap-kw.h: Regenerated.
16838 * locale/programs/locfile-kw.h: Likewise.
16839
16840 [BZ #13673]
16841 * intl/plural.y: Replace FSF snail mail address with URL.
16842 * intl/plural.c: Regenerated.
16843
16844 2012-03-09 Richard Henderson <rth@twiddle.net>
16845
16846 * include/math_private.h: Remove file.
16847 * math/math_private.h: Move file ...
16848 * sysdeps/generic/math_private.h: ... here.
16849
16850 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16851 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16852 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16853
16854 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16855 and <math_private.h>.
16856 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16857 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16858 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16859 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16860 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16861 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16862 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16864 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16865 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16867 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16868 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16871 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16873 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16874 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16875 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16877 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16878 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16880 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16882 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16883 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16888 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16889 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16890 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16891 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16892 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16893 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16894 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16896 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16897 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16898 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16899 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16900 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16902 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16903 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16904 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16905 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16906 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16907 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16908 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16909 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16910 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16911 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16912 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16913 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16914 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16915 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16916 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16917 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16919 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16920 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16921 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16922 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16923 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16924 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16925 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16927 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16930 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16934 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16936 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16937 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16938 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16939 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16940 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16941 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16943 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16944 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16947 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16948 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16949 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16950 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16951 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16952 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16953 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16954 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16955 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16956 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16957 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16958 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16959 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16960 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16961 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16962 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16963 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16964 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16966 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16967 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16968 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16969 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16970 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16971 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16972 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16973 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16974 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16975 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16976 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16977 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16978 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16979 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16980 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16981 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16982 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16983 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16985 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16986 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16987 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16988 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16989 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16990 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16991 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16992 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16993 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16994 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16995 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16996 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16997 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16998 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16999 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17000 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17001 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17002 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17003 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17004 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17005 * sysdeps/ieee754/k_standard.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17082 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17083 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17084 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17096 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17097 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17099 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17100 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17108 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17110 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17113 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17114 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17115 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17116 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17117 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17118 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17119 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17120 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17121 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17122 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17123 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17124 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17125 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17126 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17127 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17128 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17129 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17130 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17131 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17132 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17133 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17134 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17136 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17137 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17138 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17139 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17140 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17141 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17142 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17143 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17144 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17145 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17146 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17147 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17148 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17149 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17150 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17151 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17152 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17153 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17154 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17155 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17156 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17157 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17158 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17160 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17161 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17162 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17163 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17164 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17165 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17166 * sysdeps/ieee754/s_lib_version.c: Likewise.
17167 * sysdeps/ieee754/s_matherr.c: Likewise.
17168 * sysdeps/ieee754/s_signgam.c: Likewise.
17169 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17170 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17171 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17172 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17173 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17174 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17175 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17176 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17177 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17178 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17179 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17180 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17181 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17182 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17183 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17184 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17185 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17186 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17187 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17188 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17190
17191 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17192
17193 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17194 * sunrpc/rpc_main.c: Likewise.
17195 * sunrpc/rpc_svcout.c: Likewise.
17196
17197 2012-03-09 David S. Miller <davem@davemloft.net>
17198
17199 * include/math_private.h: New file.
17200
17201 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17202
17203 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17204 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17205 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17206 from <bits/socket_type.h>.
17207 (enum __socket_type): Don't define here.
17208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17210 bits/socket_type.h.
17211
17212 [BZ #13566]
17213 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17214 checking __USE_GNU.
17215
17216 * Makerules ($(inst_includedir)/%.h): New rule.
17217 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17218 (install-others): Remove variable setting.
17219 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17220
17221 2012-03-08 Richard Henderson <rth@twiddle.net>
17222
17223 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17224 from macro to inline function; merge with the
17225 !__LIBC_INTERNAL_MATH_INLINES version.
17226 (__ieee754_sqrtf): Likewise.
17227
17228 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17229 to inline function.
17230 (__rintf, __floor, __floorf): Likewise.
17231
17232 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17233 macro to inline function.
17234 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17235
17236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17237 not <math/math_private.h>.
17238
17239 2012-03-08 David S. Miller <davem@davemloft.net>
17240
17241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17242 copyright year.
17243 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17244
17245 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17246
17247 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17248 normalization.
17249 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17250 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17251
17252 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17253
17254 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17255 be defined individually, they must be defined as a block. Define
17256 S for printing a string instead of hidint the different by using a
17257 macro for adding the 'l'.
17258 * stdio-common/tst-fphex-wide.c: Adjust.
17259
17260 2012-03-07 Marek Polacek <polacek@redhat.com>
17261
17262 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17263
17264 2012-03-08 Marek Polacek <polacek@redhat.com>
17265
17266 [BZ #13806]
17267 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17268 * stdio-common/tst-fphex.c: Define a few macros to make the
17269 test reusable. Use them.
17270 * stdio-common/tst-fphex-wide.c: New file.
17271
17272 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17273
17274 [BZ #6911]
17275 * manual/macros.texi (gnusystems): New macro.
17276 (nongnusystems): Likewise.
17277 (gnulinuxhurdsystems): Likewise.
17278 (gnuhurdsystems): Likewise..
17279 (gnulinuxsystems): Likewise.
17280 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17281 variants of the GNU system, not "GNU system".
17282 * manual/conf.texi: Likewise.
17283 * manual/errno.texi: Likewise. Update example of errno macro
17284 expansion.
17285 * manual/filesys.texi: Likewise.
17286 (getumask): Document as specific to GNU/Hurd.
17287 * manual/install.texi: Likewise. Reword some references to
17288 GNU/Linux.
17289 * manual/intro.texi: Likewise.
17290 * manual/io.texi: Likewise.
17291 (File Name Portability): Detail which constraints are inapplicable
17292 to all GNU systems and which are only inapplicable to GNU/Hurd.
17293 * manual/job.texi: Likewise.
17294 * manual/llio.texi: Likewise.
17295 (O_NOCTTY): Document as present on GNU/Linux.
17296 * manual/maint.texi: Likewise.
17297 * manual/memory.texi: Likewise.
17298 * manual/pattern.texi: Likewise.
17299 * manual/pipe.texi: Likewise.
17300 * manual/process.texi: Likewise.
17301 * manual/resource.texi: Likewise.
17302 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17303 child on GNU/Hurd.
17304 * manual/setjmp.texi: Likewise.
17305 * manual/signal.texi: Likewise.
17306 * manual/startup.texi: Likewise.
17307 * manual/stdio.texi: Likewise.
17308 * manual/terminal.texi: Likewise.
17309 (ONLCR): Document as POSIX.
17310 (OXTABS): Document availability on GNU/Linux as XTABS.
17311 (ONOEOT): Document availability separately from other bits.
17312 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17313 * manual/time.texi: Likewise.
17314 * manual/users.texi: Likewise.
17315 * INSTALL: Regenerated.
17316 * sysdeps/gnu/errlist.c: Regenerated.
17317
17318 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17319 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17320 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17321 puts.
17322 * configure: Regenerated.
17323
17324 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17325
17326 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17327 default includes instead of AC_HEADER_CHECK.
17328 * sysdeps/i386/configure: Regenerated.
17329
17330 [BZ #10716]
17331 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17332 * math/s_cacoshf.c (__cacoshf): Likewise.
17333 * math/s_cacoshl.c (__cacoshl): Likewise.
17334 * math/s_casinh.c (__casinh): Set signs of result from argument.
17335 * math/s_casinhf.c (__casinhf): Likewise.
17336 * math/s_casinhl.c (__casinhl): Likewise.
17337 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17338 (casinh_test): Add more tests.
17339 * sysdeps/i386/fpu/libm-test-ulps: Update.
17340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17341
17342 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17343
17344 * po/zh_TW.po: Update from translation team.
17345
17346 * login/Makefile (distribute): Remove variable.
17347 * catgets/Makefile: Likewise.
17348 * mach/Makefile: Likewise.
17349 * malloc/Makefile: Likewise.
17350 * misc/Makefile: Likewise.
17351 * iconv/Makefile: Likewise.
17352 * nscd/Makefile: Likewise.
17353 * hurd/Makefile: Likewise.
17354 * manual/Makefile: Likewise.
17355 * locale/Makefile: Likewise.
17356 * intl/Makefile: Likewise.
17357 * conform/Makefile: Likewise.
17358 * nss/Makefile: Likewise.
17359 * time/Makefile: Likewise.
17360 * soft-fp/Makefile: Likewise.
17361 * dirent/Makefile: Likewise.
17362 * gmon/Makefile: Likewise.
17363 * po/Makefile: Likewise.
17364 * rt/Makefile: Likewise.
17365 * socket/Makefile: Likewise.
17366 * math/Makefile: Likewise.
17367 * signal/Makefile: Likewise.
17368 * debug/Makefile: Likewise.
17369 * elf/Makefile: Likewise.
17370 * timezone/Makefile: Likewise.
17371 * stdlib/Makefile: Likewise.
17372 * iconvdata/Makefile: Likewise.
17373 * sunrpc/Makefile: Likewise.
17374 * io/Makefile: Likewise.
17375 * argp/Makefile: Likewise.
17376 * inet/Makefile: Likewise.
17377 * hesiod/Makefile: Likewise.
17378 * grp/Makefile: Likewise.
17379 * csu/Makefile: Likewise.
17380 * wctype/Makefile: Likewise.
17381 * crypt/Makefile: Likewise.
17382 * libio/Makefile: Likewise.
17383 * string/Makefile: Likewise.
17384 * nis/Makefile: Likewise.
17385 * resolv/Makefile: Likewise.
17386 * stdio-common/Makefile: Likewise.
17387 * wcsmbs/Makefile: Likewise.
17388 * dlfcn/Makefile: Likewise.
17389 * posix/Makefile: Likewise.
17390
17391 [BZ #6959]
17392 * timezone/Makefile: Don't install timezone files, just the programs
17393 and scripts.
17394
17395 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17396
17397 * nss/databases.def: Add missing gshadow entry.
17398
17399 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17400
17401 2012-03-06 Marek Polacek <polacek@redhat.com>
17402
17403 [BZ #13726]
17404 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17405 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17406 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17407 * stdio-common/tst-long-dbl-fphex.c: New file.
17408
17409 2012-03-06 David S. Miller <davem@davemloft.net>
17410
17411 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17412 (set_obp_int): New function.
17413 (get_obp_int): New function.
17414 (__get_clockfreq_via_dev_openprom): Likewise.
17415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17416 Avoid unused variable warnings on 'val' and use builtin_expect.
17417 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17418 __builtin_expect.
17419 (INLINE_CLONE_SYSCALL): Likewise.
17420
17421 2012-03-05 David S. Miller <davem@davemloft.net>
17422
17423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17424
17425 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17426
17427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17428
17429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17430 only for |x| >= 40.
17431 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17432
17433 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17434
17435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17436 Replace gettimeofday with __vdso_gettimeofday.
17437
17438 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17439 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17440 __vdso_clock_gettime and __vdso_getcpu.
17441
17442 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17443 time with __vdso_time.
17444
17445 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17446
17447 * manual/lang.texi (size_t): Note types to which size_t may be
17448 equivalent with the GNU C Library, but do not describe when
17449 differences between them are significant.
17450
17451 2012-03-05 Andreas Jaeger <aj@suse.de>
17452
17453 * sysdeps/i386/fpu/libm-test-ulps: Update.
17454
17455 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17456
17457 [BZ #3976]
17458 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17459 (__ieee754_pow): Save and restore rounding mode and use
17460 round-to-nearest for main computations.
17461 * math/libm-test.inc (pow_test_tonearest): New function.
17462 (pow_test_towardzero): Likewise.
17463 (pow_test_downward): Likewise.
17464 (pow_test_upward): Likewise.
17465 (main): Call the new functions.
17466 * sysdeps/i386/fpu/libm-test-ulps: Update.
17467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17468
17469 [BZ #3976]
17470 * math/libm-test.inc (cosh_test_tonearest): New function.
17471 (cosh_test_towardzero): Likewise.
17472 (cosh_test_downward): Likewise.
17473 (cosh_test_upward): Likewise.
17474 (sinh_test_tonearest): Likewise.
17475 (sinh_test_towardzero): Likewise.
17476 (sinh_test_downward): Likewise.
17477 (sinh_test_upward): Likewise.
17478 (main): Call the new functions.
17479 * sysdeps/i386/fpu/libm-test-ulps: Update.
17480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17481
17482 2012-03-05 Tom de Vries <tom@codesourcery.com>
17483
17484 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17485 default stack guard is set in last bytes.
17486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17487
17488 2012-03-05 Kees Cook <keescook@chromium.org>
17489
17490 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17491
17492 [BZ #13656]
17493 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17494 possibly allocate from heap instead of stack.
17495 * stdio-common/bug-vfprintf-nargs.c: New file.
17496 * stdio-common/Makefile (tests): Add nargs overflow test.
17497
17498 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17499
17500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17501
17502 2012-03-03 Marek Polacek <polacek@redhat.com>
17503
17504 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17505 * math/math_private.h: Likewise.
17506 * stdlib/tst-strtod.c: Likewise.
17507 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17508 * sysdeps/x86_64/bits/atomic.h: Likewise.
17509
17510 2012-03-02 David S. Miller <davem@davemloft.net>
17511
17512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17516 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17517 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17518 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17519 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17520
17521 2012-03-02 Roland McGrath <roland@hack.frob.com>
17522
17523 [BZ #13792]
17524 * manual/examples/README: New file, says the example source files
17525 can be used under GPL>=2.
17526 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17527 line containing just "*/".
17528 * manual/examples/add.c: Add copyright header (GPL>=2).
17529 * manual/examples/argp-ex1.c: Likewise.
17530 * manual/examples/argp-ex2.c: Likewise.
17531 * manual/examples/argp-ex3.c: Likewise.
17532 * manual/examples/argp-ex4.c: Likewise.
17533 * manual/examples/atexit.c: Likewise.
17534 * manual/examples/db.c: Likewise.
17535 * manual/examples/dir.c: Likewise.
17536 * manual/examples/dir2.c: Likewise.
17537 * manual/examples/execinfo.c: Likewise.
17538 * manual/examples/filecli.c: Likewise.
17539 * manual/examples/filesrv.c: Likewise.
17540 * manual/examples/fmtmsgexpl.c: Likewise.
17541 * manual/examples/genpass.c: Likewise.
17542 * manual/examples/inetcli.c: Likewise.
17543 * manual/examples/inetsrv.c: Likewise.
17544 * manual/examples/isockad.c: Likewise.
17545 * manual/examples/longopt.c: Likewise.
17546 * manual/examples/memopen.c: Likewise.
17547 * manual/examples/memstrm.c: Likewise.
17548 * manual/examples/mkfsock.c: Likewise.
17549 * manual/examples/mkisock.c: Likewise.
17550 * manual/examples/mygetpass.c: Likewise.
17551 * manual/examples/pipe.c: Likewise.
17552 * manual/examples/popen.c: Likewise.
17553 * manual/examples/rprintf.c: Likewise.
17554 * manual/examples/search.c: Likewise.
17555 * manual/examples/select.c: Likewise.
17556 * manual/examples/setjmp.c: Likewise.
17557 * manual/examples/sigh1.c: Likewise.
17558 * manual/examples/sigusr.c: Likewise.
17559 * manual/examples/stpcpy.c: Likewise.
17560 * manual/examples/strdupa.c: Likewise.
17561 * manual/examples/strftim.c: Likewise.
17562 * manual/examples/strncat.c: Likewise.
17563 * manual/examples/subopt.c: Likewise.
17564 * manual/examples/swapcontext.c: Likewise.
17565 * manual/examples/termios.c: Likewise.
17566 * manual/examples/testopt.c: Likewise.
17567 * manual/examples/testpass.c: Likewise.
17568 * manual/examples/timeval_subtract.c: Likewise.
17569
17570 [BZ #13792]
17571 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17572 function to ...
17573 * manual/timeval_subtract.c.texi: ... here, new file.
17574
17575 2012-03-02 David S. Miller <davem@davemloft.net>
17576
17577 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17578
17579 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17580
17581 [BZ #3976]
17582 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17583 (__sin): Save and restore rounding mode and use round-to-nearest
17584 for all computations.
17585 (__cos): Save and restore rounding mode and use round-to-nearest
17586 for all computations.
17587 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17588 <fenv.h>.
17589 (tan): Save and restore rounding mode and use round-to-nearest for
17590 all computations.
17591 * math/libm-test.inc (cos_test_tonearest): New function.
17592 (cos_test_towardzero): Likewise.
17593 (cos_test_downward): Likewise.
17594 (cos_test_upward): Likewise.
17595 (sin_test_tonearest): Likewise.
17596 (sin_test_towardzero): Likewise.
17597 (sin_test_downward): Likewise.
17598 (sin_test_upward): Likewise.
17599 (tan_test_tonearest): Likewise.
17600 (tan_test_towardzero): Likewise.
17601 (tan_test_downward): Likewise.
17602 (tan_test_upward): Likewise.
17603 (main): Call the new functions.
17604 * sysdeps/i386/fpu/libm-test-ulps: Update.
17605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17606
17607 [BZ #10135]
17608 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17609 small n, then large n, before computing and testing k+n.
17610 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17612 Likewise.
17613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17614 Likewise.
17615 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17616 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17618 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17619 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17620 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17623 * math/libm-test.inc (scalbn_test): Add more tests.
17624 (scalbln_test): Likewise.
17625
17626 * manual/filesys.texi (mode_t): Describe constraints on size and
17627 signedness, not exact equivalence to a particular type.
17628 (ino_t): Likewise.
17629 (ino64_t): Likewise.
17630 (dev_t): Likewise.
17631 (nlink_t): Likewise.
17632 (blkcnt_t): Likewise.
17633 (blkcnt64_t): Likewise.
17634 * manual/llio.texi (off_t): Likewise.
17635
17636 [BZ #3976]
17637 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17638 (__ieee754_exp): Save and restore rounding mode and use
17639 round-to-nearest for all computations.
17640 * math/libm-test.inc (exp_test_tonearest): New function.
17641 (exp_test_towardzero): Likewise.
17642 (exp_test_downward): Likewise.
17643 (exp_test_upward): Likewise.
17644 (main): Call the new functions.
17645 * sysdeps/i386/fpu/libm-test-ulps: Update.
17646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17647
17648 2012-03-01 Chris Demetriou <cgd@google.com>
17649
17650 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17651 have predictable order.
17652
17653 2012-03-01 David S. Miller <davem@davemloft.net>
17654
17655 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17656
17657 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17658 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17659 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17660 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17661
17662 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17663 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17664 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17666 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17667 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17668 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17669 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17670 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17671
17672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17673
17674 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17675 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17676 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17677
17678 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17679 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17680 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17681 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17682 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17683 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17684 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17685 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17686 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17687 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17688 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17689 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17690 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17691 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17692 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17694 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17695 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17696 * sysdeps/sparc/elf/configure: Regenerated.
17697
17698 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17699
17700 * configure.in (AS, LD): Require binutils 2.20 or later.
17701 * configure: Regenerated.
17702 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17703 as required minimum version.
17704 * INSTALL: Regenerated.
17705
17706 [BZ #2541]
17707 [BZ #4108]
17708 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17709 before squaring exponent.
17710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17711 bottom long double and 27 bits of top long double before squaring
17712 exponent.
17713 * math/libm-test.inc (erfc_test): Add more tests.
17714 * sysdeps/i386/fpu/libm-test-ulps: Update.
17715 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17717
17718 2012-03-01 Kai Tietz <ktietz@redhat.com>
17719
17720 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17721 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17722 containing bit-fields.
17723 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17724 * soft-fp/single.h (_FP_UNION_S): Likewise.
17725 * soft-fp/double.h (_FP_UNION_D): Likewise.
17726
17727 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17728
17729 [BZ #13786]
17730 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17731 not include ../strcmp.S.
17732 [USE_AS_STRNCASECMP_L]: Likewise.
17733 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17734 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17735 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17736 (__strncasecmp_l_ia32): Define as alias to
17737 __strncasecmp_l_nonascii.
17738
17739 [BZ #5794]
17740 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17741 * sysdeps/i386/fpu/libm-test-ulps: Update.
17742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17743
17744 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17746
17747 2012-02-29 Jeff Law <law@redhat.com>
17748
17749 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17750 out of bounds read.
17751
17752 2012-02-29 Marek Polacek <polacek@redhat.com>
17753
17754 [BZ #13706]
17755 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17756 * elf/Makefile: Add rules to run tst-unused-dep.out.
17757
17758 2012-02-28 David S. Miller <davem@davemloft.net>
17759
17760 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17761 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17764 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17765 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17766
17767 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17768
17769 * math/libm-test.inc (llround_test): Move one test from
17770 lround_test. Use TEST_f_L in moved test.
17771 (lround_test): Move misplaced test to llround_test. Add testcase
17772 from bug 2561.
17773
17774 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17775
17776 * sysdeps/x86_64/fpu/e_expf.S: New file.
17777 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17778
17779 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17780
17781 [BZ #13637]
17782 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17783 of remain_len that may cause incomplete multi-byte character and
17784 false match.
17785 * posix/bug-regex33.c: New file.
17786 * posix/Makefile (tests): Add bug-regex33.
17787
17788 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17789
17790 * manual/macros.texi: New file.
17791 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17792 * manual/libc.texinfo: Include macros.texi.
17793 * manual/creatute.texi: Likewise.
17794 * manual/install.texi: Likewise.
17795 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17796 @glibcadj{} in references to the GNU C Library.
17797 * manual/charset.texi: Likewise.
17798 * manual/conf.texi: Likewise.
17799 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17800 when not using those macros.
17801 * manual/creature.texi: Likewise.
17802 * manual/crypt.texi: Likewise.
17803 * manual/errno.texi: Likewise.
17804 * manual/filesys.texi: Likewise.
17805 * manual/header.texi: Likewise.
17806 * manual/install.texi: Likewise.
17807 * manual/intro.texi: Likewise.
17808 * manual/io.texi: Likewise.
17809 * manual/job.texi: Likewise.
17810 * manual/lang.texi: Likewise.
17811 * manual/libc.texiinfo: Likewise.
17812 * manual/llio.texi: Likewise.
17813 * manual/locale.texi: Likewise.
17814 * manual/maint.texi: Likewise.
17815 * manual/math.texi: Likewise.
17816 * manual/memory.texi: Likewise.
17817 * manual/message.texi: Likewise.
17818 * manual/nss.texi: Likewise.
17819 * manual/pattern.texi: Likewise.
17820 * manual/process.texi: Likewise.
17821 * manual/resource.texi: Likewise.
17822 * manual/search.texi: Likewise.
17823 * manual/setjmp.texi: Likewise.
17824 * manual/signal.texi: Likewise.
17825 * manual/socket.texi: Likewise.
17826 * manual/startup.texi: Likewise.
17827 * manual/stdio.texi: Likewise.
17828 * manual/string.texi: Likewise.
17829 * manual/sysinfo.texi: Likewise.
17830 * manual/syslog.texi: Likewise.
17831 * manual/terminal.texi: Likewise.
17832 * manual/time.texi: Likewise.
17833 * manual/users.texi: Likewise.
17834 * INSTALL: Regenerated.
17835 * NOTES: Regenerated.
17836 * sysdeps/gnu/errlist.c: Regenerated.
17837
17838 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17839
17840 * include/dirent.h: Include <dirstream.h> before
17841 <dirent/dirent.h>.
17842
17843 2012-02-28 David S. Miller <davem@davemloft.net>
17844
17845 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17846 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17847 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17848 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17849
17850 2012-02-27 David S. Miller <davem@davemloft.net>
17851
17852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17854 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17855 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17856
17857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17858 frame pointer instead of stack pointer relative arg slot.
17859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17860 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17861 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17862
17863 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17864
17865 [BZ #3992]
17866 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17867
17868 2012-02-27 David S. Miller <davem@davemloft.net>
17869
17870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17874 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17875 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17876 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17877 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17878
17879 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17880
17881 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17882 later. Allow versions 5-9.
17883 * configure: Regenerated.
17884 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17885 required minimum version and 4.6 as recommended version. Do not
17886 mention bugs in GCC 2.7 and 2.8.
17887 * INSTALL: Regenerated.
17888
17889 2012-02-27 David S. Miller <davem@davemloft.net>
17890
17891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17895 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17896 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17897 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17898 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17899
17900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17901 manipulate bits before adding and subtracting TWO112[sx].
17902 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17903
17904 2012-02-27 Roland McGrath <roland@hack.frob.com>
17905
17906 [BZ #13775]
17907 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17908 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17909 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17910 being in POSIX, because they are in 1003.1-2008.
17911
17912 * rt/tst-aio.c: Include <fcntl.h>.
17913 * rt/tst-aio7.c: Likewise.
17914 * rt/tst-aio64.c: Likewise.
17915
17916 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17917
17918 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17919
17920 * manual/install.texi (--with-headers): Describe headers as
17921 interface headers, not private headers.
17922 (Specific advice for GNU/Linux systems): Describe use of headers
17923 from "make headers_install", not private headers from older
17924 kernels.
17925 * INSTALL: Regenerated.
17926 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17927 Change to 2.6.19.
17928 * sysdeps/unix/sysv/linux/configure: Regenerated.
17929
17930 * manual/llio.texi (fclean): Remove documentation.
17931
17932 * manual/Makefile (libc-texi-generated): New variable. Include
17933 version.texi.
17934 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17935 $(libc-texi-generated), not duplicated list of files.
17936 (version.texi, stamp-version): New rules.
17937 (realclean): Remove $(libc-texi-generated), not individual files
17938 from that list. Do not remove dir-add.texinfo.
17939 * manual/libc.texinfo: Comment out uses of edition numbers and
17940 references to printed manual. Remove last-updated dates.
17941 (EDITION): Comment out.
17942 (ISBN): Likewise.
17943 (VERSION, UPDATED): Remove.
17944 (version.texi): Include.
17945
17946 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17947
17948 * sysdeps/posix/spawni.c: Include <signal.h>.
17949 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17950 * sysdeps/pthread/aio_fsync.c: Likewise.
17951
17952 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17953
17954 * conform/Makefile (tests): Run only when not cross-compiling and
17955 when fast-check is not defined.
17956
17957 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17958 * conform/data/limits.h-data: Fixes for POSIX2008.
17959 * conform/run-conformtest.sh: Run all tests.
17960 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17961 headers.
17962 * include/bits/dlfcn.h: Likewise.
17963 * include/langinfo.h: Likewise.
17964 * include/monetary.h: Likewise.
17965 * include/sys/poll.h: Likewise.
17966
17967 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17968 for __USE_GNU.
17969 * posix/spawn.h: Define __need_sigset_t.
17970 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17971 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17972 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17973 to get sigevent_t only.
17974 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17975 only for __USE_GNU.
17976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17977 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17978 process_vm_writev only for __USE_GNU.
17979 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17980
17981 * conform/Makefile: For now ignore errors from run-conformtest.
17982 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17983 POSIX to avoid namespace pollution. Don't prepend headers.
17984 * conform/data/aio.h-data: Fixes for POSIX testing.
17985 * conform/data/fcntl.h-data: Likewise.
17986 * conform/data/glob.h-data: Likewise.
17987 * conform/data/grp.h-data: Likewise.
17988 * conform/data/pthread.h-data: Likewise.
17989 * conform/data/pwd.h-data: Likewise.
17990 * conform/data/signal.h-data: Likewise.
17991 * conform/data/spawn.h-data: Likewise.
17992 * conform/data/stdio.h-data: Likewise.
17993 * conform/data/stdlib.h-data: Likewise.
17994 * conform/data/stropts.h-data: Likewise.
17995 * conform/data/sys/mman.h-data: Likewise.
17996 * conform/data/sys/stat.h-data: Likewise.
17997 * conform/data/sys/types.h-data: Likewise.
17998 * conform/data/sys/wait.h-data: Likewise.
17999 * conform/data/time.h-data: Likewise.
18000 * conform/data/unistd.h-data: Likewise.
18001 * conform/data/utime.h-data: Likewise.
18002
18003 * io/sys/stat.h: fchmod was always in POSIX.
18004 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18005 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18006 * rt/aio.h: Define __need_timespec before including <time.h>.
18007 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18008 struct. Add forward declaration of pthread_attr_t and use it in
18009 sigevent.
18010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18012 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18013 always remove CLK_TCK definition.
18014
18015 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18016
18017 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18018
18019 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18020
18021 * conform/run-conformtest.sh: New file.
18022 * conform/Makefile: Run run-conformtest for tests.
18023 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18024 support.
18025
18026 * conform/data/uchar.h-data: New file.
18027 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18028 * conform/data/arpa/inet.h-data: Likewise.
18029 * conform/data/assert.h-data: Likewise.
18030 * conform/data/complex.h-data: Likewise.
18031 * conform/data/cpio.h-data: Likewise.
18032 * conform/data/ctype.h-data: Likewise.
18033 * conform/data/dirent.h-data: Likewise.
18034 * conform/data/dlfcn.h-data: Likewise.
18035 * conform/data/errno.h-data: Likewise.
18036 * conform/data/fcntl.h-data: Likewise.
18037 * conform/data/float.h-data: Likewise.
18038 * conform/data/fmtmsg.h-data: Likewise.
18039 * conform/data/fnmatch.h-data: Likewise.
18040 * conform/data/ftw.h-data: Likewise.
18041 * conform/data/glob.h-data: Likewise.
18042 * conform/data/grp.h-data: Likewise.
18043 * conform/data/iconv.h-data: Likewise.
18044 * conform/data/inttypes.h-data: Likewise.
18045 * conform/data/langinfo.h-data: Likewise.
18046 * conform/data/libgen.h-data: Likewise.
18047 * conform/data/limits.h-data: Likewise.
18048 * conform/data/locale.h-data: Likewise.
18049 * conform/data/math.h-data: Likewise.
18050 * conform/data/monetary.h-data: Likewise.
18051 * conform/data/mqueue.h-data: Likewise.
18052 * conform/data/ndbm.h-data: Likewise.
18053 * conform/data/net/if.h-data: Likewise.
18054 * conform/data/netdb.h-data: Likewise.
18055 * conform/data/netinet/in.h-data: Likewise.
18056 * conform/data/nl_types.h-data: Likewise.
18057 * conform/data/poll.h-data: Likewise.
18058 * conform/data/pthread.h-data: Likewise.
18059 * conform/data/pwd.h-data: Likewise.
18060 * conform/data/regex.h-data: Likewise.
18061 * conform/data/sched.h-data: Likewise.
18062 * conform/data/search.h-data: Likewise.
18063 * conform/data/semaphore.h-data: Likewise.
18064 * conform/data/setjmp.h-data: Likewise.
18065 * conform/data/signal.h-data: Likewise.
18066 * conform/data/spawn.h-data: Likewise.
18067 * conform/data/stdarg.h-data: Likewise.
18068 * conform/data/stdio.h-data: Likewise.
18069 * conform/data/stdlib.h-data: Likewise.
18070 * conform/data/string.h-data: Likewise.
18071 * conform/data/strings.h-data: Likewise.
18072 * conform/data/stropts.h-data: Likewise.
18073 * conform/data/sys/ipc.h-data: Likewise.
18074 * conform/data/sys/mman.h-data: Likewise.
18075 * conform/data/sys/msg.h-data: Likewise.
18076 * conform/data/sys/resource.h-data: Likewise.
18077 * conform/data/sys/select.h-data: Likewise.
18078 * conform/data/sys/sem.h-data: Likewise.
18079 * conform/data/sys/shm.h-data: Likewise.
18080 * conform/data/sys/socket.h-data: Likewise.
18081 * conform/data/sys/stat.h-data: Likewise.
18082 * conform/data/sys/statvfs.h-data: Likewise.
18083 * conform/data/sys/time.h-data: Likewise.
18084 * conform/data/sys/timeb.h-data: Likewise.
18085 * conform/data/sys/times.h-data: Likewise.
18086 * conform/data/sys/types.h-data: Likewise.
18087 * conform/data/sys/uio.h-data: Likewise.
18088 * conform/data/sys/un.h-data: Likewise.
18089 * conform/data/sys/utsname.h-data: Likewise.
18090 * conform/data/sys/wait.h-data: Likewise.
18091 * conform/data/syslog.h-data: Likewise.
18092 * conform/data/tar.h-data: Likewise.
18093 * conform/data/termios.h-data: Likewise.
18094 * conform/data/utime.h-data: Likewise.
18095 * conform/data/utmpx.h-data: Likewise.
18096 * conform/data/varargs.h-data: Likewise.
18097 * conform/data/wchar.h-data: Likewise.
18098 * conform/data/wctype.h-data: Likewise.
18099 * conform/data/wordexp.h-data: Likewise.
18100
18101 * include/stropts.h: New file.
18102 * include/uchar.h: New file.
18103 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18104 * include/assert.h: Likewise.
18105 * include/ctype.h: Likewise.
18106 * include/dirent.h: Likewise.
18107 * include/dlfcn.h: Likewise.
18108 * include/fcntl.h: Likewise.
18109 * include/fnmatch.h: Likewise.
18110 * include/glob.h: Likewise.
18111 * include/grp.h: Likewise.
18112 * include/libio.h: Likewise.
18113 * include/locale.h: Likewise.
18114 * include/math.h: Likewise.
18115 * include/net/if.h: Likewise.
18116 * include/netdb.h: Likewise.
18117 * include/netinet/in.h: Likewise.
18118 * include/pthread.h: Likewise.
18119 * include/pwd.h: Likewise.
18120 * include/regex.h: Likewise.
18121 * include/sched.h: Likewise.
18122 * include/search.h: Likewise.
18123 * include/setjmp.h: Likewise.
18124 * include/signal.h: Likewise.
18125 * include/stdio.h: Likewise.
18126 * include/stdlib.h: Likewise.
18127 * include/string.h: Likewise.
18128 * include/sys/cdefs.h: Likewise.
18129 * include/sys/mman.h: Likewise.
18130 * include/sys/msg.h: Likewise.
18131 * include/sys/resource.h: Likewise.
18132 * include/sys/select.h: Likewise.
18133 * include/sys/socket.h: Likewise.
18134 * include/sys/stat.h: Likewise.
18135 * include/sys/statvfs.h: Likewise.
18136 * include/sys/time.h: Likewise.
18137 * include/sys/times.h: Likewise.
18138 * include/sys/uio.h: Likewise.
18139 * include/sys/utsname.h: Likewise.
18140 * include/sys/wait.h: Likewise.
18141 * include/termios.h: Likewise.
18142 * include/time.h: Likewise.
18143 * include/ulimit.h: Likewise.
18144 * include/unistd.h: Likewise.
18145 * include/utime.h: Likewise.
18146 * include/wchar.h: Likewise.
18147 * include/wctype.h: Likewise.
18148 * include/wordexp.h: Likewise.
18149
18150 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18151
18152 * time/time.h: TIME_UTC must be a macro.
18153 Make timespec_get available for ISO C11 only as well.
18154
18155 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18156
18157 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18158 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18159
18160 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18161
18162 * configure.in: Use -o not -a in test for unsupported multi-arch.
18163
18164 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18165
18166 * manual/texinfo.tex: Update to version 2012-01-19.16.
18167
18168 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18169
18170 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18171
18172 2012-02-24 Roland McGrath <roland@hack.frob.com>
18173
18174 [BZ #13738]
18175 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18176 * manual/fdl-1.3.texi: New file.
18177 * manual/fdl-1.1.texi: File removed.
18178
18179 [BZ #13738]
18180 * manual/libc.texinfo (FDL_VERSION): New @set.
18181 Use it for mention of FDL in cover text.
18182 (Documentation License): Use it in @include file name.
18183
18184 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18185 Roland McGrath <roland@hack.frob.com>
18186
18187 [BZ #5461]
18188 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18189 not LONG_LONG_MAX and LONG_LONG_MIN.
18190 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18191 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18192 name.
18193 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18194
18195 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18196
18197 [BZ #2547]
18198 [BZ #11365]
18199 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18200 manipulate bits before adding and subtracting TWO23[sx].
18201 * math/libm-test.inc (nearbyint_test): Add more tests.
18202
18203 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18204
18205 [BZ #2548]
18206 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18207 bits before adding and subtracting TWO23[sx].
18208 * math/libm-test.inc (rint_test): Add more tests.
18209 (rint_test_tonearest): Likewise.
18210 (rint_test_towardzero): Likewise.
18211 (rint_test_downward): Likewise.
18212 (rint_test_upward: Likewise.
18213
18214 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18215
18216 [BZ #10110]
18217 * include/stdc-predef.h: New file. Extracted from features.h.
18218 * include/features.h: Include stdc-predef.h.
18219 * Makefile (headers): Add stdc-predef.h.
18220 * CONFORMANCE (Compiler limitations): Update.
18221
18222 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18223
18224 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18225
18226 2012-02-21 David S. Miller <davem@davemloft.net>
18227
18228 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18229 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18230
18231 2012-02-20 David S. Miller <davem@davemloft.net>
18232
18233 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18234 using a normal save/restore sequence, rather than allocating a
18235 dummy stack frame just to store a frame pointer and restore.
18236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18237
18238 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18239
18240 * manual/install.texi: Fix stray word in line-wrapped comment.
18241
18242 2012-02-20 David S. Miller <davem@davemloft.net>
18243
18244 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18245 both binutils and gcc support GOTDATA.
18246
18247 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18248 "rd %pc" in the PIC register setup sequences.
18249
18250 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18251 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18252 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18253 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18254 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18255 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18256 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18259 (SYSCALL_ERROR_HANDLER): Likewise.
18260 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18261 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18262 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18263 (SYSCALL_ERROR_HANDLER): Likewise.
18264
18265 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18266 (HAVE_GCC_GOTDATA): New.
18267 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18268 relocation support in both binutils and gcc.
18269 * sysdeps/sparc/elf/configure: Regenerate.
18270
18271 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18272 * sysdeps/sparc/sparc32/elf/configure: Delete.
18273 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18274 * sysdeps/sparc/sparc64/elf/configure: Delete.
18275 * sysdeps/sparc/elf/configure.in: New file.
18276 * sysdeps/sparc/elf/configure: Generate.
18277
18278 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18279 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18280 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18281 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18282 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18283
18284 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18285
18286 * manual/install.texi: Do not mention specific glibc version
18287 numbers.
18288 * manual/libc.texinfo (VERSION, UPDATED): Update.
18289 (@copying): Use @copyright{} and range of years.
18290
18291 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18292
18293 [BZ #13695]
18294 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18295 [crti.S not in sysdirs] (generated): Do not append.
18296 [crti.S not in sysdirs] (omit-deps): Likewise.
18297 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18298 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18299 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18300 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18301 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18302 Likewise.
18303 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18304 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18305 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18306 * csu/defs.awk: Remove file.
18307 * sysdeps/generic/initfini.c: Likewise.
18308 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18309 variable.
18310 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18311 Likewise.
18312
18313 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18314
18315 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18316 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18317 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18318 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18319 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18320 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18321 <bits/epoll.h>.
18322 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18323 (__EPOLL_PACKED): Define to empty if not defined by
18324 <bits/epoll.h>.
18325 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18327 bits/epoll.h.
18328
18329 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18330
18331 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18332 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18333 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18334 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18335 <bits/timerfd.h>.
18336 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18338 bits/timerfd.h.
18339
18340 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18341
18342 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18343 in C locale.
18344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18348
18349 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18350
18351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18352 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18353
18354 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18355
18356 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18357 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18358 defined.
18359 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18360 Likewise.
18361 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18362 entry for 2.16.
18363
18364 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18365
18366 * math/w_acos.c: Use non-signaling floating-point comparisons.
18367 * math/w_acosf.c: Likewise.
18368 * math/w_acosh.c: Likewise.
18369 * math/w_acoshf.c: Likewise.
18370 * math/w_acoshl.c: Likewise.
18371 * math/w_acosl.c: Likewise.
18372 * math/w_asin.c: Likewise.
18373 * math/w_asinf.c: Likewise.
18374 * math/w_asinl.c: Likewise.
18375 * math/w_atanh.c: Likewise.
18376 * math/w_atanhf.c: Likewise.
18377 * math/w_atanhl.c: Likewise.
18378 * math/w_exp2.c: Likewise.
18379 * math/w_exp2f.c: Likewise.
18380 * math/w_exp2l.c: Likewise.
18381 * math/w_j0.c: Likewise.
18382 * math/w_j0f.c: Likewise.
18383 * math/w_j0l.c: Likewise.
18384 * math/w_j1.c: Likewise.
18385 * math/w_j1f.c: Likewise.
18386 * math/w_j1l.c: Likewise.
18387 * math/w_jn.c: Likewise.
18388 * math/w_jnf.c: Likewise.
18389 * math/w_log.c: Likewise.
18390 * math/w_log10.c: Likewise.
18391 * math/w_log10f.c: Likewise.
18392 * math/w_log10l.c: Likewise.
18393 * math/w_log2.c: Likewise.
18394 * math/w_log2f.c: Likewise.
18395 * math/w_log2l.c: Likewise.
18396 * math/w_logf.c: Likewise.
18397 * math/w_logl.c: Likewise.
18398 * math/w_sqrt.c: Likewise.
18399 * math/w_sqrtf.c: Likewise.
18400 * math/w_sqrtl.c: Likewise.
18401 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18402 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18404 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18405 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18406
18407 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18408
18409 [BZ #9739]
18410 * manual/string.texi (strnlen): Use correct parameter name in
18411 equivalent expression.
18412
18413 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18414
18415 [BZ #11174]
18416 * manual/users.texi (seteuid): Consistently use neweuid for
18417 argument name.
18418
18419 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18420
18421 [BZ #13704]
18422 * manual/nss.texi (Services in the NSS configuration): Correct
18423 list of services in example configuration file.
18424
18425 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18426
18427 [BZ #11322]
18428 * manual/arith.texi: Remove statements about negative zero
18429 behaving identically to zero.
18430
18431 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18432
18433 [BZ #5993]
18434 * manual/install.texi: Do not document upgrading from libc5.
18435
18436 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18437
18438 [BZ #4596]
18439 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18440
18441 2012-02-18 David S. Miller <davem@davemloft.net>
18442
18443 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18444 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18445 %o7 across the call.
18446 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18447 instead.
18448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18449 SETUP_PIC_REG_LEAF.
18450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18451 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18452 * sysdeps/sparc/crtn.S: Likewise.
18453
18454 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18455
18456 * aout/Makefile: Remove.
18457
18458 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18459
18460 [BZ #13058]
18461 * manual/examples/argp-ex1.c (main): Format definition in GNU
18462 style.
18463 * manual/examples/argp-ex2.c (main): Likewise.
18464 * manual/examples/argp-ex3.c (main): Likewise.
18465 * manual/examples/argp-ex4.c (main): Likewise.
18466 * manual/examples/longopt.c (main): Use new-style prototype
18467 definition.
18468 * manual/examples/strncat.c (main): Specify return type and use
18469 (void) for arguments.
18470 * manual/examples/subopt.c (main): Use char **argv argument.
18471
18472 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18473
18474 [BZ #5077]
18475 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18476 rounding modes.
18477
18478 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18479
18480 [BZ #6907]
18481 * manual/string.texi (strchr): Change when strchrnul is
18482 recommended.
18483
18484 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18485
18486 [BZ #174]
18487 * manual/locale.texi (setlocale): Document LOCPATH.
18488
18489 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18490
18491 [BZ #10210]
18492 * manual/process.texi (execle): Move @dots{} before last argument.
18493
18494 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18495
18496 [BZ #12047]
18497 * manual/charset.texi (Generic Charset Conversion): Fix typo
18498 (LC_TYPE -> LC_CTYPE).
18499
18500 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18501
18502 [BZ #5805]
18503 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18504 (scalbnf): Likewise.
18505 (scalbnl): Likewise.
18506 (scalbln): Likewise.
18507 (scalblnf): Likewise.
18508 (scalblnl): Likewise.
18509 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18510 (vwarnx): Likewise.
18511 (verr): Likewise.
18512 (verrx): Likewise.
18513 * manual/filesys.texi (telldir): Use braces around return type.
18514 * manual/llio.texi (mmap): Add space after comma.
18515 (mmap64): Likewise.
18516 * manual/math.texi (jn): Use @var{} on parameter names.
18517 (jnf): Likewise.
18518 (jnl): Likewise.
18519 (yn): Likewise.
18520 (ynf): Likewise.
18521 (ynl): Likewise.
18522 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18523 line.
18524 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18525 "...".
18526 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18527 (sched_get_priority_max): Likewise.
18528 * manual/signal.texi (sigvec): Add space after comma.
18529 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18530 names.
18531 (if_indextoname): Likewise.
18532 (if_freenameindex): Likewise.
18533 (sendto): Use ',' instead of '.' in prototype.
18534 * manual/startup.texi (syscall): Use @dots{} instead of literal
18535 "...".
18536 * manual/stdio.texi (__fpending): Separate initial words of
18537 paragraph from @deftypefun line.
18538 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18539 "...".
18540 (vsyslog): Use @var{} on parameter names.
18541 * manual/terminal.texi (stty): Use @var{} on parameter names.
18542 * manual/users.texi (getutmp): Use @var{} on parameter names.
18543 (getutmpx): Likewise.
18544
18545 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18546
18547 [BZ #6884]
18548 * manual/stdio.texi (fopen): Fix typos in description of
18549 ",ccs=STRING".
18550
18551 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18552
18553 [BZ #4026]
18554 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18555 get clock_id definition.
18556
18557 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18558
18559 [BZ #4822]
18560 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18561 (madvise): Cast every argument to void on its own.
18562
18563 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18564
18565 [BZ #9902]
18566 * manual/startup.texi (Exit Status): Fix typo.
18567
18568 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18569
18570 [BZ #10140]
18571 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18572 * manual/examples/argp-ex2.c: Likewise.
18573 * manual/examples/argp-ex3.c: Likewise.
18574
18575 2012-02-16 Richard Henderson <rth@redhat.com>
18576
18577 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18578 * sysdeps/s390/s390-32/initfini.c: Remove.
18579 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18580 * sysdeps/s390/s390-64/initfini.c: Remove.
18581
18582 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18583
18584 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18585 compiler output for sysdeps/generic/initfini.c.
18586 * sysdeps/sh/elf/initfini.c: Remove file.
18587
18588 2012-02-16 David S. Miller <davem@davemloft.net>
18589
18590 [BZ #11494]
18591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18592
18593 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18594 * sysdeps/sparc/crti.S: New file.
18595 * sysdeps/sparc/crtn.S: New file.
18596 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18597 * sysdeps/sparc/sparc64/Makefile: Likewise.
18598
18599 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18600
18601 [BZ #3335]
18602 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18603
18604 2012-02-15 Roland McGrath <roland@hack.frob.com>
18605
18606 [BZ #4822]
18607 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18608
18609 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18610 (write, read, close): Likewise.
18611 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18612
18613 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18614
18615 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18616 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18617 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18618 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18619 <bits/signalfd.h>.
18620 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18622 bits/signalfd.h.
18623
18624 2012-02-14 Marek Polacek <polacek@redhat.com>
18625
18626 * sysdeps/x86_64/crti.S: New file.
18627 * sysdeps/x86_64/crtn.S: New file.
18628 * sysdeps/x86_64/elf/initfini.c: Remove file.
18629
18630 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18631
18632 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18633 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18634 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18635 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18636 <bits/inotify.h>.
18637 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18639 bits/inotify.h.
18640
18641 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18642
18643 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18644 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18645 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18646 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18647 <bits/eventfd.h>.
18648 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18650 bits/eventfd.h.
18651
18652 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18653
18654 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18655 __feraiseexcept instead of feraiseexcept.
18656
18657 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18658 nanosleep invocations.
18659 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18660 strings, and add error checking for a nanosleep invocations.
18661
18662 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18663
18664 Replace FSF snail mail address with URLs, as per GNU coding standards.
18665 Most of the snail mail addresses were wrong anyway, and omitting
18666 them makes the source code easier to maintain. Almost all of the
18667 changes are to license notices and to locale LC_IDENTIFICATION
18668 addresses, except for this one:
18669 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18670 not its snail mail address.
18671
18672 2012-02-09 Richard Henderson <rth@twiddle.net>
18673
18674 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18675 of kernel-features.h.
18676
18677 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18678
18679 2012-02-08 Marek Polacek <polacek@redhat.com>
18680
18681 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18682 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18683 * sysdeps/gnu/_G_config.h: Likewise.
18684 * sysdeps/generic/_G_config.h: Likewise.
18685
18686 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18687
18688 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18689 tests.
18690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18691
18692 * sysdeps/powerpc/powerpc32/crti.S: New file.
18693 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18694 * sysdeps/powerpc/powerpc64/crti.S: New file.
18695 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18696
18697 * Makeconfig (have-initfini): Don't set.
18698 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18699 * configure.in (nopic_initfini): Don't substitute.
18700 * config.h.in (HAVE_INITFINI): Don't #undef.
18701 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18702 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18703
18704 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18705
18706 Support crti.S and crtn.S provided directly by architectures.
18707 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18708 [crti.S in sysdirs] (omit-deps): Likewise.
18709 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18710 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18711 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18712 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18713 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18714 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18715 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18716 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18717 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18718 compiler output for sysdeps/generic/initfini.c.
18719 * sysdeps/i386/elf/Makefile: Remove file.
18720 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18721
18722 2012-02-07 Marek Polacek <polacek@redhat.com>
18723
18724 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18725 * sysdeps/gnu/_G_config.h: Likewise.
18726 * sysdeps/mach/hurd/_G_config.h: Likewise.
18727
18728 2012-02-07 Marek Polacek <polacek@redhat.com>
18729
18730 * math/Makefile (tests): Add tst-CMPLX2.
18731 * math/tst-CMPLX2.c: New file.
18732
18733 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18734
18735 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18736
18737 * math/libm-test.inc (jn_test): Add missing L suffix.
18738
18739 2012-02-06 Marek Polacek <polacek@redhat.com>
18740
18741 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18742 * sysdeps/i386/fpu/e_powf.S: Likewise.
18743 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18744 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18745 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18746 * sysdeps/i386/fpu/e_pow.S: Likewise.
18747 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18748 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18749 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18750 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18751 * sysdeps/i386/fpu/e_log2.S: Likewise.
18752 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18753 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18754 * sysdeps/i386/fpu/e_powl.S: Likewise.
18755 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18756 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18757 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18758 * sysdeps/i386/fpu/e_logl.S: Likewise.
18759 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18760 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18761 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18762 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18763 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18765 * sysdeps/i386/fpu/e_log.S: Likewise.
18766 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18767 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18768 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18769 * sysdeps/i386/fpu/e_logf.S: Likewise.
18770 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18771 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18772 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18773 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18774 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18775 * sysdeps/i386/fpu/e_log10.S: Likewise.
18776 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18777 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18778 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18779 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18780 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18781 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18782 * sysdeps/i386/asm-syntax.h: Likewise.
18783 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18785 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18786 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18787 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18788 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18789 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18790 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18791 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18792 * sysdeps/powerpc/sysdep.h: Likewise.
18793 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18795
18796 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18797
18798 [BZ #411]
18799 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18800
18801 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18802
18803 * sysdeps/i386/sysdep.h: Include <features.h>.
18804 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18805 version.
18806
18807 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18808
18809 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18810 Define.
18811 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18812 LOAD_PIC_REG_STR.
18813
18814 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18815
18816 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18817 (SETUP_PIC_REG): Use GET_PC_THUNK.
18818 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18819 macro.
18820
18821 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18822
18823 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18824 for non-PIC compilation.
18825 (SETUP_PIC_REG): Add .p2align directive.
18826 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18827 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18828 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18829 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18830 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18831 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18832 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18833 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18834 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18835 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18836 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18837 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18838 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18839 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18840 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18841 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18842 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18843 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18844 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18845 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18846 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18848 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18849 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18852 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18853 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18854 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18855 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18856 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18858 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18859 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18860 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18861 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18862 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18863 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18864 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18865 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18866 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18867
18868 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18869
18870 * math/tst-CMPLX.c: Include <stdio.h>.
18871
18872 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18873
18874 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18875 float.
18876 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18877 * sysdeps/sparc/bits/mathdef.h: Likewise.
18878
18879 2012-01-31 Marek Polacek <polacek@redhat.com>
18880
18881 * libio/libio.h: Don't define _PARAMS.
18882 * locale/programs/config.h: Don't define PARAMS.
18883 * stdlib/strtol_l.c: Likewise.
18884 (__strtol_l): Remove PARAMS from the prototype.
18885
18886 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18887
18888 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18889 names. Just use the correct names. Remove unnecessary wrapper
18890 functions.
18891 * malloc/arena.c: Likewise.
18892 * malloc/hooks.c: Likewise.
18893
18894 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18895 ARENA_TEST says not to. Simplify test for creation of a new arena.
18896 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18897
18898 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18899
18900 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18901 into tail calls.
18902 (update_get_addr): New function.
18903 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18904 GET_ADDR_MODULE parameter.
18905
18906 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18907
18908 * crypt/cert.c: Remove __STDC__ conditionals.
18909 * crypt/crypt-entry.c: Likewise.
18910 * crypt/crypt_util.c: Likewise.
18911 * libio/filedoalloc.c: Likewise.
18912 * libio/fileops.c: Likewise.
18913 * libio/genops.c: Likewise.
18914 * libio/iofclose.c: Likewise.
18915 * libio/iofdopen.c: Likewise.
18916 * libio/iofopen.c: Likewise.
18917 * libio/iofopen64.c: Likewise.
18918 * libio/iogetdelim.c: Likewise.
18919 * libio/iopopen.c: Likewise.
18920 * libio/obprintf.c: Likewise.
18921 * libio/oldfileops.c: Likewise.
18922 * libio/oldiofclose.c: Likewise.
18923 * libio/oldiofdopen.c: Likewise.
18924 * libio/oldiofopen.c: Likewise.
18925 * libio/oldiopopen.c: Likewise.
18926 * libio/wfiledoalloc.c: Likewise.
18927 * libio/wgenops.c: Likewise.
18928 * locale/programs/xmalloc.c: Likewise.
18929 * misc/syslog.c: Likewise.
18930 * stdio-common/xbug.c: Likewise.
18931 * string/memchr.c: Likewise.
18932 * string/memcmp.c: Likewise.
18933 * string/memrchr.c: Likewise.
18934 * string/rawmemchr.c: Likewise.
18935 * sysdeps/posix/getcwd.c: Likewise.
18936 * time/strftime_l.c: Likewise.
18937
18938 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18939
18940 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18941 * config.make.in (config-cflags-sse2avx): Define.
18942 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18943 Fix typo.
18944
18945 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18946
18947 * scripts/config.guess: Update from upstream config git repository.
18948 * scripts/config.sub: Likewise.
18949
18950 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18951
18952 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18953 (EM_NUM): Update.
18954 (R_TILEPRO_*, R_TILEGX_*): New macros.
18955
18956 * scripts/firstversions.awk: Fix bug in version range handling.
18957
18958 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18959
18960 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18961
18962 * include/sys/epoll.h: New file.
18963 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18964 libc_hidden_def.
18965
18966 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18967
18968 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18969 Avoid unnecessary __WORDSIZE == 64 test.
18970 (fmaxf): Use VEX format if possible.
18971 (fmax): Likewise.
18972 (fminf): Likewise.
18973 (fmin): Likewise.
18974
18975 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18976 * math/math_private.h: Remove libc_fegetround* and
18977 libc_fesetround*.
18978 * sysdeps/i386/configure.in: Check for -msse2avx.
18979 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18980 also if SSE2AVX is defined.
18981 Remove libc_fegetround* and libc_fesetround*.
18982 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18983 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18984 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18985 of HAS_YMM_USABLE.
18986 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18987 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18988 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18989 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18990 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18991
18992 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18993
18994 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18995
18996 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18997 size is not set.
18998 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18999
19000 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19001
19002 [BZ #13618]
19003 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19004 relocation.
19005 * Makeconfig (libm): Define.
19006 * elf/Makefile: Add rules to build and run tst-relsort1.
19007 * elf/tst-relsort1.c: New file.
19008 * elf/tst-relsort1mod1.c: New file.
19009 * elf/tst-relsort1mod2.c: New file.
19010
19011 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19012
19013 * math/s_ldexp.c: Remove __STDC__ conditionals.
19014 * math/s_ldexpf.c: Likewise.
19015 * math/s_ldexpl.c: Likewise.
19016 * math/s_nextafter.c: Likewise.
19017 * math/s_nexttowardf.c: Likewise.
19018 * math/s_significand.c: Likewise.
19019 * math/s_significandf.c: Likewise.
19020 * math/s_significandl.c: Likewise.
19021 * math/w_jnl.c: Likewise.
19022 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19023 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19024 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19025 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19026 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19043 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19044 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19045 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19046 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19047 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19048 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19049 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19050 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19051 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19052 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19053 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19054 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19055 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19056 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19057 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19058 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19059 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19060 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19061 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19062 * sysdeps/ieee754/k_standard.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19098 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19120 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19124 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19126 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19129 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19130 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19132 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19133 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19137 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19138 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19142 * sysdeps/ieee754/s_matherr.c: Likewise.
19143 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19144 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19145 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19147
19148 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19149
19150 * crypt/md5.h: Remove __STDC__ conditionals.
19151 * libio/libioP.h: Likewise.
19152 * locale/programs/config.h: Likewise.
19153 * sysdeps/generic/sysdep.h: Likewise.
19154 * sysdeps/i386/asm-syntax.h: Likewise.
19155 * sysdeps/s390/asm-syntax.h: Likewise.
19156 * sysdeps/unix/sysdep.h: Likewise.
19157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19159
19160 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19161
19162 * libio/libio.h: Remove __STDC__ conditionals.
19163 * malloc/obstack.h: Likewise.
19164 * math/complex.h: Likewise.
19165 * math/math.h: Likewise.
19166 * sysdeps/generic/_G_config.h: Likewise.
19167 * sysdeps/gnu/_G_config.h: Likewise.
19168 * sysdeps/mach/hurd/_G_config.h: Likewise.
19169 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19170 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19171 * sysdeps/sparc/bits/mathdef.h: Likewise.
19172
19173 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19174
19175 [BZ #13583]
19176 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19177 Clean up HAS_* macros.
19178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19179 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19180 possible.
19181 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19182 HAS_AVX.
19183 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19184 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19185 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19188
19189 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19190
19191 * elf/tst-unique3.cc (gets): Remove declaration.
19192 * elf/tst-unique3lib.cc (gets): Likewise.
19193 * elf/tst-unique3lib2.cc (gets): Likewise.
19194 * elf/tst-unique4.cc (gets): Likewise.
19195
19196 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19197
19198 * include/stdio.h: Add C++ protection. Add gets declarations and
19199 definitions.
19200 * debug/tst-chk1.c: Don't declare gets here.
19201 * stdio-common/tst-gets.c: Likewise.
19202
19203 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19204
19205 * posix/glob: Remove directory.
19206
19207 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19208
19209 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19210
19211 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19212
19213 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19214 of the non-standard EPFNOSUPPORT.
19215
19216 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19217
19218 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19219 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19220 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19221
19222 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19223
19224 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19225
19226 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19227
19228 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19229 transient errors.
19230 * nscd/grpcache.c (cache_addgr): Likewise.
19231 * nscd/hstcache.c (cache_addhst): Likewise.
19232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19233 * nscd/pwdcache.c (cache_addpw): Likewise.
19234 * nscd/servicescache.c (cache_addserv): Likewise.
19235
19236 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19237
19238 * malloc/malloc.c: Various cleanups.
19239 * malloc/hooks.c: Likewise.
19240
19241 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19242 * stdlib/bug-fmtmsg1.c: New file.
19243
19244 * stdlib/fmtmsg.c (init): Add missing unlock.
19245 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19246
19247 2012-01-12 Marek Polacek <polacek@redhat.com>
19248
19249 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19250 and _GNU_SOURCE.
19251
19252 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19253
19254 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19255 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19256 macro to ensure uniqueness of label name.
19257 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19258 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19259
19260 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19261
19262 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19263
19264 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19265 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19266 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19268
19269 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19270
19271 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19272
19273 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19274 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19275 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19276
19277 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19278
19279 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19280 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19281 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19283
19284 * math/bits/math-finite.h: Add ldexp support.
19285
19286 2012-01-10 Marek Polacek <polacek@redhat.com>
19287
19288 * locale/programs/localedef.h (show_archive_content): Add noreturn
19289 attribute.
19290
19291 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19292
19293 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19294
19295 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19296
19297 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19298
19299 * io/Makefile (headers): Add bits/poll2.h.
19300
19301 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19302
19303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19304 typo #include statement.
19305
19306 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19307
19308 * include/sys/cdefs.h: Define __attribute_alloc_size.
19309 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19310 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19311 * elf/pldd.c: Likewise.
19312 * iconv/iconv_charmap.c: Likewise.
19313 * iconv/iconvconfig.c: Likewise.
19314 * iconv/strtab.c: Likewise.
19315 * locale/programs/locale.c: Likewise.
19316 * locale/programs/localedef.h: Likewise.
19317 * locale/programs/simple-hash.c: Likewise.
19318 * nscd/nscd.h: Likewise.
19319 * nss/makedb.c: Likewise.
19320 * sysdeps/generic/ldconfig.h: Likewise.
19321 * locale/programs/localedef.c: Remove xmalloc prototype.
19322 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19323
19324 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19325
19326 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19327 appropriate.
19328
19329 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19330
19331 * math/Makefile (tests): Add tst-CMPLX.
19332 * math/tst-CMPLX.c: New file.
19333
19334 * math/complex.h (CMPLXL): Fix typo.
19335
19336 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19337 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19338 GLIBC_2.16.
19339 * debug/tst-chk1.c: Add poll and ppoll tests.
19340 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19341 * include/sys/poll.h: Add hidden proto for ppoll.
19342 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19343 * sysdeps/mach/hurd/ppoll.c: Likewise.
19344 * io/ppoll.c: Likewise.
19345 * debug/poll_chk.c: New file.
19346 * debug/ppoll_chk.c: New file.
19347 * include/bits/poll2.h: New file.
19348 * io/bits/poll2.h: New file.
19349
19350 [BZ #1350]
19351 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19352
19353 * configure.in: static is always set to yes. Remove.
19354 * config.make.in: Don't set build-static.
19355 * Makeconfig: Remove use of build-static.
19356 * dlfcn/Makefile: Likewise.
19357 * elf/Makefile: Likewise.
19358 * math/Makefile: Likewise.
19359 * misc/Makefile: Likewise.
19360 * nptl/Makefile: Likewise.
19361 * sysdeps/mach/hurd/Makefile: Likewise.
19362
19363 * configure.in: PWD_P is not used anymore.
19364 * config.make.in: Remove PWD_P entry.
19365
19366 * configure.in: Remove last remnants of RANLIB.
19367 No need to check for signed size_t anymore.
19368 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19369 and IA-64.
19370 Remove __builtin_expect test because we require at least gcc 3.4.
19371 * aclocal.m4: Likewise.
19372
19373 * wcsmbs/mbrtoc16.c: Implement using towc function.
19374 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19375 * wcsmbs/wcsmbsload.c: Likewise.
19376 * iconv/gconv_simple.c: Likewise.
19377 * iconv/gconv_int.h: Likewise.
19378 * iconv/gconv_builtin.h: Likewise.
19379 * iconv/iconv_prog.c: Remove CHAR16 handling.
19380
19381 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19382
19383 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19384
19385 * configure.in: Remove --with-elf and --enable-bounded options.
19386 Dont set base_machine for ia64. More non-ELF conditions removed.
19387 Remove testing and setting of leading underscore information.
19388 * config.make.in (build-bounded): Set to no.
19389 * config.h.in: Remove NO_UNDERSCORES entry.
19390 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19391 them.
19392 * csu/start.c: Remove !NO_UNDERSCORE code.
19393 * locale/localeinfo.h: Likewise.
19394 * sysdeps/generic/machine-gmon.h: Likewise.
19395 * sysdeps/generic/sysdep.h: Likewise.
19396 * sysdeps/i386/sysdep.h: Likewise.
19397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19398 * sysdeps/mach/sysdep.h: Likewise.
19399 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19401 * sysdeps/sh/sysdep.h: Likewise.
19402 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19403 * sysdeps/unix/i386/sysdep.S: Likewise.
19404 * sysdeps/unix/sparc/start.c: Likewise.
19405 * sysdeps/unix/sparc/sysdep.S: Likewise.
19406 * sysdeps/unix/sparc/sysdep.h: Likewise.
19407 * sysdeps/unix/start.c: Likewise.
19408 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19409 * sysdeps/x86_64/sysdep.h: Likewise.
19410
19411 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19412
19413 [BZ #13553]
19414 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19415 for non-gcc.
19416 * argp/argp-fmtstream.h: Use const instead __const.
19417 * argp/argp.h: Likewise.
19418 * assert/assert.h: Likewise.
19419 * bits/fenv.h: Likewise.
19420 * bits/sched.h: Likewise.
19421 * bits/sigset.h: Likewise.
19422 * bits/sigthread.h: Likewise.
19423 * catgets/nl_types.h: Likewise.
19424 * conform/data/pthread.h-data: Likewise.
19425 * crypt/crypt-private.h: Likewise.
19426 * crypt/crypt.h: Likewise.
19427 * crypt/crypt_util.c: Likewise.
19428 * ctype/ctype.h: Likewise.
19429 * debug/execinfo.h: Likewise.
19430 * debug/mbsnrtowcs_chk.c: Likewise.
19431 * debug/mbsrtowcs_chk.c: Likewise.
19432 * debug/wcsnrtombs_chk.c: Likewise.
19433 * debug/wcsrtombs_chk.c: Likewise.
19434 * debug/wcstombs_chk.c: Likewise.
19435 * dirent/dirent.h: Likewise.
19436 * dlfcn/dlfcn.h: Likewise.
19437 * elf/neededtest4.c: Likewise.
19438 * grp/grp.h: Likewise.
19439 * gshadow/gshadow.h: Likewise.
19440 * iconv/gconv.h: Likewise.
19441 * iconv/gconv_int.h: Likewise.
19442 * iconv/gconv_simple.c: Likewise.
19443 * iconv/iconv.h: Likewise.
19444 * iconv/loop.c: Likewise.
19445 * iconv/skeleton.c: Likewise.
19446 * include/aio.h: Likewise.
19447 * include/aliases.h: Likewise.
19448 * include/argz.h: Likewise.
19449 * include/arpa/inet.h: Likewise.
19450 * include/assert.h: Likewise.
19451 * include/dirent.h: Likewise.
19452 * include/dlfcn.h: Likewise.
19453 * include/execinfo.h: Likewise.
19454 * include/fcntl.h: Likewise.
19455 * include/fenv.h: Likewise.
19456 * include/glob.h: Likewise.
19457 * include/grp.h: Likewise.
19458 * include/libintl.h: Likewise.
19459 * include/mntent.h: Likewise.
19460 * include/netdb.h: Likewise.
19461 * include/pwd.h: Likewise.
19462 * include/rpc/netdb.h: Likewise.
19463 * include/sched.h: Likewise.
19464 * include/search.h: Likewise.
19465 * include/shadow.h: Likewise.
19466 * include/signal.h: Likewise.
19467 * include/stdio.h: Likewise.
19468 * include/stdlib.h: Likewise.
19469 * include/string.h: Likewise.
19470 * include/sys/socket.h: Likewise.
19471 * include/sys/stat.h: Likewise.
19472 * include/sys/statfs.h: Likewise.
19473 * include/sys/statvfs.h: Likewise.
19474 * include/sys/syslog.h: Likewise.
19475 * include/sys/time.h: Likewise.
19476 * include/sys/uio.h: Likewise.
19477 * include/time.h: Likewise.
19478 * include/unistd.h: Likewise.
19479 * include/utmp.h: Likewise.
19480 * include/wchar.h: Likewise.
19481 * include/wctype.h: Likewise.
19482 * inet/aliases.h: Likewise.
19483 * inet/arpa/inet.h: Likewise.
19484 * inet/netinet/ether.h: Likewise.
19485 * inet/netinet/in.h: Likewise.
19486 * intl/libintl.h: Likewise.
19487 * io/bits/fcntl2.h: Likewise.
19488 * io/fcntl.h: Likewise.
19489 * io/ftw.h: Likewise.
19490 * io/sys/poll.h: Likewise.
19491 * io/sys/stat.h: Likewise.
19492 * io/sys/statfs.h: Likewise.
19493 * io/sys/statvfs.h: Likewise.
19494 * io/utime.h: Likewise.
19495 * libio/bits/stdio.h: Likewise.
19496 * libio/bits/stdio2.h: Likewise.
19497 * libio/libio.h: Likewise.
19498 * libio/libioP.h: Likewise.
19499 * libio/stdio.h: Likewise.
19500 * locale/lc-ctype.c: Likewise.
19501 * locale/locale.h: Likewise.
19502 * login/utmp.h: Likewise.
19503 * malloc/arena.c: Likewise.
19504 * malloc/malloc.c: Likewise.
19505 * malloc/malloc.h: Likewise.
19506 * malloc/mcheck.c: Likewise.
19507 * malloc/mtrace.c: Likewise.
19508 * math/bits/mathcalls.h: Likewise.
19509 * math/fenv.h: Likewise.
19510 * math/math_private.h: Likewise.
19511 * misc/bits/error.h: Likewise.
19512 * misc/bits/syslog.h: Likewise.
19513 * misc/err.h: Likewise.
19514 * misc/error.h: Likewise.
19515 * misc/fstab.h: Likewise.
19516 * misc/mntent.h: Likewise.
19517 * misc/regexp.h: Likewise.
19518 * misc/search.h: Likewise.
19519 * misc/sgtty.h: Likewise.
19520 * misc/sys/mman.h: Likewise.
19521 * misc/sys/syslog.h: Likewise.
19522 * misc/sys/uio.h: Likewise.
19523 * misc/sys/xattr.h: Likewise.
19524 * misc/ttyent.h: Likewise.
19525 * nis/rpcsvc/ypclnt.h: Likewise.
19526 * nss/nss.h: Likewise.
19527 * posix/bits/unistd.h: Likewise.
19528 * posix/fnmatch.h: Likewise.
19529 * posix/glob.h: Likewise.
19530 * posix/sched.h: Likewise.
19531 * posix/spawn.h: Likewise.
19532 * posix/sys/wait.h: Likewise.
19533 * posix/unistd.h: Likewise.
19534 * posix/wordexp.h: Likewise.
19535 * pwd/pwd.h: Likewise.
19536 * resolv/netdb.h: Likewise.
19537 * resource/sys/resource.h: Likewise.
19538 * rt/aio.h: Likewise.
19539 * rt/bits/mqueue2.h: Likewise.
19540 * rt/mqueue.h: Likewise.
19541 * shadow/shadow.h: Likewise.
19542 * signal/signal.h: Likewise.
19543 * socket/send.c: Likewise.
19544 * socket/sendto.c: Likewise.
19545 * socket/sys/socket.h: Likewise.
19546 * stdio-common/printf.h: Likewise.
19547 * stdlib/bits/stdlib.h: Likewise.
19548 * stdlib/fmtmsg.h: Likewise.
19549 * stdlib/monetary.h: Likewise.
19550 * stdlib/stdlib.h: Likewise.
19551 * stdlib/ucontext.h: Likewise.
19552 * streams/stropts.h: Likewise.
19553 * string/argz.h: Likewise.
19554 * string/bits/string2.h: Likewise.
19555 * string/string.h: Likewise.
19556 * string/strings.h: Likewise.
19557 * sunrpc/rpc/auth.h: Likewise.
19558 * sunrpc/rpc/auth_des.h: Likewise.
19559 * sunrpc/rpc/clnt.h: Likewise.
19560 * sunrpc/rpc/netdb.h: Likewise.
19561 * sunrpc/rpc/pmap_clnt.h: Likewise.
19562 * sunrpc/rpc/xdr.h: Likewise.
19563 * sysdeps/generic/inttypes.h: Likewise.
19564 * sysdeps/generic/net/if.h: Likewise.
19565 * sysdeps/generic/sys/swap.h: Likewise.
19566 * sysdeps/gnu/net/if.h: Likewise.
19567 * sysdeps/gnu/utmpx.h: Likewise.
19568 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19569 * sysdeps/i386/i486/bits/string.h: Likewise.
19570 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19571 * sysdeps/s390/bits/string.h: Likewise.
19572 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19573 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19574 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19575 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19576 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19577 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19578 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19579 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19580 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19581 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19582 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19583 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19584 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19585 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19586 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19587 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19588 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19591 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19592 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19593 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19594 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19595 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19596 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19597 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19598 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19599 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19600 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19601 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19602 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19603 * sysvipc/sys/ipc.h: Likewise.
19604 * sysvipc/sys/msg.h: Likewise.
19605 * sysvipc/sys/sem.h: Likewise.
19606 * sysvipc/sys/shm.h: Likewise.
19607 * termios/termios.h: Likewise.
19608 * time/sys/time.h: Likewise.
19609 * time/time.h: Likewise.
19610 * wcsmbs/bits/wchar2.h: Likewise.
19611 * wcsmbs/uchar.h: Likewise.
19612 * wcsmbs/wchar.h: Likewise.
19613 * wctype/wctype.h: Likewise.
19614
19615 [BZ #13551]
19616 * Makeconfig: Remove all but ELF support including AIX support.
19617 * Makerules: Likewise.
19618 * config.h.in: Likewise.
19619 * config.make.in: Likewise.
19620 * configure: Likewise.
19621 * configure.in: Likewise.
19622 * csu/Makefile: Likewise.
19623 * csu/version.c: Likewise.
19624 * debug/Makefile: Likewise.
19625 * dlfcn/Makefile: Likewise.
19626 * elf/Makefile: Likewise.
19627 * extra-lib.mk: Likewise.
19628 * iconv/Makefile: Likewise.
19629 * include/libc-symbols.h: Likewise.
19630 * include/shlib-compat.h: Likewise.
19631 * resolv/Makefile: Likewise.
19632 * resolv/res_libc.c: Likewise.
19633 * rt/Makefile: Likewise.
19634 * sysdeps/i386/asm-syntax.h: Likewise.
19635 * sysdeps/i386/sysdep.h: Likewise.
19636 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19637 * sysdeps/mach/sysdep.h: Likewise.
19638 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19639 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19640 * sysdeps/s390/asm-syntax.h: Likewise.
19641 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19642 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19643 * sysdeps/sh/sysdep.h: Likewise.
19644 * sysdeps/unix/sparc/sysdep.h: Likewise.
19645 * sysdeps/wordsize-32/divdi3.c: Likewise.
19646 * sysdeps/x86_64/sysdep.h: Likewise.
19647
19648 * argp/Versions: Remove _argp_unlock_xxx.
19649
19650 [BZ #13559]
19651 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19652 * abilist/libBrokenLocale.abilist: Likewise.
19653 * abilist/libanl.abilist: Likewise.
19654 * abilist/libc.abilist: Likewise.
19655 * abilist/libcrypt.abilist: Likewise.
19656 * abilist/libdl.abilist: Likewise.
19657 * abilist/libm.abilist: Likewise.
19658 * abilist/libnsl.abilist: Likewise.
19659 * abilist/libpthread.abilist: Likewise.
19660 * abilist/libresolv.abilist: Likewise.
19661 * abilist/librt.abilist: Likewise.
19662 * abilist/libthread_db.abilist: Likewise.
19663 * abilist/libutil.abilist: Likewise.
19664 * abilist/libnss_db.abilist: New file.
19665
19666 * scripts/abilist.awk: Add support for indirect functions.
19667
19668 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19669
19670 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19671
19672 * shlib-versions: Remove entries for ports architectures.
19673
19674 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19675 files in ports.
19676 * elf/stackguard-macros.h: Remove support for IA-64.
19677 * elf/tst-auditmod1.c: Likewise.
19678 * sysdeps/generic/ldsodefs.h: Likewise.
19679
19680 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19681 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19682 configure files.
19683
19684 [BZ #13552]
19685 * configure.in: Remove --enable-omitfp support.
19686 * FAQ.in: Adjust.
19687 * config.make.in: Likewise.
19688 * Makeconfig: Likewise.
19689 * manual/install.texi: Likewise.
19690
19691 In case anyone cares, the IA-64 architecture could move to ports.
19692 * sysdeps/ia64/*: Removed.
19693 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19694 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19695
19696 [BZ #13555]
19697 * configure.in: Remove entries for unsupported architectures.
19698
19699 [BZ #13533]
19700 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19701 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19702 routines.
19703 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19704 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19705 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19706 fall back to using wcrtomb.
19707 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19708 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19709 renaming.
19710 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19711 * wcsmbs/tst-c16c32-1.c: New file.
19712
19713 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19714 local variable.
19715
19716 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19717
19718 * elf/tst-unique3.cc: Add explicit declaration of gets.
19719 * elf/tst-unique3lib.cc: Likewise.
19720 * elf/tst-unique3lib2.cc: Likewise.
19721 * elf/tst-unique4.cc: Likewise.
19722
19723 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19724
19725 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19726
19727 [BZ #13566]
19728 * assert/assert.h (static_assert): Don't define for C++.
19729 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19730 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19731
19732 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19733
19734 * iconv/loop.c (single loop): Fix assertion in storing of
19735 remaining bytes.
19736
19737 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19738
19739 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19740
19741 * posix/getconf.c: Update copyright year.
19742 * nss/getent.c: Likewise.
19743 * nss/makedb.c: Likewise.
19744 * iconv/iconvconfig.c: Likewise.
19745 * iconv/iconv_prog.c: Likewise.
19746 * elf/ldconfig.c: Likewise.
19747 * elf/pldd.c: Likewise.
19748 * elf/sotruss.ksh: Likewise.
19749 * catgets/gencat.c: Likewise.
19750 * csu/version.c: Likewise.
19751 * elf/ldd.bash.in: Likewise.
19752 * elf/sprof.c (print_version): Likewise.
19753 * locale/programs/locale.c: Likewise.
19754 * locale/programs/localedef.c: Likewise.
19755 * login/programs/pt_chown.c: Likewise.
19756 * nscd/nscd.c (print_version): Likewise.
19757 * debug/xtrace.sh: Likewise.
19758 * malloc/memusage.sh: Likewise.
19759 * malloc/mtrace.pl: Likewise.
19760 * debug/catchsegv.sh: Likewise.
19761
19762 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19763
19764 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19765 pure attribute.
19766
19767 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19768
19769 [BZ #13533]
19770 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19771 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19772 transformations.
19773 * iconv/gconv_int.h: Likewise.
19774 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19775 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19776 from libc for GLIBC_2.16.
19777 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19778 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19779 * wcsmbs/uchar.h: Really define mbstate_t.
19780 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19781 * wcsmbs/c16rtomb.c: New file.
19782 * wcsmbs/mbrtoc16.c: New file.
19783 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19784 for C/POSIX locale.
19785 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19786 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19787
19788 * wcsmbs/wchar.h: Add missing __restrict.
19789
19790 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19791
19792 [BZ #13532]
19793 * time/Makefile (routines): Add timespec_get.
19794 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19795 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19796 timespec for ISO C11.
19797 * time/timespec_get.c: New file.
19798 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19799 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19800
19801 [BZ #13531]
19802 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19803 * stdlib/stdlib.h: Declare aligned_alloc.
19804 * Versions.def: Add GLIBC_2.16 for libc.
19805 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19806
19807 [BZ 13527]
19808 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19809 ISO C11.
19810
19811 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19812 code.
19813
19814 [BZ #13528]
19815 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19816
19817 [BZ #13529]
19818 * assert/assert.h (static_assert): Define.
19819
19820 * version.h: Update for 2.16 development version.
19821
19822 [BZ #13526]
19823 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19824 _ISOC11_SOURCE.
19825
19826 * version.h (RELEASE): Bump for 2.15 release.
19827 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19828
19829 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19830 Patch by Marek Polacek <mpolacek@redhat.com>.
19831
19832 * bits/byteswap.h: Protect long long constants with __extension__.
19833 * sysdeps/i386/bits/byteswap.h: Likewise.
19834 * sysdeps/ia64/bits/byteswap.h: Likewise.
19835 * sysdeps/s390/bits/byteswap.h: Likewise.
19836 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19837
19838 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19839
19840 [BZ #13540]
19841 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19842 destination buffer.
19843 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19844
19845 2011-12-23 Marek Polacek <polacek@redhat.com>
19846
19847 * elf/dl-addr.c (determine_info): Add inline keyword.
19848 * elf/tst-auditmod4b.c (check_avx): Likewise.
19849 * elf/tst-auditmod6b.c (check_avx): Likewise.
19850 * elf/tst-auditmod6c.c (check_avx): Likewise.
19851 * elf/tst-auditmod7b.c (check_avx): Likewise.
19852
19853 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19854
19855 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19856 !__SSE_MATH__.
19857
19858 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19859
19860 [BZ #13540]
19861 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19862 processing for last bytes.
19863
19864 2011-08-06 Bruno Haible <bruno@clisp.org>
19865
19866 [BZ #13061]
19867 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19868 U+0385, not to U+1FEE.
19869
19870 [BZ #13062]
19871 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19872 entry for U+00A5 U+0301.
19873
19874 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19875
19876 [BZ #13166]
19877 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19878 buffer for the output is too small.
19879
19880 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19881 optimization.
19882
19883 [BZ #13185]
19884 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19885 SSE flags if possible.
19886
19887 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19888
19889 [BZ #13540]
19890 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19891 processing for last bytes.
19892
19893 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19894
19895 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19896 (syscall-list-default-options, syscall-list-default-condition)
19897 (syscall-list-includes): Define.
19898 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19899 list of ABIs and options and #if conditions for each ABI. Do not
19900 handle common syscalls between ABIs specially.
19901 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19902 Remove.
19903 (syscall-list-variants, syscall-list-32bit-options)
19904 (syscall-list-32bit-condition, syscall-list-64bit-options)
19905 (syscall-list-64bit-condition): Define.
19906 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19907 (syscall-list-variants, syscall-list-32bit-options)
19908 (syscall-list-32bit-condition, syscall-list-64bit-options)
19909 (syscall-list-64bit-condition): Define.
19910 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19911 Remove.
19912 (syscall-list-variants, syscall-list-32bit-options)
19913 (syscall-list-32bit-condition, syscall-list-64bit-options)
19914 (syscall-list-64bit-condition): Define.
19915 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19916 Remove.
19917 (syscall-list-variants, syscall-list-32bit-options)
19918 (syscall-list-32bit-condition, syscall-list-64bit-options)
19919 (syscall-list-64bit-condition): Define.
19920
19921 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19922
19923 * locale/iso-639.def: Add brx entry.
19924
19925 [BZ #13328]
19926 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19927 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19928
19929 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19930 __feraiseexcept_renamed.
19931
19932 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19933
19934 [BZ #13538]
19935 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19936 EPOLLET with unsigned values.
19937 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19938 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19939
19940 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19941 to large cancellation.
19942 * math/s_cacoshf.c: Likewise.
19943 * math/s_cacoshl.c: Likewise.
19944
19945 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19946
19947 [BZ #13305]
19948 [BZ #12786]
19949 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19950 * math/s_cacoshf.c: Likewise.
19951 * math/s_cacoshl.c: Likewise.
19952
19953 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19954
19955 [BZ #13439]
19956 * iconv/gconv.h: Define __GCONV_SWAP.
19957 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19958 * iconvdata/utf-16.c: Likewise.
19959 * iconvdata/utf-32.c: Likewise.
19960
19961 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19962
19963 [BZ #13524]
19964 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19965 numerator after shifting it by one limb.
19966
19967 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19968
19969 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19970 under [__USE_EXTERN_INLINES].
19971
19972 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19973
19974 [BZ #13446]
19975 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19976
19977 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19978
19979 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19980 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19981 optimized code.
19982 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19983 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19984 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19985 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19986 for strncasecmp/strncasecmp_l compilation.
19987 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19988 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19989
19990 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19991
19992 [BZ #13484]
19993 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19994 of __asm__.
19995
19996 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19997
19998 [BZ #13506]
19999 * time/tzfile.c (__tzfile_read): Check values from file header.
20000
20001 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20002
20003 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20004 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20005 * powerpc/powerpc32/dl-start.S: Likewise.
20006 * powerpc/powerpc32/elf/start.S: Likewise.
20007 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20008 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20009 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20010 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20011 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20012 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20013 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20014 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20015 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20016 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20017 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20018 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20019 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20020 * powerpc/powerpc32/memset.S: Likewise.
20021 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20022 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20023 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20024 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20025 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20026 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20027 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20028 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20029 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20030 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20031 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20032 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20033 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20034
20035 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20036
20037 * math/libm-test.inc: Added more nearbyint tests.
20038 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20039 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20042
20043 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20044
20045 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20046 FD_CLOEXEC.
20047
20048 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20049
20050 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20051 Add wcscpy-ssse3 wcscpy-c.
20052 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20053 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20054 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20055 * sysdeps/x86_64/wcschr.S: New file.
20056 * sysdeps/x86_64/wcsrchr.S: New file.
20057 * string/test-strcmp.c: Remove checking of wcscmp function for
20058 wrong alignments.
20059 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20060 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20061 wcsrchr-sse2 wcsrchr-c.
20062 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20063 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20064 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20065 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20066 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20067 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20068 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20069 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20070 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20071 * wcsmbc/wcschr.c (WCSCHR): New macro.
20072
20073 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20074
20075 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20076 * wcsmbs/test-wcsrchr.c: New file.
20077 * string/test-strrchr.c: Add wcsrchr support.
20078 (WIDE): New macro.
20079 * wcsmbs/test-wcscpy.c: New file.
20080 * string/test-strcpy.c: Add wcscpy support.
20081 (WIDE): New macro.
20082
20083 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20084
20085 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20086 the inner loop.
20087
20088 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20089
20090 [BZ #13472]
20091 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20092
20093 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20094
20095 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20096 Minor optimizations.
20097
20098 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20099 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20100 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20101
20102 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20103
20104 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20105 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20106 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20107 for gcc to avoid warnings.
20108 * inet/Makefile (tests): Add tst-checks.
20109 * inet/tst-checks.c: New file.
20110
20111 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20112 warning.
20113
20114 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20115 __wmemcmp_sse2.
20116
20117 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20118 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20119
20120 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20121
20122 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20123
20124 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20125 problem.
20126
20127 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20128
20129 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20130
20131 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20132 conditional on GCC version.
20133 (__arch_compare_and_exchange_val_8_acq)
20134 (__arch_compare_and_exchange_val_16_acq)
20135 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20136 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20137 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20138
20139 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20140
20141 * sysdeps/sh/backtrace.c: New file.
20142
20143 2011-12-02 Andreas Schwab <schwab@redhat.com>
20144
20145 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20146 parenthesis.
20147
20148 2011-12-01 Andreas Schwab <schwab@redhat.com>
20149
20150 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20151 falling back to utime.
20152
20153 2011-11-30 Andreas Schwab <schwab@redhat.com>
20154
20155 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20156 expectations for float.
20157
20158 2011-11-29 Andreas Schwab <schwab@redhat.com>
20159
20160 * locale/weight.h (findidx): Add parameter len.
20161 * locale/weightwc.h (findidx): Likewise.
20162 * posix/fnmatch_loop.c (FCT): Adjust caller.
20163 * posix/regcomp.c (build_equiv_class): Likewise.
20164 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20165 * posix/regexec.c (check_node_accept_bytes): Likewise.
20166 * string/strcoll_l.c (STRCOLL): Likewise.
20167 * string/strxfrm_l.c (STRXFRM): Likewise.
20168
20169 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20170
20171 * Makefile.in: Remove CVSOPT handling.
20172 * configure.in: Remove use of AC_REVISION.
20173 * iconvdata/Makefile (distribute): No need to filter out CVS.
20174 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20175 handling.
20176
20177 2011-11-16 Andreas Schwab <schwab@redhat.com>
20178
20179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20180 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20181 [USE_AS_STRNCASECMP_L]: Likewise.
20182 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20183 NO_TLS_DIRECT_SEG_REFS.
20184 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20185 Fix argument offsets for non-PIC.
20186 [USE_AS_STRNCASECMP_L]: Likewise.
20187 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20188 NO_TLS_DIRECT_SEG_REFS.
20189
20190 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20191
20192 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20193 O_CLOEXEC.
20194 * locale/loadlocale.c (_nl_load_locale): Likewise.
20195
20196 2011-11-15 Andreas Schwab <schwab@redhat.com>
20197
20198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20199 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20200 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20201 (SYSCALL_GETTIME): Set errno on error.
20202
20203 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20204 count references to noai6ai_cached.
20205
20206 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20207
20208 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20209
20210 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20211 FD_CLOEXEC for /proc/self/maps.
20212
20213 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20214 FD_CLOEXEC for /proc/meminfo.
20215
20216 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20217 gai.conf.
20218
20219 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20220 FD_CLOEXEC for given file.
20221
20222 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20223
20224 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20225 FD_CLOEXEC for /etc/hosts.
20226 (_gethtent): Likewise.
20227
20228 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20229
20230 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20231 cancellation and set FD_CLOEXEC for /etc/netgroup.
20232
20233 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20234 reading /etc/publickey.
20235
20236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20237 allow cancellation when reading /etc/group.
20238
20239 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20240 cancellation.
20241 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20242
20243 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20244 when using data file.
20245
20246 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20247
20248 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20249 (write_nis_obj): Use "c" and "e" in fopen.
20250
20251 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20252
20253 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20254
20255 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20256
20257 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20258
20259 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20260 locale.alias.
20261
20262 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20263
20264 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20265
20266 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20267
20268 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20269 file parsing and set FD_CLOEXEC.
20270
20271 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20272
20273 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20274
20275 2011-11-14 Andreas Schwab <schwab@redhat.com>
20276
20277 * malloc/arena.c (arena_get2): Don't call reused_arena when
20278 _int_new_arena failed.
20279
20280 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20281
20282 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20283 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20284 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20285 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20286 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20287 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20288 to compile strcasecmp and strncasecmp.
20289 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20290 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20291
20292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20293
20294 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20295
20296 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20297 locale-defines.sym to gen-as-const-headers.
20298 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20299 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20301 to compile strcasecmp and strncasecmp.
20302 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20303 strcasecmp_l and strncasecmp_l.
20304 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20305 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20306 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20307 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20308 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20309 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20310 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20311 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20312 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20313 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20314 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20315
20316 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20317
20318 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20319 result of SYSDEP_GETTIME_CPU to retval.
20320 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20321 parameter list to macro. Remove trailing semicolon. Adjust users.
20322
20323 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20324 variable.
20325
20326 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20327 mantissa words.
20328 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20329
20330 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20331 from unused variable.
20332
20333 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20334 DWARF definitions.
20335 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20336 for assembling.
20337
20338 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20339 over namespaces.
20340
20341 * sunrpc/rpc_prot.c (rejected): Fix case value.
20342
20343 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20344 unsigned long long int to avoid warnings in shift.
20345
20346 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20347 of use of trans.
20348 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20349 variable tmp.
20350
20351 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20352 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20353 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20354
20355 * nis/nis_table.c (nis_list): Use variable of correct type for
20356 result of __follow_path call.
20357
20358 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20359
20360 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20361 of math functions ceil, trunc, floor, round, and sqrt, when
20362 avaliable on the platform.
20363 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20364 name clash.
20365 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20366 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20367 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20368
20369 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20370
20371 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20372 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20373
20374 2011-11-11 Roland McGrath <roland@hack.frob.com>
20375
20376 * include/unistd.h: Fix __readlink return type.
20377 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20378
20379 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20380
20381 * stdlib/ucontext.h: Undo last change for makecontext.
20382
20383 2011-11-11 Andreas Schwab <schwab@redhat.com>
20384
20385 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20386
20387 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20388 * setjmp/setjmp.h: Mark functions as non-leaf.
20389 * setjmp/bits/setjmp2.h: Likewise.
20390 * stdlib/ucontext.h: Likewise.
20391
20392 2011-11-10 Andreas Schwab <schwab@redhat.com>
20393
20394 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20395 (reused_arena): Don't check arena limit.
20396 (arena_get2): Atomically check arena limit.
20397
20398 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20399
20400 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20401 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20402
20403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20404 instructions.
20405
20406 2011-11-07 Andreas Schwab <schwab@redhat.com>
20407
20408 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20409 handler when locking.
20410
20411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20412 Fix size of allocated buffer.
20413
20414 2011-11-04 Andreas Schwab <schwab@redhat.com>
20415
20416 [BZ #10103]
20417 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20418 declarations for long double functions.
20419 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20420
20421 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20422
20423 2011-11-03 Andreas Schwab <schwab@redhat.com>
20424
20425 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20426 installed.
20427
20428 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20429 is disabled.
20430
20431 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20432
20433 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20434
20435 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20436
20437 * include/alloca.h (stackinfo_alloca_round): Define.
20438 (extend_alloca): Use it.
20439 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20440 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20441 here.
20442
20443 * scripts/check-local-headers.sh: Ignore libaudit.h.
20444
20445 * nscd/Makefile (extra-objs): Make recursively expanded.
20446
20447 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20448
20449 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20450 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20451
20452 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20453 * posix/tst-rfc3484-2.c: Likewise.
20454 * posix/tst-rfc3484-3.c: Likewise.
20455
20456 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20457 process_vm_writev.
20458 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20459 process_vm_writev.
20460 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20461 process_vm_writev from libc using GLIBC_2.15 version.
20462
20463 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20464
20465 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20466
20467 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20468 stack usage.
20469
20470 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20471
20472 [BZ #13367]
20473 * nss/getent.c (initgroups_keys): Show error message in case no group
20474 names are given.
20475
20476 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20477 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20478 __bump_nl_timestamp.
20479 * nscd/connections (nscd_init): When host database is served open
20480 netlink socket and request notification about configuration changes.
20481 (main_loop_poll): Track netlink file descriptor and bump timestamp
20482 in case data becomes available.
20483 (main_loop_epoll): Likewise.
20484 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20485 (database_pers_head): Add extra_data fileds.
20486 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20487 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20488 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20489 Adjust caller.
20490 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20491 in6ai data, call __free_in6ai.
20492 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20493 Add -DHAVE_NETLINK.
20494 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20495 interface information. Reuse previous data if netlink timestamp
20496 is not changed.
20497 (__bump_nl_timestamp): New function.
20498 (__free_in6ai): New function.
20499
20500 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20501
20502 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20503 close_not_cancel_no_status here.
20504 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20505
20506 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20507
20508 [BZ #13276]
20509 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20510 return value.
20511
20512 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20513 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20514 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20515
20516 2011-07-03 Andreas Jaeger <aj@suse.de>
20517
20518 [BZ #10709]
20519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20520 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20521 * math/libm-test.inc (sin_test): Add test case.
20522
20523 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20524
20525 [BZ #13337]
20526 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20527 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20528
20529 * elf/chroot_canon.c (chroot_canon): Cleanups.
20530
20531 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20532
20533 [BZ #13335]
20534 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20535 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20536
20537 * string/test-strchr.c: Make usable for strchrnul testing.
20538 * string/test-strchrnul.c: New file.
20539 * string/Makefile (strop-tests): Add strchrnul.
20540
20541 * po/it.po: Update from translation team.
20542 * po/es.po: Likewise.
20543
20544 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20545
20546 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20547 the three constants needed as parameters. Drop the others.
20548 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20549 __m128i_strloadu_tolower.
20550 Create and initialize variable zero and use it in all the places
20551 where _mm_setzero_si128 was used.
20552
20553 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20554 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20555 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20556 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20557 anymore.
20558 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20559 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20560 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20561 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20562 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20563 __mpranred, __mptan.
20564 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20565 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20566 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20567 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20568 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20569 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20571 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20572 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20573
20574 2011-10-28 Andreas Schwab <schwab@redhat.com>
20575
20576 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20577 redefine if SHARED.
20578 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20579
20580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20581 wide char related routines to wcsmbs subdir.
20582
20583 2011-10-27 Andreas Schwab <schwab@redhat.com>
20584
20585 [BZ #13344]
20586 * misc/sys/cdefs.h (__THROWNL): Define.
20587 * posix/unistd.h: Use __THREADNL instead of __THREAD
20588 for memory synchronization functions.
20589
20590 2011-10-26 Roland McGrath <roland@hack.frob.com>
20591
20592 [BZ #13349]
20593 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20594 doesn't exist.
20595 * manual/stdio.texi (Obstack Streams): Node removed.
20596
20597 2011-10-26 Andreas Schwab <schwab@redhat.com>
20598
20599 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20600 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20602
20603 * math/math_private.h (math_force_eval): Allow non-addressable
20604 arguments.
20605 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20606
20607 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20608
20609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20610 file is not needed.
20611
20612 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20613 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20614 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20615 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20616 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20617 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20618 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20619 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20620 Add AVX variants.
20621 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20622 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20623 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20624 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20625 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20626 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20627 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20628 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20629 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20630 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20631 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20632 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20633 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20634 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20635 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20636 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20637 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20639 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20640
20641 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20642 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20643
20644 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20645 place. Use VEX encoding when compiling for AVX.
20646
20647 2011-10-25 Andreas Schwab <schwab@redhat.com>
20648
20649 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20650 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20651
20652 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20653
20654 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20655
20656 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20657 useless if() expression.
20658 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20659 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20660 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20661 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20662 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20663 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20664 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20666 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20668 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20669 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20670 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20671 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20672 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20673 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20674 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20676 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20677
20678 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20679
20680 2011-10-25 Andreas Schwab <schwab@redhat.com>
20681
20682 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20683 condition.
20684 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20685
20686 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20687
20688 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20689 .text section. Avoid duplicate constants.
20690 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20692 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20695 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20698 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20700 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20702 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20703 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20704 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20705 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20706 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20707 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20710 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20711 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20712 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20713 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20714 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20715 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20716 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20717 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20718 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20719 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20720 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20721 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20722 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20723 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20724 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20725 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20726 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20727 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20728 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20729 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20732 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20733 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20734 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20735
20736 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20737
20738 * sysdeps/x86_64/dla.h: Move to ...
20739 * sysdeps/x86_64/fpu/dla.h: ...here.
20740 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20741 situations. Use __builtin_fma only for gcc 4.6 and up.
20742
20743 * config.make.in: Add have-mfma4 entry.
20744 * configure.in: Substitute libc_cv_cc_fma4.
20745 * math/Makefile (dbl-only-routines): Add sincostab.
20746 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20747 Use __sincostab not sincos.
20748 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20749 name is a macro.
20750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20754 using __copysign.
20755 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20756 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20757 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20758 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20759 and __inv.
20760 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20761 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20762 __copysign.
20763 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20764 define aliases when function name is a macro.
20765 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20766 sysdeps/ieee754/dbl-64/sincos.tbl.
20767 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20768 fma4-enabled routines.
20769 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20770 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20771 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20772 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20774 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20775 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20776 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20778 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20779 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20780 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20781 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20782 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20783 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20784 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20785 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20786 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20787 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20789 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20790 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20792 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20793 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20794 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20795 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20796 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20797 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20798 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20799
20800 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20801 rename.
20802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20810
20811 2011-10-24 Andreas Schwab <schwab@redhat.com>
20812
20813 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20814
20815 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20816
20817 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20818
20819 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20820 prediction.
20821 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20822
20823 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20824 Remove unused variable magic_bits.
20825 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20826
20827 * string/strnlen.c: Define and use STRNLEN macro.
20828 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20829 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20830 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20831 * wcsmbs/wcslen.c: Define and use WCSLEN.
20832 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20833 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20834 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20835 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20836 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20837 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20838 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20839
20840 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20841
20842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20843 strnlen-sse2-no-bsf.
20844 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20846 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20847 Add strnlen support.
20848 (USE_AS_STRNLEN): New macro.
20849 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20850 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20851 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20852 * sysdeps/x86_64/wcslen.S: New file.
20853
20854 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20855
20856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20857 XMM-moves are used for copying on small sizes.
20858
20859 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20860
20861 * wcsmbs/Makefile (strop-tests): Add wcschr.
20862 * wcsmbs/test-wcschr.c: New file.
20863 * string/test-strchr.c: Update.
20864 Add wcschr support.
20865 (WIDE): New macro.
20866
20867 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20868
20869 * wcsmbs/Makefile (strop-tests): Add wcslen.
20870 * wcsmbs/test-wcslen.c: New file.
20871 * string/test-strlen.c: Update.
20872 Add wcslen support.
20873 (WIDE): New macro.
20874
20875 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20876
20877 * po/it.po: Update from translation team.
20878
20879 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20880
20881 * sysdeps/x86_64/wcscmp.S: Update.
20882 Fix wrong comparison semantics.
20883 wcscmp shall use signed comparison not unsigned.
20884 Don't use substraction to avoid overflow bug.
20885 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20886 * wcsmbc/wcscmp.c: Likewise.
20887 * string/test-strcmp.c: Likewise.
20888 Add new tests to check cases with negative values.
20889
20890 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20891
20892 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20893 * sysdeps/x86_64/dla.h: ...here. New file.
20894 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20903
20904 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20905
20906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20907 __ynl_finite aliases.
20908
20909 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20910
20911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20912
20913 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20914 define DLA_FMA.
20915 [DLA_FMA] (EMULV): Use DLA_FMA.
20916 [DLA_FMA] (MUL12): Use EMULV.
20917 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20918 that are not needed.
20919 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20924 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20926
20927 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20928
20929 * math/s_nan.c: Undef __nan.
20930 * math/s_nanf.c: Undef __nanf.
20931 * math/s_nanl.c: Undef __nanl.
20932 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20933 "math_private.h".
20934
20935 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20936
20937 * math/s_catan.c: Add branch predictions.
20938 * math/s_catanf.c: Likewise.
20939 * math/s_catanh.c: Likewise.
20940 * math/s_catanhf.c: Likewise.
20941 * math/s_catanhl.c: Likewise.
20942 * math/s_catanl.c: Likewise.
20943 * math/s_cexp.c: Likewise.
20944 * math/s_cexpf.c: Likewise.
20945 * math/s_cexpl.c: Likewise.
20946 * math/s_clog.c: Likewise.
20947 * math/s_clog10.c: Likewise.
20948 * math/s_clog10f.c: Likewise.
20949 * math/s_clog10l.c: Likewise.
20950 * math/s_clogf.c: Likewise.
20951 * math/s_clogl.c: Likewise.
20952 * math/s_csqrt.c: Likewise.
20953 * math/s_csqrtf.c: Likewise.
20954 * math/s_csqrtl.c: Likewise.
20955 * math/s_ctanf.c: Likewise.
20956 * math/s_ctanh.c: Likewise.
20957 * math/s_ctanhf.c: Likewise.
20958 * math/s_ctanhl.c: Likewise.
20959 * math/s_ctanl.c: Likewise.
20960
20961 * math/math_private.h: Define __nan, __nanf, __nanl.
20962 * math/s_cacosh.c: Include <math_private.h>.
20963 * math/s_cacoshl.c: Likewise.
20964 * math/s_casinh.c: Likewise.
20965 * math/s_casinhf.c: Likewise.
20966 * math/s_casinhl.c: Likewise.
20967 * math/s_ccos.c: Rely entire on ccosh.
20968 * math/s_ccosf.c: Rely entire on ccoshf.
20969 * math/s_ccosl.c: Rely entirely on ccoshl.
20970 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20971 Remove tests for FE_INVALID.
20972 * math/s_ccoshf.c: Likewise.
20973 * math/s_ccoshl.c: Likewise.
20974 * math/s_csin.c: Likewise.
20975 * math/s_csinf.c: Likewise.
20976 * math/s_csinh.c Likewise.
20977 * math/s_csinhf.c: Likewise.
20978 * math/s_csinhl.c: Likewise.
20979 * math/s_csinl.c: Likewise.
20980 * math/s_ctan.c: Likewise.
20981 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20982 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20983 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20984
20985 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20986
20987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20988 compilation problems.
20989
20990 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20991 __builtin_expect.
20992
20993 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20994
20995 * sysdeps/i386/configure.in: Test for -mfma4 option.
20996 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20997 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20998 COMMON_CPUID_INDEX_80000001.
20999 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21000 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21001 use it if FMA3 is not supported.
21002 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21003
21004 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21005 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21006
21007 2011-10-20 Andreas Schwab <schwab@redhat.com>
21008
21009 [BZ #12892]
21010 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21011 it would create a cycle with a link time dependency.
21012
21013 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21014
21015 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21016 instruction.
21017 * string/Makefile (strop-tests): Add rawmemchr.
21018 * string/test-rawmemchr.c: New file.
21019
21020 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21022 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21023 when compiling str{,n}casecmp and when AVX is available. Hook up
21024 new optimized code in initializers.
21025
21026 2011-10-19 Andreas Schwab <schwab@redhat.com>
21027
21028 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21029 __feraiseexcept instead of feraiseexcept.
21030
21031 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21032
21033 * math/math_private.h: Define defaults for libc_fetestexcept and
21034 libc_feupdateenv.
21035 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21036 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21037 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21038 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21039 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21040 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21041 libc_fetestexcept and libc_feupdateenv.
21042
21043 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21044 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21045 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21046 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21047 libc_feholdexcept_setround.
21048
21049 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21050 Add s_nearbyint-c and s_nearbyintf-c.
21051 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21052 nearbyintf inlines.
21053 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21054 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21055 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21056 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21057
21058 * math/math_private.h: Define defaults for libc_fegetround,
21059 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21060 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21061 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21062 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21063 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21064 standard functions.
21065 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21066 Remove comments and hacks for old compiler versions.
21067 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21068 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21069 libc_feholdexceptl.
21070
21071 2011-10-18 Andreas Schwab <schwab@redhat.com>
21072
21073 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21074 (__feraiseexcept_renamed): Add __NTH.
21075 (feraiseexcept): Add __NTH. Rename local variables to fix
21076 namespace violations.
21077
21078 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21079
21080 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21081
21082 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21083
21084 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21085 recently added interfaces.
21086 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21087
21088 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21089 about macro parameter expansion.
21090
21091 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21092 __NO_MATH_INLINES is defined. Cleanups.
21093
21094 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21095 and __floorf is target has SSE4.1.
21096 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21097 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21098 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21099 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21100
21101 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21102 name.
21103 (floorf): Likewise.
21104
21105 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21106
21107 2011-10-17 Andreas Schwab <schwab@redhat.com>
21108
21109 * misc/sys/cdefs.h: Fix last change.
21110
21111 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21112 database lookup.
21113
21114 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21115
21116 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21117
21118 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21119 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21124 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21126 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21127 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21128 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21129 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21130 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21131 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21132 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21133 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21134 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21135 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21136 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21137 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21138 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21139 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21140
21141 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21142 ceil, ceilf, floor, floorf.
21143
21144 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21145 Perform IRELATIVE relocations last.
21146
21147 * elf/do-rel.h: Add another parameter nrelative, replacing the
21148 local variable with the same name. Change name of the function
21149 to end in Rel or Rela (uppercase).
21150 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21151 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21152 elf_dynamic_do_##reloc function.
21153
21154 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21155
21156 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21157 is sufficient, at least on modern CPUs.
21158
21159 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21160
21161 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21162 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21163
21164 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21165 __expl_finite.
21166 * math/bits/math-finite.h: Add entries for exp.
21167 * math/e_expl.c: Add __*_finite alias.
21168 * sysdeps/i386/fpu/e_exp.S: Likewise.
21169 * sysdeps/i386/fpu/e_expf.S: Likewise.
21170 * sysdeps/i386/fpu/e_expl.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21172 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21176 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21177 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21178
21179 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21180 is sufficient, at least on modern CPUs.
21181
21182 * ctype/ctype-info.c (__ctype_init): Define.
21183 * include/ctype.h (__ctype_init): Declare.
21184 (__ctype_b_loc): The variable is always initialized.
21185 (__ctype_toupper_loc): Likewise.
21186 (__ctype_tolower_loc): Likewise.
21187 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21188 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21189
21190 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21191
21192 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21193
21194 * configure.in: Also look in $cxxmachine/include for C++ system
21195 headers.
21196
21197 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21198
21199 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21200 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21201 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21202 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21203 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21204 (USE_AS_WMEMCMP): New macro.
21205 Fixing indents.
21206 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21207 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21208 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21209 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21211 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21212 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21213 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21214 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21215 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21217 (USE_AS_WMEMCMP): New macro.
21218 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21219 * sysdeps/string/test-memcmp.c: Update.
21220 Fix simple_wmemcmp.
21221 Add new tests.
21222 * wcsmbs/wmemcmp.c: Update.
21223 (WMEMCMP): New macro.
21224 Fix overflow bug.
21225
21226 2011-10-12 Andreas Jaeger <aj@suse.de>
21227
21228 [BZ #13268]
21229 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21230
21231 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21232
21233 * libio/iofwide.c (do_length): Avoid warning.
21234
21235 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21236
21237 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21238
21239 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21240
21241 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21242 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21243 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21244 * sysdeps/i386/i686/fpu/e_log.S: New file.
21245 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21246 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21247
21248 * ctype/ctype.h: Add support for inlined isXXX functions when
21249 compiling C++ code.
21250
21251 2011-10-14 Andreas Schwab <schwab@redhat.com>
21252
21253 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21254
21255 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21256
21257 2011-10-13 Roland McGrath <roland@hack.frob.com>
21258
21259 [BZ #13291]
21260 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21261
21262 2011-10-13 Andreas Schwab <schwab@redhat.com>
21263
21264 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21265 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21266 feraiseexcept.
21267
21268 * sysdeps/x86_64/memrchr.S: Check for zero size.
21269
21270 * string/stratcliff.c: Add memrchr tests.
21271
21272 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21273
21274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21275 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21276 rawmemchr-sse2 rawmemchr-sse2-bsf.
21277 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21278 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21279 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21280 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21281 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21282 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21283 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21284 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21285 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21286 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21287 * string/memrchr.c (MEMRCHR): New macro.
21288
21289 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21290
21291 Add integration with gcc's -ffinite-math-only and optimize wrapper
21292 functions in libm.
21293 * Versions.def: Define GLIBC_2.15 version for libm.
21294 * math/Makefile (headers): Add bits/math-finite.h.
21295 * math/bits/math-finite.h: New file.
21296 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21297 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21298 * math/e_acoshl.c: Add __*_finite alias.
21299 * math/e_acosl.c: Likewise.
21300 * math/e_asinl.c: Likewise.
21301 * math/e_atan2l.c: Likewise.
21302 * math/e_atanhl.c: Likewise.
21303 * math/e_coshl.c: Likewise.
21304 * math/e_exp10.c: Likewise.
21305 * math/e_exp10f.c: Likewise.
21306 * math/e_exp10l.c: Likewise.
21307 * math/e_exp2l.c: Likewise.
21308 * math/e_fmodl.c: Likewise.
21309 * math/e_gammal_r.c: Likewise.
21310 * math/e_hypotl.c: Likewise.
21311 * math/e_j0l.c: Likewise.
21312 * math/e_j1l.c: Likewise.
21313 * math/e_jnl.c: Likewise.
21314 * math/e_lgammal_r.c: Likewise.
21315 * math/e_log10l.c: Likewise.
21316 * math/e_log2l.c: Likewise.
21317 * math/e_logl.c: Likewise.
21318 * math/e_powl.c: Likewise.
21319 * math/e_sinhl.c: Likewise.
21320 * math/e_sqrtl.c: Likewise.
21321 * math/e_scalb.c: Completely rewritten and optimized.
21322 * math/e_scalbf.c: Likewise.
21323 * math/e_scalbl.c: Likewise.
21324 * math/w_acos.c: Likewise.
21325 * math/w_acosf.c: Likewise.
21326 * math/w_acosl.c: Likewise.
21327 * math/w_acosh.c: Likewise.
21328 * math/w_acoshf.c: Likewise.
21329 * math/w_acoshl.c: Likewise.
21330 * math/w_asin.c: Likewise.
21331 * math/w_asinf.c: Likewise.
21332 * math/w_asinl.c: Likewise.
21333 * math/w_atan2.c: Likewise.
21334 * math/w_atan2f.c: Likewise.
21335 * math/w_atan2l.c: Likewise.
21336 * math/w_atanh.c: Likewise.
21337 * math/w_atanhf.c: Likewise.
21338 * math/w_atanhl.c: Likewise.
21339 * math/w_exp10.c: Likewise.
21340 * math/w_exp10f.c: Likewise.
21341 * math/w_exp10l.c: Likewise.
21342 * math/w_fmod.c: Likewise.
21343 * math/w_fmodf.c: Likewise.
21344 * math/w_fmodl.c: Likewise.
21345 * math/w_j0.c: Likewise.
21346 * math/w_j0f.c: Likewise.
21347 * math/w_j0l.c: Likewise.
21348 * math/w_j1.c: Likewise.
21349 * math/w_j1f.c: Likewise.
21350 * math/w_j1l.c: Likewise.
21351 * math/w_jn.c: Likewise.
21352 * math/w_jnf.c: Likewise.
21353 * math/w_log.c: Likewise.
21354 * math/w_logf.c: Likewise.
21355 * math/w_logl.c: Likewise.
21356 * math/w_log10.c: Likewise.
21357 * math/w_log10f.c: Likewise.
21358 * math/w_log10l.c: Likewise.
21359 * math/w_log2.c: Likewise.
21360 * math/w_log2f.c: Likewise.
21361 * math/w_log2l.c: Likewise.
21362 * math/w_pow.c: Likewise.
21363 * math/w_powf.c: Likewise.
21364 * math/w_powl.c: Likewise.
21365 * math/w_remainder.c: Likewise.
21366 * math/w_remainderf.c: Likewise.
21367 * math/w_remainderl.c: Likewise.
21368 * math/w_scalb.c: Likewise.
21369 * math/w_scalbf.c: Likewise.
21370 * math/w_scalbl.c: Likewise.
21371 * math/w_sqrt.c: Likewise.
21372 * math/w_sqrtf.c: Likewise.
21373 * math/w_sqrtl.c: Likewise.
21374 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21375 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21376 used.
21377 * math/math_private.h: Declare __kernel_standard_f.
21378 * math/w_cosh.c: Remove cruft and optimize a bit.
21379 * math/w_coshf.c: Likewise.
21380 * math/w_coshl.c: Likewise.
21381 * math/w_exp2.c: Likewise.
21382 * math/w_exp2f.c: Likewise.
21383 * math/w_exp2l.c: Likewise.
21384 * math/w_hypot.c: Likewise.
21385 * math/w_hypotf.c: Likewise.
21386 * math/w_hypotl.c: Likewise.
21387 * math/w_lgamma.c: Likewise.
21388 * math/w_lgamma_r.c: Likewise.
21389 * math/w_lgammaf.c: Likewise.
21390 * math/w_lgammaf_r.c: Likewise.
21391 * math/w_lgammal.c: Likewise.
21392 * math/w_lgammal_r.c: Likewise.
21393 * math/w_sinh.c: Likewise.
21394 * math/w_sinhf.c: Likewise.
21395 * math/w_sinhl.c: Likewise.
21396 * math/w_tgamma.c: Likewise.
21397 * math/w_tgammaf.c: Likewise.
21398 * math/w_tgammal.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21401 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21402 Minor optimizations. Pretty printing. Remove cruft.
21403 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21404 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21405 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21406 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21407 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21408 * sysdeps/i386/fpu/e_asin.S: Likewise.
21409 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21410 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21411 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21412 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21413 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21414 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21416 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21417 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21418 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21419 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21420 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21421 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21422 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21423 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21424 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21425 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21426 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21427 * sysdeps/i386/fpu/e_log.S: Likewise.
21428 * sysdeps/i386/fpu/e_log10.S: Likewise.
21429 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21431 * sysdeps/i386/fpu/e_log2.S: Likewise.
21432 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21434 * sysdeps/i386/fpu/e_logf.S: Likewise.
21435 * sysdeps/i386/fpu/e_logl.S: Likewise.
21436 * sysdeps/i386/fpu/e_pow.S: Likewise.
21437 * sysdeps/i386/fpu/e_powf.S: Likewise.
21438 * sysdeps/i386/fpu/e_powl.S: Likewise.
21439 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21440 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21441 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21442 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21443 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21444 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21445 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21446 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21447 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21453 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21454 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21455 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21456 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21457 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21458 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21459 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21461 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21462 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21464 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21465 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21466 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21469 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21470 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21471 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21472 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21473 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21474 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21475 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21476 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21477 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21478 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21479 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21481 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21482 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21483 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21484 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21485 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21486 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21487 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21488 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21489 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21490 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21491 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21492 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21493 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21494 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21495 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21496 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21497 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21498 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21499 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21501 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21502 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21503 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21504 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21505 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21506 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21507 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21508 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21509 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21512 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21515 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21516 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21519 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21520 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21522 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21525 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21526 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21527 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21529 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21531 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21532 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21533 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21536 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21539 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21540 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21541 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21542 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21543 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21544 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21545 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21546 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21547 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21548 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21549 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21550 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21551 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21552 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21553 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21554 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21555 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21556 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21557 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21558 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21559 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21560 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21561 (__isnanf): Likewise.
21562 (__isinf_ns): Likewise.
21563 (__isinf_nsf): Likewise.
21564 (__finite): Likewise.
21565 (__finitef): Likewise.
21566 (__ieee754_sqrt): Define as macro.
21567 (__ieee754_sqrtf): Define as macro.
21568 (__ieee754_sqrtl): Define as macro.
21569 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21570 inlined copy.
21571 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21572 __FINITE_MATH_ONLY__ consistent.
21573 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21574
21575 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21576
21577 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21578 of rawmemchr.
21579
21580 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21581
21582 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21583
21584 * po/ja.po: Update from translation team.
21585
21586 2011-10-08 Roland McGrath <roland@hack.frob.com>
21587
21588 * locale/programs/locarchive.c (prepare_address_space): New function.
21589 (create_archive, enlarge_archive, open_archive): Use it.
21590
21591 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21592 inside [SHARED], where it is used.
21593
21594 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21595
21596 * nss/getent.c (netgroup_keys): Remove unused variable.
21597 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21598
21599 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21600
21601 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21602 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21604 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21605 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21606 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21607 * math/Makefile (libm-calls): Add s_isinf_ns.
21608 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21609 * math/multc3.c: Likewise.
21610 * math/s_casin.c: Likewise.
21611 * math/s_casinf.c: Likewise.
21612 * math/s_casinl.c: Likewise.
21613 * math/s_ccos.c: Likewise.
21614 * math/s_ccosf.c: Likewise.
21615 * math/s_ccosl.c: Likewise.
21616 * math/s_ctan.c: Likewise.
21617 * math/s_ctanf.c: Likewise.
21618 * math/s_ctanh.c: Likewise.
21619 * math/s_ctanhf.c: Likewise.
21620 * math/s_ctanhl.c: Likewise.
21621 * math/s_ctanl.c: Likewise.
21622 * math/w_fmod.c: Likewise.
21623 * math/w_fmodf.c: Likewise.
21624 * math/w_fmodl.c: Likewise.
21625 * math/w_remainder.c: Likewise.
21626 * math/w_remainderf.c: Likewise.
21627 * math/w_remainderl.c: Likewise.
21628 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21629 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21630 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21632 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21633 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21634 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21635 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21636
21637 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21638 of the number.
21639 * stdio-common/printf_fphex.c: Likewise.
21640 * stdio-common/printf_size.c: Likewise.
21641
21642 * math/e_exp10.c: Include math_private.h using <...> not "...".
21643 * math/e_exp10f.c: Likewise.
21644 * math/e_exp10l.c: Likewise.
21645 * math/e_exp2l.c: Likewise.
21646 * math/e_j0l.c: Likewise.
21647 * math/e_j1l.c: Likewise.
21648 * math/e_jnl.c: Likewise.
21649 * math/e_lgammal_r.c: Likewise.
21650 * math/e_rem_pio2l.c: Likewise.
21651 * math/e_scalb.c: Likewise.
21652 * math/e_scalbf.c: Likewise.
21653 * math/e_scalbl.c: Likewise.
21654 * math/k_cosl.c: Likewise.
21655 * math/k_sinl.c: Likewise.
21656 * math/k_tanl.c: Likewise.
21657 * math/s_cacoshf.c: Likewise.
21658 * math/s_catan.c: Likewise.
21659 * math/s_catanf.c: Likewise.
21660 * math/s_catanh.c: Likewise.
21661 * math/s_catanhf.c: Likewise.
21662 * math/s_catanhl.c: Likewise.
21663 * math/s_catanl.c: Likewise.
21664 * math/s_ccosh.c: Likewise.
21665 * math/s_ccoshf.c: Likewise.
21666 * math/s_ccoshl.c: Likewise.
21667 * math/s_cexp.c: Likewise.
21668 * math/s_cexpf.c: Likewise.
21669 * math/s_cexpl.c: Likewise.
21670 * math/s_clog.c: Likewise.
21671 * math/s_clog10.c: Likewise.
21672 * math/s_clog10f.c: Likewise.
21673 * math/s_clog10l.c: Likewise.
21674 * math/s_clogf.c: Likewise.
21675 * math/s_clogl.c: Likewise.
21676 * math/s_csin.c: Likewise.
21677 * math/s_csinf.c: Likewise.
21678 * math/s_csinh.c: Likewise.
21679 * math/s_csinhf.c: Likewise.
21680 * math/s_csinhl.c: Likewise.
21681 * math/s_csinl.c: Likewise.
21682 * math/s_csqrt.c: Likewise.
21683 * math/s_csqrtf.c: Likewise.
21684 * math/s_csqrtl.c: Likewise.
21685 * math/s_ctan.c: Likewise.
21686 * math/s_ctanf.c: Likewise.
21687 * math/s_ctanh.c: Likewise.
21688 * math/s_ctanhf.c: Likewise.
21689 * math/s_ctanhl.c: Likewise.
21690 * math/s_ctanl.c: Likewise.
21691 * math/s_ldexp.c: Likewise.
21692 * math/s_ldexpf.c: Likewise.
21693 * math/s_ldexpl.c: Likewise.
21694 * math/s_significand.c: Likewise.
21695 * math/s_significandf.c: Likewise.
21696 * math/s_significandl.c: Likewise.
21697 * math/w_acos.c: Likewise.
21698 * math/w_acosf.c: Likewise.
21699 * math/w_acosh.c: Likewise.
21700 * math/w_acoshf.c: Likewise.
21701 * math/w_acoshl.c: Likewise.
21702 * math/w_acosl.c: Likewise.
21703 * math/w_asin.c: Likewise.
21704 * math/w_asinf.c: Likewise.
21705 * math/w_asinl.c: Likewise.
21706 * math/w_atan2.c: Likewise.
21707 * math/w_atan2f.c: Likewise.
21708 * math/w_atan2l.c: Likewise.
21709 * math/w_atanh.c: Likewise.
21710 * math/w_atanhf.c: Likewise.
21711 * math/w_atanhl.c: Likewise.
21712 * math/w_cosh.c: Likewise.
21713 * math/w_coshf.c: Likewise.
21714 * math/w_coshl.c: Likewise.
21715 * math/w_dremf.c: Likewise.
21716 * math/w_exp10.c: Likewise.
21717 * math/w_exp10f.c: Likewise.
21718 * math/w_exp10l.c: Likewise.
21719 * math/w_exp2.c: Likewise.
21720 * math/w_exp2f.c: Likewise.
21721 * math/w_fmod.c: Likewise.
21722 * math/w_fmodf.c: Likewise.
21723 * math/w_fmodl.c: Likewise.
21724 * math/w_hypot.c: Likewise.
21725 * math/w_hypotf.c: Likewise.
21726 * math/w_hypotl.c: Likewise.
21727 * math/w_j0.c: Likewise.
21728 * math/w_j0f.c: Likewise.
21729 * math/w_j0l.c: Likewise.
21730 * math/w_j1.c: Likewise.
21731 * math/w_j1f.c: Likewise.
21732 * math/w_j1l.c: Likewise.
21733 * math/w_jn.c: Likewise.
21734 * math/w_jnf.c: Likewise.
21735 * math/w_jnl.c: Likewise.
21736 * math/w_lgamma.c: Likewise.
21737 * math/w_lgamma_r.c: Likewise.
21738 * math/w_lgammaf.c: Likewise.
21739 * math/w_lgammaf_r.c: Likewise.
21740 * math/w_lgammal.c: Likewise.
21741 * math/w_lgammal_r.c: Likewise.
21742 * math/w_log.c: Likewise.
21743 * math/w_log10.c: Likewise.
21744 * math/w_log10f.c: Likewise.
21745 * math/w_log10l.c: Likewise.
21746 * math/w_log2.c: Likewise.
21747 * math/w_log2f.c: Likewise.
21748 * math/w_log2l.c: Likewise.
21749 * math/w_logf.c: Likewise.
21750 * math/w_logl.c: Likewise.
21751 * math/w_pow.c: Likewise.
21752 * math/w_powf.c: Likewise.
21753 * math/w_powl.c: Likewise.
21754 * math/w_remainder.c: Likewise.
21755 * math/w_remainderf.c: Likewise.
21756 * math/w_remainderl.c: Likewise.
21757 * math/w_scalb.c: Likewise.
21758 * math/w_scalbf.c: Likewise.
21759 * math/w_scalbl.c: Likewise.
21760 * math/w_sinh.c: Likewise.
21761 * math/w_sinhf.c: Likewise.
21762 * math/w_sinhl.c: Likewise.
21763 * math/w_sqrt.c: Likewise.
21764 * math/w_sqrtf.c: Likewise.
21765 * math/w_sqrtl.c: Likewise.
21766 * math/w_tgamma.c: Likewise.
21767 * math/w_tgammaf.c: Likewise.
21768 * math/w_tgammal.c: Likewise.
21769
21770 * po/ja.po: Update from translation team.
21771
21772 2011-09-29 Andreas Jaeger <aj@suse.de>
21773
21774 [BZ #13179]
21775 * sunrpc/netname.c (netname2host): Fix logic.
21776
21777 [BZ #6779]
21778 [BZ #6783]
21779 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21780 correctly.
21781 * math/w_remainder.c (__remainder): Likewise.
21782 * math/w_remainderf.c (__remainderf): Likewise.
21783 * math/libm-test.inc (remainder_test): Add test cases.
21784
21785 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21786
21787 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21788 sdiv_qrnnd.
21789
21790 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21791
21792 * string/test-memcmp.c: Avoid unncessary #defines.
21793 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21794
21795 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21796
21797 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21798 Use new sse2 version for core i3 - i7 as it's faster
21799 than sse42 version.
21800 (bit_Prefer_PMINUB_for_stringop): New.
21801 * sysdeps/x86_64/rawmemchr.S: Update.
21802 Replace with faster SSE2 version.
21803 * sysdeps/x86_64/memrchr.S: New file.
21804 * sysdeps/x86_64/memchr.S: Update.
21805 Replace with faster SSE2 version.
21806
21807 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21808
21809 * elf/dl-load.c (lose): Add cast to avoid warning.
21810
21811 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21812
21813 * po/ca.po: Update from translation team.
21814
21815 * inet/getnetgrent_r.c: Hook up nscd.
21816 * nscd/Makefile (routines): Add nscd_netgroup.
21817 (nscd-modules): Add netgroupcache.
21818 (CFLAGS-netgroupcache.c): Define.
21819 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21820 (cache_search): Add const to second parameter.
21821 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21822 INNETGR.
21823 (dbs): Add netgrdb entry.
21824 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21825 (verify_persistent_db): Handle netgrdb.
21826 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21827 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21828 GETFDNETGR.
21829 (netgroup_response_header): Define.
21830 (innetgroup_response_header): Define.
21831 (datahead): Add netgroup_response_header and innetgroup_response_header
21832 elements.
21833 * nscd/nscd.conf: Add entries for netgroup cache.
21834 * nscd/nscd.h (dbtype): Add netgrdb.
21835 (_PATH_NSCD_NETGROUP_DB): Define.
21836 (netgroup_iov_disabled): Declare.
21837 (xmalloc, xcalloc, xrealloc): Move declarations here.
21838 (cache_search): Adjust prototype.
21839 Add netgroup-related prototypes.
21840 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21841 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21842 (__nscd_innetgr): Declare.
21843 * nscd/selinux.c (perms): Use access_vector_t as element type and
21844 add netgroup-related initializers.
21845 * nscd/netgroupcache.c: New file.
21846 * nscd/nscd_netgroup.c: New file.
21847 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21848 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21849 For four parameters use innetgr.
21850 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21851 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21852 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21853 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21854
21855 * nscd/connections.c (register_traced_file): Don't register file
21856 for disabled databases.
21857
21858 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21859
21860 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21861
21862 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21863 from tree and freeing node.
21864
21865 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21866
21867 * nss/nsswitch.c (__nss_database_lookup): Handle
21868 nss_parse_service_list out of memory case.
21869
21870 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21871
21872 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21873 out of memory case.
21874
21875 2011-10-04 Andreas Schwab <schwab@redhat.com>
21876
21877 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21878 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21879 pass it down.
21880 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21881 elf_machine_rela, elf_machine_lazy_rel.
21882 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21883 (ELF_DYNAMIC_DO_REL): Likewise.
21884 (ELF_DYNAMIC_DO_RELA): Likewise.
21885 (ELF_DYNAMIC_RELOCATE): Likewise.
21886 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21887 to ELF_DYNAMIC_DO_REL.
21888 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21889 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21890 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21891 elf_machine_rela.
21892 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21893 skip_ifunc, don't call ifunc function if non-zero.
21894 (elf_machine_rela): Likewise.
21895 (elf_machine_lazy_rel): Likewise.
21896 (elf_machine_lazy_rela): Likewise.
21897 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21898 (elf_machine_lazy_rel): Likewise.
21899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21900 Likewise.
21901 (elf_machine_lazy_rel): Likewise.
21902 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21903 Likewise.
21904 (elf_machine_lazy_rel): Likewise.
21905 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21906 (elf_machine_lazy_rel): Likewise.
21907 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21908 (elf_machine_lazy_rel): Likewise.
21909 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21910 (elf_machine_lazy_rel): Likewise.
21911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21912 (elf_machine_lazy_rel): Likewise.
21913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21914 (elf_machine_lazy_rel): Likewise.
21915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21916 (elf_machine_lazy_rel): Likewise.
21917
21918 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21919
21920 * nss/nss_files/files-init.c (_nss_files_init): Use static
21921 initialization for all the *_traced_file variables.
21922
21923 2011-09-28 Andreas Schwab <schwab@redhat.com>
21924
21925 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21926
21927 2011-09-27 Roland McGrath <roland@hack.frob.com>
21928
21929 [BZ #13226]
21930 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21931
21932 2011-09-27 Andreas Schwab <schwab@redhat.com>
21933
21934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21935 Reread the line before reparsing it.
21936
21937 2011-09-26 Andreas Schwab <schwab@redhat.com>
21938
21939 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21940
21941 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21942 Maxim Kuvyrkov <maxim@codesourcery.com>
21943 Joseph Myers <joseph@codesourcery.com>
21944
21945 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21946 if needed for __stack_chk_guard.
21947
21948 2011-09-19 Roland McGrath <roland@hack.frob.com>
21949
21950 * sysdeps/posix/spawni.c (script_execute): Always define it.
21951 It will be optimized away if unused.
21952 (maybe_script_execute): New function.
21953 (__spawni): Call it.
21954
21955 * Makerules: Don't include tls.make.
21956 (config-tls): Always set to thread.
21957 * tls.make.c: File removed.
21958
21959 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21960
21961 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21962 * config.make.in (CPPFLAGS-config): New substituted variable.
21963
21964 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21965
21966 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21967
21968 [BZ #13192]
21969 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21970 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21971
21972 2011-09-15 Roland McGrath <roland@hack.frob.com>
21973
21974 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21975 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21977 (CALL_FAIL): Likewise.
21978 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21979 (CALL_FAIL): Macro removed.
21980 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21981
21982 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21983
21984 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21985 for __FINITE_MATH_ONLY__ == 1.
21986
21987 2011-09-15 Andreas Schwab <schwab@redhat.com>
21988
21989 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21990 __ieee754_sqrt instead of sqrt.
21991 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21992 __ieee754_sqrtf instead of sqrtf.
21993 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21994 __floorf instead of floorf.
21995 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21996 __floorf, __truncf instead of floorf, truncf.
21997
21998 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21999
22000 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22001
22002 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22003 __extern_always_inline.
22004 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22005 32-bit.
22006
22007 2011-09-14 Andreas Schwab <schwab@redhat.com>
22008
22009 * elf/rtld.c (dl_main): Also relocate in dependency order when
22010 doing symbol dependency testing.
22011
22012 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22013
22014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22015 Always define `refsym'.
22016
22017 2011-09-13 Andreas Schwab <schwab@redhat.com>
22018
22019 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22020 (__FD_ELT): Renamed from __FDELT.
22021 * misc/bits/select2.h (__FD_ELT): Likewise.
22022 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22023 __FD_MASK instead of __FDELT, __FDMASK.
22024 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22025 Likewise.
22026 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22027 Likewise.
22028
22029 * elf/Makefile (gen-ldd): Fix pattern.
22030
22031 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22032 (init_tls): Likewise.
22033
22034 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22035
22036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22037
22038 2011-09-12 Andreas Schwab <schwab@redhat.com>
22039
22040 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22041 `struct cmsghdr *' instead of `void *'.
22042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22043 Likewise.
22044
22045 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22046
22047 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22048 if non-absolute.
22049 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22050 ldd_rewrite_script.
22051
22052 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22053
22054 * configure.in: Remove --with-tls option.
22055 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22056 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22057 out in case it is missing.
22058 * sysdeps/ia64/elf/configure.in: Likewise.
22059 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22060 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22061 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22062 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22063 * sysdeps/sh/elf/configure.in: Likewise.
22064 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22065 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22066 * sysdeps/x86_64/elf/configure.in: Likewise.
22067 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22068 * sysdeps/mach/hurd/tls.h: Likewise.
22069
22070 [BZ #13067]
22071 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22072
22073 [BZ #13090]
22074 * configure.in: Fix use of AC_INIT.
22075
22076 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22077
22078 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22079
22080 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22081 __set_errno.
22082 * malloc/hooks.c: Likewise.
22083
22084 [BZ #11929]
22085 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22086 variables statically.
22087 (narenas): Initialize.
22088 (list_lock): Initialize.
22089 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22090 initializtion of main_arena and list_lock. Small cleanups.
22091 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22092 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22093 Add initializers to main_arena and mp_.
22094 (malloc_state): Remove pagesize member. Change all users to use
22095 GLRO(dl_pagesize).
22096
22097 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22098 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22099 is always initialized.
22100
22101 * malloc/malloc.c: Removed unused configurations and dead code.
22102 * malloc/arena.c: Likewise.
22103 * malloc/hooks.c: Likewise.
22104 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22105
22106 * include/tls.h: Removed. USE___THREAD must always be defined.
22107 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22108 * elf/dl-libc.c: Likewise.
22109 * elf/dl-tsd.c: Likewise.
22110 * include/errno.h: Likewise.
22111 * include/netdb.h: Likewise.
22112 * include/resolv.h: Likewise.
22113 * inet/herrno-loc.c: Likewise.
22114 * inet/herrno.c: Likewise.
22115 * malloc/arena.c: Likewise.
22116 * malloc/hooks.c: Likewise.
22117 * malloc/malloc.c: Likewise.
22118 * resolv/res-state.c: Likewise.
22119 * resolv/res_libc.c: Likewise.
22120 * sysdeps/i386/dl-machine.h: Likewise.
22121 * sysdeps/ia64/dl-machine.h: Likewise.
22122 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22123 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22124 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22125 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22126 * sysdeps/sh/dl-machine.h: Likewise.
22127 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22128 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22129 * sysdeps/unix/i386/sysdep.S: Likewise.
22130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22131 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22132 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22133 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22136 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22140 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22141 * sysdeps/x86_64/dl-machine.h: Likewise.
22142 * tls.make.c: Likewise.
22143
22144 * configure.in: Remove --with-__thread option. Make tests for
22145 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22146 tls_model attribute fail if no support is available. Remove
22147 USE_IN_LIBIO.
22148 * Makeconfig: Adjust for dropped configure option. All features are
22149 now mandatory.
22150 * Makerules: Likewise.
22151 * Versions.def: Likewise.
22152 * argp/argp-fmtstream.c: Likewise.
22153 * argp/argp-fmtstream.h: Likewise.
22154 * argp/argp-help.c: Likewise.
22155 * assert/assert.c: Likewise.
22156 * config.h.in: Likewise.
22157 * config.make.in: Likewise.
22158 * configure: Likewise.
22159 * configure.in: Likewise.
22160 * csu/Versions: Likewise.
22161 * csu/init.c: Likewise.
22162 * elf/tst-audit2.c: Likewise.
22163 * elf/tst-tls10.c: Likewise.
22164 * elf/tst-tls10.h: Likewise.
22165 * elf/tst-tls11.c: Likewise.
22166 * elf/tst-tls12.c: Likewise.
22167 * elf/tst-tls14.c: Likewise.
22168 * elf/tst-tlsmod11.c: Likewise.
22169 * elf/tst-tlsmod12.c: Likewise.
22170 * elf/tst-tlsmod13.c: Likewise.
22171 * elf/tst-tlsmod13a.c: Likewise.
22172 * elf/tst-tlsmod14a.c: Likewise.
22173 * elf/tst-tlsmod15b.c: Likewise.
22174 * elf/tst-tlsmod16a.c: Likewise.
22175 * elf/tst-tlsmod16b.c: Likewise.
22176 * elf/tst-tlsmod7.c: Likewise.
22177 * elf/tst-tlsmod8.c: Likewise.
22178 * elf/tst-tlsmod9.c: Likewise.
22179 * gmon/gmon.c: Likewise.
22180 * grp/fgetgrent_r.c: Likewise.
22181 * grp/putgrent.c: Likewise.
22182 * hurd/fopenport.c: Likewise.
22183 * include/libc-symbols.h: Likewise.
22184 * include/tls.h: Likewise.
22185 * intl/gettextP.h: Likewise.
22186 * intl/loadinfo.h: Likewise.
22187 * locale/global-locale.c: Likewise.
22188 * locale/localeinfo.h: Likewise.
22189 * mach/devstream.c: Likewise.
22190 * malloc/arena.c: Likewise.
22191 * malloc/set-freeres.c: Likewise.
22192 * misc/err.c: Likewise.
22193 * misc/getttyent.c: Likewise.
22194 * misc/mntent_r.c: Likewise.
22195 * posix/getopt.c: Likewise.
22196 * posix/wordexp.c: Likewise.
22197 * pwd/fgetpwent_r.c: Likewise.
22198 * resolv/Versions: Likewise.
22199 * resolv/res_hconf.c: Likewise.
22200 * shadow/fgetspent_r.c: Likewise.
22201 * shadow/putspent.c: Likewise.
22202 * stdio-common/printf_fphex.c: Likewise.
22203 * stdio-common/tmpfile.c: Likewise.
22204 * stdlib/abort.c: Likewise.
22205 * stdlib/fmtmsg.c: Likewise.
22206 * sunrpc/auth_unix.c: Likewise.
22207 * sunrpc/clnt_perr.c: Likewise.
22208 * sunrpc/clnt_tcp.c: Likewise.
22209 * sunrpc/clnt_udp.c: Likewise.
22210 * sunrpc/clnt_unix.c: Likewise.
22211 * sunrpc/openchild.c: Likewise.
22212 * sunrpc/svc_simple.c: Likewise.
22213 * sunrpc/svc_tcp.c: Likewise.
22214 * sunrpc/svc_udp.c: Likewise.
22215 * sunrpc/svc_unix.c: Likewise.
22216 * sunrpc/xdr.c: Likewise.
22217 * sunrpc/xdr_array.c: Likewise.
22218 * sunrpc/xdr_rec.c: Likewise.
22219 * sunrpc/xdr_ref.c: Likewise.
22220 * sunrpc/xdr_stdio.c: Likewise.
22221
22222 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22223
22224 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22225
22226 2011-07-03 Andreas Jaeger <aj@suse.de>
22227
22228 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22229 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22230 regenerate with gen-libm-tests.pl.
22231
22232 2010-05-12 Petr Baudis <pasky@suse.cz>
22233
22234 [BZ #11589]
22235 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22236 around j0() zero points by switching to j1().
22237 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22241
22242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22243
22244 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22245 instead of 0.
22246 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22247 instead of 0.
22248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22249 Patch in part by Pavel Roskin <proski@gnu.org>.
22250
22251 [BZ #13138]
22252 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22253 realloc.
22254 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22255 Free memory block if necessary.
22256
22257 [BZ #12847]
22258 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22259 be NULL. Don't lock in this case.
22260
22261 2011-09-09 Roland McGrath <roland@hack.frob.com>
22262
22263 * elf/elf.h (ELFOSABI_GNU): New macro.
22264 (ELFOSABI_LINUX): Define to that.
22265
22266 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22267
22268 * string/strncat.c (strncat): Undef the symbol in case it has been
22269 defined in bits/string.h.
22270
22271 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22272
22273 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22274
22275 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22276 link map.
22277
22278 2011-08-17 Andreas Jaeger <aj@suse.de>
22279
22280 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22281
22282 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22283 Ian Lance Taylor <iant@google.com>
22284
22285 * math/libm-test.inc (lround_test): New testcase.
22286 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22287
22288 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22289
22290 * Makefile: Remove support for automatic cvs check-ins.
22291 * Makerules: Likewise.
22292 * config.make.in: Likewise.
22293 * configure.in: Likewise.
22294 * intl/Makefile: Likewise.
22295 * locale/Makefile: Likewise.
22296 * po/Makefile: Likewise.
22297 * posix/Makefile: Likewise.
22298 * sysdeps/gnu/Makefile: Likewise.
22299 * sysdeps/mach/hurd/Makefile: Likewise.
22300 * sysdeps/sparc/sparc32/Makefile: Likewise.
22301
22302 [BZ #13118]
22303 * posix/Makefile (bug-regex32-ENV): Define.
22304 Patch by John Stanley <jpsinthemix@verizon.net>.
22305
22306 * misc/Makefile (headers): Add bits/select2.h.
22307 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22308 * misc/bits/select2.h: New file.
22309 * include/bits/select2.h: New file.
22310 * debug/Makefile (routines): Add fdelt_chk.
22311 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22312 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22313 FD_ISSET.
22314 * debug/fdelt_chk.c: New file.
22315
22316 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22317 * wcsmbs/test-wmemcmp.c: Likewise.
22318 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22319 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22320
22321 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22322
22323 * string/Makefile (strop-tests): Add memcmp.
22324 * string/test-wmemcmp.c: New file.
22325 * string/test-memcmp.c: Add wmemcmp support.
22326
22327 2011-09-08 Roland McGrath <roland@hack.frob.com>
22328
22329 [BZ #13153]
22330 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22331 2011-07-19 change.
22332
22333 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22334 garbage value in a __mach_port_mod_refs call in the cases of the
22335 task-self and thread-self ports.
22336
22337 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22338
22339 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22340
22341 2011-09-08 Andreas Schwab <schwab@redhat.com>
22342
22343 * elf/dl-load.c (lose): Check for non-null L.
22344
22345 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22346
22347 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22348
22349 * elf/dl-libc.c (dlerror_run): Pass back error code from
22350 dl_catch_error.
22351
22352 [BZ #13123]
22353 * elf/dl-load.c (lose): Free l_origin if it is valid.
22354
22355 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22356 names.
22357 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22358 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22360 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22361 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22362 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22363
22364 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22365
22366 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22367 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22368 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22369 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22370 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22371 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22372 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22373 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22374 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22375 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22376
22377 2011-08-15 Alan Modra <amodra@gmail.com>
22378
22379 [BZ #13092]
22380 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22381 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22382 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22383 ppc_mcount to static-only-routines.
22384 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22385 __mcount_internal.
22386 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22387 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22388
22389 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22390
22391 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22392 for finite and infinity parameters.
22393
22394 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22395
22396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22397 and add nop instructions for throughput optimization.
22398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22399
22400 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22401
22402 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22403 aligned copy for power7 with vector-scalar instructions.
22404 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22405
22406 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22409 AVX check.
22410
22411 2011-09-07 Andreas Schwab <schwab@redhat.com>
22412
22413 [BZ #13144]
22414 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22415 last change.
22416
22417 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22418
22419 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22420 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22421 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22422 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22423 clock_gettime.
22424
22425 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22426
22427 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22428 Forgot to demangle the pointer.
22429
22430 * sysdeps/i386/sysdep.h: Define atom_text_section.
22431 * sysdeps/x86_64/sysdep.h: Likewise.
22432 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22433 section with atom_text_section.
22434 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22435 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22436 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22438 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22439
22440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22441 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22442 already be defined. Change to take two parameters and don't assign
22443 result to variable. Adjust all users.
22444 Define INTERNAL_GETTIME if not already defined.
22445 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22446 call.
22447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22448 HAVE_CLOCK_GETTIME_VSYSCALL.
22449 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22450
22451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22452 gettimeofday vsyscall, just use time.
22453
22454 2011-09-06 Andreas Schwab <schwab@redhat.com>
22455
22456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22457 <errno.h>.
22458
22459 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22460
22461 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22462 syscall on x86-64.
22463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22464 syscall.
22465 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22466 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22467 syscall if possible.
22468
22469 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22470
22471 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22472 e_ident. Don't pass to find_mapsXX.
22473 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22474
22475 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22476
22477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22478 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22479 * sysdeps/x86_64/multiarch/strchr.S: Update.
22480 Check bit_slow_BSF bit.
22481 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22482 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22483 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22484
22485 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22486
22487 [BZ #13134]
22488 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22489 before glibc 2.15.
22490 (tryshell): Define.
22491 (__spawni): Change last parameter to be flag. Test
22492 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22493 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22494 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22495 * posix/spawni.c: Likewise.
22496 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22497 * posix/spawnp.c: Likewise. Change normal version to use
22498 SPAWN_XFLAGS_USE_PATH.
22499 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22500 SPAWN_XFLAGS_TRY_SHELL.
22501
22502 [BZ #13150]
22503 * posix/glob.h: Remove gcc 1.x support.
22504
22505 [BZ #13068]
22506 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22507
22508 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22509
22510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22511 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22512 strrchr-sse2-bsf
22513 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22514 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22515 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22517 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22518 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22519
22520 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22521
22522 * sysdeps/x86_64/wcscmp.S: New file.
22523
22524 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22525 wcscmp-c wcscmp-sse2
22526 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22527 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22528 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22529 * wcsmbs/wcscmp.c: Allow renaming.
22530
22531 2011-09-05 David S. Miller <davem@davemloft.net>
22532
22533 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22534 stack slot, rather than the struct return pointer slot.
22535 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22536 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22538 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22539
22540 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22541
22542 * po/ja.po: Update from translation team.
22543
22544 [BZ #13144]
22545 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22546 kernel in 64-bit binaries.
22547
22548 2011-09-01 David S. Miller <davem@davemloft.net>
22549
22550 * elf/elf.h (HWCAP_SPARC_*): Move to..
22551 * sysdeps/sparc/sysdep.h: this new file and add new values.
22552 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22553 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22554 _DL_HWCAP_COUNT to 24.
22555 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22556 entries.
22557 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22558 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22559 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22561 instead of magic constants.
22562 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22563
22564 2011-08-31 David S. Miller <davem@davemloft.net>
22565
22566 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22568 Reimplement to do errno handling inline.
22569 (SYSCALL_ERROR_HANDLER): New macro.
22570 (__SYSCALL_STRING): Do not do errno handling in asm.
22571 (__CLONE_SYSCALL_STRING): Delete.
22572 (__INTERNAL_SYSCALL_STRING): Delete.
22573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22574 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22575 (PSEUDO): Reimplement to do errno handling inline.
22576 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22577 (SYSCALL_ERROR_HANDLER): New macro.
22578 (__SYSCALL_STRING): Do not do errno handling in asm.
22579 (__CLONE_SYSCALL_STRING): Delete.
22580 (__INTERNAL_SYSCALL_STRING): Delete.
22581 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22582 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22583 i386.
22584 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22585 (inline_syscall*): Add 'err' argument.
22586 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22587 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22588 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22589 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22590
22591 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22592 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22593
22594 2011-08-30 Andreas Schwab <schwab@redhat.com>
22595
22596 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22597
22598 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22599
22600 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22601 directive.
22602
22603 2011-08-24 David S. Miller <davem@davemloft.net>
22604
22605 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22606
22607 2011-08-24 Andreas Schwab <schwab@redhat.com>
22608
22609 * elf/Makefile: Add rules to build and run unload8 test.
22610 * elf/unload8.c: New file.
22611 * elf/unload8mod1.c: New file.
22612 * elf/unload8mod1x.c: New file.
22613 * elf/unload8mod2.c: New file.
22614 * elf/unload8mod3.c: New file.
22615
22616 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22617 it wasn't used.
22618
22619 2011-08-23 David S. Miller <davem@davemloft.net>
22620
22621 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22622 subtract stack bias.
22623 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22624 %sp not %fp in calculations.
22625 (_JMPBUF_UNWINDS_ADJ): Likewise.
22626
22627 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22628 (aio_suspend): Call it to force an exception region around the
22629 AIO_MISC_WAIT() invocation.
22630
22631 2011-08-23 Andreas Schwab <schwab@redhat.com>
22632
22633 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22634 backslash.
22635
22636 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22637
22638 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22639 protection macro.
22640 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22641 and <dl-machine.h>.
22642 (Elf64_FuncDesc): Remove.
22643
22644 2011-08-22 David S. Miller <davem@davemloft.net>
22645
22646 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22647 sigaltstack check, add missing cfi directives.
22648 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22649 missing cfi directives, and sigaltstack handling.
22650
22651 2011-08-16 Andreas Schwab <schwab@redhat.com>
22652
22653 [BZ #11724]
22654 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22655 object is seen twice.
22656 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22657
22658 * elf/Makefile (distribute): Add tst-initorder2.c.
22659 (tests): Add tst-initorder2.
22660 (modules-names): Add tst-initorder2a tst-initorder2b
22661 tst-initorder2c tst-initorder2d. Add rules to build them.
22662 ($(objpfx)tst-initorder2.out): New rule.
22663 * elf/tst-initorder2.c: New file.
22664 * elf/tst-initorder2.exp: New file.
22665
22666 2011-08-22 Andreas Schwab <schwab@redhat.com>
22667
22668 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22669
22670 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22671 dependencies back to end of function.
22672
22673 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22674 $(elfobjdir)/ld.so.
22675
22676 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22677
22678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22679 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22681 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22682 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22683 of __vdso_gettimeofday.
22684 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22685 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22686 attribute_hidden.
22687 (_libc_vdso_platform_setup): Remove initialization of
22688 __vdso_gettimeofday and __vdso_time.
22689
22690 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22691
22692 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22693 and fgetc_unlocked.
22694 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22695 getc_unlocked.
22696
22697 * elf/dl-open.c (add_to_global): Report additions to the global scope
22698 for LD_DEBUG=scopes.
22699 (dl_open_worker): Also print scope of newly loaded dependencies.
22700 (_dl_show_scope): Indicate if there is no scope.
22701
22702 [BZ #13114]
22703 * stdio-common/Makefile (tests): Add bug24.
22704 * stdio-common/bug24.c: New file.
22705
22706 2011-08-19 Andreas Jaeger <aj@suse.de>
22707
22708 [BZ #13114]
22709 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22710 non-existant file when using close-on-exec mode.
22711
22712 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22713
22714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22715 the very first instruction.
22716
22717 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22718 the CFI state in the end.
22719 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22720 inclusion of dl-trampoline.h.
22721 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22722
22723 2011-08-19 Andreas Schwab <schwab@redhat.com>
22724
22725 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22726 expectations for long double.
22727
22728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22729 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22730
22731 2011-08-14 David S. Miller <davem@davemloft.net>
22732
22733 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22734 artificual limit depends upon the system page size.
22735
22736 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22737
22738 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22739 * resolv/Makefile: Define CFLAGS-libresolv.
22740
22741 2011-08-17 Andreas Schwab <schwab@redhat.com>
22742
22743 * nss/makedb.c (compute_tables): Make variables used in nested
22744 function static.
22745
22746 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22747
22748 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22749 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22750 if buffer was too small.
22751
22752 * elf/pldd.c (main): Attach to all threads in the process.
22753 Rewrite /proc handling to use *at functions.
22754
22755 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22756
22757 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22758 specifies first scope to show.
22759 (dl_open_worker): Update callers. Move printing scope of new
22760 object to before the relocation.
22761 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22762 * sysdeps/generic/ldsodefs.h: Update declaration.
22763
22764 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22765 string for the scope number.
22766
22767 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22768
22769 * nscd/servicescache.c (cache_addserv): Make sure written is always
22770 initialized.
22771
22772 2011-08-14 Roland McGrath <roland@hack.frob.com>
22773
22774 * sysdeps/i386/i486/bits/atomic.h
22775 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22776 statement expression, so as to suppress "set but not used" warning.
22777 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22778
22779 * string/strncat.c (STRNCAT): Use prototype definition.
22780
22781 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22782 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22783 -Iprograms here.
22784 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22785 (localedef-modules): Add localedef.
22786 (locale-modules): Add locale.
22787
22788 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22789 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22790 to avoid a warning.
22791
22792 2011-08-14 David S. Miller <davem@davemloft.net>
22793
22794 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22795 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22796
22797 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22798
22799 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22800 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22801 * elf/rtld.c (dl_main): Set l_name of vDSO.
22802 Call _dl_show_scope when DL_DEBUG_SCOPES.
22803 (process_dl_debug): Recognize scopes flag and also set it for all.
22804 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22805 Declare _dl_show_scope.
22806
22807 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22808 (do_dlopen): Pass caller_dlopen to dl_open.
22809 (__libc_dlopen_mode): Initialize caller_dlopen.
22810
22811 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22812 of libc. Make tolower call locale-independent. Optimize a bit by
22813 using isdigit instead of isalnum.
22814 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22815
22816 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22817
22818 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22819 was a dependency or dynamically loaded.
22820
22821 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22822
22823 * intl/l10nflist.c: Allow architecture-specific pop function.
22824 * sysdeps/x86_64/l10nflist.c: New file.
22825
22826 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22827 classification.
22828
22829 2011-08-10 Andreas Schwab <schwab@redhat.com>
22830
22831 * include/dirent.h: Add libc_hidden_proto for scandirat and
22832 scandirat64. Don't declare __scandirat64.
22833 * dirent/scandirat.c: Add libc_hidden_def.
22834 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22835 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22836
22837 2011-08-10 David S. Miller <davem@davemloft.net>
22838
22839 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22840 enum.
22841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22842 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22844
22845 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22846
22847 * Versions.def [libc]: Add GLIBC_2.15.
22848 * dirent/Makefile (routines): Add scandirat and scandirat64.
22849 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22850 GLIBC_2.15.
22851 * dirent/dirent.h: Declare scandirat and scandirat64.
22852 * dirent/scandirat.c: New file.
22853 * dirent/scandirat64.c: New file.
22854 * sysdeps/wordsize-64/scandirat.c: New file.
22855 * sysdeps/wordsize-64/scandirat64.c: New file.
22856 * dirent/opendir.c: Define opendirat.
22857 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22858 using scandirat.
22859 * dirent/scandir64.c: Adjust for scandir.c change.
22860 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22861 __scandirat64, and __scandir_cancel_handler.
22862 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22863 additional parameter and use openat instead of open (outside of ld.so).
22864 Add new __opendir as wrapper around __opendirat.
22865 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22866 here without requiring old scandirat implementation.
22867
22868 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22869
22870 * dirent/scandir.c (cancel_handler): Renamed to
22871 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22872 defined. Adjust users.
22873 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22874 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22875
22876 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22877
22878 * string/test-string.h (IMPL): Use __STRING to expand name and then
22879 stringify it.
22880
22881 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22882 of cleanups.
22883
22884 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22885
22886 * string/Makefile: Update.
22887 (strop-tests): Append strncat.
22888 * string/test-wcscmp.c: New file.
22889 New comprehensive test for wcscmp.
22890 * string/test-strcmp.c: Update.
22891 (WIDE): New define.
22892
22893 2011-07-22 Andreas Schwab <schwab@redhat.com>
22894
22895 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22896 line.
22897
22898 2011-07-26 Andreas Schwab <schwab@redhat.com>
22899
22900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22901 encoding to ACE if AI_IDN.
22902
22903 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22904
22905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22906 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22907
22908 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22909
22910 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22911 Fix overflow bug in strncat.
22912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22913
22914 * string/test-strncat.c: Update.
22915 Add new tests for checking overflow bugs.
22916
22917 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22918
22919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22920 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22921 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22922 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22923 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22924 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22925 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22926 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22927 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22928
22929 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22930 (USE_AS_STRCAT): Define.
22931 Add strcat and strncat support.
22932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22933
22934 2011-07-25 Andreas Schwab <schwab@redhat.com>
22935
22936 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22937 __n bigger than INT_MAX+1.
22938 (__strncmp_g): Likewise.
22939
22940 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22941
22942 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22943 * libio/stido.h: Likewise.
22944
22945 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22946 (AF_NFC): Define.
22947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22948 (AF_NFC): Define.
22949
22950 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22951 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22952 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22955
22956 [BZ #13021]
22957 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22958 installed.
22959
22960 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22961 typo.
22962 (_dl_x86_64_save_sse): Likewise.
22963
22964 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22965
22966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22967 OSXSAVE.
22968 (_dl_x86_64_save_sse): Likewise.
22969
22970 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22971
22972 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22973
22974 2011-07-21 Andreas Schwab <schwab@redhat.com>
22975
22976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22977 change.
22978 (_dl_x86_64_save_sse): Use correct AVX check.
22979
22980 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22981
22982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22983 bug in strncpy/strncat.
22984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22985
22986 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22987
22988 * string/tester.c (test_strcat): Add tests for different alignments
22989 of source and destination.
22990 (test_strncat): Likewise.
22991
22992 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22993
22994 [BZ #12852]
22995 * posix/glob.c (glob): Check passed in values before using them in
22996 expressions to avoid some overflows.
22997 (glob_in_dir): Likewise.
22998
22999 [BZ #13007]
23000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23001 check for AVX enablement so that we don't crash with old kernels and
23002 new hardware.
23003 * elf/tst-audit4.c: Add same checks here.
23004 * elf/tst-audit6.c: Likewise.
23005
23006 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23007
23008 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23009
23010 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23011
23012 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23013
23014 * po/cs.po: Update from translation team.
23015 * po/bg.po: Likewise.
23016
23017 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23018
23019 * misc/sys/cdefs.h: Add support for const attribute.
23020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23021 to gnu_dev_{major,minor,makedev} functions.
23022
23023 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23024
23025 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23026
23027 2011-07-20 Andreas Schwab <schwab@redhat.com>
23028
23029 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23030 strlen results.
23031
23032 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23033
23034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23035 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23036 register in order to avoid conflicts with the soft frame pointer
23037 being held in r11 when necessary.
23038 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23039 (INTERNAL_VSYSCALL_NCS): Likewise.
23040
23041 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23042
23043 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23044 * elf/dl-fini.c (_dl_fini): Adjust caller.
23045 * elf/dl-close.c (_dl_close_worker): Likewise.
23046 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23047
23048 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23049
23050 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23051 "aux_cache->nlibs < 0".
23052
23053 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23054 in the reload-count case.
23055
23056 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23057
23058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23059 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23060 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23061 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23062 * sysdeps/x86_64/multiarch/strcat.S: New file.
23063 * sysdeps/x86_64/multiarch/strncat.S: New file.
23064 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23065 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23066 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23067 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23069 (USE_AS_STRCAT): Define.
23070 Add strcat and strncat support.
23071 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23073 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23074 * string/strncat.c: Update.
23075 (USE_AS_STRNCAT): Define.
23076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23077 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23078 and i7.
23079 * sysdeps/x86_64/multiarch/init-arch.h
23080 (bit_Prefer_PMINUB_for_stringop): New.
23081 (index_Prefer_PMINUB_for_stringop): Likewise.
23082 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23083 bit_Prefer_PMINUB_for_stringop.
23084
23085 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23086
23087 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23088 buffer64.
23089 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23090 of casting of buffer.
23091 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23092 buffer32 and buffer64.
23093 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23094 writes instead of casting of buffer.
23095 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23096 buffer32.
23097 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23098 casting of buffer.
23099
23100 2011-07-19 Andreas Schwab <schwab@redhat.com>
23101
23102 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23103
23104 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23105
23106 * nscd/nscd.c (termination_handler): Don't do anything for a database
23107 if it has not yet been initialized.
23108
23109 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23110
23111 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23112
23113 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23114
23115 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23116
23117 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23118
23119 * po/nl.po: Update from translation team.
23120 * po/sv.po: Likewise.
23121
23122 2011-07-16 Roland McGrath <roland@hack.frob.com>
23123
23124 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23125 now disallowed by GCC.
23126
23127 * configure.in (use-default-link): Default to yes if a test -shared
23128 link meets our qualifications.
23129 * configure: Regenerated.
23130
23131 * config.make.in (output-format): New variable.
23132 * configure.in: Check for ld --print-output-format support.
23133 * configure: Regenerated.
23134 * Makerules ($(common-objpfx)format.lds)
23135 [$(output-format) != unknown]: Just use $(output-format),
23136 instead of the linker-script munging.
23137
23138 2011-07-14 Roland McGrath <roland@hack.frob.com>
23139
23140 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23141 of $(common-objpfx)shlib.lds.
23142 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23143
23144 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23145 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23146
23147 * configure.in (-z relro check): Adjust test code to add a large
23148 writable data section after it.
23149 * configure: Regenerated.
23150
23151 2011-07-11 Roland McGrath <roland@hack.frob.com>
23152
23153 * configure.in (-z relro check): Fix test code to make the variable
23154 truly const.
23155 * configure: Regenerated.
23156
23157 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23158
23159 * nscd/nscd.h (struct traced_file): Define.
23160 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23161 elements. Add traced_files.
23162 (inotify_fd): Declare.
23163 (register_traced_file): Declare.
23164 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23165 (inotify_fd): Export.
23166 (resolv_conf_descr): Remove.
23167 (nscd_init): Move inotify descriptor creation to main.
23168 Don't register files for notification here.
23169 (register_traced_file): New function.
23170 (invalidate_cache): Don't use reset_res to determine whether to call
23171 res_init, go through the list of registered files.
23172 (main_loop_poll): The inotify descriptors are now stored in the
23173 structures for the traced files.
23174 (main_loop_epoll): Likewise
23175 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23176 to __nss_disable_nscd.
23177 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23178 for a database anymore. Check the records for all the registered
23179 files instead.
23180 * nss/Makefile (libnss_files-routines): Add files-init.
23181 (libnss_db-routines): Add db-init.
23182 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23183 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23184 * nss/nss_db/db-init.c: New file.
23185 * nss/nss_files/files-init.c: New file.
23186 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23187 __nss_lookup_function.
23188 (__nss_lookup_function): Call nss_load_library.
23189 (nss_load_all_libraries): New function.
23190 (__nss_disable_nscd): Take parameter with callback function for files
23191 to register. Set is_nscd. Load all the DSOs for the NSS modules
23192 used for the cached services.
23193 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23194 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23195 options for features to all the files in nscd.
23196
23197 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23198
23199 2011-07-10 Roland McGrath <roland@hack.frob.com>
23200
23201 * csu/elf-init.c (__libc_csu_init): Comment typo.
23202
23203 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23204
23205 * po/pl.po: Update from translation team.
23206 * po/ja.po: Likewise.
23207 * po/ru.po: Likewise.
23208 * po/ko.po: Likewise.
23209 * po/fr.po: Likewise.
23210
23211 2011-07-09 Roland McGrath <roland@hack.frob.com>
23212
23213 * configure.in (.ctors/.dtors header and trailer check):
23214 Use an empirical test on a built program.
23215 * configure: Regenerated.
23216
23217 * configure.in (-z relro check): Use an empirical test on a built DSO.
23218 Detect, but do not require, on ia64.
23219 * configure: Regenerated.
23220
23221 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23222 Update tests that use readelf to use $READELF instead.
23223 * configure: Regenerated.
23224
23225 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23226
23227 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23228 if the result is not used.
23229
23230 2011-07-05 Andreas Jaeger <aj@suse.de>
23231
23232 [BZ#9696]
23233 * stdlib/tst-strtod.c: Add testcase.
23234
23235 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23236
23237 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23238 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23239 The latter has a higher limit. Take additional parameter to pass to
23240 the new function.
23241 (__pathconf): Pass file to __statfs_link_max.
23242 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23243 __statfs_link_max.
23244 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23245 __statfs_link_max.
23246
23247 [BZ #12868]
23248 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23249 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23250 Handle Lustre.
23251 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23252 (__statfs_filesize_max): Likewise.
23253 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23254
23255 2011-07-05 Andreas Jaeger <aj@suse.de>
23256
23257 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23258
23259 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23260
23261 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23262 `status' variable.
23263 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23264 Likewise.
23265
23266 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23267
23268 * Makefile (strop-tests): Add strncat.
23269 * string/test-strncat.c: New file.
23270
23271 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23272
23273 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23274
23275 2011-06-21 Andreas Jaeger <aj@suse.de>
23276
23277 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23278 Copy rule from iconvdata/Makefile.
23279
23280 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23281
23282 [BZ #12922]
23283 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23284 but no long options are defined, just return 'W'.
23285
23286 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23287
23288 [BZ #9696]
23289 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23290
23291 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23292
23293 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23294 netgroups to read.
23295 (innetgr): Likewise.
23296
23297 2011-07-05 Roland McGrath <roland@hack.frob.com>
23298
23299 * config.make.in (install_root): Default to $(DESTDIR).
23300
23301 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23302
23303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23304
23305 2011-07-02 Roland McGrath <roland@hack.frob.com>
23306
23307 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23308
23309 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23310 containing directory rather than embedding absolute directory names.
23311
23312 * scripts/check-local-headers.sh: Rewritten using awk.
23313 Match by word, not by line. Print error messages for matches.
23314 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23315
23316 * Makerules [shlib-lds-flags empty]:
23317 ($(common-objpfx)libc_pic.opts): New target.
23318 ($(common-objpfx)libc_pic.os.clean): New target.
23319 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23320
23321 * config.make.in (OBJCOPY): New variable.
23322 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23323 * configure: Regenerated.
23324
23325 * config.make.in (use-default-link): New variable.
23326 * configure.in (use_default_link): Grok --with-default-link to set it.
23327 * configure: Regenerated.
23328 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23329 (shlib-lds, shlib-lds-flags): Define to empty.
23330
23331 * Makerules (shlib-lds): New variable.
23332 (shlib-lds-flags): New variable.
23333 (build-shlib, build-moduile, build-module-asneeded): Use it.
23334 ($(common-objpfx)libc.so): Use $(shlib-lds).
23335 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23336 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23337
23338 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23339 DT_FLAGS/DT_FLAGS_1 with zero flags.
23340
23341 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23342 linker script munging.
23343
23344 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23345
23346 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23347 as 128-bit value.
23348 * crypt/sha512.c (sha512_process_block): Perform total addition using
23349 128-bit if possible.
23350 (__sha512_finish_ctx): Likewise.
23351 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23352 as 64-bit value.
23353 * crypt/sha256.c (SWAP64): Define.
23354 (sha256_process_block): Perform total addition using 64-bit if
23355 possible.
23356 (__sha256_finish_ctx): Likewise.
23357
23358 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23359
23360 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23362 * nscd/hstcache.c (cache_addhst): Likewise.
23363 * nscd/grpcache.c (cache_addgr): Likewise.
23364 * nscd/aicache.c (addhstaiX): Likewise
23365 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23366
23367 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23368
23369 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23371 * nscd/hstcache.c (cache_addhst): Likewise.
23372 * nscd/grpcache.c (cache_addgr): Likewise.
23373 * nscd/aicache.c (addhstaiX): Likewise
23374
23375 2011-07-01 Andreas Schwab <schwab@redhat.com>
23376
23377 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23378 domain only when needed.
23379
23380 2011-06-30 Andreas Schwab <schwab@redhat.com>
23381
23382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23383 is always restored.
23384
23385 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23386
23387 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23388 are re-adding the entry.
23389 * nscd/servicescache.c (cache_addserv): Likewise.
23390
23391 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23392
23393 * sysdeps/generic/dl-irel.h: fix protection against multiple
23394 inclusions.
23395 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23396
23397 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23398
23399 [BZ #12935]
23400 * malloc/memusage.sh: Fix quoting in message.
23401 * debug/xtrace.sh: Likewise.
23402
23403 * configure.in: Remove support for --experimental-malloc option, make
23404 it the default.
23405 * config.make.in: Likewise.
23406 * malloc/Makefile: Likewise.
23407
23408 2011-06-27 Andreas Schwab <schwab@redhat.com>
23409
23410 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23411 two-byte characters.
23412
23413 2011-06-27 Roland McGrath <roland@hack.frob.com>
23414
23415 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23416 AC_CACHE_CHECK invocation.
23417 * configure: Regenerated.
23418
23419 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23420
23421 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23422
23423 [BZ #12350]
23424 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23425 bit from old_res_options.
23426
23427 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23428
23429 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23430 value type for setfct.
23431
23432 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23433
23434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23435 __gettimeofday instead of gettimeofday.
23436
23437 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23438
23439 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23440
23441 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23442
23443 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23444
23445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23446 info.
23447
23448 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23449
23450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23451 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23452 strcpy-sse2-unaligned strncpy-sse2-unaligned
23453 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23454 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23455 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23456 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23457 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23460 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23461 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23462 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23463 (STRCPY): Support SSE2 and SSSE3 versions.
23464
23465 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23466
23467 [BZ #12874]
23468 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23469 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23470 kernels which artificially limit size of requests.
23471
23472 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23473
23474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23475 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23476 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23477 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23478 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23479 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23480 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23481 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23484 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23485 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23486 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23487 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23488 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23490 Enable unaligned load optimization for Intel Core i3, i5 and i7
23491 processors.
23492 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23493 Define.
23494 (index_Fast_Unaligned_Load): Define.
23495 (HAS_FAST_UNALIGNED_LOAD): Define.
23496
23497 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23498
23499 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23500
23501 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23502
23503 [BZ #12907]
23504 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23505 until it is clear that the information is realy needed.
23506 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23507
23508 2011-06-22 Andreas Schwab <schwab@redhat.com>
23509
23510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23511
23512 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23513
23514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23515 /sys/devices/system/cpu/online if it is usable.
23516
23517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23518 reading the information from the /proc filesystem to once a second.
23519
23520 2011-06-21 Andreas Jaeger <aj@suse.de>
23521
23522 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23523 NULL after inclusion of kernel headers.
23524
23525 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23526
23527 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23528 calls to internal_setent.
23529
23530 [BZ #12885]
23531 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23532 addresses using gethostbyname4_r ignore IPv4 addresses.
23533
23534 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23535 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23536
23537 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23538
23539 2011-06-20 David S. Miller <davem@davemloft.net>
23540
23541 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23542 inclusions.
23543 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23544
23545 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23546 (elf_irel): Use it.
23547 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23548 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23549 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23550 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23551 * sysdeps/x86_64/dl-irel.h: Likewise.
23552
23553 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23554 * elf/dl-sym.c: Likewise.
23555
23556 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23557
23558 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23559 need to dereference resplen2.
23560
23561 2011-06-14 Andreas Schwab <schwab@redhat.com>
23562
23563 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23564
23565 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23566
23567 * Makeconfig: Define vardbdir and inst_vardbdir.
23568 * nss/Makefile: Add rules to install db-Makefile.
23569
23570 * nss/nss_db/db-XXX.c: Cleanup.
23571
23572 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23573 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23574 GLIBC_PRIVATE.
23575 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23576 * nss/makedb.c: Implement -g option to specify that value strings
23577 are generated and should not be added to table iterated over for
23578 get*ent calls.
23579 * nss/nss_db/db-initgroups.c: New file.
23580
23581 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23582 interface.
23583
23584 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23585 (internal_getgrouplist): Adjust to name change.
23586 Update use_initgroups_entry if this is not the first call.
23587 * nss/databases.def: Add initgroups entry.
23588
23589 * nss/makedb.c (compute_tables): Check result of multiple hash table
23590 sizes to minimize maximum chain length.
23591
23592 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23593
23594 * Versions.def: Add entry for libnss_db.
23595 * shlib-versions: Likewise.
23596 * nss/Makefile: Add rules to build libnss_db.
23597 * nss/Versions: Add libnss_db information. Organize libnss_files
23598 entries better.
23599 * nss/db-Makefile: Add gshadow support. Change rules for the new
23600 makedb progra. Some minor improvements to generate smaller files.
23601 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23602 here from...
23603 * nss/makedb.c: ...here.
23604 Improve database format to be smaller and require less memory at
23605 runtime.
23606 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23607 db anymore.
23608 * nss/nss_db/db-netgrp.c: Likewise.
23609 * nss/nss_db/db-open.c: Likewise.
23610 * nss/nss_files/flies-XXX.x: Adjust comments.
23611 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23612 * nss/nss_files/files-grp.c: Likewise.
23613 * nss/nss_files/files-hosts.c: Likewise.
23614 * nss/nss_files/files-network.c: Likewise.
23615 * nss/nss_files/files-proto.c: Likewise.
23616 * nss/nss_files/files-pwd.c: Likewise.
23617 * nss/nss_files/files-rpc.c: Likewise.
23618 * nss/nss_files/files-service.c: Likewise.
23619 * nss/nss_files/files-sgrp.c: Likewise.
23620 * nss/nss_files/files-spwd.c: Likewise.
23621 * nss/nss_db/db-alias.c: Removed.
23622 * nss/nss_db/dummy-db.h: Removed.
23623
23624 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23625
23626 * nss/makedb.c: Rewritten to not use database library.
23627 * nss/Makefile: Update to build new makedb program.
23628
23629 2011-06-14 Andreas Jaeger <aj@suse.de>
23630
23631 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23632 memset declaration.
23633
23634 2011-06-10 Andreas Schwab <schwab@redhat.com>
23635
23636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23637 tmpbuf.
23638
23639 2011-06-10 Roland McGrath <roland@hack.frob.com>
23640
23641 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23642 * elf/Makefile ($(objpfx)ld.so): Likewise.
23643
23644 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23645 Don't list ld.so twice in dependencies.
23646
23647 * posix/bug-regex31.c: Include <stdlib.h>.
23648
23649 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23650
23651 * nis/nss_compat/compat-spwd.c
23652 (getspent_next_nss_netgr): Remove unused variable.
23653 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23654
23655 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23656 nonmembers" output to use the right array.
23657
23658 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23659
23660 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23661
23662 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23663 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23664 * catgets/gencat.c (read_input_file): Likewise.
23665 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23666
23667 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23668 variable definition inside #if's controlling its use.
23669
23670 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23671
23672 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23673
23674 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23675
23676 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23677 unreachable code.
23678
23679 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23680
23681 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23682 * configure: Regenerated.
23683
23684 * Makerules: Revert last change.
23685 * elf/Makefile: Likewise.
23686
23687 2011-06-09 Roland McGrath <roland@hack.frob.com>
23688
23689 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23690 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23691 (reloc-link): Likewise.
23692
23693 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23694
23695 * elf/Makefile: Add rules to build pldd.
23696 * elf/pldd.c: New file.
23697 * elf/pldd-xx.c: New file.
23698
23699 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23700
23701 * version.h: Update for 2.15 development version.
23702
23703 2011-06-07 David S. Miller <davem@davemloft.net>
23704
23705 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23706 ifuncs.
23707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23708 elf_machine_lazy_rel): Likewise.
23709 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23710 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23711 elf_machine_lazy_rel): Likewise.
23712 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23713 dl_hwcap via passed in argument.
23714 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23715 Likewise.
23716
23717 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23718
23719 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23720
23721 2011-06-06 Roland McGrath <roland@hack.frob.com>
23722
23723 [BZ #12849]
23724 * manual/fdl-1.1.texi: New file, verbatim from:
23725 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23726 * manual/lgpl-2.1.texi: New file, verbatim from:
23727 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23728 * manual/Makefile (licenses): New variable, list those new file names.
23729 (texis): Use it.
23730 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23731
23732 * manual/fdl.texi: File removed.
23733 * manual/lesser.texi: File removed.
23734 * manual/libc.texinfo (Copying, Documentation License):
23735 Use new @include file names, put @appendix directive before @include.
23736
23737 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23738
23739 [BZ #12841]
23740 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23741 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23742 (mq_open): Add __NTH.
23743
23744 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23745
23746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23747 Assume Intel Core i3/i5/i7 processor if AVX is available.
23748
23749 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23750
23751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23752 typo.
23753
23754 2011-05-31 Andreas Schwab <schwab@redhat.com>
23755
23756 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23757 memory. Use alloca_account. Fix memory leak when retrying.
23758
23759 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23760
23761 * version.h (RELEASE): Bump for 2.14 release.
23762 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23763
23764 * config.make.in (RANLIB): Remove entry.
23765
23766 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23767
23768 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23769 (libc.pot): Work around missing support for .ksh extension in xgettext.
23770
23771 [BZ #12684]
23772 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23773 if both request failed.
23774 (send_dg): In case of server errors clear resplen or *resplen2.
23775
23776 [BZ #12454]
23777 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23778 when there are multiple maps.
23779 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23780 (_dl_fini): Remove test here.
23781
23782 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23783
23784 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23785
23786 [BZ #12350]
23787 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23788 bit from old_res_options.
23789 (gaih_inet): Likewise.
23790
23791 [BZ #11099]
23792 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23793 as signed.
23794
23795 * resolv/res_init.c (res_setoptions): Make the code more compact.
23796
23797 [BZ #11558]
23798 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23799 set RES_USEVC.
23800
23801 [BZ #11634]
23802 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23803
23804 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23805
23806 [BZ #11781]
23807 * malloc/malloc.h: Declare malloc hook variables as volatile.
23808
23809 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23810 in last patch.
23811
23812 [BZ #11799]
23813 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23814 raise in the comment.
23815 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23817 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23818
23819 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23820
23821 [BZ #12811]
23822 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23823 grow the buffers more if it already has to be sufficient.
23824 (build_wcs_upper_buffer): Likewise.
23825 * posix/regexec.c (check_matching): Likewise.
23826 (clean_state_log_if_needed): Likewise.
23827 (extend_buffers): Don't enlarge buffers beyond size of the input
23828 buffer.
23829 Patches mostly by Emil Wojak <emil@wojak.eu>.
23830 * posix/bug-regex32.c: New file.
23831 * posix/Makefile (tests): Add bug-regex32.
23832
23833 * locale/findlocale.c (_nl_find_locale): Return right away if
23834 _nl_explode_name failed.
23835 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23836
23837 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23838
23839 * debug/xtrace.sh: Unify messages.
23840 * malloc/memusage.sh: Likewise.
23841
23842 [BZ #12813]
23843 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23844 time symbol from vDSO. Substitute with vsyscall if not available.
23845 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23846 __vdso_time.
23847
23848 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23849 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23850 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23851 Add sendmmsg and internal_sendmmsg.
23852 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23853 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23854 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23855
23856 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23857 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23858 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23859
23860 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23861
23862 [BZ #12813]
23863 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23864 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23865 available.
23866 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23867 __vdso_getcpu.
23868
23869 [BZ #12814]
23870 * iconvdata/Makefile (tests): Add bug-iconv9.
23871 * iconvdata/bug-iconv9.c: New file.
23872
23873 2011-05-27 Andreas Schwab <schwab@redhat.com>
23874
23875 [BZ #12814]
23876 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23877
23878 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23879
23880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23881 (struct user_regs_struct): Change intcs field back to cs.
23882
23883 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23884
23885 * po/ja.po: Update from translation team.
23886
23887 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23888
23889 [BZ #12795]
23890 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23891 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23892
23893 2011-05-20 Andreas Schwab <schwab@redhat.com>
23894
23895 * stdlib/longlong.h: Update from GCC.
23896
23897 2011-05-23 Andreas Schwab <schwab@redhat.com>
23898
23899 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23900 parameter name.
23901 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23902 Add parameter name.
23903 (__sysconf): Pass it down.
23904
23905 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23906
23907 [BZ #12671]
23908 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23909 some situations.
23910 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23911 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23912 add in in __libc_use_alloca calls. Adjust callers.
23913 (glob): Use malloc in some situations.
23914
23915 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23916 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23917 pltexit.
23918
23919 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23920
23921 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23922 and CLOCK_BOOTTIME_ALARM.
23923
23924 [BZ #12782]
23925 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23926 is returned.
23927
23928 * string/_strerror.c (__strerror_r): Print negative errors as signed
23929 numbers.
23930
23931 [BZ #12777]
23932 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23933 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23934 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23935
23936 * configure.in: Fix typo in redirection and correct removal of test
23937 files in two cases.
23938
23939 [BZ #12788]
23940 * locale/setlocale.c (new_composite_name): Fix test to check for
23941 identical name of all categories.
23942
23943 [BZ #12792]
23944 * libio/filedoalloc.c (local_isatty): New function.
23945 (_IO_file_doallocate): Use local_isatty.
23946 * stdio-common/perror.c (perror): In case a new stream is used
23947 forward the stream error.
23948 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23949 error flag.
23950
23951 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23952
23953 [BZ #11869]
23954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23955 alloca.
23956 * include/alloca.h (extend_alloca_account): Define.
23957
23958 [BZ #11857]
23959 * posix/regex.h: Fix comments with documentation of user-accessible
23960 fields after compilation and describe correct free'ing of pattern
23961 after re_compile_pattern.
23962 Patch by Reuben Thomas <rrt@sc3d.org>.
23963
23964 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23965
23966 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23967 and -mno-altivec to prevent the compiler from using Altivec and/or
23968 VSX instructions when the corresponding registers are not available.
23969
23970 2011-05-19 Andreas Schwab <schwab@redhat.com>
23971
23972 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23973
23974 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23975
23976 * libio/freopen.c (freopen): Use __dup2, not dup2.
23977 * libio/freopen64.c (freopen64): Likewise.
23978
23979 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23980
23981 [BZ #12775]
23982 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23983 * math/Makefile (tests): Add test-powl.
23984 (CFLAGS-test-powl.c): Define.
23985 * math/test-powl.c: New file.
23986
23987 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23988
23989 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23990
23991 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23992
23993 [BZ #11837]
23994 * iconvdata/gb18030.c: Update to GB18020-2005.
23995
23996 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23997
23998 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23999 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24000 Patch by Aharon Robbins <arnold@skeeve.com>.
24001
24002 [BZ #11892]
24003 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24004 on the stack.
24005
24006 [BZ #11895]
24007 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24008 through underflows.
24009
24010 [BZ #12766]
24011 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24012 point to strings before performing equality test for error_one_per_line
24013 mode.
24014
24015 [BZ #11697]
24016 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24017
24018 [BZ #11820]
24019 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24020 (struct user_fpregs_struct): Avoid __uint*_t types.
24021
24022 [BZ #6420]
24023 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24024 symbol info. Use it instead of calling _dl_addr locally.
24025 (lock_and_info): New function.
24026 (tr_freehook): Call lock_and_info and pass symbol info as additional
24027 parameter to tr_where.
24028 (tr_mallochook): Likewise.
24029 (tr_reallochook): Likewise.
24030 (tr_memalignhook): Likewise.
24031
24032 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24033 used and couldn't be at all thread-safe.
24034
24035 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24036
24037 * libio/freopen.c (freopen): Don't close old file descriptor
24038 before the new one is opened. Instead dup the new file descriptor
24039 to the old one after the new stream is created.
24040 * libio/freopen64.c (freopen64): Likewise.
24041 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24042 * libio/fileops.c (_IO_new_file_close_it): Handle new
24043 _IO_FLAGS2_NOCLOSE flag.
24044 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24045 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24046 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24047 _IO_FLAGS2_NOCLOSE flag.
24048 * include/unistd.h: Add hidden_proto for dup3.
24049 Define __have_dup3.
24050 * io/dup3.c: Define hidden symbol.
24051 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24052
24053 [BZ #7101]
24054 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24055 when an incomplete long option is used.
24056 * posix/tst-getopt_long1.c: New file.
24057 * posix/Makefile (tests): Add tst-getopt_long1.
24058
24059 [BZ #10138]
24060 * scripts/config.guess: Update from autoconf-2.68.
24061 * scripts/config.sub: Likewise.
24062
24063 [BZ #10157]
24064 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24065 tests into ...
24066 (has_cpuclock): ...this. New function.
24067 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24068 macro here based on has_cpuclock code.
24069
24070 [BZ #10149]
24071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24072 First byte (not low byte) is now always NUL.
24073 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24074
24075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24076 Use non-cancelable interfaces.
24077
24078 [BZ #9809]
24079 * locale/iso-639.def: Add entry for Sorani.
24080
24081 [BZ #11901]
24082 * include/stdlib.h: Move include protection to the right place.
24083 Define abort_msg_s. Declare __abort_msg with it.
24084 * stdlib/abort.c (__abort_msg): Adjust type.
24085 * assert/assert.c (__assert_fail_base): New function. Majority
24086 of code from __assert_fail. Allocate memory for __abort_msg with
24087 mmap.
24088 (__assert_fail): Now call __assert_fail_base.
24089 * assert/assert-perr.c: Remove bulk of implementation. Use
24090 __assert_fail_base.
24091 * include/assert.hL Declare __assert_fail_base.
24092 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24093 mmap.
24094 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24095
24096 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24097
24098 [BZ #11952]
24099 [BZ #12453]
24100 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24101 until all modules are registered in the DTV.
24102 * elf/Makefile: Add rules to build and run tst-tls19.
24103 * elf/tst-tls19.c: New file.
24104 * elf/tst-tls19mod1.c: New file.
24105 * elf/tst-tls19mod2.c: New file.
24106 * elf/tst-tls19mod3.c: New file.
24107 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24108
24109 [BZ #12083]
24110 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24111 correctly.
24112
24113 [BZ #12601]
24114 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24115 two-byte sequence errors.
24116 * iconvdata/Makefile (tests): Add bug-iconv8.
24117 * iconvdata/bug-iconv8.c: New file.
24118
24119 [BZ #12626]
24120 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24121 buf2 definition.
24122
24123 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24124
24125 [BZ #12432]
24126 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24127 (dummy_getcfa): New function.
24128 (init): Get _Unwind_GetCFA address, use dummy if not found.
24129 (backtrace_helper): In recursion check, also check whether CFA changes.
24130 (__backtrace): Completely initialize arg.
24131
24132 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24133 storing incomplete byte sequence in state object. Avoid testing for
24134 guaranteed too small input if we know there is enough data available.
24135
24136 2011-05-11 Andreas Schwab <schwab@redhat.com>
24137
24138 * Makeconfig (+link-pie): Indent.
24139 * Rules (binaries-pie): Define if $(have-fpie) and
24140 $(build-shared).
24141 (binaries-shared): Also filter out $(binaries-pie).
24142 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24143 * nscd/Makefile (others-pie): Add nscd.
24144 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24145 ($(objpfx)nscd): Remove command override.
24146 * login/Makefile (others-pie): Add pt_chown.
24147 ($(objpfx)pt_chown): Remove command override.
24148 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24149 remove command overrides.
24150
24151 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24152
24153 * libio/tst_putwc.c: Fix error messages.
24154
24155 [BZ #12724]
24156 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24157 currently writing and seek to current position when not.
24158 * libio/Makefile (tests): Add bug-fclose1.
24159 * libio/bug-fclose1.c: New file.
24160
24161 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24162
24163 [BZ #12511]
24164 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24165 don't set DF_1_NODELETE here.
24166 (do_lookup_x): When entering new entry test for copy relocation
24167 and if necessary set DF_1_NODELETE flag.
24168 * elf/tst-unique4.cc: New file.
24169 * elf/tst-unique4.h: New file.
24170 * elf/tst-unique4lib.cc: New file.
24171 * elf/Makefile: Add rules to build and run tst-unique4.
24172 Patch by Piotr Bury <pbury@goahead.com>.
24173
24174 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24175
24176 [BZ #12052]
24177 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24178
24179 [BZ #12625]
24180 * misc/mntent_r.c (addmntent): Flush the stream after the output
24181
24182 [BZ #12393]
24183 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24184 (is_trusted_path_normalize): Skip initial colon. Append slash
24185 to empty buffer. Duplicate is_trusted_path code but allow
24186 constructed patch to be prefix.
24187 (is_dst): Allow $ORIGIN followed by /.
24188 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24189 Correct testing of result of is_trusted_path_normalize
24190 (decompose_rpath): Fix warning.
24191
24192 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24193
24194 [BZ #11257]
24195 * grp/initgroups.c (internal_getgrouplist): When we found the service
24196 list through the initgroups entry in nsswitch.conf do not always
24197 continue on a successful lookup. Don't always use the
24198 __nss_group_database value if it is set.
24199 * nss/nsswitch.conf (initgroups): Change action for successful db
24200 lookup to continue for compatibility.
24201
24202 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24203
24204 [BZ #11532]
24205 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24206 and CP774 modules.
24207 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24208 and CP774 modules.
24209 * iconvdata/tst-tables.sh: Likewise.
24210 * iconvdata/cp770.c: New file.
24211 * iconvdata/cp771.c: New file.
24212 * iconvdata/cp772.c: New file.
24213 * iconvdata/cp773.c: New file.
24214 * iconvdata/cp774.c: New file.
24215 * iconvdata/testdata/CP770: New file.
24216 * iconvdata/testdata/CP770..UTF8: New file.
24217 * iconvdata/testdata/CP771: New file.
24218 * iconvdata/testdata/CP771..UTF8: New file.
24219 * iconvdata/testdata/CP772: New file.
24220 * iconvdata/testdata/CP772..UTF8: New file.
24221 * iconvdata/testdata/CP773: New file.
24222 * iconvdata/testdata/CP773..UTF8: New file.
24223 * iconvdata/testdata/CP774: New file.
24224 * iconvdata/testdata/CP774..UTF8: New file.
24225
24226 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24227 END CHARMAP line.
24228 * iconvdata/gen-8bit-gap.sh: Likewise.
24229 * iconvdata/gen-8bit.sh: Likewise.
24230
24231 * locale/iso-639.def: Add ary entry.
24232
24233 [BZ #11258]
24234 * locale/C-translit.h.in: Add U20A1 transliteration.
24235
24236 [BZ #12178]
24237 * locale/iso-639.def: Add wae entry.
24238 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24239
24240 [BZ #12545]
24241 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24242 for n.
24243
24244 [BZ #12711]
24245 * locale/C-translit.h.in: Add entry for U20B9.
24246 Patch by pravin.d.s@gmail.com.
24247
24248 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24249
24250 [BZ #12713]
24251 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24252 ENAMETOOLONG use generic getcwd.
24253 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24254 in rtld. Use *stat64.
24255 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24256 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24257 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24258 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24259 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24260 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24261 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24262 __fstatat64 macros.
24263 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24264 * dirent/rewinddir.c: Add libc_hidden_def.
24265 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24266 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24267
24268 * include/dirent.h (__alloc_dir): Add flags parameter.
24269 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24270 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24271 __alloc_dir.
24272 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24273 from fdopendir if O_CLOEXEC is already set.
24274
24275 2011-03-15 Alan Modra <amodra@gmail.com>
24276
24277 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24278 l_tls_firstbyte_offset non-zero. Save padding offset in
24279 l_tls_firstbyte_offset for later use.
24280 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24281 freeing static tls block.
24282
24283 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24284
24285 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24286 where #ifdef was intended. The intent is to prevent ARG_MAX from
24287 being defined by the kernel headers.
24288
24289 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24290
24291 [BZ #12734]
24292 * resolv/resolv.h: Define RES_NOTLDQUERY.
24293 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24294 no-tld-query and set RES_NOTLDQUERY.
24295 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24296 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24297 modern BIND to search name as TLD unless forbidden.
24298
24299 2011-05-07 Petr Baudis <pasky@suse.cz>
24300 Ulrich Drepper <drepper@gmail.com>
24301
24302 [BZ #12393]
24303 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24304 (is_trusted_path): ...to here.
24305 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24306 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24307 using is_trusted_path_normalize() in setuid scripts.
24308
24309 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24310
24311 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24312 __BEGIN/__END_DECLS.
24313
24314 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24315
24316 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24317 NSS_STATUS_NOTFOUND if no record was found.
24318
24319 2011-05-05 Andreas Schwab <schwab@redhat.com>
24320
24321 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24322 (headers-not-in-tirpc): Remove rpc/netdb.h
24323 * resolv/netdb.h: Revert last change.
24324
24325 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24326
24327 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24328 circular dependency between libgcc.a and libc.a.
24329
24330 2011-05-05 Andreas Schwab <schwab@redhat.com>
24331
24332 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24333 * nis/Makefile: Don't install rpcsvc/*.
24334 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24335 instead of <rpc/types.h>.
24336 (MAXHOSTNAMELEN): Define.
24337
24338 2011-05-03 Andreas Schwab <schwab@redhat.com>
24339
24340 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24341
24342 2011-04-28 Maciej Babinski <mbabinski@google.com>
24343
24344 [BZ #12714]
24345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24346 gethostbyname4_r when IPv6 results are possible.
24347
24348 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24349
24350 [BZ #12723]
24351 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24352 _PC_PIPE_BUF handling.
24353
24354 2011-04-30 Bruno Haible <bruno@clisp.org>
24355
24356 [BZ #12717]
24357 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24358 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24359 to 'int'.
24360 * inet/getnameinfo.c (getnameinfo): Likewise.
24361
24362 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24363
24364 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24365 to groups setting in database lookup.
24366 * nss/nsswitch.conf: Add initgroups entry.
24367
24368 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24369
24370 [BZ #12685]
24371 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24372 mode string.
24373 Patch by Eric Blake <eblake@redhat.com>.
24374
24375 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24376
24377 * sunrpc/Makefile (need-export-routines): Add svc_run.
24378 (routines): Remove svc_run.
24379 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24380 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24381 * sunrpc/svc_run.c (svc_run): Likewise.
24382 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24383
24384 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24385
24386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24387 problem in reallocation in last patch.
24388
24389 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24390
24391 * sunrpc/Makefile: Move inclusion of Rules.
24392
24393 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24394
24395 * nss/nss_files/files-initgroups.c: New file.
24396 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24397 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24398 _nss_files_initgroups_dyn.
24399
24400 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24401
24402 * elf/elf.h (R_ARM_IRELATIVE): Define.
24403
24404 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24405
24406 * po/ru.po: Update from translation team.
24407
24408 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24409
24410 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24411 dependencies.
24412
24413 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24414
24415 [BZ #12653]
24416 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24417 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24418 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24419 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24420 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24421
24422 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24423
24424 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24425 differing bytes.
24426 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24427 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24428 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24429
24430 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24431
24432 [BZ #12420]
24433 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24434 storing it.
24435 * stdlib/bug-getcontext.c: New file.
24436 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24437
24438 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24439
24440 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24441 instructions into .machine "z9-109".
24442 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24443 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24444
24445 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24446
24447 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24448 between environment variables and auxiliary vector.
24449
24450 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24451
24452 * Makefile: Add rules to build linkobj/libc.so.
24453 * include/libc-symbols.h: Define libc_hidden_nolink.
24454 * include/rpc/auth.h: Mark functions which are to be hidden.
24455 * include/rpc/auth_des.h: Likewise.
24456 * include/rpc/auth_unix.h: Likewise.
24457 * include/rpc/clnt.h: Likewise.
24458 * include/rpc/des_crypt.h: Likewise.
24459 * include/rpc/key_prot.h: Likewise.
24460 * include/rpc/pmap_clnt.h: Likewise.
24461 * include/rpc/pmap_prot.h: Likewise.
24462 * include/rpc/pmap_rmt.h: Likewise.
24463 * include/rpc/rpc_msg.h: Likewise.
24464 * include/rpc/svc.h: Likewise.
24465 * include/rpc/svc_auth.h: Likewise.
24466 * include/rpc/xdr.h: Likewise.
24467 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24468 * nss/Makefile: Likewise.
24469 * sunrpc/Makefile: Don't install headers. Build library with normal
24470 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24471 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24472 for the compat linking library. Remove use of INTDEF/INTUSE.
24473 * sunrpc/auth_none.c: Likewise.
24474 * sunrpc/auth_unix.c: Likewise.
24475 * sunrpc/authdes_prot.c: Likewise.
24476 * sunrpc/authuxprot.c: Likewise.
24477 * sunrpc/clnt_gen.c: Likewise.
24478 * sunrpc/clnt_perr.c: Likewise.
24479 * sunrpc/clnt_raw.c: Likewise.
24480 * sunrpc/clnt_simp.c: Likewise.
24481 * sunrpc/clnt_tcp.c: Likewise.
24482 * sunrpc/clnt_udp.c: Likewise.
24483 * sunrpc/clnt_unix.c: Likewise.
24484 * sunrpc/des_crypt.c: Likewise.
24485 * sunrpc/des_soft.c: Likewise.
24486 * sunrpc/get_myaddr.c: Likewise.
24487 * sunrpc/key_call.c: Likewise.
24488 * sunrpc/key_prot.c: Likewise.
24489 * sunrpc/netname.c: Likewise.
24490 * sunrpc/pm_getmaps.c: Likewise.
24491 * sunrpc/pm_getport.c: Likewise.
24492 * sunrpc/pmap_clnt.c: Likewise.
24493 * sunrpc/pmap_prot.c: Likewise.
24494 * sunrpc/pmap_prot2.c: Likewise.
24495 * sunrpc/pmap_rmt.c: Likewise.
24496 * sunrpc/publickey.c: Likewise.
24497 * sunrpc/rpc_cmsg.c: Likewise.
24498 * sunrpc/rpc_common.c: Likewise.
24499 * sunrpc/rpc_dtable.c: Likewise.
24500 * sunrpc/rpc_prot.c: Likewise.
24501 * sunrpc/rpc_thread.c: Likewise.
24502 * sunrpc/rtime.c: Likewise.
24503 * sunrpc/svc.c: Likewise.
24504 * sunrpc/svc_auth.c: Likewise.
24505 * sunrpc/svc_authux.c: Likewise.
24506 * sunrpc/svc_raw.c: Likewise.
24507 * sunrpc/svc_run.c: Likewise.
24508 * sunrpc/svc_simple.c: Likewise.
24509 * sunrpc/svc_tcp.c: Likewise.
24510 * sunrpc/svc_udp.c: Likewise.
24511 * sunrpc/svc_unix.c: Likewise.
24512 * sunrpc/svcauth_des.c: Likewise.
24513 * sunrpc/xcrypt.c: Likewise.
24514 * sunrpc/xdr.c: Likewise.
24515 * sunrpc/xdr_array.c: Likewise.
24516 * sunrpc/xdr_float.c: Likewise.
24517 * sunrpc/xdr_intXX_t.c: Likewise.
24518 * sunrpc/xdr_mem.c: Likewise.
24519 * sunrpc/xdr_rec.c: Likewise.
24520 * sunrpc/xdr_ref.c: Likewise.
24521 * sunrpc/xdr_sizeof.c: Likewise.
24522 * sunrpc/xdr_stdio.c: Likewise.
24523
24524 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24525
24526 [BZ #12650]
24527 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24528 * sysdeps/ia64/dl-tls.h: Likewise.
24529 * sysdeps/powerpc/dl-tls.h: Likewise.
24530 * sysdeps/s390/dl-tls.h: Likewise.
24531 * sysdeps/sh/dl-tls.h: Likewise.
24532 * sysdeps/sparc/dl-tls.h: Likewise.
24533 * sysdeps/x86_64/dl-tls.h: Likewise.
24534 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24535
24536 2011-03-14 Andreas Schwab <schwab@redhat.com>
24537
24538 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24539 rpath element also skip the following colon.
24540 (expand_dynamic_string_token): Add is_path parameter and pass
24541 down to DL_DST_REQUIRED and _dl_dst_substitute.
24542 (decompose_rpath): Call expand_dynamic_string_token with
24543 non-zero is_path. Ignore empty rpaths.
24544 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24545 with zero is_path.
24546
24547 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24548
24549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24550 Make cancelable.
24551
24552 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24553
24554 [BZ #12655]
24555 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24556 Patch by Filipe David Manana <fdmanana@apache.org>.
24557
24558 2011-04-07 Andreas Schwab <schwab@redhat.com>
24559
24560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24561 Maintain aligned stack.
24562 (CHECK_RSP): Remove unused macro.
24563
24564 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24565
24566 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24567 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24568
24569 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24570
24571 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24572
24573 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24574
24575 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24576
24577 [BZ #12518]
24578 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24579 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24580 * sysdeps/x86_64/memmove.c: New file.
24581 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24582 (memcpy): Renamed to ...
24583 (__new_memcpy): This.
24584 (memcpy): Provide GLIBC_2_14 memcpy.
24585 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24586 (memcpy): Provide GLIBC_2_2_5 memcpy.
24587
24588 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24589
24590 [BZ #12631]
24591 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24592
24593 2011-03-30 Andreas Schwab <schwab@redhat.com>
24594
24595 * misc/syncfs.c: New file.
24596 * misc/Makefile (routines): Add syncfs.
24597 * posix/unistd.h: Declare syncfs.
24598 * sysdeps/unix/syscalls.list: Add syncfs.
24599
24600 2011-04-01 Andreas Schwab <schwab@redhat.com>
24601
24602 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24603 open_by_handle_at.
24604 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24605 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24607 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24609 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24611
24612 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24613
24614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24615 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24616 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24621
24622 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24623 sync_file_range.c with -fexceptions.
24624 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24625 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24626 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24627 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24628 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24629 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24630 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24631 sync_file_range as cancellation point
24632 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24633 now a wrapper around __call_sync_file_range with cancellation handling.
24634 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24635 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24636 function name to __call_sync_file_range.
24637 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24638 Add call_sync_file_range.
24639
24640 2011-04-01 Andreas Schwab <schwab@redhat.com>
24641
24642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24643 bits/timex.h.
24644
24645 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24646
24647 * iconv/iconv.h: Fix typo in comment.
24648 * io/fcntl.h: Likewise.
24649 * libio/stdio.h: Likewise.
24650 * posix/spawn.h: Likewise.
24651 * posix/unistd.h: Likewise.
24652 * stdlib/stdlib.h: Likewise.
24653 * time/time.h: Likewise.
24654 * wcsmbs/wchar.h: Likewise.
24655
24656 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24657 open_by_handle): Add.
24658 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24659 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24660 Augment a few comments.
24661 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24663 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24665 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24666 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24667 open_by_handle.
24668
24669 * io/fcntl.h (AT_EMPTY_PATH): Define.
24670
24671 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24672
24673 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24674 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24675 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24676 to...
24677 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24678 * Versions.def: Add GLIBC_2.14.
24679 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24680 Export.
24681
24682 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24683
24684 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24685 round counter.
24686 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24687
24688 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24689
24690 [BZ #12597]
24691 * string/test-strncmp.c (do_page_test): New function.
24692 (check2): Likewise.
24693 (test_main): Call check2.
24694 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24695
24696 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24697
24698 [BZ #12587]
24699 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24700 Handle cache information in CPU leaf 4.
24701 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24702
24703 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24704
24705 [BZ #12583]
24706 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24707 character representation.
24708 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24709
24710 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24711
24712 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24713 END(__isnan) to END(__isnanf) to match function entry point/label
24714 EALIGN(__isnanf,...).
24715
24716 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24717
24718 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24719
24720 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24721
24722 [BZ #12510]
24723 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24724 copy from the symbol referenced in the relocation to initialize the
24725 used variable.
24726 Patch by Piotr Bury <pbury@goahead.com>.
24727 * elf/Makefile: Add rules to build and tst-unique3.
24728 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24729 * elf/tst-unique3.cc: New file.
24730 * elf/tst-unique3.h: New file.
24731 * elf/tst-unique3lib.cc: New file.
24732 * elf/tst-unique3lib2.cc: New file.
24733
24734 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24735
24736 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24737
24738 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24739 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24740 to _start.
24741
24742 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24743
24744 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24745 to-be-loaded object along a path to loader is ld.so.
24746
24747 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24748 Ulrich Drepper <drepper@gmail.com>
24749
24750 * sysdeps/x86_64/memset.S: After aligning destination, code
24751 branches to different locations depending on the value of
24752 misalignment, when multiarch is enabled. Fix this.
24753
24754 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24755
24756 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24757 Set _x86_64_preferred_memory_instruction for AMD processsors.
24758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24759 Set bit_Prefer_SSE_for_memop for AMD processors.
24760
24761 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24762
24763 * libio/fmemopen.c (fmemopen): Optimize a bit.
24764
24765 2011-03-03 Andreas Schwab <schwab@redhat.com>
24766
24767 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24768
24769 2011-03-03 Roland McGrath <roland@redhat.com>
24770
24771 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24772
24773 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24774
24775 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24776 __bzero_ultra1 instead of __memset_ultra1.
24777
24778 2011-02-23 Andreas Schwab <schwab@redhat.com>
24779 Ulrich Drepper <drepper@gmail.com>
24780
24781 [BZ #12509]
24782 * include/link.h (struct link_map): Add l_orig_initfini.
24783 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24784 returning unsuccessfully.
24785 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24786 close of a file loaded at startup, restore the original l_initfini
24787 list.
24788 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24789 list, store the pointer.
24790 * elf/Makefile ($(objpfx)noload-mem): New rule.
24791 (noload-ENV): Define.
24792 (tests): Add $(objpfx)noload-mem.
24793 * elf/noload.c: Include <memcheck.h>.
24794 (main): Call mtrace. Close all opened handles.
24795
24796 2011-02-17 Andreas Schwab <schwab@redhat.com>
24797
24798 [BZ #12454]
24799 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24800 dependencies are missing.
24801
24802 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24803
24804 Fix __if_freereq crash: Unlike the generic version which uses free,
24805 Hurd needs munmap.
24806 * sysdeps/mach/hurd/ifreq.h: New file.
24807
24808 2011-01-27 Petr Baudis <pasky@suse.cz>
24809 Ulrich Drepper <drepper@gmail.com>
24810
24811 [BZ 12445]#
24812 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24813 to extend_alloca().
24814 * stdio-common/bug23.c: New file.
24815 * stdio-common/Makefile (tests): Add bug23.
24816
24817 2010-09-28 Andreas Schwab <schwab@redhat.com>
24818 Ulrich Drepper <drepper@gmail.com>
24819
24820 [BZ #12489]
24821 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24822 before performing relro protection. At old place add assertion
24823 to make sure nothing changed.
24824
24825 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24826 Glauber de Oliveira Costa <glommer@gmail.com>
24827
24828 * elf/elf.h: Add new ARM TLS relocs.
24829
24830 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24831
24832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24833 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24834 cast from r3.
24835 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24836 'tests' variable.
24837 * sysdeps/wordsize-64/tst-writev.c: New file.
24838
24839 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24840
24841 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24842 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24843 insns in _dl_start to prevent a TOC reference before relocs are
24844 resolved.
24845
24846 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24847
24848 [BZ #12469]
24849 * Makeconfig: Remove RANLIB definition.
24850 * Makerules: Don't use RANLIB.
24851 * aclocal.m4: Remove ranlib test.
24852 * configure.in: No need to check for ranlib.
24853 * elf/rtld-Rules: Don't use RANLIB.
24854
24855 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24856
24857 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24858 protection macro.
24859 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24860 inclusion protection macro.
24861
24862 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24863 SIGRTMIN and SIGRTMAX and print information in that case only when
24864 SIGRTMIN is defined.
24865
24866 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24867
24868 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24869 arginfo fn returning -1.
24870
24871 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24872 and thousands string is zero terminated.
24873
24874 2011-02-03 Andreas Schwab <schwab@redhat.com>
24875
24876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24877 sysdeps/unix/sysv/linux/bits/socket.h.
24878
24879 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24880
24881 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24882 (__CPU_COUNT): Remove old macros.
24883 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24884 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24885 (__CPU_ALLOC, __CPU_FREE): Add macros.
24886 (__sched_cpualloc, __sched_cpufree): Add declarations.
24887
24888 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24889
24890 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24891 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24892 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24893 (readdhstai): Return value of addhstaiX call.
24894 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24895 (addgrbyX): Return value returned by cache_addgr.
24896 (readdgrbyname): Return value returned by addgrbyX.
24897 (readdgrbygid): Likewise.
24898 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24899 (addpwbyX): Return value returned by cache_addpw.
24900 (readdpwbyname): Return value returned by addhstbyX.
24901 (readdpwbyuid): Likewise.
24902 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24903 (addservbyX): Return value returned by cache_addserv.
24904 (readdservbyname): Return value returned by addservbyX:
24905 (readdservbyport): Likewise.
24906 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24907 (addhstbyX): Return value returned by cache_addhst.
24908 (readdhstbyname): Return value returned by addhstbyX.
24909 (readdhstbyaddr): Likewise.
24910 (readdhstbynamev6): Likewise.
24911 (readdhstbyaddrv6): Likewise.
24912 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24913 (readdinitgroups): Return value returned by addinitgroupsX.
24914 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24915 (prune_cache): Keep track of timeout value of re-added entries.
24916 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24917 * nscd/nscd.h: Adjust prototypes of readd* functions.
24918
24919 2011-02-04 Roland McGrath <roland@redhat.com>
24920
24921 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24922 (nis_stats): Likewise.
24923 * nis/nis_modify.c (nis_modify): Likewise.
24924 * nis/nis_remove.c (nis_remove): Likewise.
24925 * nis/nis_add.c (nis_add): Likewise.
24926
24927 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24928
24929 * posix/fnmatch_loop.c: Add some consts.
24930
24931 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24932
24933 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24934
24935 [BZ #12460]
24936 * config.make.in (config-cflags-novzeroupper): Define.
24937 * configure.in: Substitute libc_cv_cc_novzeroupper.
24938 * elf/Makefile (AVX-CFLAGS): Define.
24939 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24940 (CFLAGS-tst-auditmod4a.c): Likewise.
24941 (CFLAGS-tst-auditmod4b.c): Likewise.
24942 (CFLAGS-tst-auditmod6b.c): Likewise.
24943 (CFLAGS-tst-auditmod6c.c): Likewise.
24944 (CFLAGS-tst-auditmod7b.c): Likewise.
24945 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24946
24947 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24948
24949 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24950 function to the callback.
24951 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24952
24953 2011-02-02 Andreas Schwab <schwab@redhat.com>
24954
24955 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24956 of errno.
24957
24958 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24959
24960 [BZ #11724]
24961 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24962 of constructors.
24963 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24964 of destructors.
24965 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24966
24967 [BZ #11724]
24968 * elf/Makefile: Add rules to build and run new test.
24969 * elf/tst-initorder.c: New file.
24970 * elf/tst-initorder.exp: New file.
24971 * elf/tst-initordera1.c: New file.
24972 * elf/tst-initordera2.c: New file.
24973 * elf/tst-initordera3.c: New file.
24974 * elf/tst-initordera4.c: New file.
24975 * elf/tst-initorderb1.c: New file.
24976 * elf/tst-initorderb2.c: New file.
24977 * elf/tst-order-a1.c: New file.
24978 * elf/tst-order-a2.c: New file.
24979 * elf/tst-order-a3.c: New file.
24980 * elf/tst-order-a4.c: New file.
24981 * elf/tst-order-b1.c: New file.
24982 * elf/tst-order-b2.c: New file.
24983 * elf/tst-order-main.c: New file.
24984 New test case by George Gensure <werkt0@gmail.com>.
24985
24986 2010-10-01 Andreas Schwab <schwab@redhat.com>
24987
24988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24989 decoding ACE if AI_CANONIDN.
24990
24991 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24992
24993 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24994
24995 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24996
24997 * version.h (RELEASE): Bump for 2.13 release.
24998 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24999
25000 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25001
25002 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25003 MADV_NOHUGEPAGE.
25004 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25005 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25006 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25007 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25008 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25009 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25010
25011 * posix/getconf.c: Update copyright year.
25012 * catgets/gencat.c: Likewise.
25013 * csu/version.c: Likewise.
25014 * debug/catchsegv.sh: Likewise.
25015 * debug/xtrace.sh: Likewise.
25016 * elf/ldconfig.c: Likewise.
25017 * elf/ldd.bash.in: Likewise.
25018 * elf/sprof.c (print_version): Likewise.
25019 * iconv/iconv_prog.c: Likewise.
25020 * iconv/iconvconfig.c: Likewise.
25021 * locale/programs/locale.c: Likewise.
25022 * locale/programs/localedef.c: Likewise.
25023 * malloc/memusage.sh: Likewise.
25024 * malloc/mtrace.pl: Likewise.
25025 * nscd/nscd.c (print_version): Likewise.
25026 * nss/getent.c: Likewise.
25027
25028 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25029 PF_CAIF, and PF_ALG.
25030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25031
25032 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25033
25034 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25035 (modules-names): Use them.
25036 (ifunc-test-modules, ifunc-pie-tests): Define.
25037 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25038 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25039 (test-extras): Likewise.
25040 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25041 $(compile-command.c).
25042 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25043 (all-built-dso): Define.
25044 (check-textrel.out, check-execstack.out): Depend on it.
25045
25046 * configure.in: Don't override --enable-multi-arch.
25047
25048 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25049
25050 [BZ #6812]
25051 * nscd/hstcache.c (tryagain): Define.
25052 (cache_addhst): Return tryagain not notfound for temporary errors.
25053 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25054 failed.
25055
25056 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25057
25058 [BZ #10563]
25059 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25060 to make the syscall.
25061 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25062
25063 [BZ #12378]
25064 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25065 and fall back to matching as normal character if the string ends before
25066 the matching ']' is found. This is what POSIX requires.
25067 * posix/testfnm.c: Adjust test result.
25068 * posix/globtest.sh: Adjust test result. Add new test.
25069 * posix/tst-fnmatch.input: Likewise.
25070 * posix/tst-fnmatch2.c: Add new test.
25071
25072 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25073
25074 * elf/Makefile (check-execstack): Revert last change. Depend on
25075 check-execstack.h.
25076 (check-execstack.h): New target.
25077 (generated): Add check-execstack.h.
25078 * elf/check-execstack.c: Include "check-execstack.h".
25079 (main): Revert last change.
25080 (handle_file): Return zero if GNU_STACK is absent and
25081 DEFAULT_STACK_PERMS doesn't include PF_X.
25082
25083 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25084
25085 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25086 in child fails because the descriptor is already closed.
25087 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25088 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25089 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25090
25091 [BZ #12397]
25092 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25093 syscall.
25094
25095 [BZ #10484]
25096 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25097 temporary buffer used to handle multi lookups locally.
25098 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25099
25100 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25101
25102 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25103 loader is ld.so.
25104
25105 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25106
25107 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25108 alignment for SSE2.
25109
25110 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25111
25112 [BZ #12394]
25113 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25114 characters. When rounding increased number of integer digits recompute
25115 number of groups.
25116 * stdio-common/tst-grouping.c: New file.
25117 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25118
25119 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25120
25121 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25122 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25123
25124 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25125 void.
25126 * bits/select.h: Likewise.
25127
25128 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25129
25130 * po/ja.po: Update from translation team.
25131
25132 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25133
25134 [BZ #11155]
25135 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25136 implementation just like for lxstat, fxstatat, et al.
25137
25138 2010-12-27 Jim Meyering <meyering@redhat.com>
25139
25140 [BZ #12348]
25141 * posix/regexec.c (build_trtable): Return failure indication upon
25142 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25143
25144 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25145
25146 [BZ #12201]
25147 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25148 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25149 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25150 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25151
25152 [BZ #12207]
25153 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25154
25155 [BZ #12204]
25156 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25157 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25158
25159 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25160
25161 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25162 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25163 script has SORT_BY_INIT_PRIORITY.
25164 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25165 NO_CTORS_DTORS_SECTIONS is defined.
25166 * elf/soinit.c: Likewise.
25167 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25168 NO_CTORS_DTORS_SECTIONS is defined.
25169 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25170 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25171 * sysdeps/sh/init-first.c: Likewise.
25172 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25173
25174 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25175
25176 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25177 always use the slow path.
25178
25179 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25180
25181 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25182 similar rule which adds the sysdep directories to the header search in
25183 order to pick up the correct platform stackinfo.h.
25184 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25185 perform test if it is, otherwise return successfully without testing.
25186 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25187 DEFAULT_STACK_PERMS define in stackinfo.h.
25188 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25189 defined in stackinfo.h.
25190 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25191 DEFAULT_STACK_PERMS defined in stackinfo.h.
25192 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25193 * sysdeps/ia64/stackinfo.h: Likewise.
25194 * sysdeps/s390/stackinfo.h: Likewise.
25195 * sysdeps/sh/stackinfo.h: Likewise.
25196 * sysdeps/sparc/stackinfo.h: Likewise.
25197 * sysdeps/x86_64/stackinfo.h: Likewise.
25198 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25199 PF_X for powerpc64. Retain PF_X for powerpc32.
25200
25201 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25202
25203 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25204 accurately.
25205 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25206 GETDENTS_64BIT_ALIGNED.
25207
25208 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25209
25210 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25211
25212 2010-12-10 Andreas Schwab <schwab@redhat.com>
25213
25214 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25215 _GNU_SOURCE.
25216
25217 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25218 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25219 Remove __restrict.
25220 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25221 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25222
25223 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25224
25225 [BZ #11655]
25226 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25227 are initialized.
25228
25229 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25230
25231 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25232
25233 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25234
25235 * po/it.po: Update from translation team.
25236
25237 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25238
25239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25240 unused codes.
25241
25242 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25243
25244 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25245
25246 2010-11-24 Andreas Schwab <schwab@redhat.com>
25247
25248 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25249 specially.
25250 (gaih_getanswer_slice): Likewise.
25251
25252 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25253
25254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25255
25256 2010-05-31 Petr Baudis <pasky@suse.cz>
25257
25258 [BZ #11149]
25259 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25260 silently even in the chroot mode.
25261
25262 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25263
25264 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25265 last patch a bit. Pretty printing
25266
25267 2010-05-31 Petr Baudis <pasky@suse.cz>
25268
25269 [BZ #10085]
25270 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25271 initialization of skip_initgroups_dyn.
25272
25273 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25274
25275 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25276 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25277
25278 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25279
25280 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25281
25282 2010-11-11 Andreas Schwab <schwab@redhat.com>
25283
25284 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25285 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25286 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25287 ($(objpfx)tst-fnmatch-mem): New rule.
25288 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25289 * posix/tst-fnmatch.c (main): Call mtrace.
25290
25291 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25292
25293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25294 Support Intel processor model 6 and model 0x2c.
25295
25296 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25297
25298 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25299 signed comparison.
25300
25301 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25302
25303 [BZ #12205]
25304 * string/test-strncasecmp.c (check_result): New function.
25305 (do_one_test): Use it.
25306 (check1): New function.
25307 (test_main): Use it.
25308 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25309 Support strcasecmp and strncasecmp.
25310
25311 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25312
25313 [BZ #12194]
25314 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25316
25317 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25318
25319 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25320 IFUNC support.
25321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25322 memset-x86-64.
25323 * sysdeps/x86_64/multiarch/bzero.S: New file.
25324 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25325 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25326 * sysdeps/x86_64/multiarch/memset.S: New file.
25327 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25329 Set bit_Prefer_SSE_for_memop for Intel processors.
25330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25331 Define.
25332 (index_Prefer_SSE_for_memop): Define.
25333 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25334
25335 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25336
25337 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25338 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25339
25340 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25341
25342 [BZ #12191]
25343 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25344 (__x86_64_raw_data_cache_size_half): Likewise.
25345 (__x86_64_raw_shared_cache_size): Likewise.
25346 (__x86_64_raw_shared_cache_size_half): Likewise.
25347
25348 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25349 (__x86_64_raw_data_cache_size_half): Likewise.
25350 (__x86_64_raw_shared_cache_size): Likewise.
25351 (__x86_64_raw_shared_cache_size_half): Likewise.
25352 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25353 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25354 and __x86_64_raw_shared_cache_size_half. Round
25355 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25356 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25357 to multiple of 256 bytes.
25358
25359 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25360
25361 [BZ #12167]
25362 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25363 of inacessible symlinks. Verify result of symlink before returning it.
25364 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25365 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25366
25367 2010-10-28 Erich Ritz <erichritz@gmail.com>
25368
25369 * math/math.h (isinf): Fix typo in comment.
25370
25371 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25372
25373 * po/da.po: Update from translation team.
25374
25375 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25376
25377 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25378 is added to the list.
25379
25380 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25381 Ulrich Drepper <drepper@gmail.com>
25382
25383 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25384 the global list here. Move code to...
25385 (_dl_add_to_namespace_list): ...here. New function.
25386 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25387 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25388 * elf/dl-load.c (lose): Don't remove the element from the list.
25389 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25390 (_dl_map_object): Likewise.
25391
25392 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25393
25394 [BZ #12159]
25395 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25396 into all bytes of SSE register.
25397 Patch by Richard Li <richardpku@gmail.com>.
25398
25399 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25400
25401 [BZ #12140]
25402 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25403 perturbing.
25404
25405 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25406
25407 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25408 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25409 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25410 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25412 submachine.
25413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25414
25415 2010-10-22 Andreas Schwab <schwab@redhat.com>
25416
25417 * include/dlfcn.h (__RTLD_SECURE): Define.
25418 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25419 mode & __RTLD_SECURE instead.
25420 (open_path): Rename preloaded parameter to secure.
25421 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25422 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25423 * elf/dl-deps.c (openaux): Likewise.
25424 * elf/rtld.c (struct map_args): Remove is_preloaded.
25425 (map_doit): Don't use it.
25426 (dl_main): Likewise.
25427 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25428 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25429
25430 2010-09-09 Andreas Schwab <schwab@redhat.com>
25431
25432 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25433 (sysd-rules-targets): Remove duplicates.
25434 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25435 rtld-%.$o dependency.
25436
25437 2010-10-18 Andreas Schwab <schwab@redhat.com>
25438
25439 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25440 _dl_map_object do it.
25441
25442 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25443
25444 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25445 fast fma builtins, define the macros in the C99 standard.
25446 (FP_FAST_FMAF): Likewise.
25447 (FP_FAST_FMAL): Likewise.
25448 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25449
25450 * bits/mathdef.h: Update copyright year.
25451 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25452
25453 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25454
25455 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25456 builtins, define the macros in the C99 standard.
25457 (FP_FAST_FMAF): Likewise.
25458 (FP_FAST_FMAL): Likewise.
25459 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25460 multiply/add.
25461 (FP_FAST_FMAF): Likewise.
25462
25463 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25464
25465 [BZ #3268]
25466 * math/libm-test.inc (fma_test): Some new testcases.
25467 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25468 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25469 y and infinite z. Do multiplication by C already in long double.
25470 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25472 y and infinite z. Do bitwise or of inexact bit into u.d.
25473 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25474 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25475 * sysdeps/i386/fpu/s_fma.S: Removed.
25476 * sysdeps/i386/fpu/s_fmal.S: Removed.
25477
25478 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25479
25480 [BZ #3268]
25481 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25483 computation is not scheduled after fetestexcept. Fix value
25484 of minimum denormal long double.
25485
25486 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25487
25488 [BZ #3268]
25489 * math/libm-test.inc (fma_test): Add some more tests.
25490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25491 correctly.
25492
25493 2010-10-15 Andreas Schwab <schwab@redhat.com>
25494
25495 * scripts/data/localplt-s390-linux-gnu.data: New file.
25496 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25497
25498 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25499
25500 [BZ #3268]
25501 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25502 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25503 instead of dbl-64.
25504 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25505 inlines.
25506 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25508 if one of x and y is very large and the other is subnormal.
25509 * sysdeps/s390/fpu/s_fmaf.c: New file.
25510 * sysdeps/s390/fpu/s_fma.c: New file.
25511 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25512 * sysdeps/powerpc/fpu/s_fma.S: New file.
25513 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25514 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25515 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25516
25517 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25518
25519 [BZ #3268]
25520 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25521 fma tests.
25522 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25523 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25524 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25525 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25526 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25527 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25529
25530 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25531
25532 [BZ #12078]
25533 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25534 * posix/bug-regex31.input: Add test case.
25535
25536 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25537
25538 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25539 * posix/bug-regex31.input: New file.
25540
25541 [BZ #12078]
25542 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25543 (parse_sub_exp): Fix last change, use postorder.
25544
25545 * posix/bug-regex31.c: New file.
25546 * posix/Makefile: Add rules to build and run bug-regex31.
25547
25548 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25549
25550 [BZ #12078]
25551 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25552
25553 [BZ #12108]
25554 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25555 to have entries in sys_siglist.
25556
25557 [BZ #12093]
25558 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25559 be NULL.
25560
25561 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25562
25563 [BZ #3268]
25564 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25565 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25566 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25567 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25568 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25569 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25570 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25571 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25572 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25573 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25574 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25575 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25576 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25577 * math/ftestexcept.c (fetestexcept): Likewise.
25578 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25579 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25580 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25581 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25582 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25583 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25584 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25585
25586 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25587
25588 [BZ #12107]
25589 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25590 newline.
25591
25592 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25593
25594 * string/bug-strstr1.c: New file.
25595 * string/Makefile: Add rules to build and run bug-strstr1.
25596
25597 2010-10-05 Eric Blake <eblake@redhat.com>
25598
25599 [BZ #12092]
25600 * string/str-two-way.h (two_way_long_needle): Always clear memory
25601 when skipping input due to the shift table.
25602
25603 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25604
25605 [BZ #12005]
25606 * malloc/mcheck.c: Handle large requests.
25607
25608 [BZ #12077]
25609 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25610 for strncmp and strncasecmp.
25611 * string/stratcliff.c: Add tests for strcmp and strncmp.
25612 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25613
25614 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25615
25616 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25617 __set_fpscr.
25618
25619 2010-09-30 Andreas Jaeger <aj@suse.de>
25620
25621 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25622 (CGROUP_SUPER_MAGIC): Define.
25623 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25624 Handle btrfs and cgroup file systems.
25625 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25626 Likewise.
25627
25628 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25629
25630 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25631 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25632
25633 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25634
25635 [BZ #12067]
25636 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25637 trying to locate the ELF header.
25638
25639 2010-09-27 Andreas Schwab <schwab@redhat.com>
25640
25641 [BZ #11611]
25642 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25643 Mask out sign-bit copies when constructing f_fsid.
25644
25645 2010-09-24 Petr Baudis <pasky@suse.cz>
25646
25647 * debug/stack_chk_fail_local.c: Add missing licence exception.
25648 * debug/warning-nop.c: Likewise.
25649
25650 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25651
25652 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25653 implementing getdents64 using getdents syscall, set d_type if
25654 __ASSUME_GETDENTS32_D_TYPE.
25655
25656 2010-09-16 Andreas Schwab <schwab@redhat.com>
25657
25658 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25659 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25660
25661 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25662
25663 [BZ #12037]
25664 * posix/unistd.h: Undo change of feature selection for ftruncate from
25665 2010-01-11.
25666
25667 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25668
25669 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25670 detection.
25671
25672 2010-09-20 Andreas Schwab <schwab@redhat.com>
25673
25674 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25675 fanotify_mark.
25676 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25677
25678 2010-09-14 Andreas Schwab <schwab@redhat.com>
25679
25680 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25681 variables after CHECK_SP call.
25682 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25683
25684 2010-09-13 Andreas Schwab <schwab@redhat.com>
25685 Ulrich Drepper <drepper@redhat.com>
25686
25687 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25688 re-relocationg ld.so.
25689 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25690 _dl_init_paths call.
25691 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25692 here anymore.
25693
25694 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25695
25696 * resolv/res_init.c (__res_vinit): Count the default server we added.
25697
25698 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25699 Ulrich Drepper <drepper@redhat.com>
25700
25701 [BZ #11968]
25702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25703 (____longjmp_chk): Use %ebx for saving value across system call.
25704 Add unwind info.
25705
25706 2010-09-06 Andreas Schwab <schwab@redhat.com>
25707
25708 * manual/Makefile: Don't mix pattern rules with normal rules.
25709
25710 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25711
25712 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25713 operation.
25714 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25715 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25716 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25717 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25719 Likewise.
25720
25721 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25722
25723 [BZ #11979]
25724 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25725 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25726
25727 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25728
25729 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25730 * sysdeps/x86_64/addmul_1.S: Likewise.
25731 * sysdeps/x86_64/lshift.S: Likewise.
25732 * sysdeps/x86_64/mul_1.S: Likewise.
25733 * sysdeps/x86_64/rshift.S: Likewise.
25734 * sysdeps/x86_64/sub_n.S: Likewise.
25735 * sysdeps/x86_64/submul_1.S: Likewise.
25736
25737 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25738
25739 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25740 Define __sched_param instead of SCHED_* and sched_param when
25741 <bits/sched.h> is included with __need_schedparam defined.
25742 * bits/sched.h [__need_schedparam]
25743 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25744 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25745 (__defined_schedparam): Define to 1.
25746 (__sched_param): New structure, identical to sched_param.
25747 (__need_schedparam): Undefine.
25748
25749 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25750
25751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25752 (epoll_create1): Declare.
25753
25754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25755
25756 2010-08-31 Andreas Schwab <schwab@redhat.com>
25757
25758 [BZ #7066]
25759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25760 shifting retval into place.
25761
25762 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25763
25764 * nis/rpcsvc/nis.h: Update copyright notice.
25765 * nis/rpcsvc/nis.x: Likewise.
25766 * nis/rpcsvc/nis_callback.h: Likewise.
25767 * nis/rpcsvc/nis_callback.x: Likewise.
25768 * nis/rpcsvc/nis_object.x: Likewise.
25769 * nis/rpcsvc/nis_tags.h: Likewise.
25770 * nis/rpcsvc/yp.h: Likewise.
25771 * nis/rpcsvc/yp.x: Likewise.
25772 * nis/rpcsvc/ypupd.h: Likewise.
25773 * nis/yp_xdr.c: Likewise.
25774 * nis/ypupdate_xdr.c: Likewise.
25775
25776 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25777 mainly the body of pmap_getport. Add parameters to specify timeouts.
25778 (pmap_getport): Use __libc_rpc_getport.
25779 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25780 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25781 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25782
25783 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25784
25785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25786 fanotify_mark.
25787
25788 2010-08-27 Roland McGrath <roland@redhat.com>
25789
25790 * sysdeps/i386/i686/multiarch/Makefile
25791 (CFLAGS-varshift.c): New variable.
25792
25793 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25794
25795 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25796 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25797
25798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25799
25800 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25801
25802 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25803
25804 * sysdeps/x86_64/strlen.S: Unroll the loop.
25805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25806 strlen-sse2 strlen-sse2-bsf.
25807 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25808 __strlen_no_bsf if bit_Slow_BSF is set.
25809 (__strlen_sse42): Removed.
25810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25811 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25812
25813 2010-08-25 Roland McGrath <roland@redhat.com>
25814
25815 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25816 * sysdeps/x86_64/multiarch/varshift.c: New file.
25817 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25818 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25819 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25820 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25821
25822 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25823
25824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25825 strlen-sse2 strlen-sse2-bsf.
25826 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25827 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25828 (__strlen_sse2): Removed.
25829 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25830 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25832 bit_Slow_BSF for Atom.
25833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25834 (index_Slow_BSF): Define.
25835 (HAS_SLOW_BSF): Define.
25836
25837 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25838
25839 [BZ #10851]
25840 * resolv/res_init.c (__res_vinit): When no server address at all
25841 is given default to loopback.
25842
25843 2010-08-24 Roland McGrath <roland@redhat.com>
25844
25845 * configure.in: Remove config-name.h generation.
25846 * configure: Regenerated.
25847 * config-name.in: File removed.
25848 * scripts/config-uname.sh: New file.
25849 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25850 ($(objdir)config-name.h): New target.
25851
25852 * sunrpc/rpc_parse.h: Avoid nested comment.
25853
25854 2010-08-24 Richard Henderson <rth@redhat.com>
25855 Ulrich Drepper <drepper@redhat.com>
25856 H.J. Lu <hongjiu.lu@intel.com>
25857
25858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25860 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25861 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25862 _mm_alignr_epi8 with _mm_loadu_si128.
25863 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25864 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25865 (__m128i_shift_right): Removed.
25866 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25867 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25868 * sysdeps/x86_64/multiarch/varshift.h: New file.
25869 * sysdeps/x86_64/multiarch/varshift.S: New file.
25870
25871 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25872
25873 * configure.in: Move assembler checks to before sysdep dir checking.
25874
25875 2010-08-20 Petr Baudis <pasky@suse.cz>
25876
25877 * LICENSES: Sync the sunrpc license.
25878
25879 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25880
25881 * sunrpc/auth_des.c: Update copyright notice once again.
25882 * sunrpc/auth_none.c: Likewise.
25883 * sunrpc/auth_unix.c: Likewise.
25884 * sunrpc/authdes_prot.c: Likewise.
25885 * sunrpc/authuxprot.c: Likewise.
25886 * sunrpc/bindrsvprt.c: Likewise.
25887 * sunrpc/clnt_gen.c: Likewise.
25888 * sunrpc/clnt_perr.c: Likewise.
25889 * sunrpc/clnt_raw.c: Likewise.
25890 * sunrpc/clnt_simp.c: Likewise.
25891 * sunrpc/clnt_tcp.c: Likewise.
25892 * sunrpc/clnt_udp.c: Likewise.
25893 * sunrpc/clnt_unix.c: Likewise.
25894 * sunrpc/des_crypt.c: Likewise.
25895 * sunrpc/des_soft.c: Likewise.
25896 * sunrpc/get_myaddr.c: Likewise.
25897 * sunrpc/getrpcport.c: Likewise.
25898 * sunrpc/key_call.c: Likewise.
25899 * sunrpc/key_prot.c: Likewise.
25900 * sunrpc/openchild.c: Likewise.
25901 * sunrpc/pm_getmaps.c: Likewise.
25902 * sunrpc/pm_getport.c: Likewise.
25903 * sunrpc/pmap_clnt.c: Likewise.
25904 * sunrpc/pmap_prot.c: Likewise.
25905 * sunrpc/pmap_prot2.c: Likewise.
25906 * sunrpc/pmap_rmt.c: Likewise.
25907 * sunrpc/rpc/auth.h: Likewise.
25908 * sunrpc/rpc/auth_unix.h: Likewise.
25909 * sunrpc/rpc/clnt.h: Likewise.
25910 * sunrpc/rpc/des_crypt.h: Likewise.
25911 * sunrpc/rpc/key_prot.h: Likewise.
25912 * sunrpc/rpc/netdb.h: Likewise.
25913 * sunrpc/rpc/pmap_clnt.h: Likewise.
25914 * sunrpc/rpc/pmap_prot.h: Likewise.
25915 * sunrpc/rpc/pmap_rmt.h: Likewise.
25916 * sunrpc/rpc/rpc.h: Likewise.
25917 * sunrpc/rpc/rpc_des.h: Likewise.
25918 * sunrpc/rpc/rpc_msg.h: Likewise.
25919 * sunrpc/rpc/svc.h: Likewise.
25920 * sunrpc/rpc/svc_auth.h: Likewise.
25921 * sunrpc/rpc/types.h: Likewise.
25922 * sunrpc/rpc/xdr.h: Likewise.
25923 * sunrpc/rpc_clntout.c: Likewise.
25924 * sunrpc/rpc_cmsg.c: Likewise.
25925 * sunrpc/rpc_common.c: Likewise.
25926 * sunrpc/rpc_cout.c: Likewise.
25927 * sunrpc/rpc_dtable.c: Likewise.
25928 * sunrpc/rpc_hout.c: Likewise.
25929 * sunrpc/rpc_main.c: Likewise.
25930 * sunrpc/rpc_parse.c: Likewise.
25931 * sunrpc/rpc_parse.h: Likewise.
25932 * sunrpc/rpc_prot.c: Likewise.
25933 * sunrpc/rpc_sample.c: Likewise.
25934 * sunrpc/rpc_scan.c: Likewise.
25935 * sunrpc/rpc_scan.h: Likewise.
25936 * sunrpc/rpc_svcout.c: Likewise.
25937 * sunrpc/rpc_tblout.c: Likewise.
25938 * sunrpc/rpc_util.c: Likewise.
25939 * sunrpc/rpc_util.h: Likewise.
25940 * sunrpc/rpcinfo.c: Likewise.
25941 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25942 * sunrpc/rpcsvc/key_prot.x: Likewise.
25943 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25944 * sunrpc/rpcsvc/mount.x: Likewise.
25945 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25946 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25947 * sunrpc/rpcsvc/rex.x: Likewise.
25948 * sunrpc/rpcsvc/rstat.x: Likewise.
25949 * sunrpc/rpcsvc/rusers.x: Likewise.
25950 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25951 * sunrpc/rpcsvc/spray.x: Likewise.
25952 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25953 * sunrpc/rtime.c: Likewise.
25954 * sunrpc/svc.c: Likewise.
25955 * sunrpc/svc_auth.c: Likewise.
25956 * sunrpc/svc_authux.c: Likewise.
25957 * sunrpc/svc_raw.c: Likewise.
25958 * sunrpc/svc_run.c: Likewise.
25959 * sunrpc/svc_simple.c: Likewise.
25960 * sunrpc/svc_tcp.c: Likewise.
25961 * sunrpc/svc_udp.c: Likewise.
25962 * sunrpc/svc_unix.c: Likewise.
25963 * sunrpc/svcauth_des.c: Likewise.
25964 * sunrpc/xcrypt.c: Likewise.
25965 * sunrpc/xdr.c: Likewise.
25966 * sunrpc/xdr_array.c: Likewise.
25967 * sunrpc/xdr_float.c: Likewise.
25968 * sunrpc/xdr_mem.c: Likewise.
25969 * sunrpc/xdr_rec.c: Likewise.
25970 * sunrpc/xdr_ref.c: Likewise.
25971 * sunrpc/xdr_sizeof.c: Likewise.
25972 * sunrpc/xdr_stdio.c: Likewise.
25973
25974 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25975 handling.
25976
25977 2010-08-19 Andreas Schwab <schwab@redhat.com>
25978
25979 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25980
25981 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25982
25983 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25984 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25985 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25986 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25987 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25988 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25989 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25990 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25991 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25992 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25993 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25994 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25995 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25996 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25997
25998 2010-07-26 Anton Blanchard <anton@samba.org>
25999
26000 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26001 * malloc/arena.c (heap_trim): Likewise.
26002
26003 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26004
26005 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26006 here. Not...
26007 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26008 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26009
26010 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26011
26012 * sysdeps/i386/elf/Makefile: New file.
26013
26014 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26015
26016 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26017 from fanotify_init.
26018 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26020
26021 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26022
26023 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26024 of strncasecmp_l.
26025 * sysdeps/multiarch/strcmp.S: Likewise.
26026
26027 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26028
26029 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26030 strncase_l-nonascii.
26031 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26032 Add strncase_l-ssse3.
26033 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26034 * sysdeps/x86_64/strcmp.S: Likewise.
26035 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26036 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26037 * sysdeps/x86_64/strncase.S: New file.
26038 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26039 * sysdeps/x86_64/strncase_l.S: New file.
26040 * string/Makefile (strop-tests): Add strncasecmp.
26041 * string/test-strncasecmp.c: New file.
26042
26043 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26044 warning.
26045
26046 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26047 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26048
26049 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26050
26051 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26052
26053 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26054
26055 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26056 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26057 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26058
26059 2010-05-01 Alan Modra <amodra@gmail.com>
26060
26061 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26062 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26063 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26064 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26065 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26066 tidying. Don't tail-call __sigjmp_save for static lib.
26067 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26068 save location.
26069 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26070 (CALL_MCOUNT): Add eh info, and nop after bl.
26071 (TAIL_CALL_SYSCALL_ERROR): New macro.
26072 (PSEUDO_RET): Use it.
26073 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26074 Correct save location of integer regs and cr.
26075 (_dl_profile_resolve): Correct cr save location. Delete nops
26076 after bl when SHARED. Reduce cfi size a little by better
26077 placement of cfi directives.
26078 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26079 make a stack frame. Instead use parm save area as a temp.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26081 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26083 Don't make a stack frame for parent, use parm save area.
26084 Increase child stack frame to 112 bytes. Don't save unused reg,
26085 and adjust reg usage. Set up cfi on error recovery and
26086 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26088 (__makecontext): Add dummy nop after jump to exit.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26090 Use correct parm save area and cr save, reduce stack frame.
26091 Correct cfi for possible PSEUDO_RET frame setup.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26093 Branch to local label emitted by PSEUDO_RET rather than
26094 __syscall_error.
26095
26096 2010-08-12 Andreas Schwab <schwab@redhat.com>
26097
26098 [BZ #11904]
26099 * locale/programs/locale.c (print_assignment): New function.
26100 (show_locale_vars): Use it.
26101
26102 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26103
26104 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26105 field.
26106 (struct statfs64): Likewise.
26107 (_STATFS_F_FLAGS): Define.
26108 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26109 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26110 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26111 (ST_VALID): Define locally.
26112 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26113 __statvfs_getflags, use the provided value.
26114 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26115 __ASSUME_STATFS_F_FLAGS.
26116
26117 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26118
26119 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26120 Add sys/fanotify.h.
26121 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26122 fanotify_mask for GLIBC_2.13.
26123 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26124 fanotify_init and fanotify_mark.
26125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26126 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26127
26128 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26129 Add prlimit.
26130 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26131 prlimit64 for GLIBC_2.13.
26132 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26133 prlimit64.
26134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26135 syscall.
26136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26137 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26138 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26139 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26141 add prlimit alias.
26142 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26143
26144 [BZ #11903]
26145 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26146 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26147
26148 * nss/Makefile: Add rules to build and run tst-nss-test1.
26149 * shlib-versions: Add entry for libnss_test1.
26150 * nss/nss_test1.c: New file.
26151 * nss/tst-nss-test1.c: New file.
26152
26153 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26154 (__nss_configure_lookup): Set appropriate entry in
26155 __nss_configure_lookup to true.
26156 * nss/nsswitch.h: Define enum with indeces of databases in
26157 databases and __nss_database_custom arrays. Declare
26158 __nss_database_custom.
26159 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26160 to avoid using nscd when custom rules are installed.
26161 * nss/getXXbyYY_r.c: Likewise.
26162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26163
26164 * nss/nss_files/files-parse.c: Whitespace fixes.
26165
26166 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26167
26168 [BZ #11883]
26169 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26170 * posix/fnmatch_loop.c: Likewise.
26171
26172 2010-07-17 Andi Kleen <ak@linux.intel.com>
26173
26174 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26175 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26176 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26177 * Versions.def [GLIBC_2.13]: Add.
26178
26179 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26180
26181 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26182 Also fail if tpwd after pwuid call is NULL.
26183
26184 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26185
26186 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26187 when converting to ms.
26188
26189 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26190
26191 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26192 EOPNOTSUPP errors with ENOTTY.
26193 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26194 EOPNOTSUPP errors with ENOTTY.
26195
26196 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26197
26198 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26199 Add strcasecmp_l-ssse3.
26200 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26201 strcasecmp.
26202 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26203 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26204 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26205
26206 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26207
26208 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26209
26210 * string/Makefile (strop-tests): Add strcasecmp.
26211 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26212 strcasecmp_l-nonascii.
26213 (gen-as-const-headers): Add locale-defines.sym.
26214 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26215 * sysdeps/x86_64/strcasecmp.S: New file.
26216 * sysdeps/x86_64/strcasecmp_l.S: New file.
26217 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26218 * sysdeps/x86_64/locale-defines.sym: New file.
26219 * string/test-strcasecmp.c: New file.
26220
26221 * string/test-strcasestr.c: Test both ends of the range of characters.
26222 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26223
26224 2010-07-29 Roland McGrath <roland@redhat.com>
26225
26226 [BZ #11856]
26227 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26228
26229 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26230
26231 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26232 for ld.so.
26233
26234 2010-07-27 Andreas Schwab <schwab@redhat.com>
26235
26236 * manual/memory.texi (Malloc Tunable Parameters): Document
26237 M_PERTURB.
26238
26239 2010-07-26 Roland McGrath <roland@redhat.com>
26240
26241 [BZ #11840]
26242 * configure.in (-fgnu89-inline check): Set and substitute
26243 gnu89_inline, not libc_cv_gnu89_inline.
26244 * configure: Regenerated.
26245 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26246
26247 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26248
26249 * string/test-strnlen.c: New file.
26250 * string/Makefile (strop-tests): Add strnlen.
26251 * string/tester.c (test_strnlen): Add a few more test cases.
26252 * string/tst-strlen.c: Better error reporting.
26253
26254 * sysdeps/x86_64/strnlen.S: New file.
26255
26256 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26257
26258 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26259 lower-latency instructions.
26260
26261 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26262
26263 * string/test-strcasestr.c: New file.
26264 * string/test-strstr.c: New file.
26265 * string/Makefile (strop-tests): Add strstr and strcasestr.
26266 * string/str-two-way.h: Don't undefine MAX.
26267 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26268
26269 2010-07-21 Andreas Schwab <schwab@redhat.com>
26270
26271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26272 strcasestr-nonascii.
26273 (CFLAGS-strcasestr-nonascii.c): Define.
26274 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26275 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26276 Remove unused attribute.
26277
26278 2010-07-20 Roland McGrath <roland@redhat.com>
26279
26280 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26281 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26282 ld.so.cache was broken. With it, there is no way to disable dsocaps
26283 like LD_HWCAP_MASK can disable hwcaps.
26284
26285 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26286
26287 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26288
26289 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26290
26291 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26292 call in strcasestr.
26293 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26294 __strcasestr_sse42_nonascii.
26295 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26296 strcasestr-nonascii.c.
26297 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26298
26299 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26300
26301 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26302 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26303 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26304 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26305
26306 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26307
26308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26309 fcntl.
26310
26311 2010-07-06 Andreas Schwab <schwab@redhat.com>
26312
26313 [BZ #11577]
26314 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26315 dl_signal_cerror.
26316
26317 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26318
26319 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26320 _PC_PIPE_BUF using F_GETPIPE_SZ.
26321
26322 2010-07-05 Roland McGrath <roland@redhat.com>
26323
26324 * manual/arith.texi (Rounding Functions): Fix rint description
26325 implicit in round description.
26326
26327 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26328
26329 * elf/Makefile: Fix linking for a few tests to make recent linker
26330 happy.
26331
26332 2010-06-30 Andreas Schwab <schwab@redhat.com>
26333
26334 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26335 $(common-objpfx)libc_nonshared.a.
26336
26337 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26338
26339 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26340 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26341 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26342 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26343 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26344 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26345 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26346 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26361 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26362 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26363 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26364 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26365 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26366 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26367 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26368 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26369 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26370 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26371 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26372 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26387
26388 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26389
26390 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26391 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26392 * string/memmove.c (memmove): Renamed to ...
26393 (MEMMOVE): ...this. Default to memmove.
26394 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26395 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26396 (END_CHK): Define.
26397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26398 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26399 mempcpy-ssse3-back memmove-ssse3-back.
26400 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26403 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26404 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26405 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26406 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26407 * sysdeps/x86_64/multiarch/memmove.c: New file.
26408 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26409 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26410 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26411 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26412 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26414 Define.
26415 (index_Fast_Copy_Backward): Define.
26416 (HAS_ARCH_FEATURE): Define.
26417 (HAS_FAST_REP_STRING): Define.
26418 (HAS_FAST_COPY_BACKWARD): Define.
26419
26420 2010-06-21 Andreas Schwab <schwab@redhat.com>
26421
26422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26423 Restore proper fallback handling.
26424
26425 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26426
26427 [BZ #11701]
26428 * posix/group_member.c (__group_member): Correct checking loop.
26429
26430 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26431 OOM in getpwuid_r correctly. Return error number when the caller
26432 should return, otherwise -1.
26433 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26434 call returning > 0 value.
26435 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26436
26437 2010-06-07 Andreas Schwab <schwab@redhat.com>
26438
26439 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26440 libc_nonshared.a from targets in modules-names.
26441
26442 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26443
26444 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26445 requires it.
26446
26447 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26448
26449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26450 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26452 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26453
26454 2010-06-02 Andreas Schwab <schwab@redhat.com>
26455
26456 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26457
26458 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26459
26460 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26461 and F_GETPIPE_SZ.
26462 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26466 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26467 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26468
26469 2010-06-14 Roland McGrath <roland@redhat.com>
26470
26471 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26472
26473 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26474
26475 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26476 __REDIRECT followed by __THROW.
26477 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26478 * posix/getopt.h (getopt): Likewise.
26479
26480 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26481
26482 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26483 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26484 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26485 in AT_FLAGS.
26486 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26487 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26488
26489 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26490
26491 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26492
26493 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26494
26495 [BZ #11640]
26496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26497 Properly check family and model.
26498
26499 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26500
26501 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26502
26503 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26504
26505 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26506
26507 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26508
26509 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26510 symbol reference.
26511
26512 2010-05-19 Andreas Schwab <schwab@redhat.com>
26513
26514 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26515 symbol reference.
26516
26517 2010-05-21 Andreas Schwab <schwab@redhat.com>
26518
26519 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26520 and internal_recvmmsg.
26521 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26522 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26523 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26524 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26525
26526 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26527 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26528 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26529
26530 2010-05-20 Andreas Schwab <schwab@redhat.com>
26531
26532 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26533
26534 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26535
26536 POWER7 optimizations.
26537 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26538 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26539
26540 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26541
26542 * version.h: Update for 2.13 development version.
26543
26544 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26545
26546 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26547 exceptions. Return 0.
26548
26549 2010-05-07 Roland McGrath <roland@redhat.com>
26550
26551 * elf/ldconfig.c (main): Add a const.
26552
26553 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26554
26555 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26556 (args_options): Add no-idn option.
26557 (ahosts_keys_int): Add idn_flags to ai_flags.
26558 (parse_option): Handle 'i' option to clear idn_flags.
26559
26560 * malloc/malloc.c (_int_free): Possible race in the most recently
26561 added check. Only act on the data if no current modification
26562 happened.
26563
26564 See ChangeLog.17 for earlier changes.