]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Set LC_ALL=C before sed.
[thirdparty/glibc.git] / ChangeLog
1 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4 (ptestcases.h): Likewise.
5
6 2013-03-08 Roland McGrath <roland@hack.frob.com>
7
8 * Makeconfig ($(common-objpfx)config.status): Depend on
9 sysdeps/*/preconfigure{,.in} too.
10
11 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12
13 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
14 (__free_hook): Use void * instead of __malloc_ptr_t.
15 (__malloc_hook): Likewise.
16 (__realloc_hook): Likewise.
17 (__memalign_hook): Likewise.
18 (__after_morecore_hook): Likewise.
19 * malloc/arena.c (save_malloc_hook): Likewise.
20 (save_free_hook): Likewise.
21 * malloc/hooks.c (malloc_hook_ini): Likewise.
22 (realloc_hook_ini): Likewise.
23 (memalign_hook_ini): Likewise.
24 * malloc/malloc.c (malloc_hook_ini): Likewise.
25 (realloc_hook_ini): Likewise.
26 (memalign_hook_ini): Likewise.
27 (__free_hook): Likewise.
28 (__malloc_hook): Likewise.
29 (__realloc_hook): Likewise.
30 (__memalign_hook): Likewise.
31 (__libc_malloc): Likewise.
32 (__libc_free): Likewise.
33 (__libc_realloc): Likewise.
34 (__libc_memalign): Likewise.
35 (__libc_valloc): Likewise.
36 (__libc_pvalloc): Likewise.
37 (__libc_calloc): Likewise.
38 (__posix_memalign): Likewise.
39 * malloc/morecore.c (__sbrk): Likewise.
40 (__default_morecore): Likewise.
41
42 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43
44 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46 __malloc_ptrdiff_t.
47
48 * malloc/malloc.h (__malloc_size_t): Remove macro.
49 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50 __malloc_size_t.
51 (old_memalign_hook): Likewise.
52 (old_realloc_hook): Likewise.
53 (struct hdr): Likewise.
54 (flood): Likewise.
55 (mallochook): Likewise.
56 (memalignhook): Likewise.
57 (reallochook): Likewise.
58 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59 (tr_old_realloc_hook): Likewise.
60 (tr_old_memalign_hook): Likewise.
61 (tr_mallochook): Likewise.
62 (tr_reallochook): Likewise.
63 (tr_memalignhook): Likewise.
64
65 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66
67 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68 default_ldbl_pack and using as default implementation.
69 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
70 implementation.
71 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
72 redundant definition.
73 (ldbl_insert_mantissa): Likewise.
74 (ldbl_canonicalize): Likewise.
75 (ldbl_nearbyint): Likewise.
76 (ldbl_pack): Rename to ldbl_pack_ppc.
77 (ldbl_unpack): Rename to ldbl_unpack_ppc.
78 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
79 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
80
81 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
82
83 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
84 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
85 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
86 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
87 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
88 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
89 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
90 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
91
92 2013-03-07 Andreas Jaeger <aj@suse.de>
93
94 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
95 bits/mman-linux.h.
96
97 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
98
99 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
100 Include mpa.h and declare __MPEXP.
101 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
102 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
103 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
104 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
105 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
106 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
107 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
108
109 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
110 (__slowpow): Use long double EXPL and LOGL functions to
111 compute POW.
112 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
113 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
114 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
115 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
116 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
117 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
118
119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
120 intermediate variable to calculate exponent.
121 (__sqr): Likewise.
122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
123 Likewise.
124 (__sqr): Likewise.
125
126 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
127 [!NO__SQR]: Define __sqr.
128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
129 and NO__SQR. Remove all code except __mul and __sqr. Include
130 sysdeps/ieee754/dbl-64/mpa.c.
131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
132
133 [BZ #12723]
134 * posix/Makefile (tests): Add tst-pathconf.
135 * posix/tst-pathconf.c: New test case.
136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
137 _PC_PIPE_BUF.
138 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
139
140 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
141
142 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
143
144 2013-03-06 Andreas Jaeger <aj@suse.de>
145
146 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
147 definition via __MAP_ANONYMOUS.
148
149 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
150 it's not part of Linux headers.
151
152 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
153 (MAP_HUGE_MASK): Define.
154
155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
156 Define.
157 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
158 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
159 Define.
160 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
161 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
162 Define.
163 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
164 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
165 Define.
166 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
167
168 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
169 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
170 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
171 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
172 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
173 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
174
175 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
176 Handle f2fs.
177
178 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
179 Handle f2fs and efivarfs.
180
181 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
182 f2fs.
183
184 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
185 (EFIVARFS_MAGIC): Add.
186 (F2FS_LINK_MAX): Add.
187
188 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
189
190 * stdio-common/vfprintf.c: Replace __builtin_expect with
191 __glibc_unlikely.
192
193 2013-03-06 Joseph Myers <joseph@codesourcery.com>
194
195 [BZ #13550]
196 * sysdeps/generic/bp-sym.h: Remove file.
197 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
198 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
199 <bp-sym.h> and <bp-asm.h>.
200 (__longjmp): Don't use BP_SYM.
201 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
202 and <bp-asm.h>.
203 (memcpy): Don't use BP_SYM.
204 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
205 <bp-sym.h> and <bp-asm.h>.
206 (memcpy): Don't use BP_SYM.
207 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
208 <bp-asm.h>.
209 (memcpy): Don't use BP_SYM.
210 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
211 <bp-asm.h>.
212 (memset): Don't use BP_SYM.
213 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
214 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
215 (__bzero): Don't use BP_SYM.
216 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
217 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
218 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
219 <bp-sym.h> and <bp-asm.h>.
220 (memcmp): Don't use BP_SYM. Remove comment about bounded
221 pointers.
222 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
223 <bp-sym.h> and <bp-asm.h>.
224 (memcpy): Don't use BP_SYM.
225 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
226 <bp-sym.h> and <bp-asm.h>.
227 (memset): Don't use BP_SYM.
228 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
229 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
230 (__bzero): Don't use BP_SYM.
231 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
232 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
233 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
234 <bp-sym.h> and <bp-asm.h>.
235 (strncmp): Don't use BP_SYM. Remove comment about bounded
236 pointers.
237 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
238 <bp-sym.h> and <bp-asm.h>.
239 (memcpy): Don't use BP_SYM.
240 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
241 <bp-sym.h> and <bp-asm.h>.
242 (memset): Don't use BP_SYM.
243 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
244 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
245 (__bzero): Don't use BP_SYM.
246 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
247 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
248 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
249 <bp-sym.h> and <bp-asm.h>.
250 (__memchr): Don't use BP_SYM.
251 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
252 <bp-sym.h> and <bp-asm.h>.
253 (memcmp): Don't use BP_SYM. Remove comment about bounded
254 pointers.
255 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
256 <bp-sym.h> and <bp-asm.h>.
257 (memcpy): Don't use BP_SYM.
258 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
259 <bp-sym.h> and <bp-asm.h>.
260 (__mempcpy): Don't use BP_SYM.
261 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
262 <bp-sym.h> and <bp-asm.h>.
263 (__memrchr): Don't use BP_SYM.
264 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
265 <bp-sym.h> and <bp-asm.h>.
266 (memset): Don't use BP_SYM.
267 (__bzero): Likewise.
268 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
269 <bp-sym.h> and <bp-asm.h>.
270 (__rawmemchr): Don't use BP_SYM.
271 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
272 <bp-sym.h> and <bp-asm.h>.
273 (__STRCMP): Don't use BP_SYM.
274 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
275 <bp-sym.h> and <bp-asm.h>.
276 (strchr): Don't use BP_SYM.
277 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
278 <bp-sym.h> and <bp-asm.h>.
279 (__strchrnul): Don't use BP_SYM.
280 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
281 <bp-sym.h> and <bp-asm.h>.
282 (strlen): Don't use BP_SYM.
283 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
284 <bp-sym.h> and <bp-asm.h>.
285 (strncmp): Don't use BP_SYM. Remove comment about bounded
286 pointers.
287 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
288 <bp-sym.h> and <bp-asm.h>.
289 (__strnlen): Don't use BP_SYM.
290 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
291 <bp-sym.h> and <bp-asm.h>.
292 (__GI__setjmp): Don't use BP_SYM.
293 (_setjmp): Likewise.
294 (__sigsetjmp): Likewise.
295 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
296 (L(start_addresses)): Don't use BP_SYM.
297 (_start): Likewise.
298 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
299 <bp-asm.h>.
300 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
301 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
302 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
303 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
304 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
305 <bp-asm.h>.
306 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
307 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
308 about bounded pointers.
309 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
310 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
311 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
312 <bp-asm.h>.
313 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
314 about bounded pointers. Remove GKM FIXME comments.
315 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
316 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
317 <bp-asm.h>.
318 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
319 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
320 Remove GKM FIXME comments.
321 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
322 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
323 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
324 <bp-asm.h>.
325 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
326 about bounded pointers. Remove GKM FIXME comment.
327 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
328 and <bp-asm.h>.
329 (strncmp): Don't use BP_SYM. Remove comment about bounded
330 pointers.
331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
332 <bp-sym.h> and <bp-asm.h>.
333 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
335 <bp-sym.h> and <bp-asm.h>.
336 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
337 comment.
338
339 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
340
341 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
342 call free(NULL).
343
344 2013-03-05 David S. Miller <davem@davemloft.net>
345
346 * po/es.po: Update from translation team.
347
348 2013-03-05 Andreas Jaeger <aj@suse.de>
349
350 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
351 <bits/mman-linux.h>.
352 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
353 is fine.
354 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
355 <bits/mman-linux.h> to end of file.
356 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
357 is fine.
358 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
359 <bits/mman-linux.h> to end of file.
360 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
361 is fine.
362 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
363 <bits/mman-linux.h> to end of file.
364
365 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
366 (MCL_CURRENT, MCL_FUTURE): Define here.
367
368 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
369
370 [BZ #15232]
371 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
372 attribute_hidden.
373 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
374
375 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
376
377 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
378 fourth parameter needed for rt_sigprocmask syscall.
379 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
380 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
381 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
382 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
383 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
384 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
385
386 2013-03-04 Joseph Myers <joseph@codesourcery.com>
387
388 [BZ #13550]
389 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
390 comment about bounded pointers.
391 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
392 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
393
394 2013-03-04 Andreas Jaeger <aj@suse.de>
395
396 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
397 common definitions.
398
399 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
400 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
401 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
402 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
404 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
405
406 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
407
408 [BZ #15055]
409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
410 __ieee754_sqrl instead of __sqrl.
411
412 2013-03-01 Joseph Myers <joseph@codesourcery.com>
413
414 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
415 * sysdeps/powerpc/fpu_control.h: ... here.
416 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
417 * sysdeps/powerpc/bits/fenvinline.h: ... here.
418 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
419 * sysdeps/powerpc/bits/mathinline.h: ... here.
420
421 2013-03-01 Roland McGrath <roland@hack.frob.com>
422
423 * elf/dl-hwcaps.c (_dl_important_hwcaps):
424 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
425 to just [NEED_DL_SYSINFO_DSO].
426 * elf/dl-support.c: Likewise.
427 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
428 * elf/rtld.c (dl_main): Likewise.
429 * elf/setup-vdso.h (setup_vdso): Likewise.
430 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
431 * sysdeps/unix/sysv/linux/dl-sysdep.c
432 (_dl_discover_osversion): Likewise.
433
434 2013-03-01 Carlos O'Donell <carlos@redhat.com>
435
436 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
437 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
438
439 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
440
441 * NEWS: Mention libm performance improvements and non-x86 PI
442 futex support.
443
444 * csu/libc-start.c (__pthread_initialize_minimal): Change
445 function arguments.
446 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
447
448 2013-02-28 Joseph Myers <joseph@codesourcery.com>
449
450 [BZ #13550]
451 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
452 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
453 <bp-sym.h> and <bp-asm.h>.
454 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
455 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
456 and <bp-asm.h>.
457 (memcpy): Don't use BP_SYM.
458 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
459 <bp-asm.h>.
460 (__mpn_add_n): Don't use BP_SYM.
461 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
462 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
463 and <bp-asm.h>.
464 (__mpn_addmul_1): Don't use BP_SYM.
465 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
466 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
467 <bp-sym.h>.
468 (_setjmp): Don't use BP_SYM.
469 (__novmx_setjmp): Likewise.
470 (__GI__setjmp): Likewise.
471 (__vmx_setjmp): Likewise.
472 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
473 <bp-sym.h>.
474 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
475 (__bzero): Don't use BP_SYM.
476 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
477 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
478 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
479 <bp-sym.h> and <bp-asm.h>.
480 (memcpy): Don't use BP_SYM.
481 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
482 <bp-sym.h> and <bp-asm.h>.
483 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
484 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
485 <bp-sym.h> and <bp-asm.h>.
486 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
487 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
488 <bp-asm.h>.
489 (__mpn_lshift): Don't use BP_SYM.
490 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
491 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
492 <bp-asm.h>.
493 (memset): Don't use BP_SYM.
494 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
495 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
496 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
497 <bp-asm.h>.
498 (__mpn_mul_1): Don't use BP_SYM.
499 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
501 <bp-sym.h> and <bp-asm.h>.
502 (memcmp): Don't use BP_SYM.
503 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
504 <bp-sym.h> and <bp-asm.h>.
505 (memcpy): Don't use BP_SYM.
506 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
507 <bp-sym.h> and <bp-asm.h>.
508 (memset): Don't use BP_SYM.
509 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
510 <bp-sym.h> and <bp-asm.h>.
511 (strncmp): Don't use BP_SYM.
512 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
513 <bp-sym.h> and <bp-asm.h>.
514 (memcpy): Don't use BP_SYM.
515 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
516 <bp-sym.h> and <bp-asm.h>.
517 (memset): Don't use BP_SYM.
518 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
519 <bp-sym.h> and <bp-asm.h>.
520 (__memchr): Don't use BP_SYM.
521 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
522 <bp-sym.h> and <bp-asm.h>.
523 (memcmp): Don't use BP_SYM.
524 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
525 <bp-sym.h> and <bp-asm.h>.
526 (memcpy): Don't use BP_SYM.
527 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
528 <bp-sym.h> and <bp-asm.h>.
529 (__mempcpy): Don't use BP_SYM.
530 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
531 <bp-sym.h> and <bp-asm.h>.
532 (__memrchr): Don't use BP_SYM.
533 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
534 <bp-sym.h> and <bp-asm.h>.
535 (memset): Don't use BP_SYM.
536 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
537 <bp-sym.h> and <bp-asm.h>.
538 (__rawmemchr): Don't use BP_SYM.
539 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
540 <bp-sym.h> and <bp-asm.h>.
541 (__STRCMP): Don't use BP_SYM.
542 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
543 <bp-sym.h> and <bp-asm.h>.
544 (strchr): Don't use BP_SYM.
545 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
546 <bp-sym.h> and <bp-asm.h>.
547 (__strchrnul): Don't use BP_SYM.
548 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
549 <bp-sym.h> and <bp-asm.h>.
550 (strlen): Don't use BP_SYM.
551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
552 <bp-sym.h> and <bp-asm.h>.
553 (strncmp): Don't use BP_SYM.
554 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
555 <bp-sym.h> and <bp-asm.h>.
556 (__strnlen): Don't use BP_SYM.
557 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
558 <bp-asm.h>.
559 (__mpn_rshift): Don't use BP_SYM.
560 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
561 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
562 <bp-sym.h> and <bp-asm.h>.
563 (__sigsetjmp): Don't use BP_SYM.
564 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
565 (L(start_addresses)): Don't use BP_SYM.
566 (_start): Likewise.
567 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
568 <bp-asm.h>.
569 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
570 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
571 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
572 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
573 <bp-asm.h>.
574 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
575 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
576 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
577 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
578 <bp-asm.h>.
579 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
580 comments.
581 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
582 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
583 <bp-asm.h>.
584 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
585 FIXME comments.
586 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
587 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
588 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
589 <bp-asm.h>.
590 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
591 comment.
592 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
593 and <bp-asm.h>.
594 (strncmp): Don't use BP_SYM,
595 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
596 <bp-asm.h>.
597 (__mpn_sub_n): Don't use BP_SYM.
598 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
599 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
600 and <bp-asm.h>.
601 (__mpn_submul_1): Don't use BP_SYM.
602 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
604 <bp-sym.h> and <bp-asm.h>.
605 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
607 <bp-sym.h> and <bp-asm.h>.
608 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
609 comment.
610
611 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
612
613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
614 Use ZK to minimize writes to Z.
615 (sub_magnitudes): Simplify code a bit.
616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
617 Use ZK to minimize writes to Z.
618 (sub_magnitudes): Simplify code a bit.
619
620 2013-02-27 Roland McGrath <roland@hack.frob.com>
621
622 * csu/gmon-start.c: Add special exception to license text.
623
624 2013-02-27 Richard Henderson <rth@redhat.com>
625
626 * scripts/config.guess: Update from config.git.
627 * scripts/config.sub: Likewise.
628
629 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
630
631 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
632
633 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
634
635 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
636
637 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
638
639 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
640
641 2013-02-26 Roland McGrath <roland@hack.frob.com>
642
643 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
644 [$(build-shared = yes].
645
646 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
647
648 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
649 (__mul): Reduce iterations for calculating mantissa.
650
651 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
652 MPTWO.
653 (__mpranred): Likewise.
654
655 [BZ #15160]
656 * malloc/memusagestat.c (main): Draw graphs for heap and stack
657 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
658
659 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
660
661 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
662 Define __attribute__.
663
664 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
665
666 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
667 unused.
668 * posix/regex_internal.h (__attribute): Remove.
669 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
670 (re_string_context_at): Likewise.
671 (bitset_not): Use __attribute__ and mark function as possibly
672 unused.
673 (bitset_merge): Likewise.
674 (bitset_mask): Likewise.
675 (re_string_char_size_at): Likewise.
676 (re_string_wchar_at): Likewise.
677 (re_string_elem_size_at): Likewise.
678
679 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
680
681 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
682 code.
683 (cc32): Likewise.
684
685 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
686 (__acr): Likewise.
687 (__cpy): Likewise.
688 (norm): Likewise.
689 (denorm): Likewise.
690 (__dbl_mp): Likewise.
691 (add_magnitudes): Likewise.
692 (sub_magnitudes): Likewise.
693 (__mul): Likewise.
694 (__inv): Likewise.
695
696 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
697 style.
698
699 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
700 style.
701
702 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
703 code.
704
705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
706 up changes with default code.
707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
708 Likewise.
709
710 2013-02-24 Allan McRae <allan@archlinux.org>
711
712 * manual/socket.texi (The Internet Namespace): Order menu items
713 to match that in the file.
714
715 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
716 node listing of the info page menu.
717
718 2013-02-21 Joseph Myers <joseph@codesourcery.com>
719
720 [BZ #13550]
721 * sysdeps/i386/bp-asm.h: Remove file.
722 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
723 (PARMS): Do not use macros from bp-asm.h.
724 (S1): Likewise.
725 (S2): Likewise.
726 (SIZE): Likewise.
727 (__mpn_add_n): Do not use BP_SYM
728 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
729 "bp-asm.h".
730 (PARMS): Do not use macros from bp-asm.h.
731 (S1): Likewise.
732 (SIZE): Likewise.
733 (__mpn_addmul_1): Do not use BP_SYM
734 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
735 "bp-asm.h".
736 (PARMS): Do not use macros from bp-asm.h.
737 (SIGMSK): Likewise.
738 (_setjmp): Likewise. Do not use BP_SYM.
739 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
740 "bp-asm.h".
741 (PARMS): Do not use macros from bp-asm.h.
742 (SIGMSK): Likewise.
743 (setjmp): Likewise. Do not use BP_SYM.
744 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
745 "bp-asm.h".
746 (PARMS): Do not use macros from bp-asm.h.
747 (__frexp): Do not use BP_SYM.
748 (frexp): Likewise.
749 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
750 "bp-asm.h".
751 (PARMS): Do not use macros from bp-asm.h.
752 (__frexpf): Do not use BP_SYM.
753 (frexpf): Likewise.
754 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
755 "bp-asm.h".
756 (PARMS): Do not use macros from bp-asm.h.
757 (__frexpl): Do not use BP_SYM.
758 (frexpl): Likewise.
759 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
760 "bp-asm.h".
761 (PARMS): Do not use macros from bp-asm.h.
762 (__remquo): Do not use BP_SYM.
763 (remquo): Likewise.
764 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
765 "bp-asm.h".
766 (PARMS): Do not use macros from bp-asm.h.
767 (__remquof): Do not use BP_SYM.
768 (remquof): Likewise.
769 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
770 "bp-asm.h".
771 (PARMS): Do not use macros from bp-asm.h.
772 (__remquol): Do not use BP_SYM.
773 (remquol): Likewise.
774 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
775 "bp-asm.h".
776 (PARMS): Do not use macros from bp-asm.h.
777 (DEST): Likewise.
778 (SRC): Likewise.
779 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
780 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
781 "bp-asm.h".
782 (PARMS): Do not use macros from bp-asm.h.
783 (strlen): Do not use BP_SYM.
784 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
785 "bp-asm.h".
786 (PARMS): Do not use macros from bp-asm.h.
787 (S1): Likewise.
788 (S2): Likewise.
789 (SIZE): Likewise.
790 (__mpn_add_n): Do not use BP_SYM.
791 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
792 "bp-asm.h".
793 (PARMS): Do not use macros from bp-asm.h.
794 (S1): Likewise.
795 (SIZE): Likewise.
796 (__mpn_addmul_1): Do not use BP_SYM.
797 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
798 weak_alias.
799 (bzero): Likewise.
800 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
801 "bp-asm.h".
802 (PARMS): Do not use macros from bp-asm.h.
803 (S): Likewise.
804 (SIZE): Likewise.
805 (__mpn_lshift): Do not use BP_SYM.
806 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
807 "bp-asm.h".
808 (PARMS): Do not use macros from bp-asm.h.
809 (DEST): Likewise.
810 (SRC): Likewise.
811 (LEN): Likewise.
812 (memcpy): Likewise. Do not use BP_SYM.
813 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
814 libc_hidden_def and weak_alias.
815 (mempcpy): Do not use BP_SYM in weak_alias.
816 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
817 "bp-asm.h".
818 (PARMS): Do not use macros from bp-asm.h.
819 (DEST): Likewise.
820 (LEN): Likewise.
821 [!BZERO_P] (CHR): Likewise.
822 (memset): Likewise. Do not use BP_SYM.
823 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
824 "bp-asm.h".
825 (PARMS): Do not use macros from bp-asm.h.
826 (S1): Likewise.
827 (SIZE): Likewise.
828 (__mpn_mul_1): Do not use BP_SYM.
829 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
830 "bp-asm.h".
831 (PARMS): Do not use macros from bp-asm.h.
832 (S): Likewise.
833 (SIZE): Likewise.
834 (__mpn_rshift): Do not use BP_SYM.
835 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
836 "bp-asm.h".
837 (PARMS): Do not use macros from bp-asm.h.
838 (STR): Likewise.
839 (CHR): Likewise.
840 (strchr): Likewise. Do not use BP_SYM.
841 (index): Do not use BP_SYM in weak_alias.
842 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
843 "bp-asm.h".
844 (PARMS): Do not use macros from bp-asm.h.
845 (DEST): Likewise.
846 (SRC): Likewise.
847 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
848 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
849 "bp-asm.h".
850 (PARMS): Do not use macros from bp-asm.h.
851 (strlen): Do not use BP_SYM.
852 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
853 "bp-asm.h".
854 (PARMS): Do not use macros from bp-asm.h.
855 (S1): Likewise.
856 (S2): Likewise.
857 (SIZE): Likewise.
858 (__mpn_sub_n): Do not use BP_SYM.
859 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
860 "bp-asm.h".
861 (PARMS): Do not use macros from bp-asm.h.
862 (S1): Likewise.
863 (SIZE): Likewise.
864 (__mpn_submul_1): Do not use BP_SYM.
865 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
866 "bp-asm.h".
867 (PARMS): Do not use macros from bp-asm.h.
868 (S1): Likewise.
869 (S2): Likewise.
870 (SIZE): Likewise.
871 (__mpn_add_n): Do not use BP_SYM.
872 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
873 weak_alias.
874 (bzero): Likewise.
875 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
876 "bp-asm.h".
877 (PARMS): Do not use macros from bp-asm.h.
878 (BLK2): Likewise.
879 (LEN): Likewise.
880 (memcmp): Do not use BP_SYM.
881 (bcmp): Do not use BP_SYM in weak_alias.
882 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
883 "bp-asm.h".
884 (PARMS): Do not use macros from bp-asm.h.
885 (DEST): Likewise.
886 (SRC): Likewise.
887 (LEN): Likewise.
888 (memcpy): Likewise. Do not use BP_SYM.
889 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
890 "bp-asm.h".
891 (PARMS): Do not use macros from bp-asm.h.
892 (DEST): Likewise.
893 (SRC): Likewise.
894 (LEN): Likewise.
895 (memmove): Likewise. Do not use BP_SYM.
896 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
897 "bp-asm.h".
898 (PARMS): Do not use macros from bp-asm.h.
899 (DEST): Likewise.
900 (SRC): Likewise.
901 (LEN): Likewise.
902 (__mempcpy): Likewise. Do not use BP_SYM.
903 (mempcpy): Do not use BP_SYM in weak_alias.
904 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
905 "bp-asm.h".
906 (PARMS): Do not use macros from bp-asm.h.
907 (DEST): Likewise.
908 (LEN): Likewise.
909 [!BZERO_P] (CHR): Likewise.
910 (memset): Likewise. Do not use BP_SYM.
911 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
912 "bp-asm.h".
913 (PARMS): Do not use macros from bp-asm.h.
914 (STR2): Likewise.
915 (strcmp): Do not use BP_SYM.
916 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
917 "bp-asm.h".
918 (PARMS): Do not use macros from bp-asm.h.
919 (STR): Likewise.
920 (DELIM): Likewise.
921 [USE_AS_STRTOK_R] (SAVE): Likewise.
922 (FUNCTION): Likewise. Do not use BP_SYM.
923 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
924 aliases.
925 (strtok_r): Likewise.
926 (__GI___strtok_r): Likewise.
927 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
928 (PARMS): Do not use macros from bp-asm.h.
929 (S): Likewise.
930 (SIZE): Likewise.
931 (__mpn_lshift): Do not use BP_SYM.
932 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
933 (PARMS): Do not use macros from bp-asm.h.
934 (STR): Likewise.
935 (CHR): Likewise.
936 (__memchr): Do not use BP_SYM.
937 (memchr): Do not use BP_SYM in weak_alias.
938 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
939 (PARMS): Do not use macros from bp-asm.h.
940 (BLK2): Likewise.
941 (LEN): Likewise.
942 (memcmp): Do not use BP_SYM.
943 (bcmp): Do not use BP_SYM in weak_alias.
944 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
945 (PARMS): Do not use macros from bp-asm.h.
946 (S1): Likewise.
947 (SIZE): Likewise.
948 (__mpn_mul_1): Do not use BP_SYM.
949 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
950 "bp-asm.h".
951 (PARMS): Do not use macros from bp-asm.h.
952 (STR): Likewise.
953 (CHR): Likewise.
954 (__rawmemchr): Do not use BP_SYM.
955 (rawmemchr): Do not use BP_SYM in weak_alias.
956 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
957 (PARMS): Do not use macros from bp-asm.h.
958 (S): Likewise.
959 (SIZE): Likewise.
960 (__mpn_rshift): Do not use BP_SYM.
961 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
962 (PARMS): Do not use macros from bp-asm.h.
963 (SIGMSK): Likewise.
964 (__sigsetjmp): Likewise. Do not use BP_SYM.
965 * sysdeps/i386/start.S: Do not include "bp-sym.h".
966 (_start): Do not use BP_SYM.
967 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
968 (PARMS): Do not use macros from bp-asm.h.
969 (DEST): Likewise.
970 (SRC): Likewise.
971 (__stpcpy): Likewise. Do not use BP_SYM.
972 (stpcpy): Do not use BP_SYM in weak_alias.
973 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
974 "bp-asm.h".
975 (PARMS): Do not use macros from bp-asm.h.
976 (DEST): Likewise.
977 (SRC): Likewise.
978 (LEN): Likewise.
979 (__stpncpy): Likewise. Do not use BP_SYM.
980 (stpncpy): Do not use BP_SYM in weak_alias.
981 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
982 (PARMS): Do not use macros from bp-asm.h.
983 (STR): Likewise.
984 (CHR): Likewise.
985 (strchr): Likewise. Do not use BP_SYM.
986 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
987 "bp-asm.h".
988 (PARMS): Do not use macros from bp-asm.h.
989 (STR): Likewise.
990 (CHR): Likewise.
991 (__strchrnul): Likewise. Do not use BP_SYM.
992 (strchrnul): Do not use BP_SYM in weak_alias.
993 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
994 "bp-asm.h".
995 (PARMS): Do not use macros from bp-asm.h.
996 (STOP): Likewise.
997 (strcspn): Do not use BP_SYM.
998 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
999 "bp-asm.h".
1000 (PARMS): Do not use macros from bp-asm.h.
1001 (STR): Likewise.
1002 (STOP): Likewise.
1003 (strpbrk): Likewise. Do not use BP_SYM.
1004 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1005 "bp-asm.h".
1006 (PARMS): Do not use macros from bp-asm.h.
1007 (STR): Likewise.
1008 (CHR): Likewise.
1009 (strrchr): Likewise. Do not use BP_SYM.
1010 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1011 (PARMS): Do not use macros from bp-asm.h.
1012 (SKIP): Likewise.
1013 (strspn): Do not use BP_SYM.
1014 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1015 (PARMS): Do not use macros from bp-asm.h.
1016 (STR): Likewise.
1017 (DELIM): Likewise.
1018 (SAVE): Likewise.
1019 (FUNCTION): Likewise. Do not use BP_SYM.
1020 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1021 aliases.
1022 (strtok_r): Likewise.
1023 (__GI___strtok_r): Likewise.
1024 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1025 (PARMS): Do not use macros from bp-asm.h.
1026 (S1): Likewise.
1027 (S2): Likewise.
1028 (SIZE): Likewise.
1029 (__mpn_sub_n): Do not use BP_SYM.
1030 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1031 "bp-asm.h".
1032 (PARMS): Do not use macros from bp-asm.h.
1033 (S1): Likewise.
1034 (SIZE): Likewise.
1035 (__mpn_submul_1): Do not use BP_SYM.
1036 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1037 <bp-sym.h>.
1038 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1039 and <bp-asm.h>.
1040 (PARMS): Do not use macros from bp-asm.h.
1041 (FLAGS): Likewise.
1042 (PTID): Likewise.
1043 (TLS): Likewise.
1044 (CTID): Likewise.
1045 (__clone): Do not use BP_SYM.
1046 (clone): Do not use BP_SYM in weak_alias.
1047 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1048 and <bp-asm.h>.
1049 (PARMS): Do not use macros from bp-asm.h.
1050 (LEN): Likewise.
1051 (__mmap64): Do not use BP_SYM.
1052 (mmap64): Do not use BP_SYM in weak_alias.
1053 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1054 <bp-sym.h> and <bp-asm.h>.
1055 (PARMS): Do not use macros from bp-asm.h.
1056 (__posix_fadvise64_l64): Do not use BP_SYM.
1057 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1058 (PARMS): Do not use macros from bp-asm.h.
1059 (NSOPS): Likewise.
1060 (semtimedop): Do not use BP_SYM.
1061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1062 and <bp-asm.h>.
1063
1064 2013-02-21 Allan McRae <allan@archlinux.org>
1065
1066 * manual/message.texi (Charset conversion in gettext):
1067 Move @end statement to beginning of line.
1068
1069 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1070
1071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1072 static.
1073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1074 Likewise.
1075
1076 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1077 (denorm): Likewise.
1078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1080
1081 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1082
1083 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1084 tail-call to the resolved function if pltexit isn't needed.
1085
1086 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1087
1088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1089 or Y being zero as being unlikely.
1090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1091 Likewise.
1092
1093 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1094
1095 * manual/nss.texi (System Databases and Name Service Switch):
1096 Remove frobnicate @pxref.
1097
1098 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1099
1100 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1101 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1102
1103 2013-02-20 Petr Machata <pmachata@redhat.com>
1104
1105 * elf/elf.h (R_ARM_TARGET1): New macro.
1106 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1107 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1108 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1109 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1110 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1111 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1112 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1113 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1114 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1115 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1116 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1117 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1118 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1119 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1120 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1121 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1122 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1123 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1124 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1125 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1126 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1127 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1128 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1129 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1130 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1131 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1132 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1133 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1134 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1135 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1136 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1137 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1138 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1139 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1140 (R_ARM_THM_GOT_BREL12): Likewise.
1141 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1142 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1143 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1144 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1145 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1146 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1147 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1148 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1149 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1150
1151 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1152
1153 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1154 __attribute_used__ to __attribute__ ((unused)).
1155
1156 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1157
1158 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1159 powerpc mpa.c.
1160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1161 comment formatting.
1162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1163
1164 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1165
1166 [BZ #13550]
1167 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1168 Remove macro.
1169 (ENTER): Remove both macro definitions.
1170 (LEAVE): Likewise.
1171 (CHECK_BOUNDS_LOW): Likewise.
1172 (CHECK_BOUNDS_HIGH): Likewise.
1173 (CHECK_BOUNDS_BOTH): Likewise.
1174 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1175 (RETURN_BOUNDED_POINTER): Likewise.
1176 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1177 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1178 (POP_ERRNO_LOCATION_RETURN): Likewise.
1179 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1180 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1181 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1182 macros.
1183 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1184 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1185 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1186 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1187 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1188 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1189 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1190 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1191 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1192 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1193 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1194 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1195 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1196 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1197 removed macros.
1198 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1199 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1200 macros.
1201 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1202 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1203 * sysdeps/i386/i586/memset.S (memset): Likewise.
1204 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1205 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1206 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1207 macros.
1208 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1209 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1210 Change uses of L(2) to L(out).
1211 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1212 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1213 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1214 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1215 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1216 removed macros.
1217 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1218 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1219 macros.
1220 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1221 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1222 (RETURN): Do not use macro LEAVE.
1223 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1224 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1225 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1226 * sysdeps/i386/i686/memset.S (memset): Likewise.
1227 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1228 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1229 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1230 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1231 Likewise.
1232 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1233 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1234 L(1_2) and L(1_3) into L(1).
1235 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1236 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1237 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1238 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1239 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1240 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1241 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1242 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1243 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1244 macros.
1245 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1246 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1247 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1248 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1249 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1250 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1251 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1252 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1253 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1254 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1255 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1256 * sysdeps/i386/strspn.S (strspn): Likewise.
1257 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1258 conditional code.
1259 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1260 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1261 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1262 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1263 L(1_3) into L(1_1).
1264 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1265 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1266 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1267 macros.
1268 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1269
1270 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1271
1272 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1273 macro.
1274
1275 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1276
1277 * math/atest-exp.c (exp_mpn): Remove ROUND.
1278 * math/atest-exp2.c (exp_mpn): Likewise.
1279 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1280
1281 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1282 * stdlib/tst-tls-atexit-lib.c: Likewise.
1283 * stdlib/tst-tls-atexit.c: Likewise.
1284
1285 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1286
1287 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1288 and __attribute_alloc_size__.
1289
1290 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1291
1292 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1293 __attribute_alloc_size__.
1294 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1295 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1296
1297 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1298
1299 * include/programs/xmalloc.h: New file.
1300 * catgets/gencat.c: Include it.
1301 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1302 * elf/pldd.c: Likewise.
1303 * iconv/iconv_charmap.c: Likewise.
1304 * iconv/iconvconfig.c: Likewise.
1305 * iconv/strtab.c: Likewise.
1306 * locale/programs/locale.c: Likewise.
1307 * locale/programs/localedef.h: Likewise.
1308 * locale/programs/simple-hash.c: Likewise.
1309 * nscd/nscd.h: Likewise.
1310 * nss/makedb.c: Likewise.
1311 * sysdeps/generic/ldconfig.h: Likewise.
1312
1313 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1314
1315 * Versions.def: Add GLIBC_2.18.
1316 * include/link.h (struct link_map): New member l_tls_dtor_count.
1317 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1318 (__call_tls_dtors): Likewise.
1319 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1320 __cxa_thread_atexit_impl.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1322 Likewise.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1324 Likewise.
1325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1326 Likewise.
1327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1328 Likewise.
1329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1331 Likewise.
1332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1333 Likewise.
1334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1336 Likewise.
1337 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1338 (tests): Add test case tst-tls-atexit.
1339 (modules-names): Add shared library for tst-tls-atexit.
1340 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1341 (GLIBC_PRIVATE): Add __call_tls_dtors.
1342 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1343 for libstdc++.
1344 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1345 * stdlib/tst-tls-atexit.c: New test case.
1346 * stdlib/tst-tls-atexit-lib.c: New test case.
1347
1348 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1349
1350 * elf/Versions (ld): Add _dl_find_dso_for_object.
1351 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1352 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1353 (dl_open_worker): Use _dl_find_dso_for_object.
1354 * elf/dl-sym.c (do_sym): Likewise.
1355 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1356
1357 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1358
1359 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1360 Syntactic changes only.
1361 (_dl_runtime_profile): Do a tail-call to the resolved function.
1362
1363 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1364
1365 [BZ #13550]
1366 * sysdeps/x86_64/bp-asm.h: Remove file.
1367 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1368 <bp-sym.h> and <bp-asm.h>.
1369 (__clone): Do not use BP_SYM.
1370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1371 <bp-sym.h> and <bp-asm.h>.
1372 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1373 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1374 "bp-asm.h".
1375 (_setjmp): Do not use BP_SYM.
1376 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1377 "bp-asm.h".
1378 (setjmp): Do not use BP_SYM.
1379 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1380 libc_hidden_def.
1381 (mempcpy): Do not use BP_SYM in weak_alias.
1382 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1383 "bp-asm.h".
1384 (strchr): Do not use BP_SYM.
1385 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1386 "bp-asm.h".
1387 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1388 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1389 (_start): Do not use BP_SYM.
1390 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1391 "bp-asm.h".
1392 (strcat): Do not use BP_SYM.
1393 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1394 "bp-asm.h".
1395 (STRCMP): Do not use BP_SYM.
1396 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1397 "bp-asm.h".
1398 (STRCPY): Do not use BP_SYM.
1399 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1400 "bp-asm.h".
1401 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1402 "bp-asm.h".
1403 (FUNCTION): Do not use BP_SYM.
1404 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1405 weak_alias.
1406 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1407
1408 2013-02-17 Andreas Jaeger <aj@suse.de>
1409
1410 * time/Versions: Sort entries.
1411 * string/Versions: Likewise.
1412 * resolv/Versions: Likewise.
1413 * posix/Versions: Likewise.
1414 * iconv/Versions: Likewise.
1415 * elf/Versions: Likewise.
1416 * wcsmbs/Versions: Likewise.
1417
1418 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1419
1420 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1421 loop termination condition.
1422
1423 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1424 variable to calculate EZ.
1425 (__sqr): Likewise.
1426
1427 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1428 the lower precision input.
1429
1430 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1431
1432 [BZ #13550]
1433 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1434 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1435 (run-via-rtld-prefix): Do not handle %-bp tests.
1436 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1437 (all-object-suffixes): Remove .ob.
1438 (bppfx): Remove variable.
1439 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1440 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1441 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1442 [$(build-bounded) = yes] (libtype.ob): Likewise.
1443 * Makerules (elide-routines.ob): Remove variable.
1444 (do-tests-clean): Do not handle *-bp.out.
1445 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1446 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1447 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1448 (tests): Do not include $(tests-bp.out).
1449 (xtests): Do not include $(xtests-bp.out).
1450 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1451 [$(build-bounded) = yes] ($(addprefix
1452 $(objpfx),$(binaries-bounded))): Remove rule.
1453 ($(objpfx)%-bp.out): Remove rule.
1454 * config.make.in (build-bounded): Remove variable.
1455 * crypt/Makefile [$(build-bounded) = yes]
1456 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1457 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1458 append to variable.
1459 [$(build-bounded) = yes] (install-lib): Likewise.
1460 [$(build-bounded) = yes] (generated): Likewise.
1461 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1462 Remove rule.
1463 * intl/Makefile [$(build-bounded) = yes]
1464 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1465 * math/Makefile [$(build-bounded) = yes]
1466 ($(tests:%=$(objpfx)%-bp): Likewise.
1467 * misc/Makefile [$(build-bounded) = yes]
1468 ($(objpfx)tst-tsearch-bp): Likewise.
1469 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1470 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1471 Remove dependency.
1472 * string/Makefile (o-objects.ob): Remove variable.
1473 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1474 (CFLAGS-.ob): Remove variable.
1475 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1476 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1477 both definitions of variable.
1478 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1479 (ASFLAGS-.ob): Remove variable.
1480
1481 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1482
1483 [BZ #13550]
1484 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1485 Remove __BOUNDED_POINTERS__ from condition.
1486 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1487 * string/bits/string2.h [!__NO_STRING_INLINES &&
1488 !__BOUNDED_POINTERS__]: Likewise.
1489 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1490 Likewise.
1491 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1492 Remove conditional code.
1493 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1494 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1495 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1496 condition.
1497
1498 [BZ #13550]
1499 * csu/libc-start.c: Do not include <bp-sym.h>.
1500 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1501 * elf/dl-open.c: Do not include <bp-sym.h>.
1502 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1503 * math/fegetenv.c: Do not include <bp-sym.h>.
1504 (fegetenv): Do not use BP_SYM in versioned symbols.
1505 * nptl/sysdeps/pthread/bits/libc-lockP.h
1506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1507 <bp-sym.h>.
1508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1509 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1511 (__pthread_mutex_destroy): Likewise.
1512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1513 (__pthread_mutex_lock): Likewise.
1514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1515 (__pthread_mutex_trylock): Likewise.
1516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1517 (__pthread_mutex_unlock): Likewise.
1518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1519 (__pthread_mutexattr_init): Likewise.
1520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1521 (__pthread_mutexattr_destroy): Likewise.
1522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1523 (__pthread_mutexattr_settype): Likewise.
1524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1525 (__pthread_rwlock_init): Likewise.
1526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1527 (__pthread_rwlock_destroy): Likewise.
1528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1529 (__pthread_rwlock_rdlock): Likewise.
1530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1531 (__pthread_rwlock_tryrdlock): Likewise.
1532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1533 (__pthread_rwlock_wrlock): Likewise.
1534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1535 (__pthread_rwlock_trywrlock): Likewise.
1536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1537 (__pthread_rwlock_unlock): Likewise.
1538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1539 (__pthread_key_create): Likewise.
1540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1541 (__pthread_setspecific): Likewise.
1542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1543 (__pthread_getspecific): Likewise.
1544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1545 Likewise.
1546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1547 (_pthread_cleanup_push_defer): Likewise.
1548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1549 (_pthread_cleanup_pop_restore): Likewise.
1550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1551 (pthread_setcancelstate): Likewise.
1552 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1553 <bp-sym.h>.
1554 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1555 (memchr): Do not use BP_SYM in weak_alias.
1556 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1557 (fegetenv): Do not use BP_SYM in versioned symbols.
1558 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1559 (fesetenv): Do not use BP_SYM in versioned symbols.
1560 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1561 (feupdateenv): Do not use BP_SYM in versioned symbols.
1562 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1563 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1564 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1565 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1566 (open64): Do not use BP_SYM in weak_alias.
1567 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1568 (fegetenv): Do not use BP_SYM in versioned symbols.
1569 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1570 (fesetenv): Do not use BP_SYM in versioned symbols.
1571 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1572 (feupdateenv): Do not use BP_SYM in versioned symbols.
1573 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1574 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1575 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1576 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1577 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1578 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1579 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1580 <bp-sym.h>.
1581 (__libc_start_main): Do not use BP_SYM.
1582
1583 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1584
1585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1586 redundant return line.
1587 (norm): Likewise.
1588 (denorm): Likewise.
1589 (dbl_mp): Likewise.
1590 (sub_magnitudes): Likewise.
1591 (__add): Likewise.
1592 (__sub): Likewise.
1593 (__mul): Likewise.
1594 (__inv): Likewise.
1595 (__dvd): Likewise.
1596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1597 (norm): Likewise.
1598 (denorm): Likewise.
1599 (dbl_mp): Likewise.
1600 (sub_magnitudes): Likewise.
1601 (__add): Likewise.
1602 (__sub): Likewise.
1603 (__mul): Likewise.
1604 (__inv): Likewise.
1605 (__dvd): Likewise.
1606
1607 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1608 instead of __mul.
1609 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1610 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1611 (cc32): Likewise.
1612
1613 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1614 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1616 of __mul for squares.
1617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1618 function
1619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1620 Likewise.
1621 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1622 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1623
1624 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1625
1626 [BZ #13550]
1627 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1628 code.
1629 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1630 prototype or function definition. Rename ubp_* variables and
1631 parameters. Remove argv definitions conditional on
1632 [__BOUNDED_POINTERS__].
1633 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1634 * elf/dl-runtime.c (_dl_fixup): Likewise.
1635 * include/set-hooks.h (RUN_HOOK): Likewise.
1636 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1637 definition.
1638 * string/strcpy.c (strcpy): Do not use __unbounded.
1639 * sysdeps/generic/frame.h (struct layout): Likewise.
1640 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1641 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1642 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1643 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1644 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1645 (__backtrace): Likewise.
1646 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1647 use __ptrvalue.
1648 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1649 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1650 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1651 Likewise.
1652 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1653 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1654 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1655 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1656 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1657 Do not use __unbounded.
1658 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1659 Rename __unboundedrlimits parameter to rlimits in prototype.
1660 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1661 Do not use __unbounded.
1662 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1663 not use __ptrvalue.
1664 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1665 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1666 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1667 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1668 __ptrvalue or __unbounded.
1669 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1670 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1671 use __unbounded.
1672 (__new_msgctl): Do not use __ptrvalue.
1673 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1674 __unbounded.
1675 (__libc_msgrcv): Do not use __ptrvalue.
1676 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1677 startup_info): Do not use __unbounded.
1678 (__libc_start_main): Likewise. Rename ubp_* variables and
1679 parameters. Remove argv definitions conditional on
1680 [__BOUNDED_POINTERS__].
1681 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1682 __ptrvalue.
1683 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1684 use __unbounded.
1685 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1686 or __ptrvalue.
1687 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1688 use __unbounded.
1689 (__new_shmctl): Do not use __ptrvalue.
1690 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1691 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1692 Likewise.
1693 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1694 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1695 (__libc_sigaction): Likewise.
1696 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1697 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1698 Likewise.
1699 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1700
1701 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1702
1703 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1704
1705 * string/mempcpy.c: Implement by calling memcpy.
1706
1707 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1708
1709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1710
1711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1712 evaluation.
1713
1714 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1715 values in the mantissa.
1716
1717 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1718 minimize writes to Z.
1719 (sub_magnitudes): Simplify code a bit.
1720
1721 2013-02-12 Roland McGrath <roland@hack.frob.com>
1722
1723 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1724 from the message. The linker prefixes all warnings with that already.
1725
1726 2013-02-12 Andreas Schwab <schwab@suse.de>
1727
1728 [BZ #15078]
1729 * posix/regexec.c (extend_buffers): Add parameter min_len.
1730 (check_matching): Pass minimum needed length.
1731 (clean_state_log_if_needed): Likewise.
1732 (get_subexp): Likewise.
1733 * posix/Makefile (tests): Add bug-regex34.
1734 (bug-regex34-ENV): Define.
1735 * posix/bug-regex34.c: New file.
1736
1737 [BZ #11561]
1738 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1739 elements compare against the byte sequence of it, not its name.
1740 * posix/Makefile (tests): Add bug-regex35.
1741 (bug-regex35-ENV): Define.
1742 * posix/bug-regex35.c: New file.
1743
1744 2013-02-11 Tom de Vries <tom@codesourcery.com>
1745
1746 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1747 comment.
1748 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1749 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1750 (CHECK_EOL): Add undef.
1751
1752 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1753
1754 * bits/stdlib-bsearch.h: New file.
1755 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1756 * stdlib/stdlib.h: Likewise.
1757
1758 2013-02-11 Roland McGrath <roland@hack.frob.com>
1759
1760 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1761 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1762 declaration.
1763 * manual/search.texi (Array Search Function): Add missing const in
1764 lfind prototype.
1765 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1766 declaration to use rlim_t.
1767 (Basic Scheduling Functions): Remove erroneous const from
1768 sched_getparam prototype. Remove erroneous * from
1769 sched_get_priority_max and sched_get_priority_min prototypes.
1770 (Resource Usage): Fix summary @comment on vtimes to refer to
1771 sys/vtimes.h rather than vtimes.h.
1772 Add missing *s in vtimes prototype.
1773 (Limits on Resources): Fix ulimit prototype to return long int.
1774 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1775 prototypes to use long int rather than double.
1776 (BSD Random): Fix initstate and setstate to use char *, not void *.
1777 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1778 prototype to make second argument 'struct aiocb64 *const[]'.
1779 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1780 (Status of AIO Operations): Remove erroneous const in aio_return and
1781 aio_return64 prototypes.
1782 (Synchronizing I/O): Fix sync prototype to return void.
1783 * manual/startup.texi (Suboptions): Remove an erroneous const in
1784 getsubopt prototype.
1785 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1786 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1787 use size_t rather than int.
1788 (Scanning All Users): Likewise for getpwent_r.
1789 (Setting Groups): Add missing const to setgroups prototype.
1790 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1791 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1792 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1793 'const void *' rather than 'const char *'.
1794 (Host Address Functions): Likewise for inet_ntop.
1795 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1796 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1797 ssize_t for return value.
1798 (Sending Data): Likewise for send, sendto, sendmsg.
1799 (Socket Option Functions): Add a missing const in setsockopt prototype.
1800 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1801 use wchar_t for the argument.
1802 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1803 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1804 take no arguments.
1805 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1806 double/float/long double for second argument.
1807 Fix return types of significand, significandf, significandl.
1808 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1809 argument in fchmod prototype.
1810 (File Owner): Use uid_t and gid_t in fchown prototype.
1811 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1812 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1813 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1814 use 'const struct dirent **' as argument types to CMP function pointer
1815 argument.
1816 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1817 (File Times): Fix summary magic @comment for struct utimbuf and utime
1818 to refer to utime.h, not time.h.
1819 * manual/string.texi (Argz Functions): Add missing const in
1820 argz_extract and argz_next prototypes.
1821 (Finding Tokens in a String): Likewise for basename.
1822 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1823 (Copying and Concatenation): Fix typo in wmemmove prototype.
1824 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1825 (Signal Stack): Remove erroneous const in sigstack prototype.
1826 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1827 prototype.
1828 (Simple Calendar Time): Likewise for stime.
1829 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1830 prototype.
1831 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1832 say sys/sysctl.h instead.
1833 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1834 and vsyslog prototypes.
1835
1836 2013-02-11 Tom de Vries <tom@codesourcery.com>
1837
1838 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1839 Remove.
1840
1841 2013-02-11 Roland McGrath <roland@hack.frob.com>
1842
1843 * misc/sys/mman.h: Fix typo in mremap comment.
1844
1845 2013-02-08 Roland McGrath <roland@hack.frob.com>
1846
1847 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1848 the '\0' terminator.
1849
1850 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1851
1852 [BZ #13550]
1853 * debug/segfault.c: Don't include <bp-checks.h>.
1854 * sysdeps/generic/bp-checks.h: Remove file.
1855 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1856 (__GETDENTS): Don't use CHECK_N.
1857 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1858 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1859 (__getgroups): Don't use CHECK_N.
1860 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1861 (setgroups): Don't use CHECK_N.
1862 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1863 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1864 (__libc_msgrcv): Don't use CHECK_N.
1865 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1866 (__libc_msgsnd): Don't use CHECK_N.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1868 <bp-checks.h>.
1869 (__libc_pread): Don't use CHECK_N.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1871 include <bp-checks.h>.
1872 (__libc_pread64): Don't use CHECK_N.
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1874 include <bp-checks.h>.
1875 (__libc_pwrite): Don't use CHECK_N.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1877 include <bp-checks.h>.
1878 (__libc_pwrite64): Don't use CHECK_N.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1880 <bp-checks.h>.
1881 (__libc_pread): Don't use CHECK_N.
1882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1883 include <bp-checks.h>.
1884 (__libc_pread64): Don't use CHECK_N.
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1886 include <bp-checks.h>.
1887 (__libc_pwrite): Don't use CHECK_N.
1888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1889 include <bp-checks.h>.
1890 (__libc_pwrite64): Don't use CHECK_N.
1891 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1892 (do_pread): Don't use CHECK_N.
1893 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1894 (do_pread64): Don't use CHECK_N.
1895 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1896 (do_pwrite): Don't use CHECK_N.
1897 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1898 (do_pwrite64): Don't use CHECK_N.
1899 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1900 (__libc_readv): Don't use CHECK_N.
1901 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1902 (semop): Don't use CHECK_N.
1903 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1904 <bp-checks.h>.
1905 (semtimedop): Don't use CHECK_N.
1906 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1907 (__libc_pread): Don't use CHECK_N.
1908 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1909 <bp-checks.h>.
1910 (__libc_pread64): Don't use CHECK_N.
1911 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1912 <bp-checks.h>.
1913 (__libc_pwrite): Don't use CHECK_N.
1914 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1915 <bp-checks.h>.
1916 (__libc_pwrite64): Don't use CHECK_N.
1917 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1918 <bp-checks.h>.
1919 (__libc_msgrcv): Don't use CHECK_N.
1920 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1921 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1922 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1923 (__libc_writev): Don't use CHECK_N.
1924
1925 2013-02-08 Roland McGrath <roland@hack.frob.com>
1926
1927 * string/strcpy.c: Removed unused variable.
1928
1929 * Makeconfig (+sysdep-includes): Define with := rather than =.
1930 Use an existing include/ subdir of each sysdeps dir before it.
1931
1932 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1933
1934 * nscd/connection.c (register_traced_file): Comment function.
1935 [HAVE_INOTIFY] (union __inev): Define.
1936 [HAVE_INOTIFY] (inotify_check_files): New function.
1937 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1938 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1939 clear_db_cache.
1940 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1941
1942 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1943
1944 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1945 loaded if not already and that a failure is permanent.
1946
1947 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1948
1949 [BZ #15006]
1950 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1951 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1952
1953 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1954
1955 [BZ #13550]
1956 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1957 (CHECK_1_NULL_OK): Likewise.
1958 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1959 (__fxstat): Do not use CHECK_1.
1960 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1961 <bp-checks.h>.
1962 (___fxstat64): Do not use CHECK_1.
1963 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1964 <bp-checks.h>.
1965 (__fxstatat): Do not use CHECK_1.
1966 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1967 <bp-checks.h>.
1968 (__fxstatat64): Do not use CHECK_1.
1969 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1970 <bp-checks.h>.
1971 (__fxstat): Do not use CHECK_1.
1972 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1973 <bp-checks.h>.
1974 (__fxstatat): Do not use CHECK_1.
1975 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1976 <bp-checks.h>.
1977 (__getresgid): Do not use CHECK_1.
1978 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1979 <bp-checks.h>.
1980 (__getresuid): Do not use CHECK_1.
1981 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1982 <bp-checks.h>.
1983 (__lxstat): Do not use CHECK_1.
1984 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1985 <bp-checks.h>.
1986 (__old_msgctl): Do not use CHECK_1.
1987 (__new_msgctl): Likewise.
1988 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1989 <bp-checks.h>.
1990 (__new_setrlimit): Do not use CHECK_1.
1991 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1992 <bp-checks.h>.
1993 (__old_shmctl): Do not use CHECK_1.
1994 (__new_shmctl): Likewise.
1995 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1996 <bp-checks.h>.
1997 (__xstat): Do not use CHECK_1.
1998 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1999 (__lxstat): Do not use CHECK_1.
2000 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2001 <bp-checks.h>.
2002 (___lxstat64): Do not use CHECK_1.
2003 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2004 (__old_msgctl): Do not use CHECK_1.
2005 (__new_msgctl): Likewise.
2006 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2007 <bp-checks.h>.
2008 (__gettimeofday): Do not use CHECK_1.
2009 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2010 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2011 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2012 <bp-checks.h>.
2013 (__gettimeofday): Do not use CHECK_1.
2014 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2015 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2016 (__new_shmctl): Do not use CHECK_1.
2017 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2018 <bp-checks.h>.
2019 (do_sigtimedwait): Do not use CHECK_1.
2020 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2021 <bp-checks.h>.
2022 (do_sigwaitinfo): Do not use CHECK_1.
2023 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2024 <bp-checks.h>.
2025 (msgctl): Do not use CHECK_1.
2026 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2027 <bp-checks.h>.
2028 (shmctl): Do not use CHECK_1.
2029 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2030 (ustat): Do not use CHECK_1.
2031 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2032 <bp-checks.h>.
2033 (__fxstat): Do not use CHECK_1.
2034 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2035 <bp-checks.h>.
2036 (__fxstatat): Do not use CHECK_1.
2037 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2038 <bp-checks.h>.
2039 (__lxstat): Do not use CHECK_1.
2040 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2041 <bp-checks.h>.
2042 (__xstat): Do not use CHECK_1.
2043 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2044 (__xstat): Do not use CHECK_1.
2045 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2046 (___xstat64): Do not use CHECK_1.
2047
2048 [BZ #13550]
2049 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2050 definitions.
2051 (CHECK_BOUNDS_HIGH): Likewise.
2052 * string/strcpy.c: Do not include <bp-checks.h>.
2053 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2054
2055 2013-02-07 Roland McGrath <roland@hack.frob.com>
2056
2057 * nscd/nscd-client.h (__nscd_drop_map_ref):
2058 Add __attribute__ ((unused)).
2059 * nis/nss-nisplus.h (niserr2nss): Likewise.
2060
2061 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2062 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2063
2064 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2065 Remove inline keyword.
2066 * include/rounding-mode.h (round_away): Likewise.
2067 * libio/wfileops.c (adjust_wide_data): Likewise.
2068 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2069 (__m128i_strloadu_tolower): Likewise.
2070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2071 (__m128i_strloadu_tolower): Likewise.
2072 * time/mktime.c (ydhms_diff): Likewise.
2073 * locale/elem-hash.h (elem_hash): Likewise.
2074 * locale/setlocale.c (setdata): Likewise.
2075 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2076 (re_string_wchar_at): Likewise.
2077 (bitset_not, bitset_merge, bitset_mask): Likewise.
2078 [!(__GNUC__ > 3)] (inline): Remove macro.
2079 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2080 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2081 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2082 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2083 * string/memcmp.c (memcmp_bytes): Likewise.
2084 * locale/programs/locarchive.c (compute_hashval): Likewise.
2085 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2086 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2087 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2088 * nss/getent.c (print_rpc, print_protocols): Likewise.
2089 (print_passwd, print_group, print_aliases): Likewise.
2090 * nis/nss-nisplus.h (niserr2nss): Likewise.
2091 * nscd/connections.c (restart_p): Likewise.
2092 Change return type to bool.
2093
2094 2013-02-05 Roland McGrath <roland@hack.frob.com>
2095
2096 * Makeconfig (all-Depend-files): Add existing
2097 $(sorted-subdirs:=/Depend) files.
2098 (all-subdirs): Remove nss.
2099 * sysdeps/unix/inet/Subdirs: Add it here instead.
2100 * hesiod/Depend: New file.
2101
2102 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2103 instead of calling alloca.
2104
2105 * io/lseek.c (__lseek): Rename to __libc_lseek.
2106 Define __lseek as an alias.
2107
2108 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2109
2110 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2111
2112 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2113 else clause and remove check for non-standard endianness.
2114
2115 2013-02-04 David S. Miller <davem@davemloft.net>
2116
2117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2118
2119 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2120
2121 [BZ #13550]
2122 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2123 (__ubp_memchr): Remove prototype.
2124 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2125 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2126 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2127 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2128 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2129 Remove alias.
2130 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2131 (__ubp_memchr): Likewise.
2132 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2133 (__ubp_memchr): Likewise.
2134 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2135 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2136 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2137 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2138 CHECK_STRING.
2139 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2140 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2141 (__getcwd): Do not use CHECK_STRING.
2142 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2143 <bp-checks.h>.
2144 (__real_chown): Do not use CHECK_STRING.
2145 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2146 <bp-checks.h>.
2147 (fchownat): Do not use CHECK_STRING.
2148 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2149 CHECK_STRING.
2150 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2151 <bp-checks.h>.
2152 (__lchown): Do not use CHECK_STRING.
2153 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2154 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2155 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2156 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2158 include <bp-checks.h>.
2159 (truncate64): Do not use CHECK_STRING.
2160 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2161 <bp-checks.h>.
2162 (__real_chown): Do not use CHECK_STRING.
2163 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2164 <bp-checks.h>.
2165 (__lchown): Do not use CHECK_STRING.
2166 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2167 <bp-checks.h>.
2168 (__chown): Do not use CHECK_STRING.
2169 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2170 <bp-checks.h>.
2171 (truncate64): Do not use CHECK_STRING.
2172 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2173 Likewise.
2174 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2175 (__xmknod): Do not use CHECK_STRING.
2176 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2177 <bp-checks.h>.
2178 (__xmknodat): Do not use CHECK_STRING.
2179 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2180 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2181
2182 2013-02-04 Andreas Schwab <schwab@suse.de>
2183
2184 [BZ #14142]
2185 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2186 * include/netdb.h: Likewise for h_errno.
2187 * elf/tst-stackguard1.c: Include <tls.h>.
2188
2189 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2190
2191 * elf/link.h (struct link_map): Extend the l_addr comment.
2192 * include/link.h (struct link_map): Likewise.
2193
2194 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2195
2196 [BZ #13550]
2197 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2198 (BOUNDED_1): Remove macro.
2199 * debug/backtrace.c: Don't include <bp-checks.h>.
2200 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2201 (__backtrace): Likewise.
2202 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2203 <bp-checks.h>.
2204 (__backtrace): Don't use BOUNDED_1.
2205 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2206 <bp-checks.h>.
2207 (__backtrace): Don't use BOUNDED_1.
2208 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2209 (__backtrace): Don't use BOUNDED_1.
2210 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2211 (shmat): Don't use BOUNDED_N.
2212
2213 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2214
2215 [BZ #13550]
2216 * sysdeps/generic/bp-start.h: Remove file.
2217 * csu/libc-start.c: Don't include <bp-start.h>.
2218 (LIBC_START_MAIN): Set up __environ directly instead of using
2219 INIT_ARGV_and_ENVIRON.
2220 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2221 <bp-start.h>.
2222
2223 [BZ #13550]
2224 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2225 definitions.
2226 (CHECK_FCNTL): Likewise.
2227 (CHECK_N_PAGES): Likewise.
2228
2229 [BZ #13550]
2230 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2231 definitions.
2232 (CHECK_SIGSET_NULL_OK): Likewise.
2233 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2234 <bp-checks.h>.
2235 (sigpending): Don't use CHECK_SIGSET.
2236 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2237 <bp-checks.h>.
2238 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2239 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2240 <bp-checks.h>.
2241 (do_sigsuspend): Don't use CHECK_SIGSET.
2242 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2243 use CHECK_SIGSET.
2244 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2245 (do_sigwait): Don't use CHECK_SIGSET.
2246 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2247 use CHECK_SIGSET.
2248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2249 include <bp-checks.h>.
2250 (sigpending): Don't use CHECK_SIGSET.
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2252 include <bp-checks.h>.
2253 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2254 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2255 <bp-checks.h>.
2256 (sigpending): Don't use CHECK_SIGSET.
2257 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2258 <bp-checks.h>.
2259 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2260
2261 [BZ #13550]
2262 * sysdeps/generic/bp-semctl.h: Remove file.
2263 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2264 <bp-checks.h> and <bp-semctl.h>.
2265 (__old_semctl): Don't use CHECK_SEMCTL.
2266 (__new_semctl): Likewise.
2267 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2268 and <bp-semctl.h>.
2269 (__old_semctl): Don't use CHECK_SEMCTL.
2270 (__new_semctl): Likewise.
2271 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2272 <bp-checks.h> and <bp-semctl.h>.
2273 (__old_semctl): Don't use CHECK_SEMCTL.
2274 (__new_semctl): Likewise.
2275 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2276 <bp-checks.h> and <bp-semctl.h>.
2277 (semctl): Don't use CHECK_SEMCTL.
2278
2279 [BZ #13550]
2280 * Makerules (elide-bp-thunks): Remove variable.
2281 (elide-routines.oS): Don't use $(elide-bp-thunks).
2282 (elide-routines.os): Likewise.
2283 (elide-routines.o): Likewise.
2284 (elide-routines.op): Likewise.
2285 (elide-routines.og): Likewise.
2286 (objects): Don't use $(bp-thunks).
2287 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2288 include.
2289 (common-generated): Do not add s-proto-bp.d.
2290 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2291 (int): Likewise.
2292 (typ): Likewise.
2293 Do not generate makefile rules for bounded-pointer thunks.
2294 * sysdeps/generic/bp-thunks.h: Remove file.
2295 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2296 * sysdeps/unix/s-proto-bp.S: Likewise.
2297
2298 [BZ #15062]
2299 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2300 parts of result separately when argument is not close to line from
2301 -i to i and one part of argument is small.
2302 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2303 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2304 * math/libm-test.inc (cacos_test): Add more tests.
2305 (casin_test): Likewise.
2306 (casinh_test): Likewise.
2307 * sysdeps/i386/fpu/libm-test-ulps: Update.
2308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2309
2310 2013-01-31 David S. Miller <davem@davemloft.net>
2311
2312 * po/de.po: Update from translation team.
2313
2314 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2315
2316 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2317
2318 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2319
2320 * configure.in (_AC_PROG_CC_C89): New definition.
2321 * configure: Regenerate.
2322
2323 * configure.in (AC_PROG_CPP): New definition.
2324 * configure: Regenerate.
2325
2326 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2327
2328 * debug/tst-backtrace.h: New file.
2329 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2330 (ret): Remove variable.
2331 (x): Likewise.
2332 (FAIL): Remove macro.
2333 (NO_INLINE): Likewise.
2334 (fn1): Use match function instead of strstr.
2335 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2336 (ret): Remove variable.
2337 (x): Likewise.
2338 (FAIL): Remove macro.
2339 (NO_INLINE): Likewise.
2340 (fn): Use match function instead of strstr.
2341 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2342 (ret): Remove variable.
2343 (x): Likewise.
2344 (FAIL): Remove macro.
2345 (NO_INLINE): Likewise.
2346 (handle_signal): Use match function instead of strstr.
2347 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2348 (ret): Remove variable.
2349 (x): Likewise.
2350 (FAIL): Remove macro.
2351 (NO_INLINE): Likewise.
2352 (handle_signal): Use match function instead of strstr.
2353
2354 2013-01-23 Roland McGrath <roland@hack.frob.com>
2355
2356 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2357
2358 2013-01-23 David S. Miller <davem@davemloft.net>
2359
2360 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2361 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2362 argument of CAS if possible.
2363 * sysdeps/sparc/sparc64/bits/atomic.h
2364 (__arch_compare_and_exchange_val_32_acq): Likewise.
2365 (__arch_compare_and_exchange_val_64_acq): Likewise.
2366
2367 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2368
2369 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2370 * sysdeps/posix/ulimit.c: ... this.
2371 Include <limits.h>.
2372 * sysdeps/unix/bsd/ulimit.c: Remove file.
2373
2374 2013-01-23 Adam Conrad <adconrad@0c3.net>
2375
2376 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2377 (LDFLAGS-tst-array5): Likewise.
2378
2379 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2380
2381 [BZ #15036]
2382 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2383 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2384 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2385 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2386
2387 2013-01-21 David S. Miller <davem@davemloft.net>
2388
2389 * sysdeps/sparc/backtrace.c: New file.
2390 * sysdeps/sparc/sparc32/backtrace.h: New file.
2391 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2392 * sysdeps/sparc/sparc64/backtrace.h: New file.
2393 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2394 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2395 -funwind-tables.
2396
2397 2013-01-21 Andreas Schwab <schwab@suse.de>
2398
2399 [BZ #15020]
2400 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2401 closed its stdout.
2402
2403 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2404
2405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2406 "mpa2.h".
2407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2408
2409 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2410 Mark Mitchell <mark@codesourcery.com>
2411 Tom de Vries <tom@codesourcery.com>
2412 Paul Pluzhnikov <ppluzhnikov@google.com>
2413
2414 * debug/tst-backtrace2.c: New file.
2415 * debug/tst-backtrace3.c: Likewise.
2416 * debug/tst-backtrace4.c: Likewise.
2417 * debug/tst-backtrace5.c: Likewise.
2418 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2419 (CFLAGS-tst-backtrace3.c): Likewise.
2420 (CFLAGS-tst-backtrace4.c): Likewise.
2421 (CFLAGS-tst-backtrace5.c): Likewise.
2422 (LDFLAGS-tst-backtrace2): Likewise.
2423 (LDFLAGS-tst-backtrace3): Likewise.
2424 (LDFLAGS-tst-backtrace4): Likewise.
2425 (LDFLAGS-tst-backtrace5): Likewise.
2426 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2427 tst-backtrace4 and tst-backtrace5.
2428
2429 2013-01-18 Anton Blanchard <anton@samba.org>
2430 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2431
2432 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2433 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2434 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2435 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2437 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2438 "+r" and remove output regs list as redundant. Add explicit inline
2439 asm to specify register of return val to work around compiler codegen
2440 bug. Remove (int) cast on return value. Add return type parameter to
2441 use in macro so that this macro does not truncate return value for
2442 64-bit values.
2443 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2444 pass to INTERNAL_VSYSCALL_NCS.
2445 (INLINE_VSYSCALL): Add 'long int' as return type to
2446 INTERNAL_VSYSCALL_NCS macro invocation.
2447 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2448 INTERNAL_VSYSCALL_NCS macro invocation.
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2450
2451 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2452
2453 [BZ #14496]
2454 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2455 Fix application of SIMD FP exception mask.
2456
2457 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2458 mp_no from a power of two.
2459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2460 __mpexp_twomm1. Use __pow_mp.
2461
2462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2463 multiplication.
2464
2465 2013-01-17 David S. Miller <davem@davemloft.net>
2466
2467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2468
2469 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2470
2471 [BZ #15023]
2472 * include/complex.h: Condition contents on [!_COMPLEX_H].
2473 (__kernel_casinhf): New prototype.
2474 (__kernel_casinh): Likewise.
2475 (__kernel_casinhl): Likewise.
2476 * math/Makefile (libm_calls): Add k_casinh.
2477 * math/k_casinh.c: New file.
2478 * math/k_casinhf.c: Likewise.
2479 * math/k_casinhl.c: Likewise.
2480 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2481 finite nonzero arguments.
2482 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2483 finite nonzero arguments.
2484 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2485 finite nonzero arguments.
2486 * math/s_casinh.c: Do not include <float.h>.
2487 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2488 * math/s_casinhf.c: Do not include <float.h>.
2489 (__casinhf): Move code for finite nonzero arguments to
2490 k_casinhf.c.
2491 * math/s_casinhl.c: Do not include <float.h>.
2492 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2493 redefine.
2494 (__casinhl): Move code for finite nonzero arguments to
2495 k_casinhl.c.
2496 * math/libm-test.inc (cacos_test): Add more tests.
2497 * sysdeps/i386/fpu/libm-test-ulps: Update.
2498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2499
2500 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2501
2502 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2503 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2504 [!HAVE_MREMAP]: Remove [defined linux] case.
2505 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2506
2507 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2508
2509 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2510
2511 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2512
2513 * elf/elf.h (R_386_SIZE32): New relocation.
2514 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2515 R_386_SIZE32.
2516 (elf_machine_rela): Likewise.
2517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2518 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2519
2520 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2521
2522 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2523 (FP_FAST_FMA): Do not define.
2524 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2525 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2526 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2527 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2528 !_SOFT_FLOAT]: Likewise.
2529 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2530 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2531 value.
2532 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2533 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2534 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2535 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2536 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2537 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2538 file.
2539
2540 2013-01-16 Andreas Schwab <schwab@suse.de>
2541
2542 [BZ #14327]
2543 * include/stdlib.h (__mktemp): Add declaration.
2544 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2545 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2546
2547 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2548
2549 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2550 definitions.
2551 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2552 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2553 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2554 definitions here.
2555 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2556 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2557 definitions.
2558 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2559 and ONE.
2560 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2561 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2562 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2563 definitions.
2564 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2565 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2566 definitions.
2567 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2568
2569 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2570
2571 2013-01-15 David S. Miller <davem@davemloft.net>
2572
2573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2574 trunc{,f} to libm-sysdep_routes.
2575 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2577 file.
2578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2580 file.
2581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2582 file.
2583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2585 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2586 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2587 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2588 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2589 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2590 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2591
2592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2593 nearbyint{,f} to libm-sysdep_routes.
2594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2596 New file.
2597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2598 file.
2599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2600 New file.
2601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2602 file.
2603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2605 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2606 file.
2607 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2608 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2609 file.
2610 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2611 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2612 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2613
2614 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2615 libc_feholdexcept and libc_fesetenv.
2616
2617 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2618
2619 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2620
2621 2013-01-14 David S. Miller <davem@davemloft.net>
2622
2623 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2624 (SPARC_ASM_VIS2_IFUNC): Likewise.
2625 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2627 use of 'siam' instruction.
2628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2629 Likewise.
2630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2631 Likewise.
2632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2633 Likewise.
2634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2639 file.
2640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2641 file.
2642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2643 file.
2644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2645 file.
2646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2651 new VIS2 routines.
2652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2655 Likewise.
2656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2661 routines to libm-sysdep_routines.
2662 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2663
2664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2665 fdim/fdimf to libm-sysdep_routines.
2666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2667 file.
2668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2670 file.
2671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2674 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2675 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2676 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2678
2679 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
2681 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2682 to optimize copies.
2683
2684 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2687
2688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2689 local variable MPTWO.
2690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2691 Likewise.
2692
2693 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2694
2695 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2696 GLOB_NOESCAPE.
2697
2698 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2699
2700 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2701
2702 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2703
2704 * manual/pattern.texi (glob_t): Document gl_flags.
2705 (glob64_t): Likewise.
2706
2707 2013-01-11 David S. Miller <davem@davemloft.net>
2708
2709 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2710 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2711 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2712 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2713 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2714 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2715 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2716 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2717 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2718 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2719 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2720 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2721 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2722
2723 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2724 sparc V9 rather than using V8 code.
2725 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2726 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2727
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2729 Move to...
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2731 Here.
2732
2733 2013-01-11 Roland McGrath <roland@hack.frob.com>
2734
2735 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2736 not in the main loop.
2737 * configure: Regenerated.
2738
2739 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2740
2741 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2742 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2743 to just #else.
2744 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2745 [!__GLIBC_HAVE_LONG_LONG] case.
2746 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2747 condition to just #else.
2748 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2749 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2750 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2751 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2752 unconditional.
2753 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2754 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2755 #elif condition to just #else.
2756 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2757 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2758 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2759 #elif condition to just #else.
2760
2761 2013-01-11 Steve Ellcey <sellcey@mips.com>
2762
2763 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2764 (EF_MIPS_ARCH_64): Fix value.
2765 (EF_MIPS_ARCH_32R2): New.
2766 (EF_MIPS_ARCH_64R2): New.
2767
2768 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2769
2770 * Makeconfig (+link-pie-before-libc): New.
2771 (+link-pie-after-libc): Likewise.
2772 (+link-pie-tests): Likewise.
2773 (+link-pie): Rewritten.
2774 (link-before-libc): Remove $(config-LDFLAGS).
2775 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2776 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2777 (config-LDFLAGS): Renamed to ...
2778 (rtld-LDFLAGS): This.
2779 (rtld-tests-LDFLAGS): New macro.
2780 (link-libc-rpath-link): Likewise.
2781 (link-libc-tests-rpath-link): Likewise.
2782 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2783 (link-libc): Prepand $(link-libc-rpath-link).
2784 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2785 (test-program-prefix): New macro.
2786 (test-via-rtld-prefix): Likewise.
2787 (test-program-cmd): Likewise.
2788 (host-test-program-cmd): Likewise.
2789 * Makefile ($(common-objpfx)testrun.sh): Replace
2790 $(run-program-prefix) with $(test-program-prefix).
2791 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2792 $(rtld-LDFLAGS).
2793 ($(common-objpfx)shlib.lds): Likewise.
2794 (build-module-helper): Likewise.
2795 ($(common-objpfx)format.lds): Likewise.
2796 * Rules (binaries-pie-tests): New.
2797 (binaries-pie-notests): Likewise.
2798 (binaries-pie): Rewritten.
2799 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2800 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2801 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2802 (make-test-out): Replace $(host-built-program-cmd) with
2803 $(host-test-program-cmd).
2804 * config.make.in (build-hardcoded-path-in-tests): New variable.
2805 * configure.in (--enable-hardcoded-path-in-tests): New configure
2806 option.
2807 (hardcoded_path_in_tests): New AC_SUBST.
2808 * configure: Regenerated.
2809 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2810 $(built-program-cmd) with $(test-program-cmd).
2811 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2812 (test_program_cmd): This.
2813 * elf/Makefile ($(objpfx)order.out): Run test with
2814 $(test-program-prefix).
2815 ($(objpfx)order2.out): Likewise.
2816 ($(objpfx)tst-initorder.out): Likewise.
2817 ($(objpfx)tst-initorder2.out): Likewise.
2818 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2819 $(test-program-cmd).
2820 ($(objpfx)tst-array1-static.out): Likewise.
2821 ($(objpfx)tst-array2.out): Likewise.
2822 ($(objpfx)tst-array3.out): Likewise.
2823 ($(objpfx)tst-array4.out): Likewise.
2824 ($(objpfx)tst-array5.out): Likewise.
2825 ($(objpfx)tst-array5-static.out): Likewise.
2826 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2827 $(test-program-cmd).
2828 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2829 $(run-program-prefix) with $(test-program-prefix).
2830 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2831 (test_program_prefix): This.
2832 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2833 $(run-program-prefix) with $(test-program-prefix).
2834 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2835 (test_program_prefix): This.
2836 * iconvdata/tst-tables.sh: Likewise.
2837 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2838 $(run-program-prefix) with $(test-program-prefix).
2839 ($(objpfx)tst-translit.out): Likewise.
2840 ($(objpfx)tst-gettext2.out): Likewise.
2841 ($(objpfx)tst-gettext4.out): Likewise.
2842 ($(objpfx)tst-gettext6.out): Likewise.
2843 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2844 (test_program_prefix): This.
2845 * intl/tst-gettext2.sh: Likewise.
2846 * intl/tst-gettext4.sh Likewise.
2847 * intl/tst-gettext6.sh: Likewise.
2848 * intl/tst-translit.sh: Likewise.
2849 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2850 with $(test-program-cmd).
2851 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2852 $(run-program-prefix) with $(test-program-prefix).
2853 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2854 (test_program_prefix): This.
2855 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2856 $(run-program-prefix) with $(test-program-prefix).
2857 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2858 (test_program_prefix): This.
2859 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2860 * posix/Makefile ($(objpfx)globtest.out): Replace
2861 $(run-via-rtld-prefix) and $(test-wrapper) with
2862 $(test-program-prefix) and $(test-via-rtld-prefix).
2863 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2864 $(test-program-prefix).
2865 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2866 $(host-test-program-cmd).
2867 (tst-spawn-ARGS): Likewise.
2868 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2869 $(test-program-prefix).
2870 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2871 (test_via_rtld_prefix): This.
2872 (test_wrapper): Renamed to ...
2873 (test_program_prefix): This.
2874 (run_program_prefix): Replaced by test_program_prefix.
2875 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2876 (test_program_prefix): This.
2877 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2878 with $(host-test-program-cmd).
2879 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2880 $(run-program-prefix) with $(test-program-prefix).
2881 ($(objpfx)tst-printf.out): Likewise.
2882 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2883 $(test-program-cmd).
2884 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2885 (test_program_prefix): This.
2886 * stdio-common/tst-unbputc.sh: Likewise.
2887 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2888 $(run-program-prefix) with $(test-program-prefix).
2889 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2890 (test_program_prefix): This.
2891 * string/Makefile ($(objpfx)tst-svc.out): Replace
2892 $(built-program-cmd) with $(test-program-cmd).
2893
2894 2013-01-11 Andreas Jaeger <aj@suse.de>
2895
2896 [BZ #15003]
2897 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2898 value. Sync with Linux 3.7.
2899
2900 2013-01-10 David S. Miller <davem@davemloft.net>
2901
2902 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2903 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2904 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2905
2906 2013-01-10 Roland McGrath <roland@hack.frob.com>
2907
2908 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2909 never set.
2910 * configure: Regenerated.
2911
2912 2013-01-10 David S. Miller <davem@davemloft.net>
2913
2914 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2915 sparc V9 rather than using V8 code.
2916 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2917 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2918
2919 2013-01-10 Roland McGrath <roland@hack.frob.com>
2920
2921 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2922 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2923 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2924 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2925 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2926 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2927 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2928 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2929 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2930 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2931 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2932 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2933 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2934 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2935 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2936 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2937 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2938 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2939 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2940 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2941 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2942 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2943 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2944 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2945 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2946 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2947 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2948
2949 2013-01-10 David S. Miller <davem@davemloft.net>
2950
2951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2952
2953 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2954
2955 * posix/Makefile (tests-static): New variable.
2956 (tests): Add $(tests-static).
2957 (tst-exec-static-ARGS): New variable.
2958 (tst-spawn-static-ARGS): Likewise.
2959 * posix/tst-exec-static.c: New file.
2960 * posix/tst-spawn-static.c: Likewise.
2961 * posix/tst-exec.c: Support run directly.
2962 * posix/tst-spawn.c: Likewise.
2963
2964 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2965
2966 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2967 long.
2968 * math/bits/mathcalls.h (llrint): Likewise.
2969 (llround): Likewise.
2970 * stdlib/stdlib.h (struct drand48_data): Likewise.
2971 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2972 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2973 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2974 Likewise.
2975 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2976 Likewise.
2977 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2978 (elf_greg_t): Likewise.
2979 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2980 (__jmp_buf): Likewise.
2981 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2982 definitions.
2983 (llrint): Likewise, for all definitions.
2984 (llrintl): Likewise.
2985
2986 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2987 Remove [__GNUC__] condition.
2988 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2989 condition to just [__USE_ISOC99].
2990 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2991
2992 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 [BZ #14200]
2995 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2996 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2997 defined.
2998 (_POSIX_V6_ILP32_OFF32): Likewise.
2999 (_XBS5_ILP32_OFF32): Likewise.
3000 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3001 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3002
3003 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3004
3005 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3006
3007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3008 doubles __mpexp_twomm1. Adjust usage.
3009 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3010 Remove.
3011
3012 2013-01-10 Andreas Schwab <schwab@suse.de>
3013
3014 [BZ #14964]
3015 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3016 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3017
3018 2013-01-09 David S. Miller <davem@davemloft.net>
3019
3020 [BZ #15003]
3021 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3022 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3023 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3024 TCP_FASTOPEN): Define.
3025 (tcp_repair_opt): New structure.
3026 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3027 enum values.
3028 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3029 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3030 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3031 (tcp_cookie_transactions): New structure.
3032
3033 2013-01-09 Anton Blanchard <anton@samba.org>
3034
3035 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3036 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3037 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3038 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3039
3040 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3041
3042 * include/features.h (__USE_ANSI): Remove.
3043
3044 2013-01-09 Roland McGrath <roland@hack.frob.com>
3045
3046 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3047
3048 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3049
3050 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3051
3052 * sysdeps/s390/fpu/libm-test-ulps: Update.
3053
3054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3055
3056 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3057 (__acr): Likewise.
3058 (__cpy): Likewise.
3059 (norm): Likewise.
3060 (denorm): Likewise.
3061 (__mp_dbl): Likewise.
3062 (__dbl_mp): Likewise.
3063 (add_magnitudes): Likewise.
3064 (sub_magnitudes): Likewise.
3065 (__add): Likewise.
3066 (__sub): Likewise.
3067 (__mul): Likewise.
3068 (__inv): Likewise.
3069 (__dvd): Likewise.
3070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3071 (__acr): Likewise.
3072 (__cpy): Likewise.
3073 (norm): Likewise.
3074 (denorm): Likewise.
3075 (__mp_dbl): Likewise.
3076 (__dbl_mp): Likewise.
3077 (add_magnitudes): Likewise.
3078 (sub_magnitudes): Likewise.
3079 (__add): Likewise.
3080 (__sub): Likewise.
3081 (__mul): Likewise.
3082 (__inv): Likewise.
3083 (__dvd): Likewise.
3084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3085 (__acr): Likewise.
3086 (__cpy): Likewise.
3087 (norm): Likewise.
3088 (denorm): Likewise.
3089 (__mp_dbl): Likewise.
3090 (__dbl_mp): Likewise.
3091 (add_magnitudes): Likewise.
3092 (sub_magnitudes): Likewise.
3093 (__add): Likewise.
3094 (__sub): Likewise.
3095 (__mul): Likewise.
3096 (__inv): Likewise.
3097 (__dvd): Likewise.
3098
3099 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3100
3101 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3102 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3103 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3104 2 && __USE_EXTERN_INLINES]: Likewise.
3105
3106 2013-01-08 Andreas Jaeger <aj@suse.de>
3107
3108 [BZ# 14985]
3109 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3110 Remove.
3111 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3112 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3113
3114 2013-01-07 Anton Blanchard <anton@samba.org>
3115
3116 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3117 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3118 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3119 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3120 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3121 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3122 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3123 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3125 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3126 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3127 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3130 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3131 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3132 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3133 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3134 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3135 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3136 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3137 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3139 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3140 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3141 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3142 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3143 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3145 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3146 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3148 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3149 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3150 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3151 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3152 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3153 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3154 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3155 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3156 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3158 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3159
3160 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3161
3162 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3163 (__MALLOC_PMT): Likewise.
3164 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3165 [__GNUC__], only on [_LIBC].
3166 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3167 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3168 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3169 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3170 forward declaration.
3171 (realloc_hook_ini): Likewise.
3172 (memalign_hook_ini): Likewise.
3173 (__libc_memalign): Do not use __MALLOC_PMT in variable
3174 declaration.
3175 (__libc_valloc): Likewise.
3176 (__libc_pvalloc): Likewise.
3177 (__libc_calloc): Likewise.
3178 (__posix_memalign): Likewise.
3179
3180 [BZ #14996]
3181 * math/s_casinh.c: Include <float.h>.
3182 (__casinh): Do not do computation with squaring and square root
3183 for large arguments.
3184 * math/s_casinhf.c: Include <float.h>.
3185 (__casinhf): Do not do computation with squaring and square root
3186 for large arguments.
3187 * math/s_casinhl.c: Include <float.h>.
3188 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3189 (__casinhl): Do not do computation with squaring and square root
3190 for large arguments.
3191 * math/libm-test.inc (casin_test): Add more tests.
3192 (casinh_test): Likewise.
3193 * sysdeps/i386/fpu/libm-test-ulps: Update.
3194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3195
3196 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3197
3198 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3199 (__x86_64_raw_data_cache_size): Likewise.
3200 (__x86_64_data_cache_size_half): Likewise.
3201 (__x86_64_raw_data_cache_size_half): Likewise.
3202 (__x86_64_shared_cache_size): Likewise.
3203 (__x86_64_raw_shared_cache_size): Likewise.
3204 (__x86_64_shared_cache_size_half): Likewise.
3205 (__x86_64_raw_shared_cache_size_half): Likewise.
3206 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3207 to ...
3208 (__x86_data_cache_size): This.
3209 (__x86_64_raw_data_cache_size): Renamed to ...
3210 (__x86_raw_data_cache_size): This.
3211 (__x86_64_data_cache_size_half): Renamed to ...
3212 (__x86_data_cache_size_half): This.
3213 (__x86_64_raw_data_cache_size_half): Renamed to ...
3214 (__x86_raw_data_cache_size_half): This.
3215 (__x86_64_shared_cache_size): Renamed to ...
3216 (__x86_shared_cache_size): This.
3217 (__x86_64_raw_shared_cache_size): Renamed to ...
3218 (__x86_raw_shared_cache_size): This.
3219 (__x86_64_shared_cache_size_half): Renamed to ...
3220 (__x86_shared_cache_size_half): This.
3221 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3222 (__x86_raw_shared_cache_size_half): This.
3223 * sysdeps/x86_64/memcpy.S: Updated.
3224 * sysdeps/x86_64/memset.S: Likewise.
3225 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3228
3229 2013-01-04 David S. Miller <davem@davemloft.net>
3230
3231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3232
3233 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3234
3235 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3236 1 to avoid redefinition warning.
3237 (__USE_GNU): Don't define.
3238 (init_signaling_nan): Protoize.
3239
3240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3241
3242 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3243
3244 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3246 (__cpymn): Likewise.
3247 (norm): Remove commented code.
3248 (denorm): Likewise.
3249 (__mp_dbl): Likewise.
3250 (__inv): Likewise.
3251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3252 (__cpymn): Likewise.
3253 (norm): Remove commented code.
3254 (denorm): Likewise.
3255 (__mp_dbl): Likewise.
3256 (__inv): Likewise.
3257
3258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3259 mp_no value for 1.0 and 2.0.
3260 (norm): Use RADIXI instead of radixi.d.
3261 (denorm): Likewise.
3262 (__mul): Use 0.0 instead of zero.d.
3263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3264 mp_no value for 1.0 and 2.0.
3265 (norm): Use RADIXI instead of radixi.d.
3266 (denorm): Likewise.
3267 (__mul): Use 0.0 instead of zero.d.
3268
3269 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3270
3271 [BZ #14994]
3272 * math/s_casinh.c (__casinh): Reduce finite argument to first
3273 quadrant then set signs of results at the end.
3274 * math/s_casinhf.c (__casinhf): Likewise.
3275 * math/s_casinhl.c (__casinhl): Likewise.
3276 * math/libm-test.inc (casin_test): Add more tests.
3277 (casinh_test): Likewise.
3278 * sysdeps/i386/fpu/libm-test-ulps: Update.
3279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3280
3281 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3282
3283 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3284
3285 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3286
3287 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3288 declarations.
3289 (denorm): Likewise.
3290 (__mp_dbl): Likewise.
3291 (__inv): Likewise.
3292
3293 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3294 and adjust the header comment.
3295
3296 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3297 variable name from declaration.
3298
3299 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3302 Initialize COMMON_CPUID_INDEX_7 element.
3303 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3304 (CPUID_RTM): Likewise.
3305 (HAS_RTM): Likewise.
3306 (COMMON_CPUID_INDEX_7): New enum.
3307
3308 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3309
3310 [BZ #14981]
3311 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3312 size is zero, record memory as freed.
3313
3314 2013-01-03 Andreas Jaeger <aj@suse.de>
3315
3316 * po/ia.po: Add new Interlingua translation.
3317
3318 2012-01-03 Allan McRae <allan@archlinux.org>
3319
3320 * locale/programs/localedef.c: Fix description of '--posix' flag.
3321
3322 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3323
3324 * NEWS: Update dates in second copyright notice.
3325 * README: Update copyright dates in example.
3326 * manual/libc.texinfo: Update copyright dates.
3327 * scripts/test-installation.pl: Update copyright date in --version
3328 output.
3329
3330 * hurd/ctty-input.c: Fix copyright notice formatting.
3331 * hurd/ctty-output.c: Likewise.
3332 * hurd/dtable.c: Likewise.
3333 * hurd/hurd-raise.c: Likewise.
3334 * hurd/hurdprio.c: Likewise.
3335 * hurd/msgportdemux.c: Likewise.
3336 * misc/sys/file.h: Likewise.
3337 * misc/sys/ioctl.h: Likewise.
3338 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3339 * sysdeps/mach/hurd/chdir.c: Likewise.
3340 * sysdeps/mach/hurd/fchdir.c: Likewise.
3341 * sysdeps/mach/hurd/rename.c: Likewise.
3342 * sysdeps/mach/hurd/rmdir.c: Likewise.
3343 * sysdeps/mach/hurd/seekdir.c: Likewise.
3344 * sysdeps/mach/hurd/setsid.c: Likewise.
3345 * sysdeps/posix/wait3.c: Likewise.
3346
3347 * All files with FSF copyright notices: Update copyright dates
3348 using scripts/update-copyrights.
3349 * intl/plural.c: Regenerated.
3350 * locale/programs/charmap-kw.h: Likewise.
3351 * locale/programs/locfile-kw.h: Likewise.
3352
3353 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3354
3355 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3356 four values.
3357
3358 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3359 calculation loop and add branch prediction.
3360
3361 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3362 check access beyond bounds of m1np.
3363
3364 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3365 MPTWO.
3366 (__inv): Remove local variable MPTWO to use the global
3367 constant.
3368 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3369 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3370 variable MPTWO.
3371 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3372 MP3HALFS static const.
3373
3374 2013-01-01 David S. Miller <davem@davemloft.net>
3375
3376 * po/ca.po: Update from translation team.
3377
3378 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3379
3380 * scripts/update-copyrights: New file.
3381 * Makeconfig: Reformat copyright notice.
3382 * ctype/ctype.h: Likewise.
3383 * debug/swprintf_chk.c: Likewise.
3384 * elf/dl-cache.c: Likewise.
3385 * elf/dl-debug.c: Likewise.
3386 * elf/dl-object.c: Likewise.
3387 * grp/initgroups.c: Likewise.
3388 * hurd/Makefile: Likewise.
3389 * hurd/hurd/signal.h: Likewise.
3390 * hurd/hurdfault.c: Likewise.
3391 * hurd/hurdioctl.c: Likewise.
3392 * hurd/hurdlookup.c: Likewise.
3393 * hurd/intr-msg.c: Likewise.
3394 * iconv/gconv_open.c: Likewise.
3395 * libio/swprintf.c: Likewise.
3396 * locale/lc-ctype.c: Likewise.
3397 * locale/nl_langinfo.c: Likewise.
3398 * mach/Machrules: Likewise.
3399 * mach/Makefile: Likewise.
3400 * malloc/obstack.h: Likewise.
3401 * manual/Makefile: Likewise.
3402 * manual/tsort.awk: Likewise.
3403 * misc/bits/stab.def: Likewise.
3404 * nis/nis_print_group_entry.c: Likewise.
3405 * nis/nis_table.c: Likewise.
3406 * nis/nss_compat/compat-pwd.c: Likewise.
3407 * nis/nss_compat/compat-spwd.c: Likewise.
3408 * po/Makefile: Likewise.
3409 * posix/fnmatch.c: Likewise.
3410 * posix/regex.h: Likewise.
3411 * resolv/Makefile: Likewise.
3412 * resolv/nss_dns/dns-network.c: Likewise.
3413 * resolv/res_hconf.c: Likewise.
3414 * scripts/gen-sorted.awk: Likewise.
3415 * soft-fp/soft-fp.h: Likewise.
3416 * stdio-common/printf.h: Likewise.
3417 * stdlib/monetary.h: Likewise.
3418 * stdlib/random.c: Likewise.
3419 * stdlib/random_r.c: Likewise.
3420 * sysdeps/generic/Makefile: Likewise.
3421 * sysdeps/gnu/Makefile: Likewise.
3422 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3429 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3431 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3432 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3433 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3434 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3435 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3436 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3437 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3438 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3440 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3442 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3443 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3444 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3445 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3446 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3447 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3448 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3449 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3450 * sysdeps/mach/hurd/errnos.awk: Likewise.
3451 * sysdeps/mach/hurd/fork.c: Likewise.
3452 * sysdeps/mach/hurd/getcwd.c: Likewise.
3453 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3454 * sysdeps/mach/hurd/mmap.c: Likewise.
3455 * sysdeps/mach/hurd/utimes.c: Likewise.
3456 * sysdeps/mach/hurd/xmknod.c: Likewise.
3457 * sysdeps/posix/profil.c: Likewise.
3458 * sysdeps/posix/readdir_r.c: Likewise.
3459 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3460 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3461 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3462 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3464 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3466 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3468 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3469 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3470 * sysdeps/pthread/lio_listio.c: Likewise.
3471 * sysdeps/sparc/dl-procinfo.h: Likewise.
3472 * sysdeps/unix/i386/sysdep.S: Likewise.
3473 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3474 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3475 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3476 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3478 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3479 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3480 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3481 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3482 * sysdeps/wordsize-32/divdi3.c: Likewise.
3483 * time/sys/time.h: Likewise.
3484 * wcsmbs/Makefile: Likewise.
3485
3486 2013-01-01 David S. Miller <davem@davemloft.net>
3487
3488 * po/fr.po: Update from translation team.
3489
3490 * catgets/gencat.c: Update copyright year.
3491 * csu/version.c: Likewise.
3492 * debug/catchsegv.sh: Likewise.
3493 * debug/pcprofiledump.c: Likewise.
3494 * debug/xtrace.sh: Likewise.
3495 * elf/ldconfig.c: Likewise.
3496 * elf/ldd.bash.in: Likewise.
3497 * elf/pldd.c: Likewise.
3498 * elf/sotruss.ksh: Likewise.
3499 * elf/sprof.c: Likewise.
3500 * iconv/iconv_prog.c: Likewise.
3501 * iconv/iconvconfig.c: Likewise.
3502 * locale/programs/locale.c: Likewise.
3503 * locale/programs/localedef.c: Likewise.
3504 * login/programs/pt_chown.c: Likewise.
3505 * malloc/memusage.sh: Likewise.
3506 * malloc/memusagestat.c: Likewise.
3507 * malloc/mtrace.pl: Likewise.
3508 * nscd/nscd.c: Likewise.
3509 * nss/getent.c: Likewise.
3510 * nss/makedb.c: Likewise.
3511 * posix/getconf.c: Likewise.
3512
3513 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3514
3515 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3516 numbers.
3517
3518 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3519
3520 * math/bits/mathcalls.h (modf): Use __nonnull.
3521
3522 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3523
3524 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3525 (split): Use macro CN instead of the bare value.
3526 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3527 could be used.
3528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3529 instead of the bare value.
3530 (power1): Likewise.
3531
3532 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3533
3534 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3535 __ATAN_TWOM.
3536 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3537
3538 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3539 their values.
3540 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3541 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3542 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3543 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3544
3545 2012-12-28 Andreas Jaeger <aj@suse.de>
3546
3547 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3548 values are from Linux 3.7.
3549
3550 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3551 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3552
3553 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3554
3555 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3556 TRUE case.
3557
3558 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3559 (norm): Likewise.
3560 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3561 variables with preprocessor constants.
3562 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3563 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3564 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3565
3566 2012-12-27 Bruno Haible <bruno@clisp.org>
3567
3568 [BZ #14317]
3569 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3570 only if needed.
3571
3572 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3573
3574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3575 and use variable directly.
3576 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3577
3578 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3579 MPONE.
3580 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3581 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3582 variable MPONE.
3583 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3585 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3586 include directive. Remove local variable MPONE.
3587 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3588 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3589 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3590
3591 2012-12-25 David S. Miller <davem@davemloft.net>
3592
3593 * version.h (RELEASE): Set to "development".
3594 (VERSION): Set to "2.17.90".
3595 * NEWS: Add 2.18 section.
3596
3597 2012-12-21 David S. Miller <davem@davemloft.net>
3598
3599 * po/hr.po: Update from translation team.
3600
3601 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3602
3603 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3604
3605 2012-12-19 Steve Ellcey <sellcey@mips.com>
3606
3607 * NEWS: Mention new memcpy for MIPS.
3608
3609 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3610
3611 * manual/contrib.texi (Contributors): Spelling correction.
3612
3613 2012-12-15 David S. Miller <davem@davemloft.net>
3614
3615 * po/ru.po: Update from translation team.
3616
3617 2012-12-13 David S. Miller <davem@davemloft.net>
3618
3619 * NEWS: Mention IFUNC testsuite enhancements.
3620
3621 * po/pl.po: Update from translation team.
3622 * po/bg.po: Likewise.
3623
3624 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3625 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3626
3627 2012-12-11 David S. Miller <davem@davemloft.net>
3628
3629 * po/sv.po: Update from translation team.
3630
3631 * po/vi.po: Update from translation team.
3632
3633 * po/cs.po: Update from translation team.
3634
3635 * po/de.po: Update from translation team.
3636 * po/eo.po: Likewise.
3637 * po/nl.po: Likewise.
3638
3639 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3640
3641 [BZ #14246]
3642 * manual/argp.texi (Argp Helper Functions): Move node to follow
3643 Argp Parsing State.
3644
3645 [BZ #14872]
3646 * manual/conf.texi (Limits on File System Capacity): Mention if
3647 terminating null is included in the max size.
3648
3649 2012-12-10 Andreas Jaeger <aj@suse.de>
3650
3651 * po/cs.po: Update from translation team.
3652
3653 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3654
3655 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3656 void pointer and cast to uintptr_t.
3657 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3658 path.
3659 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3660 * sysdeps/s390/s390-64/memset.S: Likewise.
3661
3662 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3663
3664 [BZ #14833]
3665 * menual/message.texi (Message Translation): Fix typos.
3666 (Helper programs for gettext): Likewise.
3667
3668 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3669
3670 [BZ #14898]
3671 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3672 Change to -1.
3673
3674 2012-12-07 David S. Miller <davem@davemloft.net>
3675
3676 * po/libc.pot: Update.
3677
3678 2012-12-07 Richard Henderson <rth@redhat.com>
3679
3680 [BZ #10114]
3681 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3682 normal/normal case to before the switch.
3683 (_FP_DIV): Likewise.
3684
3685 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3686 Mike Frysinger <vapier@gentoo.org>
3687
3688 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3689 check for __NR_fadvise64_64.
3690
3691 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3692
3693 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3694 0, not just to plain "0" as a statement.
3695 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3696 with cw.
3697
3698 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3699
3700 * NEWS: Use sourceware.org in Bugzilla URL.
3701
3702 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3703
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3705 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3706
3707 * stdio-common/tst-put-error.c (do_test): Add newline to the
3708 padded test to ensure flush.
3709
3710 2012-12-05 Jeff Law <law@redhat.com>
3711
3712 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3713
3714 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3715
3716 * README: Don't refer to ports add-on as distributed separately.
3717 Mention AArch64 in list of systems supported in the ports add-on.
3718
3719 * LICENSES: Add more non-FSF copyright and license notices.
3720
3721 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3722 ((unused)).
3723
3724 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3725
3726 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3727 10000 as width of padded output.
3728
3729 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3730
3731 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3732
3733 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3734 variable LX with __attribute__ ((unused)).
3735 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3736 Likewise.
3737 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3740 with __attribute__ ((unused)).
3741
3742 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3743
3744 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3745
3746 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3747
3748 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3749 (CFLAGS-nldbl-acos.c): New variable.
3750 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3751 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3752 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3753 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3754 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3755 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3756 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3757 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3758 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3759 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3760 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3761 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3762 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3763 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3764 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3765 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3766 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3767 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3768 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3769 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3770 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3771 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3772 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3773 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3774 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3775 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3776 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3777 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3778 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3779 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3780 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3781 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3782 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3783 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3784 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3785 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3786 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3787 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3788 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3789 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3790 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3791 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3792 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3793 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3794 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3795 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3796 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3797 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3798 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3799 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3800 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3801 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3802 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3803 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3804 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3805 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3806 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3807 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3808 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3809 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3810 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3811 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3812 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3813 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3814 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3815 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3816 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3817 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3818 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3819 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3820 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3821 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3822 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3823 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3824 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3825 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3826 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3827 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3828 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3829 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3830 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3831 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3832 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3833 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3834 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3835 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3836 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3837 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3838 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3839 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3840 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3841 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3842 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3843 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3844 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3845 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3846 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3847
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3849 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3850
3851 [BZ #14914]
3852 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3853 whole low double instead of just low 47 bits when splitting values
3854 into two parts.
3855
3856 2012-12-03 Allan McRae <allan@archlinux.org>
3857
3858 * manual/stdio.texi (Predefined Printf Handlers): Remove
3859 @hsep and @vsep usage.
3860
3861 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3862
3863 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3864 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3865
3866 2012-12-03 Jeff Law <law@redhat.com>
3867
3868 * time/sys/time.h (settimeofday): Do not mark TV argument
3869 as __nonnull.
3870
3871 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3872
3873 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3874 when currently writing and seek to current position when not.
3875 * libio/Makefile (tests): Remove bug-fclose1.
3876 * libio/bug-fclose1.c: Delete.
3877
3878 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3879
3880 * manual/arith.texi (feenableexcept): Fix typo.
3881 (fedisableexcept): Likewise.
3882
3883 2012-11-30 Roland McGrath <roland@hack.frob.com>
3884
3885 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3886 second, differently-typed declaration, rather than a cast.
3887
3888 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3889
3890 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3891 * include/rpc/svc.h: ... here.
3892
3893 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3894
3895 [BZ #13013]
3896 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3897 depending n and resplen2 to catch cases where answer
3898 equals answerp2.
3899
3900 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3901
3902 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3903 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3904
3905 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3906
3907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3908
3909 2012-11-29 Roland McGrath <roland@hack.frob.com>
3910
3911 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3912
3913 2012-11-28 Jeff Law <law@redhat.com>
3914
3915 [BZ #13761]
3916 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3917 dataset_temporary. Track alloca usage into alloca_used.
3918 If dataset is large allocate and release it via malloc/free.
3919
3920 2012-06-04 Florian Weimer <fweimer@redhat.com>
3921
3922 [BZ #14197]
3923 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3924
3925 2012-11-28 David S. Miller <davem@davemloft.net>
3926
3927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3928
3929 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3930
3931 [BZ #14803]
3932 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3933 of pi/2 rounded to nearest to 64 bits.
3934 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3935 nearest to 64 bits.
3936 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3937 bits.
3938
3939 2012-11-28 Jeff Law <law@redhat.com>
3940 Martin Osvald <mosvald@redhat.com>
3941
3942 [BZ #14889]
3943 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3944 * sunrpc/svc.c: Include time.h.
3945 (__svc_accept_failed): New function.
3946 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3947 any reason other than EINTR, call __svc_accept_failed.
3948 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3949 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3950
3951 2012-11-28 Andreas Schwab <schwab@suse.de>
3952
3953 * scripts/abilist.awk: Also handle indirect functions in .opd
3954 section.
3955
3956 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3957
3958 [BZ #13881]
3959 * sysdeps/x86/fpu/powl_helper.c: New file.
3960 * sysdeps/x86/fpu/Makefile: Likewise.
3961 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3962 (p3): New object.
3963 (__ieee754_powl): Use __powl_helper for finite arguments except
3964 integer exponents below 8.
3965 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3966 (p3): New object.
3967 (__ieee754_powl): Use __powl_helper for finite arguments except
3968 integer exponents below 8.
3969 * math/libm-test.inc (pow_test): Add more tests and enable some
3970 previously disabled tests.
3971 * sysdeps/i386/fpu/libm-test-ulps: Update.
3972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3973
3974 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3975 Carlos O'Donell <carlos_odonell@mentor.com>
3976
3977 * nss/makedb.c (is_prime): Assert that input is odd and greater
3978 than 4. Note that fact in a comment too.
3979 (next_prime): Add 4 to input.
3980
3981 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3982
3983 [BZ #11741]
3984 * libio/Makefile (tests): Add test case tst-fwrite-error.
3985 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3986 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3987 * libio/tst-fwrite-error.c: New test case.
3988
3989 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3990
3991 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3992 before casting to void *.
3993 * include/libc-internal.h (__pointer_type): New macro.
3994 (__integer_if_pointer_type_sub): Likewise.
3995 (__integer_if_pointer_type): Likewise.
3996 (cast_to_integer): Likewise.
3997 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3998 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3999 before casting to atomic64_t.
4000 (atomic_exchange_acq): Likewise.
4001 (__arch_exchange_and_add_body): Likewise.
4002 (__arch_add_body): Likewise.
4003 (atomic_add_negative): Likewise.
4004 (atomic_add_zero): Likewise.
4005
4006 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4007
4008 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4009 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4010 (add_fdes): Likewise.
4011 (linear_search_fdes): Likewise.
4012 (binary_search_unencoded_fdes): Likewise.
4013
4014 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4015
4016 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4017
4018 2012-11-24 Adam Conrad <adconrad@0c3.net>
4019
4020 * configure.in: Autodetect C++ header directories.
4021 * configure: Regenerated.
4022
4023 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4024
4025 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4026
4027 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4028
4029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4030
4031 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4032
4033 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4034 LDBL_MANT_DIG == 106]: Disable some tests.
4035 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4036 Likewise.
4037 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4038 Likewise.
4039
4040 [BZ #14871]
4041 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4042 input for small inputs. Return +/- pi/2 for large inputs.
4043 * math/libm-test.inc (atan_test): Add more tests.
4044
4045 * sysdeps/generic/unwind-dw2-fde-glibc.c
4046 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4047 __attribute__ ((unused)).
4048
4049 [BZ #14645]
4050 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4051 x * y if x and y are nonzero and z is zero.
4052
4053 [BZ #14811]
4054 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4055 nonzero exponents with absolute value below 0x1p-117 to +/-
4056 0x1p-117.
4057
4058 [BZ #14869]
4059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4060 up arguments below 2**-450, not just those below 2**-500.
4061 * math/libm-test.inc (hypot_test): Add another test.
4062
4063 [BZ #14868]
4064 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4065 Return a+b for ratio over 2**120, not 2**60.
4066 * math/libm-test.inc (hypot_test): Add another test.
4067
4068 * math/libm-test.inc (clog_test): Use
4069 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4070 (clog10_test): Likewise.
4071
4072 [BZ #6778]
4073 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4074
4075 2012-11-22 Andreas Schwab <schwab@suse.de>
4076
4077 * sysdeps/i386/fpu/libm-test-ulps: Update.
4078
4079 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4080
4081 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4082 printf output with newline.
4083
4084 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4085
4086 [BZ #14865]
4087 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4088 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4089 -z nodlopen, -z initfirst and -z execstack support.
4090 * configure: Regenerated.
4091
4092 * elf/elf.h (DF_1_NODIRECT): New macro.
4093 (DF_1_IGNMULDEF): Likewise.
4094 (DF_1_NOKSYMS): Likewise.
4095 (DF_1_NOHDR): Likewise.
4096 (DF_1_EDITED): Likewise.
4097 (DF_1_NORELOC): Likewise.
4098 (DF_1_SYMINTPOSE): Likewise.
4099 (DF_1_GLOBAUDIT): Likewise.
4100 (DF_1_SINGLETON): Likewise.
4101 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4102 DT_1_SUPPORTED_MASK bits.
4103 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4104
4105 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4106
4107 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4108
4109 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4110
4111 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4112 macro.
4113
4114 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4115 (sendmmsg): Move declarations...
4116 * socket/sys/socket.h: ... here.
4117 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4118 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4119 include it from...
4120 * socket/recvmmsg.c: ... this new file.
4121 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4122 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4123 definition of __sendmmsg hidden.
4124 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4125 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4126 Move ENOSYS stub into and include it from...
4127 * socket/sendmmsg.c: ... this new file.
4128 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4129 (sysdep_routines): Move recvmmsg and sendmmsg...
4130 * socket/Makefile (routines): ... here.
4131 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4132 (GLIBC_PRIVATE): Add __sendmmsg.
4133 * include/sys/socket.h (__sendmmsg): Add declarations.
4134 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4135 sendmmsg.
4136
4137 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4138
4139 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4140 variable I1 with __attribute__ ((unused)).
4141 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4142
4143 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4144
4145 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4146 DUMMY variables with __attribute__ ((unused)).
4147
4148 * bits/byteswap.h: Include <bits/types.h>.
4149 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4150
4151 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4152
4153 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4154 string_t. Do not manually set errno.
4155 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4156 length with __strnlen. Make sure to both set errno and return it on
4157 failure.
4158
4159 2012-11-19 David S. Miller <davem@davemloft.net>
4160
4161 With help from Joseph Myers.
4162 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4163 very large arguments properly.
4164 * math/libm-test.inc (atan_test): New tests.
4165 (atan2_test): New tests.
4166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4168
4169 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4170
4171 [BZ #14856]
4172 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4173 Define to 3.
4174
4175 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4176 [POSIX] (EADDRNOTAVAIL): Likewise.
4177 [POSIX] (EAFNOSUPPORT): Likewise.
4178 [POSIX] (EALREADY): Likewise.
4179 [POSIX] (ECONNABORTED): Likewise.
4180 [POSIX] (ECONNREFUSED): Likewise.
4181 [POSIX] (ECONNRESET): Likewise.
4182 [POSIX] (EDESTADDRREQ): Likewise.
4183 [POSIX] (EDQUOT): Likewise.
4184 [POSIX] (EHOSTUNREACH): Likewise.
4185 [POSIX] (EIDRM): Likewise.
4186 [POSIX] (EISCONN): Likewise.
4187 [POSIX] (ELOOP): Likewise.
4188 [POSIX] (EMULTIHOP): Likewise.
4189 [POSIX] (ENETDOWN): Likewise.
4190 [POSIX] (ENETUNREACH): Likewise.
4191 [POSIX] (ENOBUFS): Likewise.
4192 [POSIX] (ENODATA): Likewise.
4193 [POSIX] (ENOLINK): Likewise.
4194 [POSIX] (ENOMSG): Likewise.
4195 [POSIX] (ENOPROTOOPT): Likewise.
4196 [POSIX] (ENOSR): Likewise.
4197 [POSIX] (ENOSTR): Likewise.
4198 [POSIX] (ENOTCONN): Likewise.
4199 [POSIX] (ENOTSOCK): Likewise.
4200 [POSIX] (EOPNOTSUPP): Likewise.
4201 [POSIX] (EOVERFLOW): Likewise.
4202 [POSIX] (EPROTO): Likewise.
4203 [POSIX] (EPROTONOSUPPORT): Likewise.
4204 [POSIX] (EPROTOTYPE): Likewise.
4205 [POSIX] (ESTALE): Likewise.
4206 [POSIX] (ETIME): Likewise.
4207 [POSIX] (ETXTBSY): Likewise.
4208 [POSIX] (EWOULDBLOCK): Likewise.
4209 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4210 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4211 [POSIX] (SEEK_CUR): Likewise.
4212 [POSIX] (SEEK_END): Likewise.
4213 [POSIX || UNIX98] (mode_t): Do not require.
4214 [POSIX] (off_t): Likewise.
4215 [POSIX] (pid_t): Likewise.
4216 [POSIX] (sys/stat.h): Do not allow header.
4217 [POSIX] (unistd.h): Likewise.
4218 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4219 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4220 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4221 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4222 require.
4223 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4224 sigevent): Specify elements.
4225 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4226 entry.
4227 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4228 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4229
4230 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4231 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4232 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4233 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4234 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4235 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4236 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4237 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4238 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4239 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4240 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4241 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4242 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4243 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4244 Likewise.
4245 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4246 Likewise.
4247 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4248 Likewise.
4249 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4250 Likewise.
4251 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4252 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4253 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4254 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4255 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4256 Specify lower bound on value.
4257 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4258 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4259 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4260 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4261 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4262 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4263 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4264 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4265 value.
4266 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4267 as optional.
4268 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4269 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4270 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4271 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4272 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4273 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4274 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4275 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4276 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4277 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4278 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4279 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4280 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4281 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4282 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4283 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4284 entry.
4285 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4286 optional.
4287 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4288 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4289 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4290 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4291 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4292 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4293 Likewise.
4294 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4295 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4296 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4297 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4298 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4299 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4300 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4301 as optional.
4302 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4303 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4304 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4305 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4306 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4307 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4308 specify as optional.
4309 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4310 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4311 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4312 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4313 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4314 [XPG3] (NL_LANGMAX): Likewise.
4315 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4316 [POSIX || XPG3] (NL_NMAX): Likewise.
4317 [POSIX || XPG3] (NL_SETMAX): Likewise.
4318 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4319 [XPG3] (NZERO): Likewise.
4320 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4321 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4322 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4323 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4324 (REG_ERANGE): Expect.
4325 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4326 optional-constant.
4327 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4328 Use (void) in prototype.
4329 [POSIX] (*_t): Allow.
4330 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4331 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4332 (WRDE_BADVAL): Expect.
4333
4334 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4335 expect.
4336 [XPG3 || XPG4] (O_RSYNC): Likewise.
4337 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4338 Likewise.
4339 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4340 [XPG3 || XPG4] (sigqueue): Likewise.
4341 [XPG3 || XPG4] (sigtimedwait): Likewise.
4342 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4343 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4344 [XPG3 || XPG4] (vsnprintf): Likewise.
4345 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4346 Likewise.
4347 [XPG3 || XPG4] (blksize_t): Likewise.
4348 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4349 Likewise.
4350 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4351 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4352 [XPG3 || XPG4] (struct itimerspec): Likewise.
4353 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4354 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4355 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4356 [XPG3 || XPG4] (clockid_t): Likewise.
4357 [XPG3 || XPG4] (timer_t): Likewise.
4358 [XPG3 || XPG4] (clock_getres): Likewise.
4359 [XPG3 || XPG4] (clock_gettime): Likewise.
4360 [XPG3 || XPG4] (clock_settime): Likewise.
4361 [XPG3 || XPG4] (nanosleep): Likewise.
4362 [XPG3 || XPG4] (timer_create): Likewise.
4363 [XPG3 || XPG4] (timer_delete): Likewise.
4364 [XPG3 || XPG4] (timer_gettime): Likewise.
4365 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4366 [XPG3 || XPG4] (timer_settime): Likewise.
4367 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4368 [XPG3 || XPG4] (getlogin_r): Likewise.
4369 [XPG3 || XPG4] (pread): Likewise.
4370 [XPG3 || XPG4] (pthread_atfork): Likewise.
4371 [XPG3 || XPG4] (pwrite): Likewise.
4372
4373 [BZ #14835]
4374 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4375 <bits/siginfo.h>.
4376
4377 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4378
4379 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4380 finalizing MALLSTREAM.
4381
4382 * sysdeps/mach/hurd/syncfs.c: New file.
4383
4384 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4385
4386 [BZ #14719]
4387 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4388 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4389 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4390 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4391 (_nss_dns_gethostbyname4_r): Likewise.
4392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4393 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4394
4395 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4396
4397 [BZ #13763]
4398 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4399
4400 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4401
4402 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4403 * elf/cache.c (print_entry): Print ",AArch64" for
4404 FLAG_AARCH64_LIB64
4405
4406 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4407 * elf/cache.c (print_entry): Print ",hard-float" for
4408 FLAG_ARM_LIBHF.
4409
4410 2012-11-18 David S. Miller <davem@davemloft.net>
4411
4412 With help from Joseph Myers.
4413 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4414 cutoff to 2**-13.
4415 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4416 cutoff to 2**-25.
4417 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4418 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4419 small.
4420 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4421 * math/libm-test.inc (y0_test): New tests.
4422 (y1_test): New tests.
4423 * sysdeps/i386/fpu/libm-test-ulps: Update.
4424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4426
4427 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4428
4429 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4430 64-bit targets.
4431 * configure: Regenerated.
4432
4433 2012-11-17 David S. Miller <davem@davemloft.net>
4434
4435 [BZ #14811]
4436 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4437 nonzero exponents with absolute value below 0x1p-128 to +/-
4438 0x1p-128.
4439
4440 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4441
4442 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4443
4444 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4445
4446 * posix/getconf-speclist.c: New file.
4447 * posix/posix-envs.def: Likewise.
4448 * posix/confstr.c (START_ENV_GROUP): New macro.
4449 (END_ENV_GROUP): Likewise.
4450 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4451 (KNOWN_PRESENT_ENV_STRING): Likewise.
4452 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4453 (UNKNOWN_ENVIRONMENT): Likewise.
4454 (confstr): Include posix-envs.def instead of handling
4455 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4456 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4457 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4458 (END_ENV_GROUP): Likewise.
4459 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4460 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4461 (UNKNOWN_ENVIRONMENT): Likewise.
4462 (__sysconf): Include posix-envs.def instead of handling associated
4463 cases directly here.
4464 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4465 preprocessing getconf-speclist.c rather than running getconf or
4466 generating empty file.
4467
4468 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4469
4470 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4471
4472 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4473
4474 [BZ #14672]
4475 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4476
4477 2012-11-16 David S. Miller <davem@davemloft.net>
4478
4479 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4480 smaller than LDBL_EPSILON/2.0L, just return xm1.
4481
4482 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4483
4484 * elf/tst-array1.c (init): Set constructor priority to 1000.
4485 (fini): Set destructor priority to 1000.
4486 * elf/tst-array2dep.c: Likewise.
4487
4488 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4489
4490 [BZ #11741]
4491 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4492 (_IO_new_file_xsputn): Also return EOF if none of the input
4493 data was written when overflow failed.
4494 * libio/iopadn.c (_IO_padn): Likewise.
4495 * libio/iowpadn.c (_IO_wpadn): Likewise.
4496 * stdio-common/tst-put-error.c: Add copyright notice.
4497 (do_test): Add case for printing padded string.
4498 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4499 _IO_padn returned error.
4500 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4501 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4502 return EOF.
4503
4504 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4505
4506 * libio/libioP.h: Add comment note that the references to C++
4507 bits are now obsolete.
4508
4509 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4510
4511 * math/libm-test.inc (check_complex): Use asprintf.
4512
4513 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4514
4515 * debug/pcprofiledump.c (print_version): Update copyright year.
4516 * malloc/memusagestat.c (print_version): Likewise.
4517
4518 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4519
4520 [BZ #14831]
4521 * elf/Makefile (tests): Add tst-audit8.
4522 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4523 ($(objpfx)tst-audit8.out): New target.
4524 (tst-audit8-ENV): New variable.
4525 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4526 audit if l_reloc_result is NULL.
4527 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4528 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4529 * elf/tst-audit8.c: New file.
4530
4531 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4532
4533 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4534 * misc/Makefile (CFLAGS-select.c): Define.
4535 * posix/Makefile (CFLAGS-pause.c): Define.
4536
4537 2012-11-13 David S. Miller <davem@davemloft.net>
4538
4539 * crypt/Makefile: Move test targets after toplevel Rules
4540 inclusion. Grab any necessary sysdep routines when linking.
4541 * crypt/md5.c (md5_process_block): Remove define, we will always
4542 name it __md5_process_block.
4543 (md5_finish_ctx): Update md5_process_block call.
4544 (md5_stream): Likewise.
4545 (md5_process_bytes): Likewise.
4546 (md5_process_block): Rename to __md5_process_block and move to ...
4547 * crypt/md5-block.c: ... here.
4548 * crypt/sha256.c (sha256_process_block): Move to ...
4549 * crypt/sha256-block.c: ... here.
4550 * crypt/sha512.c (sha512_process_block): Move to ...
4551 * crypt/sha512-block.c: ... here.
4552 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4553 path.
4554 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4555 * sysdeps/sparc/sparc64/multiarch/Makefile
4556 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4557 crypt subdir.
4558 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4559 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4560 multiarch changes.
4561 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4562 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4563 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4564 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4565 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4566 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4567 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4568 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4569 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4570 file.
4571 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4572 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4573 file.
4574 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4575
4576 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4577
4578 * timezone/tzselect.ksh: Update from tzcode git revision
4579 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4580 * timezone/zdump.c: Likewise.
4581 * timezone/zic.c: Likewise.
4582 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4583 in TZVERSION setting, not $(PKGVERSION).
4584 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4585 REPORT_BUGS_TO settings.
4586
4587 [BZ #14838]
4588 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4589 macro.
4590
4591 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4592
4593 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4594 detection to immediately after _FP_ROUND().
4595 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4596 bits are 0.
4597
4598 2012-11-11 David S. Miller <davem@davemloft.net>
4599
4600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4601 inttypes.h
4602 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4603 __close rather than their public counterparts.
4604
4605 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4606
4607 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4608 file.
4609 [UNIX98] (sem_timedwait): Do not expect.
4610 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4611 [XPG4 || UNIX98] (sockatmark): Do not expect.
4612 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4613 (clock_getcpuclockid): Do not expect.
4614 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4615 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4616 Do not expect.
4617 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4618 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4619 [UNIX98] (vwscanf): Likewise.
4620 [UNIX98] (vswscanf): Likewise.
4621
4622 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4623
4624 * timezone/version.h: Remove file.
4625 * timezone/README: Do not refer to version.h.
4626 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4627 $(objpfx)version.h.
4628 ($(objpfx)zdump.o): Likewise.
4629 ($(objpfx)version.h): New target.
4630
4631 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4632 2012i.
4633 * timezone/README: Don't mention modification to tzselect.ksh.
4634 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4635 work on unmodified tzselect.ksh. Substitute version numbers in
4636 tzselect.ksh.
4637
4638 * Makefile (format-me): Remove.
4639 (INSTALL): Adjust indentation. Use commands directly instead of
4640 using $(format-me).
4641
4642 * aclocal.m4 (ACX_PKGVERSION): New macro.
4643 (ACX_BUGURL): Likewise.
4644 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4645 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4646 (REPORT_BUGS_TO): Likewise.
4647 * configure: Regenerated.
4648 * config.h.in (PKGVERSION): New macro.
4649 (REPORT_BUGS_TO): Likewise.
4650 * config.make.in (PKGVERSION): New variable.
4651 (PKGVERSION_TEXI): Likewise.
4652 (REPORT_BUGS_TO): Likewise.
4653 (REPORT_BUGS_TEXI): Likewise.
4654 * Makefile (format-me): Use -I$(common-objpfx)manual.
4655 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4656 ($(common-objpfx)manual/%): New target.
4657 (manual/%): Remove target.
4658 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4659 (print_version): Use PKGVERSION.
4660 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4661 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4662 and REPORT_BUGS_TO.
4663 ($(objpfx)xtrace): Likewise.
4664 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4665 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4666 (print_version): Use PKGVERSION.
4667 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4668 (do_version): Use PKGVERSION.
4669 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4670 REPORT_BUGS_TO.
4671 (common-ldd-rewrite): Likewise.
4672 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4673 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4674 (print_version): Use PKGVERSION.
4675 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4676 * elf/pldd.c (argp_program_bug_address): Remove variable.
4677 (more_help): New function.
4678 (argp): Use more_help.
4679 (print_version): Use PKGVERSION.
4680 * elf/sln.c (main): Use PKGVERSION.
4681 (usage): Use REPORT_BUGS_TO.
4682 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4683 (top level): Use PKGVERSION.
4684 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4685 (print_version): Use PKGVERSION.
4686 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4687 (print_version): Use PKGVERSION.
4688 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4689 (print_version): Use PKGVERSION.
4690 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4691 (print_version): Use PKGVERSION.
4692 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4693 (print_version): Use PKGVERSION.
4694 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4695 (print_version): Use PKGVERSION.
4696 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4697 and BUGURL.
4698 ($(objpfx)memusage): Likewise.
4699 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4700 (do_version): Use PKGVERSION.
4701 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4702 (print_version): Use PKGVERSION.
4703 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4704 ($PKGVERSION): New variable.
4705 ($REPORT_BUGS_TO): Likewise.
4706 (usage): Use $REPORT_BUGS_TO.
4707 (top level): Use $PKGVERSION.
4708 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4709 ($(objpfx)pkgvers.texi): New rule.
4710 ($(objpfx)stamp-pkgvers): Likewise.
4711 * manual/install.texi: Include pkgvers.texi.
4712 (--with-pkgversion): Document new configure option.
4713 (--with-bugurl): Likewise.
4714 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4715 than necessarily for this particular distribution. Use
4716 REPORT_BUGS_TO for where to report bugs.
4717 * INSTALL: Regenerated.
4718 * manual/libc.texinfo: Include pkgvers.texi.
4719 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4720 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4721 (print_version): Use PKGVERSION.
4722 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4723 (print_version): Use PKGVERSION.
4724 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4725 (print_version): Use PKGVERSION.
4726 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4727 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4728 macro.
4729 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4730 (print_version): Use PKGVERSION.
4731 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4732 (print_version): Use PKGVERSION.
4733 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4734 and PKGVERSION.
4735
4736 * timezone/checktab.awk: Update from tzcode 2012i.
4737 * timezone/ialloc.c: Likewise.
4738 * timezone/private.h: Likewise.
4739 * timezone/scheck.c: Likewise.
4740 * timezone/tzfile.h: Likewise.
4741 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4742 (TZVERSION): Hardcode tzcode version number.
4743 * timezone/zdump.c: Update from tzcode 2012i.
4744 * timezone/zic.c: Likewise.
4745 * timezone/version.h: New file.
4746 * timezone/README: Describe version.h. Update upstream location.
4747
4748 [BZ #14824]
4749 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4750 (mktemp): Enable declaration.
4751 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4752 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4753 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4755 Likewise.
4756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4757 Likewise.
4758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4759 Likewise.
4760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4761 Likewise.
4762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4763 Likewise.
4764 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4765 Likewise.
4766
4767 [BZ #14821]
4768 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4769 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4770 for copies of such integer values.
4771 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4772 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4773
4774 2012-11-09 Andreas Jaeger <aj@suse.de>
4775
4776 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4777 definitions and declarations that are provided by
4778 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4779
4780 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4781
4782 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4783 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4784 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4785 definition.
4786
4787 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4788
4789 * elf/elf.h: Update comment before AArch64 relocations.
4790
4791 2012-11-07 David S. Miller <davem@davemloft.net>
4792
4793 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4794 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4795 (__start_context): Declare.
4796 (__makecontext_ret): Delete.
4797 (__makecontext): Hook up __start_context instead of
4798 __makecontext_ret.
4799 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4800 (sysdep_routines): Add __start_context when in stdlib.
4801
4802 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4803
4804 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4805 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4806 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4807 hardcoded "nm".
4808 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4809 (READELF): New variable. Use it instead of hardcoded "readelf".
4810
4811 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4812
4813 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4814 * sysdeps/x86/Makefile: Here.
4815 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4816 * sysdeps/x86/tst-xmmymm.sh: This.
4817
4818 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4819
4820 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4821 expectations.
4822 [UNIX98] (pthread_barrier_t): Do not expect.
4823 [UNIX98] (pthread_barrierattr_t): Likewise.
4824 [UNIX98] (pthread_spinlock_t): Likewise.
4825 [UNIX98] (pthread_barrier_destroy): Likewise.
4826 [UNIX98] (pthread_barrier_init): Likewise.
4827 [UNIX98] (pthread_barrier_wait): Likewise.
4828 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4829 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4830 [UNIX98] (pthread_barrierattr_init): Likewise.
4831 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4832 [UNIX98] (pthread_getcpuclockid): Likewise.
4833 [UNIX98] (pthread_mutex_timedlock): Likewise.
4834 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4835 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4836 [UNIX98] (pthread_sigmask): Likewise.
4837 [UNIX98] (pthread_spin_destroy): Likewise.
4838 [UNIX98] (pthread_spin_init): Likewise.
4839 [UNIX98] (pthread_spin_lock): Likewise.
4840 [UNIX98] (pthread_spin_trylock): Likewise.
4841 [UNIX98] (pthread_spin_unlock): Likewise.
4842 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4843 Do not expect.
4844 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4845 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4846 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4847 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4848 [XPG3 || XPG4] (pthread_key_t): Likewise.
4849 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4850 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4851 [XPG3 || XPG4] (pthread_once_t): Likewise.
4852 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4853 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4854 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4855 [XPG3 || XPG4] (pthread_t): Likewise.
4856
4857 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4858 not expect.
4859 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4860
4861 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4862 Change function return type to int.
4863
4864 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4865 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4866 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4867 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4868 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4869 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4870 [!POSIX] (posix_madvise): Likewise.
4871 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4872 && !UNIX98].
4873 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4874 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4875 (mode_t): Likewise.
4876 (posix_mem_offset): Likewise.
4877 (posix_typed_mem_get_info): Likewise.
4878 (posix_typed_mem_open): Likewise.
4879
4880 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4881 Change condition to [XOPEN2K8].
4882
4883 * conform/conformtest.pl: Preprocess allow-header data with -x c
4884 instead of from stdin.
4885 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4886 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4887 [C99-based standards] (cerfc): Likewise.
4888 [C99-based standards] (cexp2): Likewise.
4889 [C99-based standards] (cexpm1): Likewise.
4890 [C99-based standards] (clog10): Likewise.
4891 [C99-based standards] (clog1p): Likewise.
4892 [C99-based standards] (clog2): Likewise.
4893 [C99-based standards] (clgamma): Likewise.
4894 [C99-based standards] (ctgamma): Likewise.
4895 [C99-based standards] (cerff): Likewise.
4896 [C99-based standards] (cerfcf): Likewise.
4897 [C99-based standards] (cexp2f): Likewise.
4898 [C99-based standards] (cexpm1f): Likewise.
4899 [C99-based standards] (clog10f): Likewise.
4900 [C99-based standards] (clog1pf): Likewise.
4901 [C99-based standards] (clog2f): Likewise.
4902 [C99-based standards] (clgammaf): Likewise.
4903 [C99-based standards] (ctgammaf): Likewise.
4904 [C99-based standards] (cerfl): Likewise.
4905 [C99-based standards] (cerfcl): Likewise.
4906 [C99-based standards] (cexp2l): Likewise.
4907 [C99-based standards] (cexpm1l): Likewise.
4908 [C99-based standards] (clog10l): Likewise.
4909 [C99-based standards] (clog1pl): Likewise.
4910 [C99-based standards] (clog2l): Likewise.
4911 [C99-based standards] (clgammal): Likewise.
4912 [C99-based standards] (ctgammal): Likewise.
4913 * conform/data/inttypes.h-data [C99-based standards]: Include
4914 stdint.h-data. Remove all expectations for stdint.h contents.
4915 [C99-based standards] (PRI*): Do not allow.
4916 [C99-based standards] (SCN*): Likewise.
4917 [C99-based standards] (*_t): Likewise.
4918 [C99-based-standards] (PRId8): Expect macro.
4919 [C99-based-standards] (PRIi8): Likewise.
4920 [C99-based-standards] (PRIo8): Likewise.
4921 [C99-based-standards] (PRIu8): Likewise.
4922 [C99-based-standards] (PRIx8): Likewise.
4923 [C99-based-standards] (PRIX8): Likewise.
4924 [C99-based-standards] (SCNd8): Likewise.
4925 [C99-based-standards] (SCNi8): Likewise.
4926 [C99-based-standards] (SCNo8): Likewise.
4927 [C99-based-standards] (SCNu8): Likewise.
4928 [C99-based-standards] (SCNx8): Likewise.
4929 [C99-based-standards] (PRIdLEAST8): Likewise.
4930 [C99-based-standards] (PRIiLEAST8): Likewise.
4931 [C99-based-standards] (PRIoLEAST8): Likewise.
4932 [C99-based-standards] (PRIuLEAST8): Likewise.
4933 [C99-based-standards] (PRIxLEAST8): Likewise.
4934 [C99-based-standards] (PRIXLEAST8): Likewise.
4935 [C99-based-standards] (SCNdLEAST8): Likewise.
4936 [C99-based-standards] (SCNiLEAST8): Likewise.
4937 [C99-based-standards] (SCNoLEAST8): Likewise.
4938 [C99-based-standards] (SCNuLEAST8): Likewise.
4939 [C99-based-standards] (SCNxLEAST8): Likewise.
4940 [C99-based-standards] (PRIdFAST8): Likewise.
4941 [C99-based-standards] (PRIiFAST8): Likewise.
4942 [C99-based-standards] (PRIoFAST8): Likewise.
4943 [C99-based-standards] (PRIuFAST8): Likewise.
4944 [C99-based-standards] (PRIxFAST8): Likewise.
4945 [C99-based-standards] (PRIXFAST8): Likewise.
4946 [C99-based-standards] (SCNdFAST8): Likewise.
4947 [C99-based-standards] (SCNiFAST8): Likewise.
4948 [C99-based-standards] (SCNoFAST8): Likewise.
4949 [C99-based-standards] (SCNuFAST8): Likewise.
4950 [C99-based-standards] (SCNxFAST8): Likewise.
4951 [C99-based-standards] (PRId16): Likewise.
4952 [C99-based-standards] (PRIi16): Likewise.
4953 [C99-based-standards] (PRIo16): Likewise.
4954 [C99-based-standards] (PRIu16): Likewise.
4955 [C99-based-standards] (PRIx16): Likewise.
4956 [C99-based-standards] (PRIX16): Likewise.
4957 [C99-based-standards] (SCNd16): Likewise.
4958 [C99-based-standards] (SCNi16): Likewise.
4959 [C99-based-standards] (SCNo16): Likewise.
4960 [C99-based-standards] (SCNu16): Likewise.
4961 [C99-based-standards] (SCNx16): Likewise.
4962 [C99-based-standards] (PRIdLEAST16): Likewise.
4963 [C99-based-standards] (PRIiLEAST16): Likewise.
4964 [C99-based-standards] (PRIoLEAST16): Likewise.
4965 [C99-based-standards] (PRIuLEAST16): Likewise.
4966 [C99-based-standards] (PRIxLEAST16): Likewise.
4967 [C99-based-standards] (PRIXLEAST16): Likewise.
4968 [C99-based-standards] (SCNdLEAST16): Likewise.
4969 [C99-based-standards] (SCNiLEAST16): Likewise.
4970 [C99-based-standards] (SCNoLEAST16): Likewise.
4971 [C99-based-standards] (SCNuLEAST16): Likewise.
4972 [C99-based-standards] (SCNxLEAST16): Likewise.
4973 [C99-based-standards] (PRIdFAST16): Likewise.
4974 [C99-based-standards] (PRIiFAST16): Likewise.
4975 [C99-based-standards] (PRIoFAST16): Likewise.
4976 [C99-based-standards] (PRIuFAST16): Likewise.
4977 [C99-based-standards] (PRIxFAST16): Likewise.
4978 [C99-based-standards] (PRIXFAST16): Likewise.
4979 [C99-based-standards] (SCNdFAST16): Likewise.
4980 [C99-based-standards] (SCNiFAST16): Likewise.
4981 [C99-based-standards] (SCNoFAST16): Likewise.
4982 [C99-based-standards] (SCNuFAST16): Likewise.
4983 [C99-based-standards] (SCNxFAST16): Likewise.
4984 [C99-based-standards] (PRId32): Likewise.
4985 [C99-based-standards] (PRIi32): Likewise.
4986 [C99-based-standards] (PRIo32): Likewise.
4987 [C99-based-standards] (PRIu32): Likewise.
4988 [C99-based-standards] (PRIx32): Likewise.
4989 [C99-based-standards] (PRIX32): Likewise.
4990 [C99-based-standards] (SCNd32): Likewise.
4991 [C99-based-standards] (SCNi32): Likewise.
4992 [C99-based-standards] (SCNo32): Likewise.
4993 [C99-based-standards] (SCNu32): Likewise.
4994 [C99-based-standards] (SCNx32): Likewise.
4995 [C99-based-standards] (PRIdLEAST32): Likewise.
4996 [C99-based-standards] (PRIiLEAST32): Likewise.
4997 [C99-based-standards] (PRIoLEAST32): Likewise.
4998 [C99-based-standards] (PRIuLEAST32): Likewise.
4999 [C99-based-standards] (PRIxLEAST32): Likewise.
5000 [C99-based-standards] (PRIXLEAST32): Likewise.
5001 [C99-based-standards] (SCNdLEAST32): Likewise.
5002 [C99-based-standards] (SCNiLEAST32): Likewise.
5003 [C99-based-standards] (SCNoLEAST32): Likewise.
5004 [C99-based-standards] (SCNuLEAST32): Likewise.
5005 [C99-based-standards] (SCNxLEAST32): Likewise.
5006 [C99-based-standards] (PRIdFAST32): Likewise.
5007 [C99-based-standards] (PRIiFAST32): Likewise.
5008 [C99-based-standards] (PRIoFAST32): Likewise.
5009 [C99-based-standards] (PRIuFAST32): Likewise.
5010 [C99-based-standards] (PRIxFAST32): Likewise.
5011 [C99-based-standards] (PRIXFAST32): Likewise.
5012 [C99-based-standards] (SCNdFAST32): Likewise.
5013 [C99-based-standards] (SCNiFAST32): Likewise.
5014 [C99-based-standards] (SCNoFAST32): Likewise.
5015 [C99-based-standards] (SCNuFAST32): Likewise.
5016 [C99-based-standards] (SCNxFAST32): Likewise.
5017 [C99-based-standards] (PRId64): Likewise.
5018 [C99-based-standards] (PRIi64): Likewise.
5019 [C99-based-standards] (PRIo64): Likewise.
5020 [C99-based-standards] (PRIu64): Likewise.
5021 [C99-based-standards] (PRIx64): Likewise.
5022 [C99-based-standards] (PRIX64): Likewise.
5023 [C99-based-standards] (SCNd64): Likewise.
5024 [C99-based-standards] (SCNi64): Likewise.
5025 [C99-based-standards] (SCNo64): Likewise.
5026 [C99-based-standards] (SCNu64): Likewise.
5027 [C99-based-standards] (SCNx64): Likewise.
5028 [C99-based-standards] (PRIdLEAST64): Likewise.
5029 [C99-based-standards] (PRIiLEAST64): Likewise.
5030 [C99-based-standards] (PRIoLEAST64): Likewise.
5031 [C99-based-standards] (PRIuLEAST64): Likewise.
5032 [C99-based-standards] (PRIxLEAST64): Likewise.
5033 [C99-based-standards] (PRIXLEAST64): Likewise.
5034 [C99-based-standards] (SCNdLEAST64): Likewise.
5035 [C99-based-standards] (SCNiLEAST64): Likewise.
5036 [C99-based-standards] (SCNoLEAST64): Likewise.
5037 [C99-based-standards] (SCNuLEAST64): Likewise.
5038 [C99-based-standards] (SCNxLEAST64): Likewise.
5039 [C99-based-standards] (PRIdFAST64): Likewise.
5040 [C99-based-standards] (PRIiFAST64): Likewise.
5041 [C99-based-standards] (PRIoFAST64): Likewise.
5042 [C99-based-standards] (PRIuFAST64): Likewise.
5043 [C99-based-standards] (PRIxFAST64): Likewise.
5044 [C99-based-standards] (PRIXFAST64): Likewise.
5045 [C99-based-standards] (SCNdFAST64): Likewise.
5046 [C99-based-standards] (SCNiFAST64): Likewise.
5047 [C99-based-standards] (SCNoFAST64): Likewise.
5048 [C99-based-standards] (SCNuFAST64): Likewise.
5049 [C99-based-standards] (SCNxFAST64): Likewise.
5050 [C99-based-standards] (PRIdMAX): Likewise.
5051 [C99-based-standards] (PRIiMAX): Likewise.
5052 [C99-based-standards] (PRIoMAX): Likewise.
5053 [C99-based-standards] (PRIuMAX): Likewise.
5054 [C99-based-standards] (PRIxMAX): Likewise.
5055 [C99-based-standards] (PRIXMAX): Likewise.
5056 [C99-based-standards] (SCNdMAX): Likewise.
5057 [C99-based-standards] (SCNiMAX): Likewise.
5058 [C99-based-standards] (SCNoMAX): Likewise.
5059 [C99-based-standards] (SCNuMAX): Likewise.
5060 [C99-based-standards] (SCNxMAX): Likewise.
5061 [C99-based-standards] (PRIdPTR): Likewise.
5062 [C99-based-standards] (PRIiPTR): Likewise.
5063 [C99-based-standards] (PRIoPTR): Likewise.
5064 [C99-based-standards] (PRIuPTR): Likewise.
5065 [C99-based-standards] (PRIxPTR): Likewise.
5066 [C99-based-standards] (PRIXPTR): Likewise.
5067 [C99-based-standards] (SCNdPTR): Likewise.
5068 [C99-based-standards] (SCNiPTR): Likewise.
5069 [C99-based-standards] (SCNoPTR): Likewise.
5070 [C99-based-standards] (SCNuPTR): Likewise.
5071 [C99-based-standards] (SCNxPTR): Likewise.
5072 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5073 allow.
5074 * conform/data/stdint.h-data: Update comments to clarify
5075 requirements.
5076 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5077 type.
5078 [C99-based standards] (INT8_MAX): Likewise.
5079 [C99-based standards] (INT16_MIN): Likewise.
5080 [C99-based standards] (INT16_MAX): Likewise.
5081 [C99-based standards] (INT32_MIN): Likewise.
5082 [C99-based standards] (INT32_MAX): Likewise.
5083 [C99-based standards] (INT64_MIN): Likewise.
5084 [C99-based standards] (INT64_MAX): Likewise.
5085 [C99-based standards] (UINT8_MAX): Likewise.
5086 [C99-based standards] (UINT16_MAX): Likewise.
5087 [C99-based standards] (UINT32_MAX): Likewise.
5088 [C99-based standards] (UINT64_MAX): Likewise.
5089 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5090 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5091 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5092 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5093 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5094 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5095 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5096 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5097 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5098 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5099 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5100 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5101 [C99-based standards] (INT_FAST8_MIN): Likewise.
5102 [C99-based standards] (INT_FAST8_MAX): Likewise.
5103 [C99-based standards] (INT_FAST16_MIN): Likewise.
5104 [C99-based standards] (INT_FAST16_MAX): Likewise.
5105 [C99-based standards] (INT_FAST32_MIN): Likewise.
5106 [C99-based standards] (INT_FAST32_MAX): Likewise.
5107 [C99-based standards] (INT_FAST64_MIN): Likewise.
5108 [C99-based standards] (INT_FAST64_MAX): Likewise.
5109 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5110 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5111 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5112 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5113 [C99-based standards] (INTPTR_MIN): Likewise.
5114 [C99-based standards] (INTPTR_MAX): Likewise.
5115 [C99-based standards] (UINTPTR_MAX): Likewise.
5116 [C99-based standards] (INTMAX_MIN): Likewise.
5117 [C99-based standards] (INTMAX_MAX): Likewise.
5118 [C99-based standards] (UINTMAX_MAX): Likewise.
5119 [C99-based standards] (PTRDIFF_MIN): Likewise.
5120 [C99-based standards] (PTRDIFF_MAX): Likewise.
5121 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5122 [C99-based standards] (SIZE_MAX): Likewise.
5123 [C99-based standards] (WCHAR_MAX): Likewise.
5124 [C99-based standards] (WINT_MAX): Likewise.
5125 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5126 constraint on value.
5127 [C99-based standards] (WCHAR_MIN): Likewise.
5128 [C99-based standards] (WINT_MIN): Likewise.
5129 [C99-based standards] (*_t): Allow.
5130 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5131 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5132 Include math.h-data and complex.h-data. Remove all expectations
5133 of math.h and complex.h contents.
5134 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5135 at end of line.
5136 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5137 (struct tm): Expect tag.
5138 [C99-based-standards] (wcstof): Expect function.
5139 [C99-based-standards] (wcstold): Likewise.
5140 [C99-based-standards] (wcstoll): Likewise.
5141 [C99-based-standards] (wcstoull): Likewise.
5142 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5143 macro-int-constant. Specify type.
5144 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5145 constraint on value.
5146 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5147 Specify type.
5148 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5149 Specify value.
5150 [ISO C standards]: Do not allow headers.
5151 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5152 wcs[abcdefghijklmnopqrstuvwxyz]*.
5153 [ISO C standards] (*_t): Do not allow.
5154 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5155 Expect function.
5156 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5157 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5158 Specify type.
5159 [ISO C standards]: Do not allow headers.
5160 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5161 is[abcdefghijklmnopqrstuvwxyz]*.
5162 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5163 to[abcdefghijklmnopqrstuvwxyz]*.
5164 [ISO C standards] (*_t): Do not allow.
5165 * conform/data/stdalign.h-data: New file.
5166 * conform/data/stdbool.h-data: Likewise.
5167 * conform/data/stdnoreturn.h-data: Likewise.
5168
5169 2012-11-07 Roland McGrath <roland@hack.frob.com>
5170
5171 [BZ #14815]
5172 * manual/filesys.texi (Directory Entries): Typo fix.
5173 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5174
5175 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5176
5177 * elf/elf.h (EM_AARCH64): New macro.
5178 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5179 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5180 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5181 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5182 (R_AARCH64_TLSDESC): Likewise.
5183 (NT_ARM_TLS): Likewise.
5184 (NT_ARM_HW_BREAK): Likewise.
5185 (NT_ARM_HW_WATCH): Likewise.
5186
5187 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5188
5189 [BZ #14811]
5190 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5191 (__ieee754_powl): Saturate nonzero exponents with absolute value
5192 below 0x1p-79 to +/- 0x1p-79.
5193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5194 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5195 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5196 nonzero exponents with absolute value below 0x1p-32 to +/-
5197 0x1p-32.
5198 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5199 (__ieee754_powl): Saturate nonzero exponents with absolute value
5200 below 0x1p-79 to +/- 0x1p-79.
5201 * math/libm-test.inc (pow_test): Add more tests.
5202
5203 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5204
5205 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5206 _dl_s390_cap_flags with kernel. Increase string length.
5207 (_dl_s390_platforms): Add z196 and zEC12.
5208
5209 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5210
5211 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5212 Change XOPEN21K to XOPEN2K.
5213
5214 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5215
5216 * string/memmove.c: Use memcpy when possible.
5217
5218 2012-11-06 Andreas Jaeger <aj@suse.de>
5219
5220 * po/eo.po: Update from translation team.
5221
5222 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5223
5224 [BZ #14793]
5225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5226 exponent and small x and y exponents, scale x or y up. Increase
5227 by 2 the exponent used in scaling up.
5228 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5230 * math/libm-test.inc (fma_test): Add more tests.
5231 (fma_test_towardzero): Likewise.
5232 (fma_test_downward): Likewise.
5233 (fma_test_upward): Likewise.
5234
5235 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5236
5237 [BZ #14805]
5238 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5239 fenv_t *.
5240
5241 [BZ #14801]
5242 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5243 namespace for names of struct fields.
5244 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5245 fenv_t fields.
5246 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5247 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5248
5249 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5250
5251 [BZ #3665]
5252 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5253
5254 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5255
5256 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5257 PTR_DEMANGLE.
5258
5259 [BZ #5246]
5260 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5261 PTR_DEMANGLE.
5262
5263 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5264
5265 [BZ #14797]
5266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5267 definitely overflow as x * y not x * y + z.
5268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5269 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5270 * math/libm-test.inc (fma_test): Add more tests.
5271 (fma_test_towardzero): Likewise.
5272 (fma_test_downward): Likewise.
5273 (fma_test_upward): Likewise.
5274
5275 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5276
5277 [BZ #157]
5278
5279 * include/stub-tag.h: Remove file.
5280 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5281 '#include' of it.
5282 * manual/maint.texi (Porting): Don't reference it.
5283 * Makerules ($(objpfx)stubs): Likewise.
5284 * dirent/closedir.c: Don't include <stub-tag.h>.
5285 * dirent/dirfd.c: Likewise.
5286 * dirent/fdopendir.c: Likewise.
5287 * dirent/getdents.c: Likewise.
5288 * dirent/getdents64.c: Likewise.
5289 * dirent/opendir.c: Likewise.
5290 * dirent/readdir.c: Likewise.
5291 * dirent/readdir64.c: Likewise.
5292 * dirent/readdir64_r.c: Likewise.
5293 * dirent/readdir_r.c: Likewise.
5294 * dirent/rewinddir.c: Likewise.
5295 * dirent/seekdir.c: Likewise.
5296 * dirent/telldir.c: Likewise.
5297 * gmon/profil.c: Likewise.
5298 * grp/setgroups.c: Likewise.
5299 * inet/if_index.c: Likewise.
5300 * io/access.c: Likewise.
5301 * io/chdir.c: Likewise.
5302 * io/chmod.c: Likewise.
5303 * io/chown.c: Likewise.
5304 * io/close.c: Likewise.
5305 * io/dup.c: Likewise.
5306 * io/dup2.c: Likewise.
5307 * io/dup3.c: Likewise.
5308 * io/euidaccess.c: Likewise.
5309 * io/faccessat.c: Likewise.
5310 * io/fchdir.c: Likewise.
5311 * io/fchmod.c: Likewise.
5312 * io/fchmodat.c: Likewise.
5313 * io/fchown.c: Likewise.
5314 * io/fchownat.c: Likewise.
5315 * io/fcntl.c: Likewise.
5316 * io/flock.c: Likewise.
5317 * io/fstatfs.c: Likewise.
5318 * io/fstatfs64.c: Likewise.
5319 * io/fstatvfs.c: Likewise.
5320 * io/fstatvfs64.c: Likewise.
5321 * io/futimens.c: Likewise.
5322 * io/fxstat.c: Likewise.
5323 * io/fxstat64.c: Likewise.
5324 * io/fxstatat.c: Likewise.
5325 * io/fxstatat64.c: Likewise.
5326 * io/getcwd.c: Likewise.
5327 * io/isatty.c: Likewise.
5328 * io/lchmod.c: Likewise.
5329 * io/lchown.c: Likewise.
5330 * io/link.c: Likewise.
5331 * io/linkat.c: Likewise.
5332 * io/lseek.c: Likewise.
5333 * io/lseek64.c: Likewise.
5334 * io/lxstat64.c: Likewise.
5335 * io/mkdir.c: Likewise.
5336 * io/mkdirat.c: Likewise.
5337 * io/mkfifo.c: Likewise.
5338 * io/mkfifoat.c: Likewise.
5339 * io/open.c: Likewise.
5340 * io/open64.c: Likewise.
5341 * io/openat.c: Likewise.
5342 * io/openat64.c: Likewise.
5343 * io/pipe.c: Likewise.
5344 * io/pipe2.c: Likewise.
5345 * io/poll.c: Likewise.
5346 * io/posix_fadvise.c: Likewise.
5347 * io/posix_fadvise64.c: Likewise.
5348 * io/posix_fallocate.c: Likewise.
5349 * io/posix_fallocate64.c: Likewise.
5350 * io/read.c: Likewise.
5351 * io/readlink.c: Likewise.
5352 * io/readlinkat.c: Likewise.
5353 * io/rmdir.c: Likewise.
5354 * io/sendfile.c: Likewise.
5355 * io/sendfile64.c: Likewise.
5356 * io/statfs.c: Likewise.
5357 * io/statfs64.c: Likewise.
5358 * io/statvfs.c: Likewise.
5359 * io/statvfs64.c: Likewise.
5360 * io/symlink.c: Likewise.
5361 * io/symlinkat.c: Likewise.
5362 * io/ttyname.c: Likewise.
5363 * io/ttyname_r.c: Likewise.
5364 * io/umask.c: Likewise.
5365 * io/unlink.c: Likewise.
5366 * io/unlinkat.c: Likewise.
5367 * io/utime.c: Likewise.
5368 * io/utimensat.c: Likewise.
5369 * io/write.c: Likewise.
5370 * io/xmknod.c: Likewise.
5371 * io/xmknodat.c: Likewise.
5372 * io/xstat.c: Likewise.
5373 * io/xstat64.c: Likewise.
5374 * login/getpt.c: Likewise.
5375 * login/grantpt.c: Likewise.
5376 * login/unlockpt.c: Likewise.
5377 * math/e_acoshl.c: Likewise.
5378 * math/e_acosl.c: Likewise.
5379 * math/e_asinl.c: Likewise.
5380 * math/e_atan2l.c: Likewise.
5381 * math/e_atanhl.c: Likewise.
5382 * math/e_coshl.c: Likewise.
5383 * math/e_expl.c: Likewise.
5384 * math/e_fmodl.c: Likewise.
5385 * math/e_gammal_r.c: Likewise.
5386 * math/e_hypotl.c: Likewise.
5387 * math/e_j0l.c: Likewise.
5388 * math/e_j1l.c: Likewise.
5389 * math/e_jnl.c: Likewise.
5390 * math/e_lgammal_r.c: Likewise.
5391 * math/e_log10l.c: Likewise.
5392 * math/e_log2l.c: Likewise.
5393 * math/e_logl.c: Likewise.
5394 * math/e_powl.c: Likewise.
5395 * math/e_rem_pio2l.c: Likewise.
5396 * math/e_sinhl.c: Likewise.
5397 * math/e_sqrtl.c: Likewise.
5398 * math/fclrexcpt.c: Likewise.
5399 * math/fedisblxcpt.c: Likewise.
5400 * math/feenablxcpt.c: Likewise.
5401 * math/fegetenv.c: Likewise.
5402 * math/fegetexcept.c: Likewise.
5403 * math/fegetround.c: Likewise.
5404 * math/feholdexcpt.c: Likewise.
5405 * math/fesetenv.c: Likewise.
5406 * math/fesetround.c: Likewise.
5407 * math/feupdateenv.c: Likewise.
5408 * math/fgetexcptflg.c: Likewise.
5409 * math/fraiseexcpt.c: Likewise.
5410 * math/fsetexcptflg.c: Likewise.
5411 * math/ftestexcept.c: Likewise.
5412 * math/k_cosl.c: Likewise.
5413 * math/k_rem_pio2l.c: Likewise.
5414 * math/k_sinl.c: Likewise.
5415 * math/k_tanl.c: Likewise.
5416 * math/s_asinhl.c: Likewise.
5417 * math/s_atanl.c: Likewise.
5418 * math/s_cbrtl.c: Likewise.
5419 * math/s_erfl.c: Likewise.
5420 * math/s_expm1l.c: Likewise.
5421 * math/s_log1pl.c: Likewise.
5422 * math/s_tanhl.c: Likewise.
5423 * misc/acct.c: Likewise.
5424 * misc/brk.c: Likewise.
5425 * misc/chflags.c: Likewise.
5426 * misc/chroot.c: Likewise.
5427 * misc/fchflags.c: Likewise.
5428 * misc/fgetxattr.c: Likewise.
5429 * misc/flistxattr.c: Likewise.
5430 * misc/fremovexattr.c: Likewise.
5431 * misc/fsetxattr.c: Likewise.
5432 * misc/fsync.c: Likewise.
5433 * misc/ftruncate.c: Likewise.
5434 * misc/futimes.c: Likewise.
5435 * misc/futimesat.c: Likewise.
5436 * misc/getdomain.c: Likewise.
5437 * misc/getdtsz.c: Likewise.
5438 * misc/gethostid.c: Likewise.
5439 * misc/gethostname.c: Likewise.
5440 * misc/getloadavg.c: Likewise.
5441 * misc/getpagesize.c: Likewise.
5442 * misc/getsysstats.c: Likewise.
5443 * misc/getxattr.c: Likewise.
5444 * misc/gtty.c: Likewise.
5445 * misc/ioctl.c: Likewise.
5446 * misc/lgetxattr.c: Likewise.
5447 * misc/listxattr.c: Likewise.
5448 * misc/llistxattr.c: Likewise.
5449 * misc/lremovexattr.c: Likewise.
5450 * misc/lsetxattr.c: Likewise.
5451 * misc/lutimes.c: Likewise.
5452 * misc/madvise.c: Likewise.
5453 * misc/mincore.c: Likewise.
5454 * misc/mlock.c: Likewise.
5455 * misc/mlockall.c: Likewise.
5456 * misc/mmap.c: Likewise.
5457 * misc/mprotect.c: Likewise.
5458 * misc/msync.c: Likewise.
5459 * misc/munlock.c: Likewise.
5460 * misc/munlockall.c: Likewise.
5461 * misc/munmap.c: Likewise.
5462 * misc/preadv.c: Likewise.
5463 * misc/preadv64.c: Likewise.
5464 * misc/ptrace.c: Likewise.
5465 * misc/pwritev.c: Likewise.
5466 * misc/pwritev64.c: Likewise.
5467 * misc/readv.c: Likewise.
5468 * misc/reboot.c: Likewise.
5469 * misc/remap_file_pages.c: Likewise.
5470 * misc/removexattr.c: Likewise.
5471 * misc/revoke.c: Likewise.
5472 * misc/select.c: Likewise.
5473 * misc/setdomain.c: Likewise.
5474 * misc/setegid.c: Likewise.
5475 * misc/seteuid.c: Likewise.
5476 * misc/sethostid.c: Likewise.
5477 * misc/sethostname.c: Likewise.
5478 * misc/setregid.c: Likewise.
5479 * misc/setreuid.c: Likewise.
5480 * misc/setxattr.c: Likewise.
5481 * misc/sstk.c: Likewise.
5482 * misc/stty.c: Likewise.
5483 * misc/swapoff.c: Likewise.
5484 * misc/swapon.c: Likewise.
5485 * misc/sync.c: Likewise.
5486 * misc/syncfs.c: Likewise.
5487 * misc/syscall.c: Likewise.
5488 * misc/truncate.c: Likewise.
5489 * misc/ualarm.c: Likewise.
5490 * misc/usleep.c: Likewise.
5491 * misc/ustat.c: Likewise.
5492 * misc/utimes.c: Likewise.
5493 * misc/vhangup.c: Likewise.
5494 * misc/writev.c: Likewise.
5495 * posix/_exit.c: Likewise.
5496 * posix/alarm.c: Likewise.
5497 * posix/execve.c: Likewise.
5498 * posix/fexecve.c: Likewise.
5499 * posix/fork.c: Likewise.
5500 * posix/fpathconf.c: Likewise.
5501 * posix/getaddrinfo.c: Likewise.
5502 * posix/getegid.c: Likewise.
5503 * posix/geteuid.c: Likewise.
5504 * posix/getgid.c: Likewise.
5505 * posix/getgroups.c: Likewise.
5506 * posix/getlogin.c: Likewise.
5507 * posix/getlogin_r.c: Likewise.
5508 * posix/getpgid.c: Likewise.
5509 * posix/getpid.c: Likewise.
5510 * posix/getppid.c: Likewise.
5511 * posix/getresgid.c: Likewise.
5512 * posix/getresuid.c: Likewise.
5513 * posix/getsid.c: Likewise.
5514 * posix/getuid.c: Likewise.
5515 * posix/glob64.c: Likewise.
5516 * posix/nanosleep.c: Likewise.
5517 * posix/pathconf.c: Likewise.
5518 * posix/pause.c: Likewise.
5519 * posix/posix_madvise.c: Likewise.
5520 * posix/pread.c: Likewise.
5521 * posix/pread64.c: Likewise.
5522 * posix/pwrite.c: Likewise.
5523 * posix/pwrite64.c: Likewise.
5524 * posix/sched_getaffinity.c: Likewise.
5525 * posix/sched_getp.c: Likewise.
5526 * posix/sched_gets.c: Likewise.
5527 * posix/sched_primax.c: Likewise.
5528 * posix/sched_primin.c: Likewise.
5529 * posix/sched_rr_gi.c: Likewise.
5530 * posix/sched_setaffinity.c: Likewise.
5531 * posix/sched_setp.c: Likewise.
5532 * posix/sched_sets.c: Likewise.
5533 * posix/sched_yield.c: Likewise.
5534 * posix/setgid.c: Likewise.
5535 * posix/setlogin.c: Likewise.
5536 * posix/setpgid.c: Likewise.
5537 * posix/setresgid.c: Likewise.
5538 * posix/setresuid.c: Likewise.
5539 * posix/setsid.c: Likewise.
5540 * posix/setuid.c: Likewise.
5541 * posix/sleep.c: Likewise.
5542 * posix/spawni.c: Likewise.
5543 * posix/sysconf.c: Likewise.
5544 * posix/times.c: Likewise.
5545 * posix/wait.c: Likewise.
5546 * posix/wait3.c: Likewise.
5547 * posix/wait4.c: Likewise.
5548 * posix/waitpid.c: Likewise.
5549 * resolv/gai_sigqueue.c: Likewise.
5550 * resource/getpriority.c: Likewise.
5551 * resource/getrlimit.c: Likewise.
5552 * resource/getrusage.c: Likewise.
5553 * resource/nice.c: Likewise.
5554 * resource/setpriority.c: Likewise.
5555 * resource/setrlimit.c: Likewise.
5556 * resource/ulimit.c: Likewise.
5557 * rt/aio_cancel.c: Likewise.
5558 * rt/aio_fsync.c: Likewise.
5559 * rt/aio_read.c: Likewise.
5560 * rt/aio_sigqueue.c: Likewise.
5561 * rt/aio_suspend.c: Likewise.
5562 * rt/aio_write.c: Likewise.
5563 * rt/clock_getres.c: Likewise.
5564 * rt/clock_gettime.c: Likewise.
5565 * rt/clock_nanosleep.c: Likewise.
5566 * rt/clock_settime.c: Likewise.
5567 * rt/lio_listio.c: Likewise.
5568 * rt/mq_close.c: Likewise.
5569 * rt/mq_getattr.c: Likewise.
5570 * rt/mq_notify.c: Likewise.
5571 * rt/mq_open.c: Likewise.
5572 * rt/mq_receive.c: Likewise.
5573 * rt/mq_send.c: Likewise.
5574 * rt/mq_setattr.c: Likewise.
5575 * rt/mq_timedreceive.c: Likewise.
5576 * rt/mq_timedsend.c: Likewise.
5577 * rt/mq_unlink.c: Likewise.
5578 * rt/shm_open.c: Likewise.
5579 * rt/shm_unlink.c: Likewise.
5580 * rt/timer_create.c: Likewise.
5581 * rt/timer_delete.c: Likewise.
5582 * rt/timer_getoverr.c: Likewise.
5583 * rt/timer_gettime.c: Likewise.
5584 * rt/timer_settime.c: Likewise.
5585 * setjmp/__longjmp.c: Likewise.
5586 * setjmp/setjmp.c: Likewise.
5587 * signal/kill.c: Likewise.
5588 * signal/killpg.c: Likewise.
5589 * signal/raise.c: Likewise.
5590 * signal/sigaction.c: Likewise.
5591 * signal/sigaltstack.c: Likewise.
5592 * signal/sigblock.c: Likewise.
5593 * signal/sigignore.c: Likewise.
5594 * signal/sigintr.c: Likewise.
5595 * signal/signal.c: Likewise.
5596 * signal/sigpause.c: Likewise.
5597 * signal/sigpending.c: Likewise.
5598 * signal/sigqueue.c: Likewise.
5599 * signal/sigreturn.c: Likewise.
5600 * signal/sigset.c: Likewise.
5601 * signal/sigsetmask.c: Likewise.
5602 * signal/sigstack.c: Likewise.
5603 * signal/sigsuspend.c: Likewise.
5604 * signal/sigtimedwait.c: Likewise.
5605 * signal/sigvec.c: Likewise.
5606 * signal/sigwait.c: Likewise.
5607 * signal/sigwaitinfo.c: Likewise.
5608 * signal/sysv_signal.c: Likewise.
5609 * socket/accept.c: Likewise.
5610 * socket/accept4.c: Likewise.
5611 * socket/bind.c: Likewise.
5612 * socket/connect.c: Likewise.
5613 * socket/getpeername.c: Likewise.
5614 * socket/getsockname.c: Likewise.
5615 * socket/getsockopt.c: Likewise.
5616 * socket/isfdtype.c: Likewise.
5617 * socket/listen.c: Likewise.
5618 * socket/recv.c: Likewise.
5619 * socket/recvfrom.c: Likewise.
5620 * socket/recvmsg.c: Likewise.
5621 * socket/send.c: Likewise.
5622 * socket/sendmsg.c: Likewise.
5623 * socket/sendto.c: Likewise.
5624 * socket/setsockopt.c: Likewise.
5625 * socket/shutdown.c: Likewise.
5626 * socket/sockatmark.c: Likewise.
5627 * socket/socket.c: Likewise.
5628 * socket/socketpair.c: Likewise.
5629 * stdio-common/ctermid.c: Likewise.
5630 * stdio-common/cuserid.c: Likewise.
5631 * stdio-common/remove.c: Likewise.
5632 * stdio-common/rename.c: Likewise.
5633 * stdio-common/renameat.c: Likewise.
5634 * stdio-common/tempname.c: Likewise.
5635 * stdlib/getcontext.c: Likewise.
5636 * stdlib/makecontext.c: Likewise.
5637 * stdlib/setcontext.c: Likewise.
5638 * stdlib/swapcontext.c: Likewise.
5639 * stdlib/system.c: Likewise.
5640 * streams/fattach.c: Likewise.
5641 * streams/fdetach.c: Likewise.
5642 * streams/getmsg.c: Likewise.
5643 * streams/getpmsg.c: Likewise.
5644 * streams/putmsg.c: Likewise.
5645 * streams/putpmsg.c: Likewise.
5646 * sysdeps/unix/bsd/getpt.c: Likewise.
5647 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5648 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5649 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5651 Likewise.
5652 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5653 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5654 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5655 * sysvipc/msgctl.c: Likewise.
5656 * sysvipc/msgget.c: Likewise.
5657 * sysvipc/msgrcv.c: Likewise.
5658 * sysvipc/msgsnd.c: Likewise.
5659 * sysvipc/semctl.c: Likewise.
5660 * sysvipc/semget.c: Likewise.
5661 * sysvipc/semop.c: Likewise.
5662 * sysvipc/semtimedop.c: Likewise.
5663 * sysvipc/shmat.c: Likewise.
5664 * sysvipc/shmctl.c: Likewise.
5665 * sysvipc/shmdt.c: Likewise.
5666 * sysvipc/shmget.c: Likewise.
5667 * termios/tcdrain.c: Likewise.
5668 * termios/tcflow.c: Likewise.
5669 * termios/tcflush.c: Likewise.
5670 * termios/tcgetattr.c: Likewise.
5671 * termios/tcgetpgrp.c: Likewise.
5672 * termios/tcsendbrk.c: Likewise.
5673 * termios/tcsetattr.c: Likewise.
5674 * termios/tcsetpgrp.c: Likewise.
5675 * time/adjtime.c: Likewise.
5676 * time/clock.c: Likewise.
5677 * time/getitimer.c: Likewise.
5678 * time/gettimeofday.c: Likewise.
5679 * time/setitimer.c: Likewise.
5680 * time/settimeofday.c: Likewise.
5681 * time/stime.c: Likewise.
5682 * time/time.c: Likewise.
5683
5684 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5685
5686 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5687 /usr/old/bin.
5688
5689 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5690 instead of spaces.
5691 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5692
5693 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5694
5695 [BZ #14796]
5696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5697 FE_TONEAREST before applying Dekker multiplication and Knuth
5698 addition. Clear inexact exceptions and check for exact zero
5699 results afterwards.
5700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5701 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5703 * math/libm-test.inc (fma_test): Add more tests.
5704 (fma_test_towardzero): Likewise.
5705 (fma_test_downward): Likewise.
5706 (fma_test_upward): Likewise.
5707 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5708 function.
5709 (libc_fesetround): New macro.
5710 (libc_fesetroundf): Likewise.
5711 (libc_fesetroundl): Likewise.
5712 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5713 function.
5714 (libc_fesetround_387): Likewise.
5715 (libc_fesetroundf): New macro.
5716 (libc_fesetround): Likewise.
5717 (libc_fesetroundl): Likewise.
5718 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5719 function.
5720 (libc_fesetroundf): New macro.
5721 (libc_fesetround): Likewise.
5722 (libc_fesetroundl): Likewise.
5723 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5724 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5725 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5726 libm_hidden_ver.
5727 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5728 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5729 libm_hidden_def.
5730 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5731 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5732 libm_hidden_ver.
5733 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5734 libm_hidden_def.
5735
5736 [BZ #3439]
5737 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5738 integer constant usable in #if and use that to give value to enum
5739 constant.
5740 (FE_DIVBYZERO): Likewise.
5741 (FE_UNDERFLOW): Likewise.
5742 (FE_OVERFLOW): Likewise.
5743 (FE_INVALID): Likewise.
5744 (FE_INVALID_SNAN): Likewise.
5745 (FE_INVALID_ISI): Likewise.
5746 (FE_INVALID_IDI): Likewise.
5747 (FE_INVALID_ZDZ): Likewise.
5748 (FE_INVALID_IMZ): Likewise.
5749 (FE_INVALID_COMPARE): Likewise.
5750 (FE_INVALID_SOFTWARE): Likewise.
5751 (FE_INVALID_SQRT): Likewise.
5752 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5753 (FE_TONEAREST): Likewise.
5754 (FE_TOWARDZERO): Likewise.
5755 (FE_UPWARD): Likewise.
5756 (FE_DOWNWARD): Likewise.
5757 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5758 (FE_DIVBYZERO): Likewise.
5759 (FE_OVERFLOW): Likewise.
5760 (FE_UNDERFLOW): Likewise.
5761 (FE_INEXACT): Likewise.
5762 (FE_TONEAREST): Likewise.
5763 (FE_DOWNWARD): Likewise.
5764 (FE_UPWARD): Likewise.
5765 (FE_TOWARDZERO): Likewise.
5766 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5767 (FE_UNDERFLOW): Likewise.
5768 (FE_OVERFLOW): Likewise.
5769 (FE_DIVBYZERO): Likewise.
5770 (FE_INVALID): Likewise.
5771 (FE_TONEAREST): Likewise.
5772 (FE_TOWARDZERO): Likewise.
5773 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5774 (FE_OVERFLOW): Likewise.
5775 (FE_UNDERFLOW): Likewise.
5776 (FE_DIVBYZERO): Likewise.
5777 (FE_INEXACT): Likewise.
5778 (FE_TONEAREST): Likewise.
5779 (FE_TOWARDZERO): Likewise.
5780 (FE_UPWARD): Likewise.
5781 (FE_DOWNWARD): Likewise.
5782 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5783 (FE_DIVBYZERO): Likewise.
5784 (FE_OVERFLOW): Likewise.
5785 (FE_UNDERFLOW): Likewise.
5786 (FE_INEXACT): Likewise.
5787 (FE_TONEAREST): Likewise.
5788 (FE_DOWNWARD): Likewise.
5789 (FE_UPWARD): Likewise.
5790 (FE_TOWARDZERO): Likewise.
5791
5792 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5793
5794 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5795
5796 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5797
5798 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5799 commands. Quote $PWD.
5800 (blacklist_exports): Don't use remove_newlines. Replace "declare
5801 -x" by "export".
5802 (remove_newlines): Remove.
5803
5804 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5805
5806 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5807 * stdlib/stdlib.h (atof): Moved to ...
5808 * include/bits/stdlib-float.h: Here. New file.
5809 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5810 * stdlib/bits/stdlib-float.h: New file.
5811 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5812 -mno-sse -mno-mmx.
5813 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5814 <xmmintrin.h>.
5815
5816 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5817
5818 * conform/conformtest.pl (@headers): Add fenv.h.
5819 * conform/data/fenv.h-data: New file.
5820 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5821 include of <math/fenv.h>.
5822
5823 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5824 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5825 && !UNIX98]. Enables tests for XOPEN2K8.
5826 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5827 POSIX2008]: Likewise.
5828
5829 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5830 (struct rusage): Do not expect type or its members.
5831
5832 [BZ #3439]
5833 * math/math.h (FP_NAN): Define macro to integer constant usable in
5834 #if and use that to give value to enum constant.
5835 (FP_INFINITE): Likewise.
5836 (FP_ZERO): Likewise.
5837 (FP_SUBNORMAL): Likewise.
5838 (FP_NORMAL): Likewise.
5839
5840 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5841
5842 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5843 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5844 arguments.
5845
5846 2012-11-02 Roland McGrath <roland@hack.frob.com>
5847
5848 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5849 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5850 autoconf-time if not.
5851 * configure.in: Remove AC_PREREQ.
5852
5853 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5854
5855 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5856 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5857 of the internal implementation.
5858
5859 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5860
5861 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5862 except include of <misc/sys/syslog.h>.
5863
5864 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5865
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5867 function returns with a NULL context exit with zero.
5868
5869 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5870
5871 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5872
5873 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5874
5875 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5876 (run_program_cmd): This.
5877 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5878 (tst_langinfo): New variable. Use it.
5879
5880 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5881
5882 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5883 floating point opcodes.
5884
5885 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5886
5887 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5888 variable.
5889
5890 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5891
5892 * sysdeps/mach/hurd/powerpc: Remove directory.
5893 * sysdeps/mach/powerpc: Likewise.
5894
5895 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5896
5897 * scripts/check-local-headers.sh: Ignore c++ headers.
5898
5899 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5900
5901 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5902 __libc_cleanup_region_start argument.
5903
5904 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5905
5906 [BZ #14784]
5907 [BZ #14785]
5908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5909 x * y using scaling, not as x * y + z.
5910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5911 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5912 * math/libm-test.inc (fma_test): Add more tests.
5913 (fma_test_towardzero): Likewise.
5914 (fma_test_downward): Likewise.
5915 (fma_test_upward): Likewise.
5916
5917 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5918
5919 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5920
5921 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5922
5923 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5924 New variable.
5925
5926 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5927
5928 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5929
5930 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5931
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5933 Fix sort order.
5934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5935 Likewise.
5936
5937 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5938
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5940 Fix the order of the list for glibc 2.17.
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5942 Likewise.
5943
5944 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5945
5946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5947
5948 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5949
5950 [BZ #14610]
5951 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5952 for low part of x being zero before using __atanl (y).
5953 * math/libm-test.inc (atan2_test): Add another test.
5954
5955 * manual/install.texi (Configuring and compiling): Document
5956 general use of test-wrapper and test-wrapper-env.
5957 * INSTALL: Regenerated.
5958
5959 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5960 (__fma): Do not extract and scale down low bits on after-rounding
5961 systems when result rounded to normal precision would have normal
5962 exponent.
5963 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5964 (__fmal): Do not extract and scale down low bits on after-rounding
5965 systems when result rounded to normal precision would have normal
5966 exponent.
5967 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5968 (__fmal): Do not extract and scale down low bits on after-rounding
5969 systems when result rounded to normal precision would have normal
5970 exponent.
5971 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5972 macro.
5973 (fma_test): Add more tests.
5974 (fma_test_towardzero): Likewise.
5975 (fma_test_downward): Likewise.
5976 (fma_test_upward): Likewise.
5977
5978 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5979
5980 * sysdeps/i386/tininess.h: Renamed to ...
5981 * sysdeps/x86/tininess.h: This.
5982 * sysdeps/x86_64/tininess.h: Removed.
5983
5984 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5985
5986 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5987 input. Use $(build-program-cmd).
5988 ($(objpfx)tst-array1-static.out): Likewise.
5989 ($(objpfx)tst-array2.out): Likewise.
5990 ($(objpfx)tst-array3.out): Likewise.
5991 ($(objpfx)tst-array4.out): Likewise.
5992 ($(objpfx)tst-array5.out): Likewise.
5993 ($(objpfx)tst-array5-static.out): Likewise.
5994
5995 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5996
5997 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5998 if defined.
5999
6000 * nss/nsswitch.h (nss_interface_function): Provide new
6001 macro for use with NSS functions.
6002 * grp/initgroups.c: Use new macro.
6003 * nss/getXXbyYY.c: Likewise.
6004 * nss/getXXbyYY_r.c: Likewise.
6005 * nss/getXXent.c: Likewise.
6006 * nss/getXXent_r.c: Likewise.
6007 * sysdeps/posix/getaddrinfo.c: Likewise.
6008
6009 2012-10-30 Andreas Jaeger <aj@suse.de>
6010
6011 * po/ru.po: Update Russion translation from translation project.
6012
6013 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6014
6015 [BZ #14152]
6016 [BZ #14783]
6017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6018 result and shift together with sticky bit instead of replicating
6019 round-to-nearest rounding.
6020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6022 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6023 missing underflow exceptions.
6024 (fma_test_towardzero): Add more tests.
6025 (fma_test_downward): Likewise.
6026 (fma_test_upward): Likewise.
6027
6028 [BZ #14047]
6029 * sysdeps/generic/tininess.h: New file.
6030 * sysdeps/i386/tininess.h: Likewise.
6031 * sysdeps/sh/tininess.h: Likewise.
6032 * sysdeps/x86_64/tininess.h: Likewise.
6033 * stdlib/tst-strtod-underflow.c: Likewise.
6034 * stdlib/tst-tininess.c: Likewise.
6035 * stdlib/strtod_l.c: Include <tininess.h>.
6036 (round_and_return): Do not set errno for exact underflow cases.
6037 Force an underflow exception when setting errno for underflow.
6038 Determine underflow based on rounding to normal precision if
6039 TININESS_AFTER_ROUNDING.
6040 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6041 ERANGE for exact underflow cases.
6042 * stdlib/Makefile (tests): Add tst-tininess and
6043 tst-strtod-underflow.
6044 ($(objpfx)tst-tininess): Use $(link-libm).
6045 ($(objpfx)tst-strtod-underflow): Likewise.
6046
6047 2012-10-30 Andreas Jaeger <aj@suse.de>
6048
6049 [BZ#14767]
6050 * elf/Makefile (tests): Remove conditional for have-initfini-array
6051 since this is now always required and the variable does not exist
6052 anymore.
6053 (tests-static): Likewise.
6054 (modules-names): Likewise.
6055
6056 * po/eo.po: Add Esperanto translation from translation project.
6057
6058 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6059 merged with constructor/destructor.
6060 (init_array): Likewise.
6061 * elf/tst-array2dep.c (fini_array): Likewise.
6062 (init_array): Likewise.
6063
6064 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6065
6066 * manual/message.texi: Delete @cartouche tags.
6067
6068 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6069
6070 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6071 EOPNOTSUPP.
6072 * sysdeps/mach/hurd/fsync.c: Likewise.
6073
6074 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6075 [_POSIX_REALTIME_SIGNALS]: Change condition to
6076 [_POSIX_REALTIME_SIGNALS > 0].
6077
6078 2012-10-27 Andreas Jaeger <aj@suse.de>
6079
6080 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6081 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6083 [__WORDSIZE != 64]: Likewise.
6084
6085 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6086
6087 * iconvdata/tst-table.sh: Remove ${SHELL}.
6088 * iconvdata/tst-tables.sh: Likewise.
6089
6090 2012-10-25 David S. Miller <davem@davemloft.net>
6091
6092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6093 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6094 of strtoull.
6095
6096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6097 ifunc-impl-list.c
6098 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6099 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6100 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6101 file.
6102
6103 2012-10-25 Roland McGrath <roland@hack.frob.com>
6104
6105 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6106 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6107 __getdirentries.
6108
6109 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6110 Jim Blandy <jimb@codesourcery.com>
6111
6112 * scripts/cross-test-ssh.sh: New file.
6113 * manual/install.texi (Configuring and compiling): Document use of
6114 cross-test-ssh.sh.
6115 * INSTALL: Regenerated.
6116
6117 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6118
6119 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6120 EOPNOTSUPP.
6121
6122 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6123
6124 * Makeconfig (run-program-prefix): Fix comment.
6125
6126 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6127 Jim Blandy <jimb@codesourcery.com>
6128
6129 * Makeconfig (test-wrapper): New variable,
6130 (test-wrapper-env): Likewise.
6131 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6132 (run-built-tests): Define to yes.
6133 (run-program-prefix): Use $(test-wrapper).
6134 (built-program-cmd): Likewise.
6135 * Rules (make-test-out): Use $(test-wrapper-env) and
6136 $(host-built-program-cmd).
6137 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6138 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6139 tst-pathopt.sh.
6140 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6141 $(test-wrapper-env) to tst-rtld-load-self.sh.
6142 ($(objpfx)order2.out): Use $(test-wrapper).
6143 ($(objpfx)tst-initorder.out): Likewise.
6144 ($(objpfx)tst-initorder2.out): Likewise.
6145 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6146 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6147 (test_wrapper_env): New variable. Use it to run ld.so.
6148 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6149 Use it to run ld.so.
6150 (test_wrapper_env): Likewise.
6151 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6152 $(test-wrapper) to run-iconv-test.sh.
6153 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6154 (ICONV): Use $test_wrapper.
6155 * posix/Makefile ($(objpfx)globtest.out): Pass
6156 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6157 globtest.sh, not $(run-program-prefix).
6158 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6159 (test_wrapper): Likewise.
6160 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6161 set together with run_via_rtld_prefix.
6162 (run_program_prefix): Define in terms of test_wrapper and
6163 run_via_rtld_prefix.
6164
6165 2012-10-24 Roland McGrath <roland@hack.frob.com>
6166
6167 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6168 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6169 Targets removed.
6170
6171 [BZ #14743]
6172 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6173 Declare __clock_getres, __clock_gettime, __clock_settime,
6174 __clock_nanosleep, and __clock_getcpuclockid.
6175 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6176 Remove librt_hidden_def (clock_gettime).
6177 * sysdeps/unix/clock_gettime.c: Likewise.
6178 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6179 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6180 * rt/clock_getres.c: Define __clock_getres as an alias.
6181 * sysdeps/posix/clock_getres.c: Likewise.
6182 * rt/clock_settime.c: Define __clock_settime as an alias.
6183 * sysdeps/unix/clock_settime.c: Likewise.
6184 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6185 * sysdeps/unix/clock_nanosleep.c: Likewise.
6186 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6187 * rt/clock-compat.c: New file.
6188 * rt/Makefile (librt-routines): Add clock-compat and move
6189 $(clock-routines) to ...
6190 (routines): ... here, new variable.
6191 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6192 Don't add get_clockfreq here.
6193 * rt/Versions (libc: GLIBC_2.17): New version set.
6194 Add clock_* symbols here.
6195 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6196 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6197 (GLIBC_2.17): Add clock_* symbols.
6198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6202 Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6204 Likewise.
6205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6209 * NEWS: Mention the move.
6210
6211 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6212 Use __open, __read, __close rather than their public counterparts.
6213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6214 (__get_clockfreq_via_cpuinfo): Likewise.
6215 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6216 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6217
6218 * config.h.in (HAVE_IFUNC): New #undef.
6219 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6220 was successful.
6221 * configure: Regenerated.
6222
6223 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6224
6225 * configure.in: Move READELF check to start of file.
6226 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6227 libc_cv_asm_gnu_indirect_function in the process.
6228 * configure: Regenerated.
6229
6230 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6231
6232 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6233 send the output to /dev/null.
6234 (libc_cv_cc_with_libunwind): Likewise.
6235 (libc_cv_as_noexecstack): Likewise.
6236 * configure: Regenerate.
6237
6238 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6239
6240 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6241
6242 * posix/globtest.sh (TMPDIR): Do not set.
6243 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6244 (testout): Likewise.
6245
6246 2012-10-24 Andreas Jaeger <aj@suse.de>
6247
6248 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6249 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6250 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6251 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6252 posix_fadvise64, posix_fallocate64.
6253
6254 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6255 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6256 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6257 Likewise.
6258 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6259 Likewise.
6260 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6261
6262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6263 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6264 <bits/fcntl-linux.h>.
6265 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6266
6267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6268 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6269 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6270 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6271 [__WORDSIZE != 64]: Likewise.
6272
6273 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6274
6275 * Makeconfig (run-built-tests): New variable.
6276 * Rules [$(cross-compiling) = yes]: Change condition to
6277 [$(run-built-tests) = no].
6278 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6279 to [$(run-built-tests) = yes].
6280 * elf/Makefile [$(cross-compiling) = no]: Likewise
6281 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6282 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6283 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6284 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6285 * io/Makefile [$(cross-compiling) = no]: Likewise.
6286 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6287 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6288 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6289 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6290 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6291 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6292 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6293 * string/Makefile [$(cross-compiling) = no]: Likewise.
6294
6295 * posix/Makefile ($(objpfx)globtest.out): Pass
6296 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6297 $(rtld-installed-name).
6298 * posix/globtest.sh (elf_objpfx): Remove variable.
6299 (rtld_installed_name): Likewise.
6300 (library_path): Likewise.
6301 (run_program_prefix): New variable. Use for running globtest
6302 binary.
6303
6304 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6305 Joseph Myers <joseph@codesourcery.com>
6306
6307 * Makeconfig (host-built-program-cmd): New variable.
6308 * elf/Makefile (tst-stackguard1-ARGS): Use
6309 $(host-built-program-cmd).
6310 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6311 (tst-spawn-ARGS): Likewise.
6312 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6313
6314 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6315 Jim Blandy <jimb@codesourcery.com>
6316
6317 * Makeconfig (run-via-rtld-prefix): New variable.
6318 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6319 (built-program-cmd): Likewise.
6320
6321 2012-10-22 Andreas Jaeger <aj@suse.de>
6322
6323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6324 __O_RSYNC if it exists, otherwise to O_SYNC.
6325
6326 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6327 Joseph Myers <joseph@codesourcery.com>
6328
6329 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6330 /dev/null.
6331 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6332 from /dev/null
6333 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6334 /dev/null.
6335
6336 2012-10-22 Andreas Jaeger <aj@suse.de>
6337
6338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6339 Define always.
6340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6341
6342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6343 bits/fcntl-linux.h.
6344
6345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6346 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6347
6348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6349 to __O_LARGEFILE.
6350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6351 to __O_LARGEFILE.
6352
6353 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6354 Joseph Myers <joseph@codesourcery.com>
6355
6356 * config.make.in (NM): New variable.
6357
6358 2012-10-21 Andreas Jaeger <aj@suse.de>
6359
6360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6361 definitions and declarations that are provided by
6362 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6363
6364 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6365
6366 [BZ #14683]
6367 * elf/Makefile (tests-static): Add tst-leaks1-static.
6368 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6369 ($(objpfx)tst-leaks1-static): New rule.
6370 ($(objpfx)tst-leaks1-static-mem): Likewise.
6371 (tst-leaks1-static-ENV): New macro.
6372 * elf/dl-open.c (dl_open_worker): Check the main application
6373 only if SHARED is defined.
6374 * elf/tst-leaks1-static.c: New file.
6375
6376 2012-10-20 Andreas Jaeger <aj@suse.de>
6377
6378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6379 generic values for Linux.
6380 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6381 and declarations that are provided by <bits/fcntl-linux.h> and
6382 include <bits/fcntl-linux.h>.
6383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6385
6386 2012-10-20 Roland McGrath <roland@hack.frob.com>
6387
6388 * io/fcntl.h: Move include of <bits/types.h> to the top and
6389 include it unconditionally.
6390
6391 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6392
6393 * wcsmbs/Makefile (tests-ifunc): New variable.
6394 (tests): Add $(tests-ifunc).
6395 * wcsmbs/test-wcschr-ifunc.c: New file.
6396 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6397 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6398 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6399 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6400 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6401
6402 * string/Makefile (tests-ifunc): New variable.
6403 (tests): Add $(tests-ifunc).
6404 * string/test-memccpy.c (TEST_NAME): New macro.
6405 * string/test-memchr.c (TEST_NAME): Likewise.
6406 * string/test-memcmp.c (TEST_NAME): Likewise.
6407 * string/test-memcpy.c (TEST_NAME): Likewise.
6408 * string/test-memmem.c (TEST_NAME): Likewise.
6409 * string/test-memmove.c (TEST_NAME): Likewise.
6410 * string/test-memset.c (TEST_NAME): Likewise.
6411 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6412 * string/test-stpcpy.c (TEST_NAME): Likewise.
6413 * string/test-stpncpy.c (TEST_NAME): Likewise.
6414 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6415 * string/test-strcasestr.c (TEST_NAME): Likewise.
6416 * string/test-strcat.c (TEST_NAME): Likewise.
6417 * string/test-strchr.c (TEST_NAME): Likewise.
6418 * string/test-strcmp.c(TEST_NAME): Likewise.
6419 * string/test-strcpy.c (TEST_NAME): Likewise.
6420 * string/test-strcspn.c (TEST_NAME): Likewise.
6421 * string/test-strlen.c (TEST_NAME): Likewise.
6422 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6423 * string/test-strncmp.c (TEST_NAME): Likewise.
6424 * string/test-strncpy.c (TEST_NAME): Likewise.
6425 * string/test-strnlen.c (TEST_NAME): Likewise.
6426 * string/test-strpbrk.c (TEST_NAME): Likewise.
6427 * string/test-strrchr.c (TEST_NAME): Likewise.
6428 * string/test-strspn.c (TEST_NAME): Likewise.
6429 * string/test-strstr.c (TEST_NAME): Likewise.
6430 * string/test-bcopy-ifunc.c: New file.
6431 * string/test-bzero-ifunc.c: Likewise.
6432 * string/test-memccpy-ifunc.c: Likewise.
6433 * string/test-memchr-ifunc.c: Likewise.
6434 * string/test-memcmp-ifunc.c: Likewise.
6435 * string/test-memcpy-ifunc.c: Likewise.
6436 * string/test-memmem-ifunc.c: Likewise.
6437 * string/test-memmove-ifunc.c: Likewise.
6438 * string/test-mempcpy-ifunc.c: Likewise.
6439 * string/test-memset-ifunc.c: Likewise.
6440 * string/test-rawmemchr-ifunc.c: Likewise.
6441 * string/test-stpcpy-ifunc.c: Likewise.
6442 * string/test-stpncpy-ifunc.c: Likewise.
6443 * string/test-strcasecmp-ifunc.c: Likewise.
6444 * string/test-strcasestr-ifunc.c: Likewise.
6445 * string/test-strcat-ifunc.c: Likewise.
6446 * string/test-strchr-ifunc.c: Likewise.
6447 * string/test-strchrnul-ifunc.c: Likewise.
6448 * string/test-strcmp-ifunc.c: Likewise.
6449 * string/test-strcpy-ifunc.c: Likewise.
6450 * string/test-strcspn-ifunc.c: Likewise.
6451 * string/test-strlen-ifunc.c: Likewise.
6452 * string/test-strncasecmp-ifunc.c: Likewise.
6453 * string/test-strncat-ifunc.c: Likewise.
6454 * string/test-strncmp-ifunc.c: Likewise.
6455 * string/test-strncpy-ifunc.c: Likewise.
6456 * string/test-strnlen-ifunc.c: Likewise.
6457 * string/test-strpbrk-ifunc.c: Likewise.
6458 * string/test-strrchr-ifunc.c: Likewise.
6459 * string/test-strspn-ifunc.c: Likewise.
6460 * string/test-strstr-ifunc.c: Likewise.
6461
6462 * debug/Makefile (tests-ifunc): New variable.
6463 (tests): Add $(tests-ifunc).
6464 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6465 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6466 * debug/test-stpcpy_chk-ifunc.c: New file.
6467 * debug/test-strcpy_chk-ifunc.c: Likewise.
6468
6469 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6470
6471 [BZ #13601]
6472 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6473 header is not read in.
6474
6475 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6476
6477 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6478 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6479 directly. Pass built executable to script as
6480 $(built-program-cmd).
6481 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6482 $testprogram without using LD_LIBRARY_PATH and $ldso.
6483
6484 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6485 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6486 $(rtld-installed-name).
6487 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6488 (rtld_installed_name): Likewise.
6489 (library_path): Likewise.
6490 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6491 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6492 $(run-program-prefix) to tst-tables.sh.
6493 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6494 it to run tst-table-from and tst-table-to.
6495 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6496 Pass it to tst-table.sh.
6497 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6498 $(run-program-prefix) to tst-gettext.sh.
6499 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6500 tst-translit.sh.
6501 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6502 tst-gettext2.sh.
6503 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6504 to run tst-gettext.
6505 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6506 to run tst-gettext2.
6507 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6508 to run tst-translit.
6509 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6510 $(run-program-prefix) to tst-mtrace.sh.
6511 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6512 to run tst-mtrace.
6513 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6514 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6515 $(rtld-installed-name).
6516 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6517 (rtld_installed_name): Likewise.
6518 (run_program_prefix): New variable. Use it to run wordexp-test.
6519
6520 * Makeconfig (ARCH): Remove all definitions.
6521 (machine): Likewise.
6522 [ARCH]: Remove conditional code.
6523 [!objdir]: Give error.
6524 [!objdir] (objpfx): Remove.
6525 [!objdir] (common-objpfx): Likewise.
6526 [!objdir] (common-objdir): Likewise.
6527 * configure.in (config_makefile): Remove. Hardcode Makefile in
6528 AC_CONFIG_FILES call.
6529 * configure: Regenerated.
6530
6531 [BZ #13888]
6532 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6533 or TMPDIR.
6534 (testout): Likewise.
6535
6536 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6537 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6538 $(rtld-installed-name).
6539 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6540 (rtld_installed_name): Likwise.
6541 (runit): Remove function.
6542 (run_getconf): New variable, Use it for running getconf binary.
6543
6544 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6545
6546 [BZ #14716]
6547 * string/test-memmem.c (check_result): New function.
6548 (do_one_test): Use it.
6549 (check1): New function.
6550 (test_main): Use it.
6551
6552 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6553
6554 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6555
6556 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6557
6558 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6559 (_G_LSEEK64): Likewise.
6560 (_G_MMAP64): Likewise.
6561 (_G_FSTAT64): Likewise.
6562 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6563 (_G_LSEEK64): Likewise.
6564 (_G_MMAP64): Likewise.
6565 (_G_FSTAT64): Likewise.
6566 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6567 unconditional. Call __mmap64 directly.
6568 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6569 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6570 __lseek64 directly.
6571 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6572 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6573 __mmap64 directly.
6574 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6575 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6576 __lseek64 directly.
6577 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6578 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6579 __lseek64 directly.
6580 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6581 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6582 __lseek64 directly.
6583 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6584 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6585 __fxstat64 directly.
6586 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6587 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6588 unconditional.
6589 (freopen64) [!_G_OPEN64]: Remove conditional code.
6590 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6591 unconditional.
6592 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6593 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6594 unconditional.
6595 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6596 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6597 unconditional.
6598 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6599 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6600 unconditional.
6601 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6602 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6603 unconditional.
6604 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6605 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6606 unconditional.
6607 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6608 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6609 unconditional.
6610 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6611
6612 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6613
6614 [BZ #12140]
6615 * manual/memory.texi (Malloc Tunable Parameters): Add note
6616 about free list pointers overwriting some perturb bytes.
6617 Wording suggested by Roland McGrath.
6618
6619 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6620
6621 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6622 (lgamma_test): Likewise.
6623 (tgamma_test): Likewise.
6624
6625 2012-10-16 Florian Weimer <fweimer@redhat.com>
6626
6627 [BZ #14700]
6628 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6629 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6630
6631 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6632
6633 * NEWS: Mention BZ #14716.
6634 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6635 when removing AVAILABLE1_USES_J macro.
6636
6637 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6638
6639 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6640 (__bswap_64): __uint64_t for unsigned 64-bit int.
6641
6642 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6643
6644 * include/string.h (memmem): Declare libc hidden alias.
6645 * string/memmem.c (memmem): Define libc hidden alias.
6646 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6647 __read, __close instead of open, read, close.
6648
6649 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6650
6651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6652 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6653 global and hidden.
6654 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6655 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6656 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6657 Likewise.
6658 (__rawmemchr_sse2): Likewise.
6659 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6660 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6661 (__strchr_sse2): Likewise.
6662 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6663 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6664 (__strcasecmp_sse2): Likewise.
6665 (__strncasecmp_sse2): Likewise.
6666 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6667 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6668 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6669 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6670 (__strrchr_sse2): Likewise.
6671 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6672 ifunc-impl-list.c.
6673 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6674 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6675 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6676 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6677 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6678 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6679 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6680 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6681 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6682 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6683 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6684 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6685 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6686 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6687 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6688 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6689 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6690 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6691 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6692 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6693 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6694 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6695 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6696 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6697 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6698 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6699 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6700 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6701 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6702 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6703
6704 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6705 global and hidden.
6706 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6707 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6708 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6709 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6710 Likewise.
6711 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6712 Likewise.
6713 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6714 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6715 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6716 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6717 ifunc-impl-list.c.
6718 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6719 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6720 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6721 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6722 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6723 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6724 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6725 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6726 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6727 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6728 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6729 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6730 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6731 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6732 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6733 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6734 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6735 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6736 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6737 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6738 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6739 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6740 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6741 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6742 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6743 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6744 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6745 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6746 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6747 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6748 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6749 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6750 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6751 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6752 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6753 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6754 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6755 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6756 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6757 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6758 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6759
6760 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6761 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6762 * include/ifunc-impl-list.h: New file.
6763 * misc/ifunc-impl-list.c: Likewise.
6764 * misc/Makefile (routines): Add ifunc-impl-list.
6765 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6766 * string/test-string.h: Include <ifunc-impl-list.h>.
6767 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6768 impl_array): New variables.
6769 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6770 are defined.
6771 (test_init): Call __libc_ifunc_impl_list to initialize
6772 func_list if TEST_IFUNC and TEST_NAME are defined.
6773
6774 * string/Makefile (strop-tests): Add bcopy and bzero.
6775 * string/test-bcopy.c: New file.
6776 * string/test-bzero.c: Likewise.
6777 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6778 defined.
6779 * string/test-memset.c: Support bzero test if TEST_BZERO is
6780 defined.
6781 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6782 __libc_memmove.
6783 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6784 __libc_memset.
6785 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6786 of memset.
6787
6788 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6789
6790 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6791 * configure: Regenerated.
6792
6793 * Makeconfig (+link-static-before-libc): Don't include
6794 $(link-static-libc).
6795
6796 * libio/libio.h (_IO_pos_t): Remove.
6797
6798 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6799
6800 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6801 McGrath.
6802
6803 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6804
6805 * crypt/crypt-entry.c: Include fips-private.h.
6806 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6807 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6808 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6809 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6810
6811 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6812
6813 * crypt/crypt-private.h: Include stdbool.h.
6814 (_ufc_setup_salt_r): Return bool.
6815 * crypt/crypt-entry.c: Include errno.h.
6816 (__crypt_r): Return NULL with EINVAL for bad salt.
6817 * crypt/crypt_util.c (bad_for_salt): New.
6818 (_ufc_setup_salt_r): Check that salt is long enough and within
6819 the specified alphabet.
6820 * crypt/badsalttest.c: New file.
6821 * crypt/Makefile (tests): Add it.
6822 ($(objpfx)badsalttest): New.
6823
6824 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6825
6826 * NEWS: Add entry for BZ #14602.
6827
6828 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6829
6830 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6831 type-generic.
6832 * math/libm-test.inc: Update comment listing what functions and
6833 macros are tested.
6834 (isgreater_test): New function.
6835 (isgreaterequal_test): Likewise.
6836 (isless_test): Likewise.
6837 (islessequal_test): Likewise.
6838 (islessgreater_test): Likewise.
6839 (isunordered_test): Likewise.
6840 (main): Call the new functions.
6841
6842 2012-10-09 Roland McGrath <roland@hack.frob.com>
6843
6844 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6845 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6846 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6847 * sysdeps/i386/configure: Regenerated.
6848 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6849 * sysdeps/mach/configure: Regenerated.
6850 * sysdeps/mach/hurd/configure: Regenerated.
6851 * sysdeps/powerpc/configure: Regenerated.
6852 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6853 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6854 * sysdeps/s390/s390-32/configure: Regenerated.
6855 * sysdeps/s390/s390-64/configure: Regenerated.
6856 * sysdeps/sh/configure: Regenerated.
6857 * sysdeps/sparc/configure: Regenerated.
6858 * sysdeps/unix/sysv/linux/configure: Regenerated.
6859 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6860 * sysdeps/x86_64/configure: Regenerated.
6861
6862 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6863 defined. Don't check if MAP is NULL.
6864
6865 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6866
6867 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6868 (_G_stat64): Likewise.
6869 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6870 (_G_stat64): Likewise.
6871 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6872 instead of struct _G_stat64.
6873 * libio/fileops.c (mmap_remap_check): Likewise.
6874 (decide_maybe_mmap): Likewise.
6875 (_IO_new_file_seekoff): Likewise.
6876 (_IO_file_stat): Likewise.
6877 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6878 _G_off64_t.
6879 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6880 instead of struct _G_stat64.
6881 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6882
6883 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6884
6885 [BZ #14602]
6886 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6887 Replace with ...
6888 (CHECK_EOL): New macro.
6889 (two_way_short_needle): Check beginning of haystack for EOL. Use
6890 CHECK_EOL.
6891 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6892 Replace with CHECK_EOL.
6893 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6894 Replace with CHECK_EOL.
6895
6896 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6897
6898 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6899 type-generic.
6900 * math/libm-test.inc: Update comment listing what functions and
6901 macros are tested.
6902 (finite_test): New function.
6903 (isinf_test): Likewise.
6904 (isnan_test): Likewise.
6905 (fpclassify_test): Test subnormal input.
6906 (isfinite_test): Likewise.
6907 (isnormal_test): Likewise.
6908 (main): Call the new functions.
6909
6910 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6911
6912 [BZ #14660]
6913 * Makerules (%.dynsym): Force C locale when running
6914 $(OBJDUMP) --dynamic-syms.
6915
6916 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6917
6918 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6919 <stdint.h>.
6920
6921 2012-10-06 David S. Miller <davem@davemloft.net>
6922
6923 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6924 upper 32-bits of the length value in %o2 since we use branch-on-register
6925 tests which consider the entire 64-bit register.
6926
6927 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6928
6929 * string/test-strstr.c (check2): Add a test for page boundary.
6930
6931 2012-10-05 David S. Miller <davem@davemloft.net>
6932
6933 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6934 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6935 file.
6936 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6937 sysdep_routines.
6938 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6939 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6940 and bzero when HWCAP_SPARC_CRYPTO is present.
6941
6942 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6943
6944 [BZ #14602]
6945 * string/test-strstr.c (check2): New function.
6946 (test_main): Call check2.
6947
6948 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6949 and bug-strchr1.
6950 * string/bug-strcasestr1.c (do_test): Moved to ...
6951 * string/test-strcasestr.c (check1): Here. New function.
6952 (do_one_test): Break out result checking code into ...
6953 (check_result): This. New function.
6954 (do_one_test): Call check_result.
6955 (test_main): Call check1.
6956 * string/bug-strchr1.c (do_test): Moved to ...
6957 * string/test-strchr.c (check1): Here. New function.
6958 (do_one_test): Break out result checking code into ...
6959 (check_result): This. New function.
6960 (do_one_test): Call check_result.
6961 (test_main): Call check1.
6962 * string/bug-strstr1.c (main): Moved to ...
6963 * string/test-strstr.c (check1): Here. New function.
6964 (do_one_test): Break out result checking code into ...
6965 (check_result): This. New function.
6966 (do_one_test): Call check_result.
6967 (test_main): Call check1.
6968 * string/bug-strcasestr1.c: Removed.
6969 * string/bug-strchr1.c: Likewise.
6970 * string/bug-strstr1.c: Likewise.
6971
6972 * elf/Makefile (dl-routines): Add hwcaps.
6973 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6974 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6975 (_dl_important_hwcaps): Moved to ...
6976 * elf/dl-hwcaps.c: Here. New file.
6977 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6978
6979 [BZ #14557]
6980 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6981 if IS_IN_rtld isn't defined.
6982
6983 * elf/dl-support.c (_dl_sysinfo_map): New.
6984 Include "get-dynamic-info.h" and "setup-vdso.h".
6985 (_dl_non_dynamic_init): Call setup_vdso.
6986 * elf/dynamic-link.h: Don't include <assert.h>.
6987 (elf_get_dynamic_info): Moved to ...
6988 * elf/get-dynamic-info.h: Here. New file.
6989 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6990 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6991 * elf/setup-vdso.h: Here. New file.
6992 * elf/rtld.c: Include "setup-vdso.h".
6993 (dl_main): Call setup_vdso.
6994
6995 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6996
6997 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6998 creal in comment listing functions tested. List finite, isinf,
6999 isnan, isless, islessequal, isgreater, isgreaterequal,
7000 islessgreater, isunordered, lgamma_r and pow10 as functions and
7001 macros not tested. Mention which functions not tested are aliases
7002 for other functions. Fix typo. Note that signs of NaNs are not
7003 tested.
7004
7005 * scripts/config.guess: Update from config.git.
7006 * scripts/config.sub: Likewise.
7007
7008 2012-10-04 Roland McGrath <roland@hack.frob.com>
7009
7010 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7011 * misc/madvise.c (madvise): Renamed to __madvise.
7012 Make madvise a weak alias.
7013 * include/sys/mman.h: Declare __madvise.
7014 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7015 * sysdeps/unix/syscalls.list
7016 (madvise): Make __madvise the strong name, and madvise a weak alias.
7017 * sysdeps/unix/sysv/linux/syscalls.list
7018 (madvise, mmap): Remove redundant entries.
7019 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7020 * malloc/malloc.c (mtrim): Likewise.
7021 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7022
7023 2012-10-03 Roland McGrath <roland@hack.frob.com>
7024
7025 * sysdeps/mach/hurd/dl-cache.c: File removed.
7026 * config.h.in (USE_LDCONFIG): New #undef.
7027 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7028 * configure: Regenerated.
7029 * elf/Makefile (dl-routines): Add dl-cache only under
7030 [$(use-ldconfig) = yes].
7031 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7032 cache on [USE_LDCONFIG].
7033 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7034 [USE_LDCONFIG].
7035 * elf/rtld.c (dl_main): Likewise.
7036
7037 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7038
7039 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7040 _SC_LEVEL4_CACHE_LINESIZE.
7041
7042 2012-10-03 Roland McGrath <roland@hack.frob.com>
7043
7044 * sysdeps/unix/bsd/confstr.h: File removed.
7045
7046 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7047
7048 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7049 sys/sdt-config.h.
7050
7051 2012-10-02 Roland McGrath <roland@hack.frob.com>
7052
7053 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7054 Make 'mapoff' field ElfW(Off) rather than off_t.
7055
7056 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7057
7058 * nscd/Makefile: Remove nscd-cflags and all its users.
7059 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7060 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7061
7062 [BZ #10631]
7063 * malloc.c (malloc_printerr): Clarify error message.
7064
7065 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7066
7067 [BZ #14648]
7068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7069 Set bit_FMA_Usable if FMA is supported.
7070 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7071 macro.
7072 (bit_FMA4_Usable): Updated.
7073 (index_FMA_Usable): New macro.
7074 (CPUID_FMA): Likewise
7075 (HAS_FMA): Defined with bit_FMA_Usable.
7076
7077 2012-10-01 Roland McGrath <roland@hack.frob.com>
7078
7079 * bits/types.h (__swblk_t): Type removed.
7080 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7081 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7082 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7083 (__SWBLK_T_TYPE): Likewise.
7084 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7085 (__SWBLK_T_TYPE): Likewise.
7086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7087 (__SWBLK_T_TYPE): Likewise.
7088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7089 (__SWBLK_T_TYPE): Likewise.
7090
7091 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7092 Honza Horak <hhorak@redhat.com>
7093
7094 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7095 (xdr_mapname): Use YPMAXMAP as maxsize.
7096 (xdr_peername): Use YPMAXPEER as maxsize.
7097 (xdr_keydat): Use YPAXRECORD as maxsize.
7098 (xdr_valdat): Use YPMAXRECORD as maxsize.
7099
7100 2012-10-01 Roland McGrath <roland@hack.frob.com>
7101
7102 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7103
7104 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7105 * csu/init-first.c: ... here.
7106 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7107 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7108 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7109 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7110 * sysdeps/i386/init-first.c: File removed.
7111 * sysdeps/sh/init-first.c: File removed.
7112
7113 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7114
7115 [BZ #14645]
7116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7117 if x * y might underflow to zero and z is zero.
7118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7120 * math/libm-test.inc (min_subnorm_value): New variable.
7121 (fma_test): Add more tests.
7122 (fma_test_towardzero): Likewise.
7123 (fma_test_downward): Likewise
7124 (fma_test_upward): Likewise.
7125 (initialize): Set min_subnorm_value.
7126
7127 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7128
7129 [BZ #14638]
7130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7131 0 + 0.
7132 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7133 mode for addition resulting in exact zero.
7134 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7136 exact 0 + 0.
7137 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7139 * math/libm-test.inc (fma_test): Add more tests.
7140 (fma_test_towardzero): New function.
7141 (fma_test_downward): Likewise.
7142 (fma_test_upward): Likewise.
7143 (main): Call the new functions.
7144
7145 2012-09-28 David S. Miller <davem@davemloft.net>
7146
7147 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7148
7149 2012-09-28 Roland McGrath <roland@hack.frob.com>
7150
7151 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7152 instead of SIGALRM.
7153
7154 * sysdeps/gnu/_G_config.h: Moved to ...
7155 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7156 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7157 * sysdeps/generic/_G_config.h: ... here.
7158
7159 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7160
7161 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7162
7163 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7164 Conditionalize target on [libnss_test1.so-version].
7165
7166 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7167
7168 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7169 (elfobjdir): Move out of conditionals.
7170
7171 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7172 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7173 (__nss_lookup_function): Conditionalize label remove_from_tree on
7174 [!DO_STATIC_NSS || SHARED], matching its only use.
7175
7176 2012-09-28 David S. Miller <davem@davemloft.net>
7177
7178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7179 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7180 file.
7181 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7182 sysdep_routines.
7183 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7184 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7185 when HWCAP_SPARC_CRYPTO is present.
7186
7187 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7188
7189 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7190
7191 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7192
7193 [BZ #6530]
7194 * stdio-common/vfprintf.c (process_string_arg): Revert
7195 2000-07-22 change.
7196
7197 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7198
7199 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7200 for testcase.
7201 * stdio-common/tst-sprintf.c: Include <locale.h>
7202 (main): Test sprintf's handling of incomplete multibyte
7203 characters.
7204
7205 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7206
7207 * elf/dl-runtime.c (VERSYMIDX): Removed.
7208 * elf/dl-version.c (VERSYMIDX): Likewise.
7209 * elf/do-rel.h (VERSYMIDX): Likewise.
7210 (VALIDX): Likewise.
7211 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7212 * elf/rtld.c (VALIDX): Likewise.
7213 (ADDRIDX): Likewise.
7214 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7215 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7216 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7217 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7218 (VALIDX): Likewise.
7219 (ADDRIDX): Likewise.
7220
7221 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7222
7223 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7224
7225 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7226
7227 [BZ #11438]
7228 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7229 to global scope.
7230 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7231 addresses are in the same scope as 192.0.2/24.
7232 * posix/gai.conf: Document new scope table defaults.
7233
7234 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7235
7236 [BZ #5298]
7237 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7238 for ftell. Compute offsets from write pointers instead.
7239 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7240
7241 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7242
7243 [BZ #14543]
7244 * libio/Makefile (tests): New test case tst-fseek.
7245 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7246 combination works in wide mode.
7247 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7248 state when the external buffer state changes.
7249
7250 2012-09-27 David S. Miller <davem@davemloft.net>
7251
7252 [BZ #14376]
7253 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7254 pass reloc->r_addend in as the 'high' argument to
7255 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7256
7257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7258
7259 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7260
7261 * rt/tst-aio2.c: Include <pthread.h>.
7262 * rt/tst-aio3.c: Likewise.
7263
7264 2012-09-27 Steve Ellcey <sellcey@mips.com>
7265
7266 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7267
7268 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7269
7270 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7271 contents on [SHARED].
7272
7273 2012-09-26 Marek Polacek <polacek@redhat.com>
7274
7275 [BZ #14530]
7276 [BZ #13741]
7277 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7278 for C++ and GCC <4.3 as well as for non GCC compilers.
7279
7280 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7281
7282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7283
7284 2012-09-25 Roland McGrath <roland@hack.frob.com>
7285
7286 * Makefile.in (all, install): Declare with .PHONY.
7287 Reported by Michael Hope <michael.hope@linaro.org>.
7288
7289 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7290
7291 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7292 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7293 system header.
7294 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7295 Likewise.
7296 (sydep_routines): Add the new and the internal functions.
7297 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7298 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7300 (GLIBC_2.17): Add the new function.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7302 (GLIBC_2.17): Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7304 (GLIBC_2.17): Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7306 (GLIBC_2.17): Likewise.
7307 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7308
7309 2012-09-25 Alan Modra <amodra@gmail.com>
7310
7311 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7312 Add release barrier before setting once_control to say
7313 initialisation is done. Add hints on lwarx. Use macro in
7314 place of isync.
7315 (clear_once_control): Add release barrier.
7316
7317 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7318
7319 [BZ #13629]
7320 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7321 specially.
7322 * math/s_clog10.c (__clog10): Likewise.
7323 * math/s_clog10f.c (__clog10f): Likewise.
7324 * math/s_clog10l.c (__clog10l): Likewise.
7325 * math/s_clogf.c (__clogf): Likewise.
7326 * math/s_clogl.c (__clogl): Likewise.
7327 * math/Makefile (libm-calls): Add x2y2m1.
7328 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7329 (__x2y2m1): Likewise.
7330 (__x2y2m1l): Likewise.
7331 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7332 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7335 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7336 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7337 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7338 * sysdeps/i386/fpu/libm-test-ulps: Update.
7339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7340
7341 [BZ #14621]
7342 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7343 int as type of variable DEPTH.
7344 (glob): Use size_t instead of int as type of variables NEWCOUNT
7345 and OLD_PATHC.
7346
7347 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7348
7349 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7350 Add s_sincosf-sse2.
7351 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7352 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7353 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7354 macros for using routine as __sincosf_ia32.
7355 Use macro for function declaration and weak_alias.
7356 * sysdeps/i386/fpu/libm-test-ulps: Update.
7357
7358 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7360
7361 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7362 subnormal argument.
7363 * math/s_cexpf.c (__cexpf): Likewise.
7364 * math/s_csinf.c (__csinf): Likewise.
7365 * math/s_csinhf.c (__csinhf): Likewise.
7366 * math/s_ctanf.c (__ctanf): Likewise.
7367 * math/s_ctanhf.c (__ctanhf): Likewise.
7368 * math/s_ccosh.c (__ccoshf): Likewise.
7369 * math/s_cexp.c (__cexpl): Likewise.
7370 * math/s_csin.c (__csin): Likewise.
7371 * math/s_csinh.c (__csinh): Likewise.
7372 * math/s_ctan.c (__ctan): Likewise.
7373 * math/s_ctanh.c (ctanh): Likewise.
7374 * math/s_ccoshl.c (__ccoshl): Likewise.
7375 * math/s_cexpl.c (__cexpl): Likewise.
7376 * math/s_csinl.c (__csinl): Likewise.
7377 * math/s_csinhl.c (__csinhl): Likewise.
7378 * math/s_ctanl.c (__ctanl): Likewise.
7379 * math/s_ctanhl.c (__ctanhl): Likewise.
7380
7381 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7382
7383 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7384 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7385 (_IO_off_t): Define to __off_t, not _G_off_t.
7386 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7387 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7388 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7389 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7390 type of __dummy and __dummy2 fields.
7391 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7392 (_G_ssize_t): Likewise.
7393 (_G_off_t): Likewise.
7394 (_G_pid_t): Likewise.
7395 (_G_uid_t): Likewise.
7396 (_G_wchar_t): Likewise.
7397 (_G_wint_t): Likewise.
7398 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7399 (_G_ssize_t): Likewise.
7400 (_G_off_t): Likewise.
7401 (_G_pid_t): Likewise.
7402 (_G_uid_t): Likewise.
7403 (_G_wchar_t): Likewise.
7404 (_G_wint_t): Likewise.
7405 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7406 (_G_ssize_t): Likewise.
7407 (_G_off_t): Likewise.
7408 (_G_pid_t): Likewise.
7409 (_G_uid_t): Likewise.
7410 (_G_wchar_t): Likewise.
7411 (_G_wint_t): Likewise.
7412
7413 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7414
7415 * malloc/arena.c: Include malloc-sysdep.h.
7416 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7417 is sufficient to shrink the heap or an unmap is needed.
7418 * sysdeps/generic/malloc-sysdep.h: New file. Define
7419 new function check_may_shrink_heap.
7420 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7421 new function check_may_shrink_heap.
7422
7423 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7424
7425 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7426 comments.
7427
7428 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7429
7430 * catgets/test-gencat.sh: Add "set -e".
7431 * elf/tst-pathopt.sh: Likewise.
7432 * grp/tst_fgetgrent.sh: Likewise.
7433 * iconvdata/run-iconv-test.sh: Likewise.
7434 * intl/tst-gettext.sh: Likewise.
7435 * intl/tst-gettext2.sh: Likewise.
7436 * intl/tst-gettext4.sh: Likewise.
7437 * intl/tst-gettext6.sh: Likewise.
7438 * intl/tst-translit.sh: Likewise.
7439 * io/ftwtest-sh: Likewise.
7440 * libio/test-freopen.sh: Likewise.
7441 * malloc/tst-mtrace.sh: Likewise.
7442 * posix/globtest.sh: Likewise.
7443 * posix/tst-getconf.sh: Likewise.
7444 * posix/wordexp-tst.sh: Likewise.
7445 * stdio-common/tst-printf.sh: Likewise.
7446 * stdio-common/tst-unbputc.sh: Likewise.
7447 * stdlib/tst-fmtmsg.sh: Likewise.
7448 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7449 * catgets/Makefile: Do not specify -e option when running
7450 testsuite shell scripts.
7451 * elf/Makefile: Likewise.
7452 * grp/Makefile: Likewise.
7453 * iconvdata/Makefile: Likewise.
7454 * intl/Makefile: Likewise.
7455 * io/Makefile: Likewise.
7456 * libio/Makefile: Likewise.
7457 * malloc/Makefile: Likewise.
7458 * posix/Makefile: Likewise.
7459 * stdio-common/Makefile: Likewise.
7460 * stdlib/Makefile: Likewise.
7461 * sysdeps/x86_64/Makefile: Likewise.
7462
7463 * io/ftwtest-sh: Add copyright header.
7464 * posix/globtest.sh: Likewise.
7465 * posix/tst-getconf.sh: Likewise.
7466 * posix/wordexp-tst.sh: Likewise.
7467 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7468
7469 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7470
7471 [BZ #13679]
7472 * Makeconfig (+link): Defined as $(+link-static) if
7473 $(build-shared) isn't yes.
7474 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7475 isn't yes.
7476 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7477
7478 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7479
7480 [BZ #14562]
7481 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7482 new chunk size with MALLOC_ALIGN_MASK.
7483
7484 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7485
7486 [BZ #5044]
7487 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7488 <rounding-mode.h>.
7489 (__printf_fphex): Determine rounding using get_rounding_mode and
7490 round_away.
7491 * stdio-common/tst-printf-round.c (struct hex_test): New
7492 structure.
7493 (hex_tests): New variable.
7494 (test_hex_in_one_mode): New function.
7495 (do_test): Also run tests for hex float output.
7496
7497 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7498
7499 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7500 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7501 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7502 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7503 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7504 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7505 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7506 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7507
7508 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7509
7510 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7511 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7512 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7513 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7514
7515 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7516
7517 [BZ #14579]
7518 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7519 mode only.
7520 * elf/tst-rtld-load-self.sh: New test.
7521 * elf/Makefile: Run it.
7522
7523 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7524
7525 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7526 (tst-writev-ENV): Remove.
7527 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7528
7529 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7530
7531 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7532
7533 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7534
7535 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7536 unconditional.
7537 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7538 Likewise.
7539 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7540 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7541 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7542 Likewise.
7543
7544 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7545
7546 [BZ #14587]
7547 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7548 * config.make.in (have-cpp-asm-debuginfo): Removed.
7549 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7550 * configure: Regenerated.
7551
7552 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7553
7554 [BZ #5044]
7555 * stdio-common/printf_fp.c: Include <stdbool.h> and
7556 <rounding-mode.h>.
7557 (___printf_fp): Determine rounding using get_rounding_mode and
7558 round_away.
7559 * stdio-common/tst-printf-round.c: New file.
7560 * stdio-common/Makefile (tests): Add tst-printf-round.
7561 (link-libm): New variable.
7562 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7563
7564 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7565
7566 [BZ #14576]
7567 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7568 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7569 Likewise.
7570 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7571 Likewise.
7572
7573 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7574
7575 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7576 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7577 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7578 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7579
7580 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7581
7582 [BZ #14518]
7583 * include/rounding-mode.h: New file.
7584 * sysdeps/generic/get-rounding-mode.h: Likewise.
7585 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7586 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7587 (MAX_VALUE): New macro.
7588 (MIN_VALUE): Likewise.
7589 (overflow_value): New function.
7590 (underflow_value): Likewise.
7591 (round_and_return): Use overflow_value and underflow_value to
7592 determine return values in overflow and underflow cases. Use
7593 round_away to determine rounding depending on rounding mode.
7594 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7595 determine return values in overflow and underflow cases.
7596 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7597 (struct test_results): New structure.
7598 (struct test): Use struct test_results to store expected results
7599 for all rounding modes.
7600 (TEST): Include expected results for all rounding modes.
7601 (test_in_one_mode): New function.
7602 (do_test): Use test_in_one_mode to compute and check results.
7603 Check results for all rounding modes.
7604 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7605 $(link-libm).
7606
7607 2012-12-09 Allan McRae <allan@archlinux.org>
7608
7609 * sysdeps/i386/fpu/libm-test-ulps: Update
7610
7611 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7612
7613 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7614 (_G_int32_t): Likewise.
7615 (_G_uint16_t): Likewise.
7616 (_G_uint32_t): Likewise.
7617 (_G_HAVE_BOOL): Likewise.
7618 (_G_HAVE_ATEXIT): Likewise.
7619 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7620 (_G_HAVE_IO_FILE_OPEN): Likewise.
7621 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7622 (_G_int32_t): Likewise.
7623 (_G_uint16_t): Likewise.
7624 (_G_uint32_t): Likewise.
7625 (_G_HAVE_BOOL): Likewise.
7626 (_G_HAVE_ATEXIT): Likewise.
7627 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7628 (_G_HAVE_IO_FILE_OPEN): Likewise.
7629 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7630 (_G_int32_t): Likewise.
7631 (_G_uint16_t): Likewise.
7632 (_G_uint32_t): Likewise.
7633 (_G_HAVE_BOOL): Likewise.
7634 (_G_HAVE_ATEXIT): Likewise.
7635 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7636 (_G_HAVE_IO_FILE_OPEN): Likewise.
7637
7638 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7639
7640 * csu/libc-tls.c: Update copyright years.
7641
7642 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7643
7644 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7645 [!_G_USING_THUNKS]: Remove conditional code.
7646 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7647 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7648
7649 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7650 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7651 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7652 (_G_VTABLE_LABEL_PREFIX): Likewise.
7653 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7654 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7655 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7656 (_G_VTABLE_LABEL_PREFIX): Likewise.
7657 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7658 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7659 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7660 (_G_VTABLE_LABEL_PREFIX): Likewise.
7661 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7662
7663 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7664
7665 * libio/Makefile: Include ../Makeconfig before tests.
7666 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7667 only if $(build-shared) is yes.
7668
7669 * iconv/gconv_db.c: Update copyright years.
7670
7671 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7672
7673 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7674 unwind info if defined PIC. Fix special cases description.
7675 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7676
7677 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7678 DP_HI_MASK entry.
7679 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7680
7681 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7682
7683 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7684
7685 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7686 is NULL.
7687
7688 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7689 (LDLIBS-tst-chk4): This.
7690 (LDFLAGS-tst-chk5): Renamed to ...
7691 (LDLIBS-tst-chk5): This.
7692 (LDFLAGS-tst-chk6): Renamed to ...
7693 (LDLIBS-tst-chk6): This.
7694 (LDFLAGS-tst-lfschk4): Renamed to ...
7695 (LDLIBS-tst-lfschk4): This.
7696 (LDFLAGS-tst-lfschk5): Renamed to ...
7697 (LDLIBS-tst-lfschk5): This.
7698 (LDFLAGS-tst-lfschk6): Renamed to ...
7699 (LDLIBS-tst-lfschk6): This.
7700
7701 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7702 on $(common-objpfx)soversions.mk.
7703
7704 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7705
7706 [BZ #10014]
7707 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7708 example host name.
7709
7710 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7711
7712 * malloc/arena.c (arena_get_retry): New function that gets
7713 another arena for the caller to try its request on.
7714 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7715 current arena cannot fulfill the request.
7716 (__libc_memalign): Likewise.
7717 (__libc_memalign): Likewise.
7718 (__libc_pvalloc): Likewise.
7719 (__libc_calloc): Likewise.
7720
7721 2012-09-05 John Tobey <john.tobey@gmail.com>
7722
7723 [BZ #13542]
7724 * manual/arith.texi (Operations on Complex): Fix description
7725 of carg branch cut.
7726
7727 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7728
7729 [BZ #10014]
7730 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7731 host name.
7732
7733 [BZ #10038]
7734 * manual/memory.texi (Memory): Make order of menu items match
7735 order of sections.
7736
7737 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7738
7739 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7740 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7741 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7742
7743 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7744
7745 * csu/libc-tls.c (static_dtv): Renamed to ...
7746 (_dl_static_dtv): This. Make it global.
7747 (_dl_initial_dtv): Removed.
7748 (__libc_setup_tls): Updated.
7749 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7750 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7751 DL_INITIAL_DTV.
7752
7753 2012-09-06 Petr Machata <pmachata@redhat.com>
7754
7755 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7756 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7757 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7758 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7759
7760 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 [BZ #14545]
7763 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7764 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7765 freeing dtv[-1].
7766
7767 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7768
7769 [BZ #14544]
7770 * Makeconfig (link-static-before-libc): Replace $(+prector)
7771 with $(+prectorT).
7772 (link-static-after-libc): Replace $(+postctor) with
7773 $(+postctorT).
7774 (link-bounded): Replace $(+prector)/$(+postctor) with
7775 $(+prectorT)/$(+postctorT).
7776 (+prectorT): New macro.
7777 (+postctorT): Likewise.
7778
7779 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7780
7781 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7782 (round_str): Handle values above the maximum for IBM long double
7783 as inexact.
7784 * stdlib/tst-strtod-round.c (tests): Regenerated.
7785
7786 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7787
7788 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7789 assembler flag.
7790 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7791 zarch_nohighgprs around the zarch optimized routines.
7792 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7793 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7794 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7795 for zarch.
7796
7797 2012-09-05 David S. Miller <davem@davemloft.net>
7798
7799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7800
7801 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7802 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7803 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7804 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7805 entries.
7806
7807 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7808
7809 * malloc/arena.c: Fold copyright years.
7810 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7811
7812 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7813
7814 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7815
7816 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7817
7818 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7819
7820 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7821
7822 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7823 change internal state upon failure.
7824
7825 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7826
7827 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7828 * malloc/memusage.c (mmap): Likewise.
7829 (mmap64, mremap): Likewise. Adjust name in comment.
7830
7831 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7832
7833 * libio/fileops.c: Fix typos in comments.
7834 * libio/oldfileops.c: Likewise.
7835 * libio/wfileops.c: Likewise.
7836
7837 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7838
7839 [BZ #1349]
7840 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7841 (tst-malloc-usable-ENV): Set environment for test case.
7842 * malloc/hooks.c (malloc_check_get_size): New function to get
7843 requested size.
7844 * malloc/malloc.c (musable): Use malloc_check_get_size.
7845 * malloc/tst-malloc-usable.c: New test case.
7846
7847 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7848
7849 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7850
7851 2012-09-05 Allan McRae <allan@archlinux.org>
7852
7853 [BZ #13966]
7854 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7855 determine header location.
7856 * configure: Regenerated.
7857
7858 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7859
7860 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7861 float format.
7862 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7863 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7864 format.
7865 (test): Regenerate.
7866
7867 2012-09-04 David S. Miller <davem@davemloft.net>
7868
7869 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7870 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7871 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7872
7873 2012-09-04 Florian Weimer <fweimer@redhat.com>
7874
7875 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7876 failures.
7877
7878 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7879
7880 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7881
7882 [BZ #9914]
7883 * libio/iogetdelim.c: Include <limits.h>.
7884 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7885 + len + 1 would overflow.
7886
7887 2012-09-03 Andreas Jaeger <aj@suse.de>
7888
7889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7890 * sysdeps/i386/fpu/libm-test-ulps: Update.
7891
7892 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7893
7894 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7895 Add s_sinf-sse2, s_conf-sse2.
7896
7897 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7898 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7899 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7900 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7901
7902 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7903 for using routine as __sinf_ia32.
7904 Use macro for function declaration and weak_alias.
7905 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7906 for using routine as __cosf_ia32.
7907 Use macro for function declaration and weak_alias.
7908
7909 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7910 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7911
7912 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7913 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7915
7916 * math/libm-test.inc (cos_test): Add more test cases.
7917 (sin_test): Likewise.
7918 (sincos_test): Likewise.
7919
7920 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7921
7922 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7923 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7924 hidden.
7925 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7926
7927 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7928
7929 [BZ #14538]
7930 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7931 first element of the GOT.
7932 (elf_machine_load_address): Return the difference between
7933 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7934
7935 2012-09-01 Allan McRae <allan@archlinux.org>
7936
7937 [BZ #13412]
7938 * configure.in (AWK): Require gawk version 3.0 or later.
7939 * configure: Regenerated.
7940
7941 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7942
7943 * sysdeps/unix/sysv/linux/kernel-features.h
7944 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7945 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7946 [__NR_clock_getres]: Make code unconditional.
7947 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7948 (clock_getcpuclockid): Remove code left unreachable by removal of
7949 conditionals.
7950 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7951 code unconditional.
7952 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7953 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7954 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7955 Make code unconditional.
7956 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7957 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7958 * sysdeps/unix/sysv/linux/clock_settime.c
7959 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7960 conditional code.
7961 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7962 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7963
7964 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7965
7966 [BZ #14476]
7967 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7968 scripts/test-installation.pl.
7969
7970 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7971 and $ld_so_version if it is set.
7972
7973 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7974
7975 [BZ #14516]
7976 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7977 failure if reading from procfs failed.
7978 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7979
7980 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7981
7982 * sysdeps/unix/sysv/linux/kernel-features.h
7983 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7984 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7985 Remove conditional code.
7986 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7987 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7988 Remove conditional code.
7989 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7990 * sysdeps/unix/sysv/linux/i386/fxstat.c
7991 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7992 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7993 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7994 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7996 * sysdeps/unix/sysv/linux/i386/lxstat.c
7997 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7999 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8000 Remove conditional code.
8001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8002 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8003 Remove conditional code.
8004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8005 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8006 <kernel-features.h>.
8007 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8008 Remove.
8009 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8010 Remove conditional code.
8011 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8012 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8013 Remove conditional.
8014
8015 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8016
8017 [BZ #5400]
8018 * NEWS: Add fixed bug number.
8019
8020 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8021
8022 [BZ #14519]
8023 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8024 underflowing exponent in case of negative sign.
8025 * stdlib/tst-strtod-round-data: Add more tests.
8026 * stdlib/tst-strtod-round.c (tests): Regenerated.
8027
8028 [BZ #3479]
8029 * stdlib/strtod_l.c (NDIG): Remove.
8030 (HEXNDIG): Likewise.
8031 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8032 smallest representable value.
8033 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8034 lie within an exact representation of 1/2 ulp of the result.
8035 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8036 unconditionally.
8037 (TENS_P9_IDX): Define unconditionally.
8038 (TENS_P9_SIZE): Likewise.
8039 (TENS_P10_IDX): Likewise.
8040 (TENS_P10_SIZE): Likewise.
8041 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8042 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8043 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8044 entries for 10^2^13 and 10^2^14.
8045 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8046 (TENS_P13_IDX): Define.
8047 (TENS_P13_SIZE): Likewise.
8048 (TENS_P14_IDX): Likewise.
8049 (TENS_P14_SIZE): Likewise.
8050 (_fpioconst_pow10): Change array size to
8051 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8052 unconditional.
8053 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8054 1024]: Add entries for 10^2^13 and 10^2^14.
8055 [LAST_POW10 > _LAST_POW10]: Remove #error.
8056 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8057 (_fpioconst_pow10): Change array size to
8058 FPIOCONST_POW10_ARRAY_SIZE.
8059 * stdlib/gen-fpioconst.c: New file.
8060 * stdlib/gen-tst-strtod-round.c: Likewise.
8061 * stdlib/tst-strtod-round-data: Likewise.
8062 * stdlib/tst-strtod-round.c: Likewise.
8063 * stdlib/Makefile (tests): Add tst-strtod-round.
8064
8065 [BZ #14459]
8066 * stdlib/strtod_l.c: Include <stdint.h>.
8067 (NDEBUG): Do not define.
8068 (round_and_return): Change EXPONENT parameter to type intmax_t.
8069 Rearrange calculations to avoid internal overflow possibilities.
8070 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8071 Rearrange calculations to avoid internal overflow possibilities.
8072 Assert that number fits inside MPNSIZE limbs.
8073 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8074 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8075 calculations and add assertions to avoid internal overflow
8076 possibilities. Add casts to avoid signed/unsigned operations.
8077 * stdlib/tst-strtod-overflow.c: New file.
8078 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8079
8080 2012-08-25 Marek Polacek <polacek@redhat.com>
8081
8082 * time/time.h: Fix some typos in comments.
8083
8084 2012-08-23 Roland McGrath <roland@hack.frob.com>
8085
8086 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8087 * posix/tst-rfc3484-2.c: Likewise.
8088 * posix/tst-rfc3484-3.c: Likewise.
8089
8090 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8091
8092 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8093 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8094
8095 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8096
8097 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8098 #include of fxstatat64.c.
8099
8100 2012-08-22 Roland McGrath <roland@hack.frob.com>
8101
8102 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8103 * shadow/getspent_r.c: Likewise.
8104 * shadow/getspnam.c: Likewise.
8105 * shadow/getspnam_r.c: Likewise.
8106 * gshadow/getsgent.c: Likewise.
8107 * gshadow/getsgent_r.c: Likewise.
8108 * gshadow/getsgnam.c: Likewise.
8109 * gshadow/getsgnam_r.c: Likewise.
8110 * inet/getnetbyad.c: Likewise.
8111 * inet/getnetbyad_r.c: Likewise.
8112 * inet/getnetbynm.c: Likewise.
8113 * inet/getnetbynm_r.c: Likewise.
8114 * inet/getnetent.c: Likewise.
8115 * inet/getnetent_r.c: Likewise.
8116 * inet/getproto.c: Likewise.
8117 * inet/getproto_r.c: Likewise.
8118 * inet/getprtent.c: Likewise.
8119 * inet/getprtent_r.c: Likewise.
8120 * inet/getprtname.c: Likewise.
8121 * inet/getprtname_r.c: Likewise.
8122 * inet/getrpcbyname.c: Likewise.
8123 * inet/getrpcbyname_r.c: Likewise.
8124 * inet/getrpcbynumber.c: Likewise.
8125 * inet/getrpcbynumber_r.c: Likewise.
8126 * inet/getrpcent.c: Likewise.
8127 * inet/getrpcent_r.c: Likewise.
8128 * inet/getaliasent.c: Likewise.
8129 * inet/getaliasent_r.c: Likewise.
8130 * inet/getaliasname.c: Likewise.
8131 * inet/getaliasname_r.c: Likewise.
8132 * nscd/getgrgid_r.c: Likewise.
8133 * nscd/getgrnam_r.c: Likewise.
8134 * nscd/gethstbyad_r.c: Likewise.
8135 * nscd/gethstbynm3_r.c: Likewise.
8136 * nscd/getpwnam_r.c: Likewise.
8137 * nscd/getpwuid_r.c: Likewise.
8138 * nscd/getsrvbynm_r.c: Likewise.
8139 * nscd/getsrvbypt_r.c: Likewise.
8140 * nscd/gai.c: Likewise.
8141
8142 * configure.in (build_nscd): New substituted variable, set
8143 by --disable-build-nscd and defaults to $use_nscd.
8144 * configure: Regenerated.
8145 * config.make.in (build-nscd): New substituted variable.
8146 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8147 Change conditional to require [$(build-nscd) = yes] as well.
8148 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8149
8150 [BZ# 13696]
8151 * configure.in (use_nscd): New substituted variable, set by
8152 --disable-nscd. If enabled, define USE_NSCD.
8153 * configure: Regenerated.
8154 * config.h.in: Add USE_NSCD.
8155 * config.make.in (use-nscd): New substituted variable.
8156 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8157 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8158 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8159 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8160 (CFLAGS-getgrnam_r.c): Likewise.
8161 (CFLAGS-initgroups.c): Likewise.
8162 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8163 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8164 Variables removed.
8165 * inet/getnetgrent_r.c
8166 (nscd_setnetgrent): New function, broken out of ...
8167 (setnetgrent): ... here. Call it.
8168 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8169 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8170 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8171 * nscd/Makefile (routines, aux): Move definitions after include of
8172 Makeconfig. Conditionalize on [$(use-nscd) != no].
8173 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8174 Conditionalize on [USE_NSCD].
8175 (is_nscd, nscd_init_cb): Likewise.
8176 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8177 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8178 * nss/nss_db/db-init.c: Likewise.
8179 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8180 [USE_NSCD].
8181 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8182 (make_request): Use it.
8183 (cache_valid_p): New function.
8184 (__check_pf): Use it.
8185 * NEWS: Add item for --disable-nscd.
8186
8187 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8188
8189 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8190 to support sed >= 4.2.1-20-ga9bf076.
8191 * configure: Regenerated.
8192
8193 2012-08-22 Roland McGrath <roland@hack.frob.com>
8194
8195 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8196 Conditionalize whole body on [IREL].
8197
8198 2012-08-22 Jeff Law <law@redhat.com>
8199
8200 [BZ #14505]
8201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8202 if the family is PF_UNSPEC.
8203
8204 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8205
8206 * Makerules (lib-version): Rename from V.
8207 (install-lib-nosubdir): Change V to lib-version.
8208
8209 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8210
8211 [BZ #14252]
8212 * powerpc32/power6/wcschr.c: New file.
8213 * powerpc32/power6/wcscpy.c: New file.
8214 * powerpc32/power6/wcsrchr.c: New file.
8215 * powerpc64/power6/wcschr.c: New file.
8216 * powerpc64/power6/wcscpy.c: New file.
8217 * powerpc64/power6/wcsrchr.c: New file.
8218
8219 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8220
8221 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8222 (two_way_short_needle): Use it.
8223 * string/strstr.c (AVAILABLE1_USES_J): Define.
8224 * string/strcasestr.c: Likewise.
8225
8226 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8227 array references.
8228 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8229
8230 [BZ #11607]
8231 * NEWS: Add an entry.
8232 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8233 define their defaults.
8234 (two_way_short_needle): Detect end-of-string on-the-fly.
8235 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8236 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8237 * string/bug-strcasestr1.c: New test.
8238 * string/Makefile: Run it.
8239
8240 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8241
8242 [BZ #11607]
8243 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8244 the first character.
8245
8246 2012-08-21 Roland McGrath <roland@hack.frob.com>
8247
8248 * csu/elf-init.c (__libc_csu_irel): Function removed.
8249 * csu/libc-start.c (apply_irel): New function.
8250 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8251
8252 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8253
8254 * sysdeps/unix/sysv/linux/kernel-features.h
8255 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8256 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8257 <kernel-features.h>.
8258 [__NR_fadvise64_64]: Make code unconditional.
8259 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8260 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8261 !__NR_fadvise64_64)]: Likewise.
8262 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8263 !__NR_fadvise64_64))]: Likewise.
8264 [__NR_fadvise64]: Make code unconditional.
8265 [!__NR_fadvise64]: Remove conditional code.
8266 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8267 <kernel-features.h>.
8268 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8269 unconditional.
8270 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8271 conditional code.
8272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8273 not include <kernel-features.h>.
8274 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8275 unconditional.
8276 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8277 conditional code.
8278 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8279 include <kernel-features.h>.
8280 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8281 unconditional.
8282 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8283 conditional code.
8284
8285 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8286
8287 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8288 slight instruction rearrangements per scrollpipe analysis.
8289 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8290
8291 2012-08-20 Roland McGrath <roland@hack.frob.com>
8292
8293 * manual/syslog.texi (syslog; vsyslog, closelog):
8294 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8295 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8296
8297 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8298 DSOCAPS to match condition on defining it.
8299
8300 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8301
8302 * sysdeps/unix/sysv/linux/kernel-features.h
8303 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8305 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8306 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8308 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8309 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8311 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8312 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8313
8314 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8315 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8316
8317 * sysdeps/unix/sysv/linux/kernel-features.h
8318 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8319 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8320 unconditional.
8321 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8322 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8323 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8324 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8325 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8326 Make code unconditional.
8327 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8328 (__mmap64) [!__NR_mmap2]: Likewise.
8329 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8330 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8331 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8332 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8333 [__NR_mmap2]: Make code unconditional.
8334 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8335 (__mmap64) [!__NR_mmap2]: Likewise.
8336
8337 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8338
8339 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8340
8341 2012-08-18 Andreas Jaeger <aj@suse.de>
8342
8343 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8344
8345 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8346
8347 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8348 * include/unistd.h (__have_sock_cloexec): Likewise.
8349 (__have_pipe2): Likewise.
8350 (__have_dup3): Likewise.
8351
8352 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8353
8354 [BZ #9685]
8355 * include/unistd.h (__have_pipe2): Change define into an extern int.
8356 (__have_dup3): Likewise.
8357 * socket/have_sock_cloexec.c: Include fcntl.h.
8358 (__have_pipe2): New variable.
8359 (__have_dup3): Likewise.
8360
8361 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8362
8363 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8364
8365 2012-08-17 Marek Polacek <polacek@redhat.com>
8366
8367 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8368 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8369
8370 2012-08-17 Roland McGrath <roland@hack.frob.com>
8371
8372 * configure.in: Add AC_SUBST for sysheaders.
8373 * configure: Regenerated.
8374 * config.make.in (sysheaders): New substituted variable.
8375
8376 * sysdeps/unix/mkfifo.c: Moved ...
8377 * sysdeps/posix/mkfifo.c: ... here.
8378 * sysdeps/unix/mkfifoat.c: Moved ...
8379 * sysdeps/posix/mkfifoat.c: ... here.
8380
8381 * sysdeps/unix/utime.c: Moved ...
8382 * sysdeps/posix/utime.c: ... here.
8383
8384 * sysdeps/unix/time.c: Moved ...
8385 * sysdeps/posix/time.c: ... here.
8386 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8387 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8388
8389 * sysdeps/unix/nice.c: Moved ...
8390 * sysdeps/posix/nice.c: ... here.
8391
8392 * sysdeps/unix/alarm.c: Moved ...
8393 * sysdeps/posix/alarm.c: ... here.
8394
8395 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8396
8397 2012-08-17 Jeff Law <law@redhat.com>
8398
8399 * intl/Makefile (codeset_mo): New variable.
8400 ($(codeset_mo)): New target.
8401 (tst-codeset.out): Depend on that. Remove explicit rule.
8402 (tst-gettext3.out, tst-gettext5.out): Likewise.
8403 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8404 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8405 * intl/tst-codeset.sh: Remove.
8406 * intl/tst-gettext3.sh: Likewise.
8407 * intl/tst-gettext5.sh: Likewise.
8408
8409 2012-08-17 Roland McGrath <roland@hack.frob.com>
8410
8411 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8412 * sysdeps/unix/syscalls.list: ... here.
8413
8414 * sysdeps/posix/getaddrinfo.c
8415 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8416 (gaiconf_init, gaiconf_reload): Use them.
8417 [!_STATBUF_ST_NSEC]
8418 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8419 Define using time_t rather than struct timespec.
8420
8421 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8422 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8423 Macros removed.
8424 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8425 [!NO_THREADS].
8426 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8427 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8428 Likewise.
8429
8430 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8431 __libc_cleanup_push argument.
8432
8433 * bits/param.h: New file.
8434 * misc/sys/param.h: New file.
8435 * include/sys/param.h: New file.
8436 * misc/Makefile (headers): Add bits/param.h.
8437 * sysdeps/generic/sys/param.h: File removed.
8438 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8439 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8440 * sysdeps/mach/hurd/bits/param.h: New file.
8441 * sysdeps/mach/hurd/sys/param.h: File removed.
8442
8443 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8444 last change.
8445
8446 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8447 [_IO_MTSAFE_IO].
8448 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8449 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8450 New macros.
8451
8452 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8453 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8454 rather than -D_IO_MTSAFE_IO conditionally.
8455 * stdio-common/Makefile (CPPFLAGS): Likewise.
8456 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8457 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8458 Use $(libio-mtsafe).
8459 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8460 of -D_IO_MTSAFE_IO.
8461 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8462 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8463 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8464 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8465 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8466 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8467 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8468 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8469 (CFLAGS-fread_u_chk.c): Likewise.
8470 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8471 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8472 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8473 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8474 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8475 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8476 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8477 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8478 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8479
8480 * libio/Makefile: Test [$(libc-reentrant) = yes]
8481 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8482
8483 * Makeconfig
8484 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8485 * sysdeps/pthread/configure: File removed.
8486 * sysdeps/pthread/Makeconfig: New file.
8487 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8488 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8489
8490 2012-08-16 Gary Benson <gbenson@redhat.com>
8491
8492 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8493 unmapping the first object in a namespace.
8494
8495 2012-08-16 Roland McGrath <roland@hack.frob.com>
8496
8497 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8498 (__internal_setnetgrent): ... this. Add internal_function to
8499 definition. Add libc_hidden_def.
8500 (setnetgrent): Update caller.
8501 (internal_endnetgrent): Renamed to ...
8502 (__internal_endnetgrent): ... this. Add internal_function to
8503 definition. Add libc_hidden_def.
8504 (endnetgrent): Update caller.
8505 (internal_getnetgrent_r): Renamed to ...
8506 (__internal_getnetgrent_r): ... this. Add internal_function to
8507 definition. Add libc_hidden_def.
8508 (__getnetgrent_r): Update caller.
8509 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8510
8511 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8512
8513 * stdlib/longlong.h: Update from GCC.
8514
8515 2012-08-16 Roland McGrath <roland@hack.frob.com>
8516
8517 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8518 on _QL, which is set by umul_ppmm but never used.
8519 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8520 variables, which are set by GMP macros but never used.
8521 * stdio-common/_itowa.c (_itowa): Likewise.
8522 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8523 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8524
8525 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8526
8527 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8528 struct La_sh_regs is not constant.
8529 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8530 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8531 and struct La_sparc64_regs are not constant.
8532
8533 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8534
8535 * sysdeps/unix/sysv/linux/kernel-features.h
8536 (__ASSUME_POSIX_TIMERS): Remove.
8537 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8538 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8539 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8540 Make code unconditional.
8541 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8542 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8543 Make code unconditional.
8544 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8545 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8546 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8548 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8549 Make code unconditional.
8550 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8551 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8552 (__libc_missing_posix_timers): Remove.
8553
8554 2012-08-15 Roland McGrath <roland@hack.frob.com>
8555
8556 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8557 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8558
8559 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8560
8561 * elf/dl-sym.c: Include <stdlib.h>.
8562
8563 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8564 constants, which avoids warnings in 32-bit builds.
8565
8566 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8567 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8568
8569 * misc/lseek.c: File moved to ...
8570 * io/lseek.c: ... here.
8571
8572 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8573
8574 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8575 shifting LEN more than 31 bits at once.
8576
8577 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8578
8579 [BZ #14195]
8580 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8581 segmentation fault for a case of two empty input strings.
8582 * string/test-strncasecmp.c (check1): Renamed to...
8583 (bz12205): ...this.
8584 (bz14195): Add new testcase for two empty input strings and N > 0.
8585 (test_main): Call new testcase, adapt for renamed function.
8586
8587 2012-08-15 Andreas Jaeger <aj@suse.de>
8588
8589 [BZ #14090]
8590 * crypt/md5test2.c: New test, based on test supplied by Serge
8591 Belyshev <belyshev@depni.sinp.msu.ru>.
8592 * crypt/Makefile (xtests): Add md5test-giant..
8593 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8594
8595 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8596
8597 [BZ #14090]
8598 * crypt/md5.c (md5_process_block): Don't assume the buffer
8599 length is less than 2**32.
8600 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8601 length is less than 2**64.
8602
8603 2012-08-15 Roland McGrath <roland@hack.frob.com>
8604
8605 * string/str-two-way.h: Include <sys/param.h>.
8606 (MAX): Macro removed.
8607
8608 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8609 Move #define and #undef of memmove to just before and after
8610 including <string.h>.
8611
8612 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8613 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8614 and after including <string.h>. Move declarations of
8615 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8616 to before #include "string/memmove.c".
8617
8618 * include/dirent.h: Declare __getdirentries.
8619
8620 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8621 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8622
8623 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8624
8625 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8626 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8627 * sysdeps/i386/configure: Regenerated.
8628 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8629 STABS_CURRENT_FILE, and STABS_FUN.
8630 (END): Remove call to STABS_FUN_END.
8631 (STABS_CURRENT_FILE1): Delete.
8632 (STABS_CURRENT_FILE): Likewise.
8633 (STABS_FUN): Likewise.
8634 (STABS_FUN_END): Likewise.
8635 (STABS_FUN2): Likewise.
8636 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8637 * sysdeps/x86_64/configure: Regenerated.
8638
8639 2012-08-14 Roland McGrath <roland@hack.frob.com>
8640
8641 * elf/dl-open.c: Include <atomic.h>.
8642 * elf/dl-lookup.c: Likewise.
8643
8644 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8645
8646 * sysdeps/unix/sysv/linux/kernel-features.h
8647 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8648 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8649 unconditionally.
8650 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8651 unconditionally.
8652 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8653 condition on __ASSUME_CLONE_THREAD_FLAGS.
8654
8655 2012-08-14 Andreas Jaeger <aj@suse.de>
8656
8657 * sysdeps/i386/fpu/libm-test-ulps: Update.
8658
8659 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8660
8661 * include/atomic.h (atomic_exchange_and_add): Split into ...
8662 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8663 New atomic macros.
8664
8665 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8666
8667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8668
8669 2012-08-13 Jeff Law <law@redhat.com>
8670
8671 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8672 null byte in the output string.
8673
8674 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8675
8676 * sysdeps/unix/sysv/linux/kernel-features.h
8677 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8678 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8679 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8680 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8681 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8682 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8683 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8684
8685 2012-08-09 Jeff Law <law@redhat.com>
8686
8687 [BZ #13939]
8688 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8689 When avoid_arena is set, don't retry in the that arena. Pick the
8690 next one, whatever it might be.
8691 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8692 (arena_lock): Pass in new parameter to arena_get2.
8693 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8694 arena_get2.
8695 (__libc_malloc): Unify retrying after main arena failure with
8696 __libc_memalign version.
8697 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8698
8699 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8700
8701 [BZ #14166]
8702 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8703 to __redirect_strstr.
8704 (__strstr_sse42): Use typeof __redirect_strstr.
8705 (__strstr_ia32): Likewise.
8706 (__libc_strstr): New prototype.
8707 (strstr): Renamed to ...
8708 (__libc_strstr): This.
8709 (strstr): New strong alias of __libc_strstr.
8710 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8711 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8712 __redirect_time.
8713 Include <time.h>.
8714 (__libc_time): New prototype.
8715 (time_ifunc): Replace time with __libc_time.
8716 (time): New strong alias and hidden definition of __libc_time.
8717 (__GI_time): Remove strong alias.
8718 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8719 Include <stddef.h>.
8720 (memmove): Redefined to __redirect_memmove.
8721 (__memmove_sse2): Use typeof __redirect_memmove.
8722 (__memmove_ssse3): Likewise.
8723 (__memmove_ssse3_back): Likewise.
8724 (__libc_memmove): New prototype.
8725 (memmove): Renamed to ...
8726 (__libc_memmove): This.
8727 (memmove): New strong alias of __libc_memmove.
8728
8729 2012-08-08 Mark Salter <msalter@redhat.com>
8730
8731 * elf/elf.h
8732 (R_MN10300_TLS_GD): Define.
8733 (R_MN10300_TLS_LD): Likewise.
8734 (R_MN10300_TLS_LDO): Likewise.
8735 (R_MN10300_TLS_GOTIE): Likewise.
8736 (R_MN10300_TLS_IE): Likewise.
8737 (R_MN10300_TLS_LE): Likewise.
8738 (R_MN10300_TLS_DTPMOD): Likewise.
8739 (R_MN10300_TLS_DTPOFF): Likewise.
8740 (R_MN10300_TLS_TPOFF): Likewise.
8741 (R_MN10300_SYM_DIFF): Likewise.
8742 (R_MN10300_ALIGN): Likewise.
8743 (R_MN10300_NUM): Update.
8744
8745 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8746
8747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8748 Remove.
8749
8750 2012-08-08 Roland McGrath <roland@hack.frob.com>
8751
8752 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8753
8754 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8755 sysdeps/unix -> sysdeps/posix move.
8756 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8757
8758 2012-08-07 Allan McRae <allan@archlinux.org>
8759
8760 [BZ #14303]
8761 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8762 (SUNOS_CPP): Likewise.
8763 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8764 not found.
8765 (open_input): Call CPP using execvp.
8766
8767 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8768
8769 * sysdeps/unix/sysv/linux/kernel-features.h
8770 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8771 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8772 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8773 (__ASSUME_WAITID_SYSCALL): Likewise.
8774 * sysdeps/unix/sysv/linux/dl-execstack.c
8775 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8776 code unconditional.
8777 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8778 conditional code.
8779 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8780 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8781 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8782 code.
8783 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8784 unconditional.
8785 [__ASSUME_WAITID_SYSCALL]: Likewise.
8786 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8787
8788 2012-08-07 Roland McGrath <roland@hack.frob.com>
8789
8790 * sysdeps/unix/closedir.c: Renamed to ...
8791 * sysdeps/posix/closedir.c: ... here.
8792 * sysdeps/unix/dirfd.c: Renamed to ...
8793 * sysdeps/posix/dirfd.c: ... here.
8794 * sysdeps/unix/dirstream.h: Renamed to ...
8795 * sysdeps/posix/dirstream.h: ... here.
8796 * sysdeps/unix/fdopendir.c: Renamed to ...
8797 * sysdeps/posix/fdopendir.c: ... here.
8798 * sysdeps/unix/opendir.c: Renamed to ...
8799 * sysdeps/posix/opendir.c: ... here.
8800 * sysdeps/unix/readdir.c: Renamed to ...
8801 * sysdeps/posix/readdir.c: ... here.
8802 * sysdeps/unix/readdir_r.c: Renamed to ...
8803 * sysdeps/posix/readdir_r.c: ... here.
8804 * sysdeps/unix/rewinddir.c: Renamed to ...
8805 * sysdeps/posix/rewinddir.c: ... here.
8806 * sysdeps/unix/seekdir.c: Renamed to ...
8807 * sysdeps/posix/seekdir.c: ... here.
8808 * sysdeps/unix/telldir.c: Renamed to ...
8809 * sysdeps/posix/telldir.c: ... here.
8810 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8811 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8812 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8813 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8814
8815 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8816 * bits/fcntl.h: ... here.
8817
8818 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8819 not 0.
8820 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8821 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8822 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8823 (struct flock): Move l_start, l_len to the beginning.
8824 Use __pid_t for l_pid.
8825 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8826 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8827 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8828 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8829 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8830 [__USE_LARGEFILE64] (struct flock64): New type.
8831 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8832
8833 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8834 * bits/dirent.h: ... here.
8835
8836 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8837 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8838
8839 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8840
8841 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8842 Change from 2.6.0 to 2.6.16.
8843 * sysdeps/unix/sysv/linux/configure: Regenerated.
8844 * sysdeps/unix/sysv/linux/kernel-features.h
8845 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8846 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8847 version.
8848 (__ASSUME_UTIMES): Likewise.
8849 (__ASSUME_CLONE_STOPPED): Remove.
8850 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8851 architectures, not kernel version.
8852 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8853 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8854 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8855 (__ASSUME_WAITID_SYSCALL): Likewise.
8856 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8857 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8858 * README: State 2.6.16 as minimum Linux kernel version. Do not
8859 refer to older versions.
8860
8861 2012-08-06 Roland McGrath <roland@hack.frob.com>
8862
8863 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8864 Define alphasort64 as an alias.
8865 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8866 Define versionsort64 as an alias.
8867 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8868 Define scandir64 as an alias.
8869 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8870 Define scandirat64 as an alias.
8871 * dirent/alphasort64.c (alphasort64):
8872 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8873 * dirent/versionsort64.c: Likewise.
8874 * dirent/scandir64.c: Likewise.
8875 * dirent/scandirat64.c: Likewise.
8876 * sysdeps/wordsize-64/alphasort.c: File removed.
8877 * sysdeps/wordsize-64/alphasort64.c: File removed.
8878 * sysdeps/wordsize-64/scandir.c: File removed.
8879 * sysdeps/wordsize-64/scandir64.c: File removed.
8880 * sysdeps/wordsize-64/scandirat.c: File removed.
8881 * sysdeps/wordsize-64/scandirat64.c: File removed.
8882 * sysdeps/wordsize-64/versionsort.c: File removed.
8883 * sysdeps/wordsize-64/versionsort64.c: File removed.
8884 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8885 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8886 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8887 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8888 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8889 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8890 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8891 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8892
8893 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8894 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8895 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8897 [defined __arch64__ || defined __sparcv9]
8898 (__INO_T_MATCHES_INO64_T): New macro.
8899 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8900 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8901 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8902 * sysdeps/unix/sysv/linux/bits/dirent.h
8903 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8904 (_DIRENT_MATCHES_DIRENT64): New macro.
8905
8906 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8907 Define lockf64 as an alias.
8908 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8909 Define fseeko64 as an alias.
8910 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8911 Define ftello64 as an alias.
8912 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8913 Define _IO_fgetpos64 and fgetpos64 as aliases.
8914 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8915 Define _IO_fsetpos64 and fsetpos64 as aliases.
8916 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8917 Conditionalize body on this.
8918 * libio/fseeko64.c: Likewise.
8919 * libio/ftello64.c: Likewise.
8920 * libio/iofgetpos64.c: Likewise.
8921 * libio/iofsetpos64.c: Likewise.
8922 * sysdeps/wordsize-64/lockf.c: File removed.
8923 * sysdeps/wordsize-64/lockf64.c: File removed.
8924 * sysdeps/wordsize-64/fseeko.c: File removed.
8925 * sysdeps/wordsize-64/fseeko64.c: File removed.
8926 * sysdeps/wordsize-64/ftello.c: File removed.
8927 * sysdeps/wordsize-64/ftello64.c: File removed.
8928 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8929 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8930 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8931 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8932 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8933 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8934 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8935 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8936 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8937 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8938 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8939 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8940 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8941 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8942
8943 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8945 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8946 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8947 [defined __arch64__ || defined __sparcv9]
8948 (__OFF_T_MATCHES_OFF64_T): New macro.
8949 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8950 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8952 (__OFF_T_MATCHES_OFF64_T): New macro.
8953
8954 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8955
8956 * stdlib/secure-getenv.c (__secure_getenv): Replace
8957 GLIBC_2_16 with GLIBC_2_17.
8958
8959 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8962 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8963
8964 2012-08-03 David S. Miller <davem@davemloft.net>
8965
8966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8967
8968 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8969
8970 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8971 Remove.
8972 (__ASSUME_CORRECT_SI_PID): Likewise.
8973 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8974 (__ASSUME_TMPFS_NAME): Likewise.
8975 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8976 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8977 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8978 (HAVE_AUX_SECURE): Make definition unconditional.
8979 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8980 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8981
8982 2012-08-03 Roland McGrath <roland@hack.frob.com>
8983
8984 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8985 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8986 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8987 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8988 __eloop_threshold instead of SYMLOOP_MAX.
8989
8990 * sysdeps/generic/eloop-threshold.h: New file.
8991 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8992 of MAXSYMLINKS.
8993 * elf/chroot_canon.c (chroot_canon): Likewise.
8994
8995 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8996
8997 [BZ #13717]
8998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8999 Change to 2.6.0 everywhere.
9000 * sysdeps/unix/sysv/linux/configure: Regenerated.
9001 * sysdeps/unix/sysv/linux/kernel-features.h
9002 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9003 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9004 kernel versions.
9005 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9006 (__ASSUME_FUTEX_REQUEUE): Remove.
9007 (__ASSUME_STATFS64): Define unconditionally.
9008 (__ASSUME_AT_SECURE): Likewise.
9009 (__ASSUME_CORRECT_SI_PID): Likewise.
9010 (__ASSUME_TGKILL): Define without depending on kernel version for
9011 i386.
9012 (__ASSUME_UTIMES): Likewise.
9013 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9014 kernel version.
9015 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9016 (__ASSUME_TMPFS_NAME): Likewise.
9017 * README: Update reference to Linux kernel versions.
9018
9019 2012-08-02 Marek Polacek <polacek@redhat.com>
9020
9021 [BZ# 14150]
9022 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9023 libc_cv_asm_type_prefix with %.
9024 * configure: Regenerated.
9025 * include/libc-symbols.h: Remove comment about
9026 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9027 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9028 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9029 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9030 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9031 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9032 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9033 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9034 * elf/tst-unique2mod1.c: Likewise.
9035 * elf/tst-unique1mod2.c: Likewise.
9036 * elf/tst-unique1mod1.c: Likewise.
9037 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9038 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9039 Replace ASM_TYPE_DIRECTIVE with .type.
9040 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9041 * sysdeps/i386/sysdep.h: Likewise.
9042 * sysdeps/x86_64/sysdep.h: Likewise.
9043 * sysdeps/sh/sysdep.h: Likewise.
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9045 Do not define ASM_TYPE_DIRECTIVE.
9046 * sysdeps/powerpc/sysdep.h: Likewise.
9047 * sysdeps/powerpc/powerpc32/sysdep.h:
9048 Replace ASM_TYPE_DIRECTIVE with .type.
9049 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9050 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9051 * sysdeps/i386/fpu/e_powf.S: Likewise.
9052 * sysdeps/i386/fpu/e_expl.S: Likewise.
9053 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9054 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9055 * sysdeps/i386/fpu/e_pow.S: Likewise.
9056 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9057 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9058 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9059 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9060 * sysdeps/i386/fpu/e_log2.S: Likewise.
9061 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9062 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9063 * sysdeps/i386/fpu/e_powl.S: Likewise.
9064 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9065 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9066 * sysdeps/i386/fpu/e_logl.S: Likewise.
9067 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9068 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9069 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9070 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9071 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9072 * sysdeps/i386/fpu/e_log.S: Likewise.
9073 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9074 * sysdeps/i386/fpu/e_logf.S: Likewise.
9075 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9076 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9077 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9078 * sysdeps/i386/fpu/e_log10.S: Likewise.
9079 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9080 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9081 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9082 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9083 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9084 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9085 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9086 * sysdeps/i386/i686/strtok.S: Likewise.
9087 * sysdeps/i386/i386-mcount.S: Likewise.
9088 * sysdeps/i386/strtok.S: Likewise.
9089 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9090 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9091 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9092 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9093 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9094 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9095 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9096 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9097 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9098 * sysdeps/x86_64/_mcount.S: Likewise.
9099 * sysdeps/x86_64/strtok.S: Likewise.
9100 * sysdeps/sh/_mcount.S: Likewise.
9101
9102 2012-08-01 Roland McGrath <roland@hack.frob.com>
9103
9104 * libio/iofopen.c: Include <fcntl.h>.
9105 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9106 (_IO_fopen64, fopen64): Define as aliases.
9107 * libio/iofopen64.c: Include <fcntl.h>.
9108 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9109 Conditionalize body on this.
9110 * sysdeps/wordsize-64/iofopen.c: File removed.
9111 * sysdeps/wordsize-64/iofopen64.c: File removed.
9112
9113 2012-08-01 Marek Polacek <polacek@redhat.com>
9114
9115 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9116 Use dlfcn directly instead of a variable.
9117 (binfmt-subdir): Do not define.
9118 (dlfcn): Likewise.
9119
9120 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9121
9122 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9123 Remove all definitions.
9124 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9125 <kernel-features.h>.
9126 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9127 (miss_F_GETOWN_EX): Remove all definitions.
9128 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9129 macro definition.
9130 [!__ASSUME_FCNTL64]: Remove conditional code.
9131 [__ASSUME_FCNTL64]: Make code unconditional.
9132 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9133 <kernel-features.h>.
9134 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9135 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9136 (lockf64) [__NR_fcntl64]: Make code unconditional.
9137 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9138
9139 * sysdeps/unix/sysv/linux/kernel-features.h
9140 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9141 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9142 Make code unconditional.
9143 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9144 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9146 [__NR_vfork]: Make code unconditional.
9147 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9148 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9150 [__NR_vfork]: Make code unconditional.
9151 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9152 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9153
9154 2012-08-01 Roland McGrath <roland@hack.frob.com>
9155
9156 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9157 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9158
9159 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9160 Define mkstemp64 as an alias.
9161 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9162 Define mkstemps64 as an alias.
9163 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9164 Define mkostemp64 as an alias.
9165 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9166 Define mkostemps64 as an alias.
9167 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9168 Conditionalize body on this.
9169 * misc/mkostemp64.c: Likewise.
9170 * misc/mkostemps64.c: Likewise.
9171 * misc/mkstemps64.c: Likewise.
9172 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9173 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9174 * sysdeps/wordsize-64/mkostemp.c: File removed.
9175 * sysdeps/wordsize-64/mkstemp.c: File removed.
9176 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9177 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9178 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9179 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9180
9181 [BZ #14138]
9182 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9183 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9184 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9185 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9186
9187 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9188 compat_symbol macros from <shlib-compat.h> rather than the underlying
9189 default_symbol_version and symbol_version macros, so that DEFAULT
9190 lines in shlib-versions are respected.
9191 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9192
9193 2012-08-01 Florian Weimer <fweimer@redhat.com>
9194
9195 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9196 Declare with warn_unused_result.
9197 (setgid, setregid, setegid, setresgid): Likewise.
9198 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9199 Likewise.
9200 * WUR-REPORT: Remove set*id functions.
9201
9202 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9203
9204 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9205
9206 2012-07-31 Roland McGrath <roland@hack.frob.com>
9207
9208 * include/sys/socket.h (__libc_accept, __libc_accept4):
9209 Add attribute_hidden.
9210 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9211
9212 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9213 use of PTR_MANGLE.
9214 * inet/getnetgrent_r.c (setup): Likewise.
9215
9216 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9217
9218 2012-07-31 David S. Miller <davem@davemloft.net>
9219
9220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9221
9222 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9223
9224 [BZ #13629]
9225 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9226 value between 1.0 and 2.0 and smaller part has absolute value less
9227 than 1.0.
9228 * math/s_clog10.c (__clog10): Likewise.
9229 * math/s_clog10f.c (__clog10f): Likewise.
9230 * math/s_clog10l.c (__clog10l): Likewise.
9231 * math/s_clogf.c (__clogf): Likewise.
9232 * math/s_clogl.c (__clogl): Likewise.
9233 * math/libm-test.inc (clog_test): Add more tests.
9234 (clog10_test): Likewise.
9235 * sysdeps/i386/fpu/libm-test-ulps: Update.
9236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9237
9238 2012-07-31 Florian Weimer <fweimer@redhat.com>
9239
9240 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9241 Exit with zero in case no suitable GID is found, and write a
9242 message to standard error.
9243
9244 2012-07-30 Roland McGrath <roland@hack.frob.com>
9245
9246 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9247 rather than to 1.
9248 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9249 (MAXPATHLEN): Removed.
9250 (NOGROUP, NODEV): New macros.
9251 (setbit, clrbit, isset, isclr): New macros.
9252 (howmany, roundup, powerof2): New macros.
9253 (DEV_BSIZE): New macro.
9254
9255 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9256 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9257
9258 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9259 definition on [!__NO_LONG_DOUBLE_MATH].
9260
9261 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9262 PTR_MANGLE and PTR_DEMANGLE.
9263
9264 * socket/accept4.c (accept4): Rename to __libc_accept4.
9265 Define accept4 as a weak alias.
9266
9267 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9268 on [_DIRENT_HAVE_D_TYPE].
9269 * io/ftw.c (ftw_dir): Likewise.
9270
9271 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9272
9273 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9274
9275 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9276 Use the BSD numbers rather than the arbitrary ones we had.
9277 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9278 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9279 (SIGXCPU, SIGXFSZ): New macros.
9280 (_NSIG): Now 32.
9281
9282 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9283 initializer on [_LIBC_REENTRANT].
9284
9285 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9286 definitions inside [_POSIX_MAPPED_FILES].
9287
9288 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9289
9290 * dirent/opendir.c: Include <fcntl.h>.
9291
9292 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9293 (__libc_getspecific): Likewise.
9294 (__libc_key_create): Likewise.
9295
9296 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9297 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9298 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9299 (tmpfile64): Define as alias.
9300 * sysdeps/wordsize-64/tmpfile.c: File removed.
9301 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9302 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9303 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9304
9305 * stdio-common/vfscanf.c: Include <stdbool.h>.
9306 * nss/makedb.c: Likewise.
9307 * stdio-common/_i18n_number.h: Likewise.
9308 * argp/argp-help.c: Likewise.
9309 * posix/wordexp.c: Likewise.
9310 * sysdeps/posix/spawni.c: Likewise.
9311 * nss/nss_files/files-initgroups.c: Likewise.
9312 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9313 * nss/nss_files/files-initgroups.c: Likewise.
9314 * nss/nss_db/db-netgrp.c: Likewise.
9315 * nss/nss_db/db-initgroups.c: Likewise.
9316 * io/fchmodat.c: Include <sys/stat.h>.
9317
9318 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9319 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9320
9321 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9322 [HAVE_MMAP].
9323
9324 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9325 Add multiple inclusion protection.
9326
9327 2012-07-27 David S. Miller <davem@davemloft.net>
9328
9329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9330
9331 2012-07-27 Gary Benson <gbenson@redhat.com>
9332
9333 [BZ #14298]
9334 * elf/rtld.c: Include <stap-probe.h>.
9335 (dl_main): Added static probes "init_start" and "init_complete".
9336 * elf/dl-load.c: Include <stap-probe.h>.
9337 (lose): Take new parameter "nsid".
9338 Added static probe "map_failed".
9339 (_dl_map_object_from_fd): Pass namespace id to lose.
9340 Added static probe "map_start".
9341 (open_verify): Pass namespace id to lose.
9342 * elf/dl-open.c: Include <stap-probe.h>.
9343 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9344 and "reloc_complete".
9345 * elf/dl-close.c: Include <stap-probe.h>.
9346 (_dl_close_worker): Added static probes "unmap_start" and
9347 "unmap_complete".
9348 * elf/rtld-debugger-interface.txt: New file documenting the above.
9349
9350 2012-07-26 Roland McGrath <roland@hack.frob.com>
9351
9352 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9353 rather than a string variable.
9354 * sunrpc/rpc_main.c (h_output): Likewise.
9355 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9356
9357 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9358
9359 * inet/check_native.c: New file.
9360
9361 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9362
9363 [BZ #13629]
9364 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9365 if larger part has absolute value 1.0.
9366 * math/s_clog10.c (__clog10): Likewise.
9367 * math/s_clog10f.c (__clog10f): Likewise.
9368 * math/s_clog10l.c (__clog10l): Likewise.
9369 * math/s_clogf.c (__clogf): Likewise.
9370 * math/s_clogl.c (__clogl): Likewise.
9371 * math/libm-test.inc (clog_test): Add more tests.
9372 (clog10_test): Likewise.
9373 * sysdeps/i386/fpu/libm-test-ulps: Update.
9374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375
9376 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9377 (pltexit): Likewise.
9378 (La_regs): Likewise.
9379 (La_retval): Likewise.
9380 (int_retval): Likewise.
9381 Update #error for removed macros to refer only to definitions in
9382 tst-audit.h.
9383 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9384 macro.
9385 (pltexit): Likewise.
9386 (La_regs): Likewise.
9387 (La_retval): Likewise.
9388 (int_retval): Likewise.
9389 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9390 macro.
9391 (pltexit): Likewise.
9392 (La_regs): Likewise.
9393 (La_retval): Likewise.
9394 (int_retval): Likewise.
9395 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9396 macro.
9397 (pltexit): Likewise.
9398 (La_regs): Likewise.
9399 (La_retval): Likewise.
9400 (int_retval): Likewise.
9401 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9402 macro.
9403 (pltexit): Likewise.
9404 (La_regs): Likewise.
9405 (La_retval): Likewise.
9406 (int_retval): Likewise.
9407 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9408 macro.
9409 (pltexit): Likewise.
9410 (La_regs): Likewise.
9411 (La_retval): Likewise.
9412 (int_retval): Likewise.
9413 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9414 macro.
9415 (pltexit): Likewise.
9416 (La_regs): Likewise.
9417 (La_retval): Likewise.
9418 (int_retval): Likewise.
9419 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9420 macro definitions in tst-audit.h.
9421 * sysdeps/i386/tst-audit.h: New file.
9422 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9423 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9424 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9425 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9426 * sysdeps/sh/tst-audit.h: Likewise.
9427 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9428 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9429 * sysdeps/x86_64/tst-audit.h: Likewise.
9430
9431 2012-07-26 Andreas Jaeger <aj@suse.de>
9432
9433 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9434 ptrace.
9435
9436 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9437 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9438 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9439 PTRACE_O_MASK.
9440 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9442 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9443
9444 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9445 value.
9446
9447 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9448 _sigsys.
9449 (si_call_addr, si_syscall, si_arch): Define new macro.
9450 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9451 _sigsys.
9452 (si_call_addr, si_syscall, si_arch): Define new marcro.
9453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9454 _sigsys.
9455 (si_call_addr, si_syscall, si_arch): Define new macro.
9456 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9457 _sigsys.
9458 (si_call_addr, si_syscall, si_arch): Define new macro.
9459
9460 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9461
9462 [BZ #13717]
9463 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9464 Change to 2.4.21 where previously 2.4.1.
9465 * sysdeps/unix/sysv/linux/configure: Regenerated.
9466 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9467 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9468 Linux kernel version.
9469 (__ASSUME_STD_AUXV): Remove.
9470 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9471 kernel version.
9472 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9473 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9474 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9475 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9476 (__ASSUME_NETLINK_SUPPORT): Likewise.
9477 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9478 (__no_netlink_support): Remove conditional definition.
9479 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9480 Remove.
9481 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9482 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9483 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9484 (if_nameindex_ioctl): Remove.
9485 (if_nameindex_netlink): Do not handle __no_netlink_support.
9486 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9487 code.
9488 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9489 Remove conditional code.
9490 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9491 code.
9492 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9493 unconditional.
9494 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9495 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9496 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9497 Remove.
9498 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9499 [!__ASSUME_STD_AUXV]: Remove conditional code.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9501 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9502 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9504 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9505 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9506 code.
9507 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9509 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9510 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9511 conditional code.
9512 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9514 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9515 code.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9517 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9518 conditional code.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9520 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9521 code unconditional.
9522 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9523 conditional code.
9524 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9525 unconditional.
9526 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9527 conditional code.
9528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9529 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9530 unconditional.
9531 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9532 conditional code.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9534 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9535 code unconditional.
9536 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9537 conditional code.
9538 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9539 unconditional.
9540 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9541 conditional code.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9543 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9544 code unconditional.
9545 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9546 conditional code.
9547 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9548 unconditional.
9549 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9550 conditional code.
9551
9552 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9553
9554 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9555 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9556 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9557 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9558 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9559 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9560 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9561 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9562 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9563 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9564 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9565 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9566 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9567 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9568 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9569 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9570 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9571 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9572 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9574 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9575 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9576 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9577
9578 2012-07-25 Florian Weimer <fweimer@redhat.com>
9579
9580 * Versions.def: Add GLIBC_2.17.
9581 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9582 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9583 Introduce __libc_secure_getenv.
9584 * stdlib/Versions (2.17): Add secure_getenv
9585 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9586 * stdlib/secure-getenv.c: Rename __secure_getenv to
9587 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9588 symbol __secure_getenv for GLIBC_2.0.
9589 * stdlib/tst-secure-getenv.c: New.
9590 * stdlib/Makefile (tests): Add testcase.
9591 * manual/startup.texi (Environment Access): Document
9592 secure_getenv.
9593 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9594 __libc_secure_getenv.
9595 * inet/ruserpass.c (ruserpass): Likewise.
9596 * malloc/mtrace.c (mtrace): Likewise.
9597 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9598 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9599 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9600 * sysdeps/posix/tempname.c: Likewise. Evaluate
9601 HAVE_SECURE_GETENV.
9602 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9603 __secure_getenv to __libc_secure_getenv.
9604 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9606 Likewise.
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9608 Likewise.
9609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9616
9617 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9618
9619 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9620 (struct La_i86_retval): Likewise.
9621 (struct La_x86_64_regs): Likewise.
9622 (struct La_x86_64_retval): Likewise.
9623 (struct La_x32_regs): Likewise.
9624 (struct La_x32_retval): Likewise.
9625 (struct La_ppc32_regs): Likewise.
9626 (struct La_ppc32_retval): Likewise.
9627 (struct La_ppc64_regs): Likewise.
9628 (struct La_ppc64_retval): Likewise.
9629 (struct La_sh_regs): Likewise.
9630 (struct La_sh_retval): Likewise.
9631 (struct La_s390_32_regs): Likewise.
9632 (struct La_s390_32_retval): Likewise.
9633 (struct La_s390_64_regs): Likewise.
9634 (struct La_s390_64_retval): Likewise.
9635 (struct La_sparc32_regs): Likewise.
9636 (struct La_sparc32_retval): Likewise.
9637 (struct La_sparc64_regs): Likewise.
9638 (struct La_sparc64_retval): Likewise.
9639 (struct audit_ifaces): Remove architecture-specific pltenter and
9640 pltexit members.
9641 * sysdeps/i386/ldsodefs.h: New file.
9642 * sysdeps/powerpc/ldsodefs.h: Likewise.
9643 * sysdeps/s390/ldsodefs.h: Likewise.
9644 * sysdeps/sh/ldsodefs.h: Likewise.
9645 * sysdeps/sparc/ldsodefs.h: Likewise.
9646 * sysdeps/x86_64/ldsodefs.h: Likewise.
9647
9648 2012-07-25 Marek Polacek <polacek@redhat.com>
9649
9650 [BZ #6808]
9651 * math/libm-test.inc (yn_test): Add another test.
9652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9653 to ERANGE when the result is +-Inf.
9654 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9655 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9656 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9657 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9658
9659 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9660
9661 * conform/data/time.h-data (NULL): Use macro-constant. Require
9662 equal to 0.
9663 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9664 clock_t.
9665 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9666
9667 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9668
9669 * configure.in <sysdeps resolving>: Correct printing
9670 Implies_before.
9671 * configure: Regenerate.
9672
9673 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9674
9675 * math/w_ilogb.c: Include <limits.h>.
9676 * math/w_ilogbl.c: Likewise.
9677
9678 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9679
9680 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9681 va_copy. Document allowing for unavailable va_copy only as
9682 pre-C99 compatibility.
9683 * manual/string.texi (Copying and Concatenation): Use va_copy
9684 instead of __va_copy in concat example.
9685
9686 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9687
9688 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9689 (__sendto): Use create_address_port. Initialize APORT and deallocate
9690 it if not null.
9691
9692 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9693 with O_NOLINK passed to __file_name_lookup.
9694
9695 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9696 with O_NOLINK passed to __file_name_lookup.
9697
9698 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9699 negative N or less than NGIDS.
9700
9701 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9702 type to string_t. Set ERANGE as errno and return it if NAME is not big
9703 enough. Use memcpy instead of strncpy.
9704
9705 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9706
9707 * elf/Makefile (check-data): Remove.
9708 (localplt.data): New vpath directive.
9709 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9710 instead of $(check-data).
9711 * scripts/data/localplt-generic.data: Move to ...
9712 * sysdeps/generic/localplt.data: ... here.
9713 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9714 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9715 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9717 ... here.
9718 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9720 ... here.
9721 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9723 ... here.
9724 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9726 ... here.
9727 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9729 ... here.
9730 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9732 ... here.
9733
9734 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9735
9736 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9737 PPC32 and PPC64 files.
9738 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9739 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9740
9741 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9742
9743 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9744 __makecontext_ret to ...
9745 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9746 ... here and call exit if uc_link is NULL. New file.
9747 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9748 __makecontext_ret.S.
9749 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9750 __makecontext_ret to ...
9751 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9752 ... here and call exit if uc_link is NULL. New file.
9753 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9754 __makecontext_ret.S.
9755
9756 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9757
9758 * elf/elf.h (R_390_IRELATIVE): New definition.
9759 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9760 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9761 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9762 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9763 (elf_machine_lazy_rel): Likewise.
9764 * sysdeps/s390/dl-irel.h: New file.
9765 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9766 * sysdeps/s390/s390-64/memset.S: New asm code.
9767 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9768 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9769 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9770 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9771 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9772 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9773 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9774 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9775 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9776 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9777 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9778 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9779 * sysdeps/s390/s390-32/memset.S: New asm code.
9780 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9781
9782 2012-07-17 Marek Polacek <polacek@redhat.com>
9783
9784 [BZ #14349]
9785 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9786 * sysdeps/s390/s390-64/configure.in: Likewise.
9787 * sysdeps/sparc/configure.in: Likewise.
9788 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9789 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9790 * sysdeps/i386/configure.in: Likewise.
9791 * sysdeps/x86_64/configure.in: Likewise.
9792 * sysdeps/sh/configure.in: Likewise.
9793 * sysdeps/s390/s390-32/configure: Regenerated.
9794 * sysdeps/s390/s390-64/configure: Likewise.
9795 * sysdeps/x86_64/configure: Likewise.
9796 * sysdeps/sh/configure: Likewise.
9797 * sysdeps/powerpc/powerpc64/configure: Likewise.
9798 * sysdeps/powerpc/powerpc32/configure: Likewise.
9799 * sysdeps/sparc/configure: Likwise.
9800 * sysdeps/i386/configure: Likewise.
9801
9802 * elf/dl-open.c: Comment fixes.
9803
9804 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9805
9806 * Makefile [CXX] (check-data): Remove.
9807 [CXX] (c++-types.data): New vpath directive.
9808 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9809 vpath. Do not allow for C++ type data being missing.
9810 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9811 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9812 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9813 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9814 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9815 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9816 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9818 ... here.
9819 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9821 ... here.
9822 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9824 ... here.
9825 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9827 ... here.
9828 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9830 ... here.
9831 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9833 ... here.
9834 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9836 ... here.
9837 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9839
9840 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9841 definitions to architecture-specific files.
9842 (TLS_IE): Likewise.
9843 (TLS_LD): Likewise.
9844 (TLS_GD): Likewise.
9845 * sysdeps/i386/tls-macros.h: New file.
9846 * sysdeps/powerpc/tls-macros.h: Likewise.
9847 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9848 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9849 * sysdeps/sh/tls-macros.h: Likewise.
9850 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9851 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9852 * sysdeps/x86_64/tls-macros.h: Likewise.
9853
9854 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9855
9856 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9857 zero value for regular exit case.
9858
9859 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9860 (__start_context): Preserve zero value for regular exit case.
9861
9862 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9863 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9864
9865 * manual/setjmp.texi (setcontext): Clarify normal process
9866 termination when uc_link is the null pointer.
9867 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9868 exit call.
9869
9870 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9871
9872 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9873 preprocessor. Test for each exception mask separately.
9874
9875 2012-07-16 Andreas Jaeger <aj@suse.de>
9876
9877 * po/ru.po: Update from translation team.
9878
9879 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9880
9881 * conform/data/string.h-data (NULL): Use macro-constant. Require
9882 equal to 0.
9883 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9884 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9885 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9886 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9888
9889 2012-07-13 Andreas Jaeger <aj@suse.de>
9890
9891 * po/fr.po: Update from translation team.
9892
9893 2012-07-12 Marek Polacek <polacek@redhat.com>
9894
9895 [BZ #14173]
9896 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9897 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9898 loop condition.
9899
9900 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9901
9902 [BZ #13717]
9903 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9904 Change to 2.4.1 where previously 2.4.0.
9905 * sysdeps/unix/sysv/linux/configure: Regenerated.
9906 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9907 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9908 version.
9909 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9910 (__ASSUME_AT_CLKTCK): Remove.
9911 (__ASSUME_AT_PAGESIZE): Likewise.
9912 (__ASSUME_AT_XID): Likewise.
9913 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9914 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9915 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9916 unconditionally.
9917 (HAVE_AUX_PAGESIZE): Likewise.
9918 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9919 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9920 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9921
9922 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9923
9924 [BZ #14307]
9925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9926 the temporary buffer used to invoke __gethostbyname2_r,
9927 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9928 host_data / struct gaih_addrtuple.
9929 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9930 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9931 header file nss/nsswitch.h.
9932 * nss/nsswitch.h (global scope): Add definition of implementation
9933 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9934 resolv/nss_dns/dns-host.c).
9935
9936 2012-07-11 Andreas Jaeger <aj@suse.de>
9937
9938 * po/fr.po: Update from translation team.
9939
9940 * po/sv.po: Update from translation team
9941 * po/fr.po: Another update from translation team.
9942
9943 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9944
9945 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9946 for subnormals or multiply small sinh result by itself.
9947 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9949
9950 2012-07-11 David S. Miller <davem@davemloft.net>
9951
9952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9953
9954 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9955
9956 [BZ #14347]
9957 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9958 (INTERNAL_MARK): Shift it here.
9959
9960 2012-07-10 Marek Polacek <polacek@redhat.com>
9961
9962 [BZ #14151]
9963 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9964 libc_cv_asm_global_directive with .globl.
9965 * configure: Regenerated.
9966 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9967 with .globl.
9968 * sysdeps/i386/configure: Regenerated.
9969 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9970 with .globl.
9971 * sysdeps/x86_64/configure: Regenerated.
9972 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9973 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9974 * elf/tst-unique2mod2.c: Likewise.
9975 * elf/tst-unique2mod1.c: Likewise.
9976 * elf/tst-unique1mod2.c: Likewise.
9977 * elf/tst-unique1mod1.c: Likewise.
9978 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9979 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9980 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9981 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9982 * sysdeps/mach/sysdep.h: Likewise.
9983 * sysdeps/i386/sysdep.h: Likewise.
9984 * sysdeps/i386/i386-mcount.S: Likewise.
9985 * sysdeps/x86_64/_mcount.S: Likewise.
9986 * sysdeps/x86_64/sysdep.h: Likewise.
9987 * sysdeps/sh/_mcount.S: Likewise.
9988 * sysdeps/sh/sysdep.h: Likewise.
9989 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9990 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9991 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9992 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9993 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9994 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9995 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9996 * locale/localeinfo.h: Likewise.
9997 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9998 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9999
10000 2012-07-09 Roland McGrath <roland@hack.frob.com>
10001
10002 [BZ #14336]
10003 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10004 system".
10005 * manual/message.texi (The Uniforum approach): Likewise.
10006 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10007 (glibc iconv Implementation): Likewise.
10008
10009 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10010
10011 [BZ #14337]
10012 * math/s_clog.c (__clog): Avoid scaling a value down where that
10013 could result in underflow.
10014 * math/s_clog10.c (__clog10): Likewise.
10015 * math/s_clog10f.c (__clog10f): Likewise.
10016 * math/s_clog10l.c (__clog10l): Likewise.
10017 * math/s_clogf.c (__clogf): Likewise.
10018 * math/s_clogl.c (__clogl): Likewise.
10019 * math/libm-test.inc (clog_test): Add more tests.
10020 (clog10_test): Likewise.
10021 * sysdeps/i386/fpu/libm-test-ulps: Update.
10022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10023
10024 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10025
10026 [BZ #14283]
10027 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10028 by 7 not 8 to examine high bit of fractional part.
10029
10030 [BZ #14042]
10031 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10032 for call to __mcount_internal.
10033 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10034 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10035 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10036
10037 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10038
10039 [BZ #14154]
10040 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10041 approximation for values within 0x1p-13f of an odd multiple of
10042 pi/4.
10043 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10044 exception. Add more tests.
10045 * sysdeps/i386/fpu/libm-test-ulps: Update.
10046
10047 [BZ #6778]
10048 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10049 inputs and return -1 for them. Do not check for +Inf in case not
10050 reachable for +Inf.
10051 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10052 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10053 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10054 and return -1 for them. Do not check for +Inf in case not
10055 reachable for +Inf.
10056 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10057 define.
10058 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10059 and return -1 for them. Do not check for +Inf in case not
10060 reachable for +Inf.
10061 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10062 spurious underflow.
10063 * sysdeps/i386/fpu/libm-test-ulps: Update.
10064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10065
10066 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10067
10068 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10069
10070 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10071
10072 [BZ #14157]
10073 [BZ #14331]
10074 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10075 could result in spurious underflow. Scale down values above
10076 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10077 * math/s_csqrtf.c (__csqrtf): Likewise.
10078 * math/s_csqrtl.c (__csqrtl): Likewise.
10079 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10080 spurious underflow.
10081 * sysdeps/i386/fpu/libm-test-ulps: Update.
10082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10083
10084 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10085
10086 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10087 xopen-msg.sed.
10088 * catgets/xopen-msg.awk: New file.
10089 * catgets/xopen-msg.sed: Removed.
10090
10091 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10092 po2text.sed.
10093 * intl/po2test.awk: New file.
10094 * intl/po2test.sed: Removed.
10095
10096 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10097
10098 [BZ #14328]
10099 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10100 or multiply small sinh result by itself.
10101 * math/s_ctanf.c (__ctanf): Likewise.
10102 * math/s_ctanh.c (__ctanh): Likewise.
10103 * math/s_ctanhf.c (__ctanhf): Likewise.
10104 * math/s_ctanhl.c (__ctanhl): Likewise.
10105 * math/s_ctanl.c (__ctanl): Likewise.
10106 * math/libm-test.inc (ctan_test_tonearest): New function.
10107 (ctan_test_towardzero): Likewise.
10108 (ctan_test_downward): Likewise.
10109 (ctan_test_upward): Likewise.
10110 (ctanh_test_tonearest): Likewise.
10111 (ctanh_test_towardzero): Likewise.
10112 (ctanh_test_downward): Likewise.
10113 (ctanh_test_upward): Likewise.
10114 (main): Call these new functions.
10115 * sysdeps/i386/fpu/libm-test-ulps: Update.
10116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10117
10118 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10119
10120 * .gitignore: Delete /ports entry.
10121
10122 2012-07-03 Andreas Jaeger <aj@suse.de>
10123
10124 * po/bg.po: Update from translation team.
10125 * po/cs.po: Likewise.
10126 * po/de.po: Likewise.
10127 * po/hr.po: Likewise.
10128 * po/nl.pl: Likewise.
10129 * po/pl.po: Likewise.
10130 * po/vi.po: Likewise.
10131
10132 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10133
10134 * Makeconfig [!+link] (+link-before-libc): New variable.
10135 [!+link] (+link-after-libc): Likewise.
10136 [!+link] (+link-tests): Likewise.
10137 [!+link] (+link): Define in terms of $(+link-before-libc) and
10138 $(+link-after-libc).
10139 [!+link-static] (+link-static-before-libc): New variable.
10140 [!+link-static] (+link-static-after-libc): Likewise.
10141 [!+link-static] (+link-static-tests): Likewise.
10142 [!+link-static] (+link-static): Define in terms of
10143 $(+link-static-before-libc) and $(+link-static-after-libc).
10144 [build-shared] (link-libc-before-gnulib): New variable.
10145 [build-shared] (link-libc-tests): Likewise.
10146 [build-shared] (link-libc): Define in terms of
10147 $(link-libc-before-gnulib).
10148 [!build-shared] (link-libc-tests): New variable.
10149 (link-libc-static-tests): New variable.
10150 [!gnulib] (gnulib-arch): New variable.
10151 [!gnulib] (gnulib-tests): Likewise.
10152 [!gnulib] (static-gnulib-arch): Likewise.
10153 [!gnulib] (static-gnulib-tests): Likewise.
10154 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10155 Define with "=" instead of ":=".
10156 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10157 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10158 * Rules (binaries-all-notests): New variable.
10159 (binaries-all-tests): Likewise.
10160 (binaries-static-notests): Likewise.
10161 (binaries-static-tests): Likewise.
10162 (binaries-all): Define using $(binaries-all-notests) and
10163 $(binaries-all-tests).
10164 (binaries-static): Define using $(binaries-static-notests) and
10165 $(binaries-static-tests).
10166 (binaries-shared-tests): New variable.
10167 (binaries-shared-notests): Likewise.
10168 (binaries-shared): Remove variable.
10169 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10170 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10171 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10172 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10173 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10174 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10175 * elf/Makefile (sln-modules): New variable.
10176 (extra-objs): Add $(sln-modules:=.o).
10177 (ldconfig-modules): Add static-stubs.
10178 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10179 * elf/static-stubs.c: New file.
10180
10181 [BZ #14283]
10182 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10183 by 7 not 8 to examine high bit of fractional part. Use volatile
10184 variables when splitting into final array of floats if
10185 __FLT_EVAL_METHOD__ != 0.
10186 * math/libm-test.inc (cos_test): Add another test.
10187 (sin_test): Likewise.
10188 * sysdeps/i386/fpu/libm-test-ulps: Update.
10189
10190 [BZ #14273]
10191 * math/libm-test.inc (cosh_test): Add more tests.
10192
10193 * version.h (RELEASE): Set to "development".
10194 (VERSION): Set to "2.16.90".
10195
10196 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10197
10198 * NEWS: Update copyright. Remove last-updated date.
10199 Mention math library bug fixes and timezone data changes.
10200 * README: Mention GNU/Hurd, x32, and HPPA support status.
10201
10202 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10203
10204 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10205
10206 2012-06-27 Andreas Jaeger <aj@suse.de>
10207
10208 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10209
10210 2012-06-25 Andreas Jaeger <aj@suse.de>
10211
10212 * sysdeps/s390/fpu/libm-test-ulps: Update.
10213
10214 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10215 Thomas Schwinge <thomas@codesourcery.com>
10216
10217 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10218 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10220 fanotify_mark.
10221
10222 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10223
10224 * sysdeps/mach/start.c: Remove file.
10225 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10226 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10227 * sysdeps/sh/init-first.c: Likewise.
10228
10229 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10230 registers for frame unwinding purposes, add CFI directives.
10231 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10232 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10233 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10234 Likewise.
10235
10236 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10237 __fortify_fail returning.
10238 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10239
10240 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10241 sysdeps/sh/____longjmp_chk.S.
10242 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10243 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10244 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10245 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10246
10247 * sysdeps/sh/abort-instr.h: New file.
10248 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10249 process in case exit returns.
10250
10251 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10252 initialize the GOT register before use.
10253
10254 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10255 calculation of ARGC > 4.
10256
10257 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10258 meaningful names to some local labels.
10259
10260 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10261 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10262
10263 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10264 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10265 (__arch_compare_and_exchange_val_16_acq): Likewise.
10266 (__arch_compare_and_exchange_val_32_acq): Likewise.
10267 (atomic_exchange_and_add): Fix gUSA sequence.
10268 (atomic_add): Likewise.
10269 (atomic_add_negative): Likewise.
10270 (atomic_add_zero): Likewise.
10271 (atomic_bit_test_set): Likewise.
10272
10273 2012-06-22 Andreas Schwab <schwab@redhat.com>
10274
10275 [BZ #13579]
10276 * include/link.h (struct link_map): Add l_free_initfini.
10277 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10278 l_initfini.
10279 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10280 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10281 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10282 set.
10283
10284 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10285
10286 * configure.in: Use AC_LANG_SOURCE.
10287 * configure: Regenerate.
10288
10289 2012-06-22 Roland McGrath <roland@hack.frob.com>
10290
10291 * configure.in (libc_cv_localstatedir): New substituted variable.
10292 * configure: Regenerated.
10293 * config.make.in (localstatedir): New variable, substituted from
10294 libc_cv_localstatedir.
10295 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10296 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10297 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10298 * sysdeps/gnu/configure: Regenerated.
10299
10300 2012-06-21 Jeff Law <law@redhat.com>
10301
10302 [BZ #14277]
10303 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10304 free. Simplify list management for _LIBC case.
10305
10306 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10307
10308 [BZ #14273]
10309 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10310 Clear sign bit of 64-bit integer value before comparing against
10311 overflow value.
10312
10313 * sysdeps/mach/configure: Regenerated.
10314
10315 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10316
10317 [BZ #14278]
10318 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10319
10320 2012-06-21 Jeff Law <law@redhat.com>
10321
10322 [BZ #13882]
10323 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10324 uint16_t for elements in the "seen" array to avoid char overflows.
10325 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10326 * elf/dl-open.c (dl_open_worker): Likewise.
10327
10328 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10329
10330 * scripts/list-sources.sh: Scan PORTS for translations.
10331 * po/libc.pot: Regenerated.
10332
10333 2012-06-21 Andreas Jaeger <aj@suse.de>
10334
10335 [BZ #12194]
10336 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10337 warning.
10338 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10339 * bits/byteswap-16.h (__bswap_16): Likewise.
10340 * bits/byteswap.h (__bswap_constant_16): Likewise.
10341
10342 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10343
10344 [BZ #14117]
10345 * sysdeps/i386/fpu_control.h: Removed.
10346 * sysdeps/x86_64/fpu_control.h: Moved to ...
10347 * sysdeps/x86/fpu_control.h: Here.
10348
10349 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10350 (_FPU_SETCW): Likewise.
10351
10352 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 [BZ #14117]
10355 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10356 * sysdeps/x86/fpu/bits/mathinline.h: This.
10357 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10358
10359 [BZ #14050]
10360 [BZ #14117]
10361 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10362 functions if __x86_64__ is defined.
10363
10364 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10365
10366 * string/endian.h: Add !__ASSEMBLER__ condition for including
10367 conversion interfaces.
10368
10369 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10370
10371 [BZ #14241]
10372 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10373 of ABS(x) in calculating zero to negative powers other than odd
10374 integers.
10375 * math/libm-test.inc (pow_test): Add more tests.
10376
10377 2012-06-15 Andreas Jaeger <aj@suse.de>
10378
10379 * manual/contrib.texi (Contributors): Update entry of Liubov
10380 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10381 Machado Filho.
10382
10383 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10384
10385 * string/string.h: Add __wur to GNU version of strerror_r.
10386
10387 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10388
10389 [BZ #14229]
10390 * string/Makefile (tests): Add tst-strtok_r.
10391 * string/tst-strtok_r.c: New file.
10392 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10393 RAX_LP/RDX_LP on SAVE_PTR.
10394
10395 2012-06-14 Roland McGrath <roland@hack.frob.com>
10396
10397 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10398
10399 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10400
10401 * libm_test.inc (csqrt_test): Allow more spurious underflow
10402 exceptions.
10403 (j0_test): Likewise.
10404 (j1_test): Likewise.
10405 (y0_test): Likewise.
10406 (y1_test): Likewise.
10407
10408 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10409
10410 * po/Makefile (libc.pot): Use UTF-8 charset.
10411
10412 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10413
10414 [BZ #14210]
10415 Suppress sign-conversion warning from FD_SET.
10416 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10417 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10418 not unsigned long int.
10419 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10420
10421 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10422
10423 [BZ #14050]
10424 [BZ #14117]
10425 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10426 __extern_always_inline instead of __extern_inline.
10427 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10428 (__signbit): Likewise.
10429 (__signbitl): Support C++ namespace.
10430 (lrintf): New inline function.
10431 (lrint): Likewise.
10432 (llrintf): Likewise.
10433 (llrint): Likewise.
10434 (fmaxf): Likewise.
10435 (fmax): Likewise.
10436 (fminf): Likewise.
10437 (fmin): Likewise.
10438 (rint): Likewise.
10439 (rintf): Likewise.
10440 (ceil): Likewise.
10441 (ceilf): Likewise.
10442 (floor): Likewise.
10443 (floorf): Likewise.
10444 (nearbyint): Likewise.
10445 (nearbyintf): Likewise.
10446
10447 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10448
10449 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10450 non-default versions.
10451
10452 2012-06-11 Roland McGrath <roland@hack.frob.com>
10453
10454 [BZ #14218]
10455 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10456
10457 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10458
10459 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10460 (FE_UPWARD, FE_DOWNWARD): Don't define.
10461 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10462 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10463
10464 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10465 reading it.
10466 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10467 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10468
10469 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10470
10471 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10473 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10474 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10475
10476 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10477
10478 [BZ #14117]
10479 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10480 * sysdeps/i386/fpu/Implies: New file.
10481 * sysdeps/x86_64/fpu/Implies: Likewise.
10482 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10483 * sysdeps/x86/fpu/bits/fenv.h: This.
10484
10485 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10486 __SSE_MATH__.
10487
10488 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10489
10490 [BZ #14134]
10491 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10492 character 0xffff that matches the last element of the
10493 conversion table.
10494
10495 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10496
10497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10498 fmodl commit.
10499
10500 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10501
10502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10503 values higher than 25.6283.
10504
10505 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10506
10507 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10508 subnormal exponent extraction and add some __builtin_expect.
10509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10510 Fix for subnormal mantissa calculation.
10511
10512 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10513
10514 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10515 cpu2 is -1 and errno is not ENOSYS.
10516
10517 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10518
10519 [BZ #14117]
10520 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10521 * sysdeps/x86/bits/string.h: This.
10522 * sysdeps/x86_64/bits/string.h: Removed.
10523
10524 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10525 if not compiling for x86-64, but compiling for >= i486.
10526
10527 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10528 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10529
10530 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10531 New macro from Linux kernel 3.4.0.
10532 (FP_XSTATE_MAGIC2): Likewise.
10533 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10534 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10535 (struct _fpx_sw_bytes): New struct.
10536 (struct _xsave_hdr): Likewise.
10537 (struct _ymmh_state): Likewise.
10538 (struct _xstate): Likewise.
10539
10540 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10541 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10542 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10543 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10544 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10545 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10546
10547 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10548 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10549 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10550 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10551 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10552 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10553
10554 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10555
10556 [BZ #13743]
10557 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10558 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10559 (sysdep_headers): Include sys/platform/ppc.h.
10560 * sysdeps/powerpc/test-gettimebase.c: Test for
10561 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10562 * manual/Makefile (appendices): Include platform.texi.
10563 * manual/contrib.texi (Contributors): Update @node pointers.
10564 * manual/maint.texi (Maintenance): Likewise.
10565 (Platform): New node.
10566 * manual/platform.texi: New file. Document the new features.
10567
10568 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10569 Jakub Jelinek <jakub@redhat.com>
10570
10571 [BZ #14188]
10572 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10573 where __builtin_expect is unavailable.
10574
10575 2012-06-03 David S. Miller <davem@davemloft.net>
10576
10577 * stdlib/longlong.h: Updated from GCC.
10578
10579 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10580
10581 [BZ #14042]
10582 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10583 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10584 __mcount_internal.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10586 (GLIBC_2.16): Likewise.
10587
10588 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10589
10590 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10591
10592 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10593
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10595 (default-abi): New variable.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10597 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10598 variable.
10599 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10600 Likewise.
10601 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10602 Likewise.
10603 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10604 Likewise.
10605
10606 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10607 definition. Document in comment.
10608
10609 2012-06-01 David S. Miller <davem@davemloft.net>
10610
10611 * stdlib/longlong.h: Updated from GCC.
10612
10613 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10614
10615 [BZ #14117]
10616 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10617 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10618 sys/debugreg.h sys/io.h here.
10619 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10620 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10621 sys/io.h.
10622 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10623 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10624 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10625 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10626 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10627 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10628
10629 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10630 Define only if __x86_64__ is defined.
10631
10632 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10633
10634 [BZ #14048]
10635 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10636 Use int64_t for variable i.
10637 * math/libm-test.inc (fmod_test): Add more tests.
10638
10639 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10640 z computation is not scheduled after fetestexcept.
10641 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10642 Use math_force_eval instead of asm to ensure calculation scheduled
10643 before exception test.
10644 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10645 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10646
10647 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10648
10649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10650 computation is not scheduled after fetestexcept.
10651
10652 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10653
10654 [BZ #14117]
10655 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10656 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10657
10658 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10659
10660 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10661 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10662
10663 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 [BZ #14117]
10666 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10667 <bits/wordsize.h>.
10668 (__WCHAR_MIN): Support __WORDSIZE == 64.
10669 (__WCHAR_MAX): Likewise.
10670
10671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10672 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10673
10674 [BZ #14183]
10675 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10676 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10677
10678 [BZ #14117]
10679 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10680 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10681
10682 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10683 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10684
10685 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10686 Defined to 1 if __x86_64__ isn't defined.
10687 (_STAT_VER_LINUX_OLD): New.
10688 (st_atime): Remove duplicate.
10689 (st_mtime): Likewise.
10690 (st_ctime): Likewise.
10691
10692 2012-05-31 David S. Miller <davem@davemloft.net>
10693
10694 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10695 entries.
10696
10697 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10698
10699 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10700 gen-libm-test.pl.
10701
10702 [BZ #14132]
10703 * elf/dl-reloc.c: Include <_itoa.h>.
10704 (_dl_reloc_bad_type): Remove use of INTUSE.
10705 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10706 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10707 * stdio-common/psiginfo.c (psiginfo): Likewise.
10708 * stdio-common/psignal.c (psignal): Likewise.
10709 * string/strsignal.c (strsignal): Likewise.
10710 * include/signal.h (_sys_siglist): Declare hidden proto.
10711 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10712 INTVARDEF with libc_hidden_data_def.
10713 * stdio-common/itoa-udigits.c: Likewise.
10714 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10715 (_itoa_lower_digits_internal): Remove declaration.
10716 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10717 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10718 (_sys_sigabbrev_internal): Remove aliases.
10719 (_sys_siglist): Define hidden alias.
10720
10721 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10722
10723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10724 bits/sysctl.h.
10725
10726 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10727
10728 [BZ #14117]
10729 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10730 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10731
10732 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10733 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10734 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10735 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10736 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10737 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10738
10739 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10740 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10741 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10742
10743 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10744 with __addr.
10745 (insw): Likewise.
10746 (insl): Likewise.
10747 (outsb): Likewise.
10748 (outsw): Likewise.
10749 (outsl): Likewise.
10750
10751 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10753 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10754
10755 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10756 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10757 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10758 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10759 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10760 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10761
10762 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10763 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10764
10765 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10766 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10767
10768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10770 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10771
10772 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10773 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10774 to ...
10775 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10776
10777 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10778 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10779 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10780
10781 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10782 for x86-64.
10783 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10784
10785 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10786
10787 * math/math.h (M_El): Use two more decimal places.
10788 (M_LOG2El): Likewise.
10789 (M_LOG10El): Likewise.
10790 (M_LN2l): Likewise.
10791 (M_LN10l): Likewise.
10792 (M_PIl): Likewise.
10793 (M_PI_2l): Likewise.
10794 (M_PI_4l): Likewise.
10795 (M_1_PIl): Likewise.
10796 (M_2_PIl): Likewise.
10797 (M_2_SQRTPIl): Likewise.
10798 (M_SQRT2l): Likewise.
10799 (M_SQRT1_2l): Likewise.
10800
10801 2012-05-31 David S. Miller <davem@davemloft.net>
10802
10803 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10804 values between float registers.
10805 * sysdeps/sparc/sparc64/memset.S: Likewise.
10806 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10807
10808 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10809
10810 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10811 -D_FORTIFY_SOURCE=1.
10812 (CPPFLAGS-tst-longjmp_chk.c): Define.
10813 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10814 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10815 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10816 CFLAGS-tst-wchar-h.c.
10817
10818 2012-05-31 Marek Polacek <polacek@redhat.com>
10819
10820 [BZ #14132]
10821 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10822 __endmntent_internal): Remove declaration.
10823 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10824 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10825 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10826
10827 2012-05-30 David S. Miller <davem@davemloft.net>
10828
10829 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10830 (___Q_simulate_exceptions): Use real FP ops rather than writing
10831 into the %fsr.
10832 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10833 Likewise.
10834
10835 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 [BZ #14117]
10838 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10839 * sysdeps/x86/bits/xtitypes.h: This.
10840
10841 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10842 * sysdeps/x86/bits/wordsize.h: This.
10843
10844 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10845 * sysdeps/x86/bits/huge_vall.h: This.
10846
10847 * sysdeps/i386/bits/select.h: Removed.
10848 * sysdeps/x86_64/bits/select.h: Renamed to ...
10849 * sysdeps/x86/bits/select.h: This.
10850
10851 * sysdeps/i386/bits/setjmp.h: Removed.
10852 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10853 * sysdeps/x86/bits/setjmp.h: This.
10854
10855 * sysdeps/i386/bits/mathdef.h: Removed.
10856 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10857 * sysdeps/x86/bits/mathdef.h: This.
10858
10859 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10860
10861 [BZ #14132]
10862 * include/sys/socket.h (__connect_internal)
10863 (__libc_sa_len_internal): Remove declaration.
10864 (__connect, __libc_sa_len): Declare hidden_proto.
10865 (SA_LEN): Remove use of INTUSE.
10866 * socket/connect.c: Add libc_hidden_def.
10867 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10868 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10869 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10870 alias.
10871 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10872 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10873 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10874 of adding _internal alias.
10875
10876 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10877
10878 [BZ #14117]
10879 * sysdeps/i386/bits/link.h: Removed.
10880 * sysdeps/i386/bits/linkmap.h: Likewise.
10881 * sysdeps/x86_64/bits/link.h: Renamed to ...
10882 * sysdeps/x86/bits/link.h: This.
10883 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10884 * sysdeps/x86/bits/linkmap.h: This.
10885
10886 * sysdeps/i386/bits/endian.h: Removed.
10887 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10888 * sysdeps/x86/bits/endian.h: This.
10889
10890 * sysdeps/i386/bits/byteswap.h: Removed.
10891 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10892 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10893 * sysdeps/x86/bits/byteswap.h: This.
10894 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10895 * sysdeps/x86/bits/byteswap-16.h: This.
10896 * sysdeps/i386/Implies: Add x86.
10897 * sysdeps/x86_64/Implies: Likewise.
10898
10899 2012-05-30 David S. Miller <davem@davemloft.net>
10900
10901 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10902 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10903 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10904 (FP_TRAPPING_EXCEPTIONS): Define.
10905 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10906 (FP_TRAPPING_EXCEPTIONS): Define.
10907 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10908 subnormals only when inexact has been signalled or underflow
10909 exceptions are enabled.
10910 (_FP_PACK_CANONICAL): Likewise.
10911
10912 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10913
10914 [BZ #14183]
10915 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10916 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10917
10918 2012-05-30 Richard Henderson <rth@twiddle.net>
10919
10920 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10921 with #ifndef NOT_IN_libc.
10922
10923 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10924 marked to avoid plt entry.
10925
10926 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10927
10928 [BZ #14112]
10929 * Makeconfig (default-abi): New macro.
10930 (abi-includes): Likewise.
10931 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10932 $(abi-$(default-abi)-lib-soname) for soname if defined.
10933 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10934 abi-variants.
10935 * Makefile (installed-stubs): Likewise.
10936 * include/stubs-biarch.h: Removed.
10937 * scripts/lib-names.awk: Only handle one library at a time.
10938 * scripts/soversions.awk: Remove WORDSIZE support.
10939 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10940 entries.
10941 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10942 Removed.
10943 (syscall-list-default-condition): Likewise.
10944 (syscall-list-default-condition): Likewise.
10945 (syscall-list-includes): Likewise.
10946 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10947 syscall-list-* with abi-*. Handle undefined abi-variants.
10948 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10949 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10950 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10951 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10952 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10953 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10954 Removed.
10955 (syscall-list-32-options): Likewise.
10956 (syscall-list-32-condition): Likewise.
10957 (syscall-list-64-options): Likewise.
10958 (syscall-list-64-condition): Likewise.
10959 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10960 macro.
10961 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10962 Renamed to ...
10963 (abi-*): This.
10964 (abi-64-ld-soname): New macro.
10965 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10966 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10967 Renamed to ...
10968 (abi-*): This.
10969 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10970 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10971
10972 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10973
10974 * sysdeps/unix/sysv/linux/kernel-features.h
10975 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10976 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10977 include <kernel-features.h>.
10978 [!__NR_ftruncate64]: Remove conditional code.
10979 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10980 [__NR_ftruncate64]: Make code unconditional.
10981 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10982 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10983 include <kernel-features.h>.
10984 [!__NR_ftruncate64]: Remove conditional code.
10985 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10986 [__NR_ftruncate64]: Make code unconditional.
10987 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10989 include <kernel-features.h>.
10990 [!__NR_ftruncate64]: Remove conditional code.
10991 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10992 [__NR_ftruncate64]: Make code unconditional.
10993 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10995 include <kernel-features.h>.
10996 [!__NR_ftruncate64]: Remove conditional code.
10997 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10998 [__NR_ftruncate64]: Make code unconditional.
10999 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11000
11001 * configure.in (libc_cv_fpie): Weaken to a compile test using
11002 LIBC_TRY_CC_OPTION.
11003 * configure: Regenerated.
11004
11005 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11006
11007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11011 Refreshed.
11012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11018 Refreshed.
11019
11020 2012-05-27 David S. Miller <davem@davemloft.net>
11021
11022 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11023 (___Q_zero): New.
11024 (__Q_simulate_exceptions): Return void. Change to simulate
11025 exceptions by writing into the %fsr.
11026 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11027 (__Qp_handle_exceptions): Likewise.
11028 (numbers): Delete.
11029 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11030 __Qp_handle_exceptions.
11031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11032 __Qp_handle_exceptions.
11033 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11034 as unused and give dummy FP_RND_NEAREST initializer.
11035 (FP_INHIBIT_RESULTS): Define.
11036 (___Q_simulate_exceptions): Update declaration.
11037 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11038 formatting.
11039 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11040 as unused and give dummy FP_RND_NEAREST initializer.
11041 (__Qp_handle_exceptions): Update declaration.
11042 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11043 formatting.
11044
11045 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11046
11047 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11048 the temporary FPU control word.
11049 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11050 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11051 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11052 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11053 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11054 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11055 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11056 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11057 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11058 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11059 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11060
11061 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11062
11063 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11064 fields.
11065
11066 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11067
11068 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11069 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11070 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11071 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11072 Likewise.
11073 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11074 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11075 Likewise.
11076
11077 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11078
11079 * po/h.po: Update from translation team.
11080
11081 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11082
11083 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11084
11085 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11086 handling of denormals.
11087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11088 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11089 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11090 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11094 Likewise.
11095
11096 2012-05-26 Marek Polacek <polacek@redhat.com>
11097
11098 [BZ #14152]
11099 * math/libm-test.inc (fma_test): Don't always expect underflow
11100 exception.
11101
11102 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11103
11104 [BZ #12416]
11105 * elf/tst-execstack.c: Include stackinfo.h.
11106 (do_test): Adjust test case to ensure that pthread_getattr_np
11107 behaviour remains the same after marking stack executable.
11108
11109 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11110
11111 * sysdeps/unix/sysv/linux/kernel-features.h
11112 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11113 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11114 kernel-features.h.
11115 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11116 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11117 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11118 kernel-features.h.
11119 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11120 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11121
11122 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11123
11124 * configure.in: Define the default includes to being none.
11125 * configure: Regenerated.
11126
11127 2012-05-25 Roland McGrath <roland@hack.frob.com>
11128
11129 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11130 * sysdeps/x86_64/setjmp.S: Likewise.
11131 * sysdeps/i386/bsd-setjmp.S: Likewise.
11132 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11133 * sysdeps/i386/setjmp.S: Likewise.
11134 * sysdeps/i386/__longjmp.S: Likewise.
11135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11136 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11137
11138 * include/stap-probe.h: New file.
11139 * configure.in: Handle --enable-systemtap.
11140 * configure: Regenerated.
11141 * config.h.in (USE_STAP_PROBE): New #undef.
11142 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11143 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11144 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11145
11146 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11147
11148 [BZ #13717]
11149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11150 to 2.4.0 where earlier.
11151 * sysdeps/unix/sysv/linux/configure: Regenerated.
11152 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11153 <kernel-features.h>.
11154 [__ASSUME_32BITUIDS]: Make code unconditional.
11155 [!__ASSUME_32BITUIDS]: Remove conditional code.
11156 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11157 <kernel-features.h>.
11158 [__ASSUME_32BITUIDS]: Make code unconditional.
11159 [!__ASSUME_32BITUIDS]: Remove conditional code.
11160 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11161 [__ASSUME_32BITUIDS]: Make code unconditional.
11162 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11163 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11164 <kernel-features.h>.
11165 [__ASSUME_32BITUIDS]: Make code unconditional.
11166 [!__ASSUME_32BITUIDS]: Remove conditional code.
11167 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11168 <kernel-features.h>.
11169 [__ASSUME_32BITUIDS]: Make code unconditional.
11170 [!__ASSUME_32BITUIDS]: Remove conditional code.
11171 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11172 <kernel-features.h>.
11173 [__ASSUME_32BITUIDS]: Make code unconditional.
11174 [!__ASSUME_32BITUIDS]: Remove conditional code.
11175 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11176 <kernel-features.h>.
11177 [__ASSUME_32BITUIDS]: Make code unconditional.
11178 [!__ASSUME_32BITUIDS]: Remove conditional code.
11179 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11180 <kernel-features.h>.
11181 [__ASSUME_32BITUIDS]: Make code unconditional.
11182 [!__ASSUME_32BITUIDS]: Remove conditional code.
11183 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11184 <kernel-features.h>.
11185 [__ASSUME_32BITUIDS]: Make code unconditional.
11186 [!__ASSUME_32BITUIDS]: Remove conditional code.
11187 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11188 <kernel-features.h>.
11189 [__ASSUME_32BITUIDS]: Make code unconditional.
11190 [!__ASSUME_32BITUIDS]: Remove conditional code.
11191 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11192 <kernel-features.h>.
11193 [__ASSUME_32BITUIDS]: Make code unconditional.
11194 [!__ASSUME_32BITUIDS]: Remove conditional code.
11195 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11196 <kernel-features.h>.
11197 [__ASSUME_32BITUIDS]: Make code unconditional.
11198 [!__ASSUME_32BITUIDS]: Remove conditional code.
11199 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11200 <kernel-features.h>.
11201 [__ASSUME_32BITUIDS]: Make code unconditional.
11202 [!__ASSUME_32BITUIDS]: Remove conditional code.
11203 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11204 <kernel-features.h>.
11205 [__NR_setresgid] (__setresgid): Do not declare.
11206 [__ASSUME_32BITUIDS]: Make code unconditional.
11207 [!__ASSUME_32BITUIDS]: Remove conditional code.
11208 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11209 <kernel-features.h>.
11210 [__NR_setresuid] (__setresuid): Do not declare.
11211 [__ASSUME_32BITUIDS]: Make code unconditional.
11212 [!__ASSUME_32BITUIDS]: Remove conditional code.
11213 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11214 <kernel-features.h>.
11215 [__ASSUME_32BITUIDS]: Make code unconditional.
11216 [!__ASSUME_32BITUIDS]: Remove conditional code.
11217 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11218 <kernel-features.h>.
11219 [__ASSUME_32BITUIDS]: Make code unconditional.
11220 [!__ASSUME_32BITUIDS]: Remove conditional code.
11221 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11222 <kernel-features.h>.
11223 [__ASSUME_32BITUIDS]: Make code unconditional.
11224 [!__ASSUME_32BITUIDS]: Remove conditional code.
11225 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11226 <kernel-features.h>.
11227 [__ASSUME_32BITUIDS]: Make code unconditional.
11228 [!__ASSUME_32BITUIDS]: Remove conditional code.
11229 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11230 <kernel-features.h>.
11231 [__ASSUME_32BITUIDS]: Make code unconditional.
11232 [!__ASSUME_32BITUIDS]: Remove conditional code.
11233 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11234 <kernel-features.h>.
11235 [__ASSUME_32BITUIDS]: Make code unconditional.
11236 [!__ASSUME_32BITUIDS]: Remove conditional code.
11237 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11238 <kernel-features.h>.
11239 [__ASSUME_32BITUIDS]: Make code unconditional.
11240 [!__ASSUME_32BITUIDS]: Remove conditional code.
11241 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11242 <kernel-features.h>.
11243 [__ASSUME_32BITUIDS]: Make code unconditional.
11244 [!__ASSUME_32BITUIDS]: Remove conditional code.
11245 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11246 <kernel-features.h>.
11247 [__ASSUME_32BITUIDS]: Make code unconditional.
11248 [!__ASSUME_32BITUIDS]: Remove conditional code.
11249 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11250 <kernel-features.h>.
11251 [__ASSUME_32BITUIDS]: Make code unconditional.
11252 [!__ASSUME_32BITUIDS]: Remove conditional code.
11253 * sysdeps/unix/sysv/linux/kernel-features.h
11254 (__ASSUME_SETRESUID_SYSCALL): Remove.
11255 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11256 (__ASSUME_32BITUIDS): Likewise.
11257 (__ASSUME_LDT_WORKS): Likewise.
11258 (__ASSUME_O_DIRECTORY): Likewise.
11259 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11260 architecture but not kernel version.
11261 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11262 (__ASSUME_MMAP2_SYSCALL): Likewise.
11263 (__ASSUME_STAT64_SYSCALL): Likewise.
11264 (__ASSUME_IPC64): Likewise.
11265 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11266 <kernel-features.h>.
11267 [__ASSUME_32BITUIDS]: Make code unconditional.
11268 [!__ASSUME_32BITUIDS]: Remove conditional code.
11269 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11270 <kernel-features.h>.
11271 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11272 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11273 132096]: Remove conditional code.
11274 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11275 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11276 <kernel-features.h>.
11277 [__ASSUME_32BITUIDS]: Make code unconditional.
11278 [!__ASSUME_32BITUIDS]: Remove conditional code.
11279 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11280 <kernel-features.h>.
11281 [__ASSUME_32BITUIDS]: Make code unconditional.
11282 [!__ASSUME_32BITUIDS]: Remove conditional code.
11283 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11284 <kernel-features.h>.
11285 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11286 unconditional.
11287 (__setresgid): Do not declare.
11288 [__ASSUME_32BITUIDS]: Make code unconditional.
11289 [!__ASSUME_32BITUIDS]: Remove conditional code.
11290 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11291 <kernel-features.h>.
11292 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11293 unconditional.
11294 (__setresuid): Do not declare.
11295 [__ASSUME_32BITUIDS]: Make code unconditional.
11296 [!__ASSUME_32BITUIDS]: Remove conditional code.
11297 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11298 <kernel-features.h>.
11299 [__ASSUME_32BITUIDS]: Make code unconditional.
11300 [!__ASSUME_32BITUIDS]: Remove conditional code.
11301 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11302 <kernel-features.h>.
11303 [__ASSUME_32BITUIDS]: Make code unconditional.
11304 [!__ASSUME_32BITUIDS]: Remove conditional code.
11305
11306 2012-05-25 Richard Henderson <rth@twiddle.net>
11307
11308 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11309 dl_hwcap to ifunc resolver.
11310 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11311 elf_ifunc_invoke.
11312 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11313 dl_hwcap to ifunc resolver.
11314 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11315
11316 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11317
11318 [BZ #14153]
11319 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11320 for |x| <= 2**-26, not 2**-57.
11321 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11322 exception.
11323
11324 2012-05-24 Jeff Law <law@redhat.com>
11325
11326 * stdio-common/Makefile (tests): Add bug25.
11327 * stdio-common/bug25.c: New test.
11328
11329 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11330
11331 [BZ #13576]
11332 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11333 multiple of MALLOC_ALIGNMENT in size.
11334 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11335
11336 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11337
11338 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11339 Require >= 256.
11340 (FILENAME_MAX): Use macro-int-constant.
11341 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11342 (_IOFBF): Use macro-int-constant.
11343 (_IOLBF): Likewise.
11344 (_IONBF): Likewise.
11345 (SEEK_CUR): Likewise.
11346 (SEEK_END): Likewise.
11347 (SEEK_SET): Likewise.
11348 (TMP_MAX): Likewise.
11349 (EOF): Use macro-int-constant. Require < 0.
11350 (NULL): Use macro-constant. Require == 0.
11351 (stdin): Require type to be FILE *.
11352 (stdout): Likewise.
11353 (stderr): Likewise.
11354 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11355 macro-int-constant.
11356 (EXIT_SUCCESS): Likewise.
11357 (NULL): Use macro-constant. Require == 0.
11358 (RAND_MAX): Use macro-int-constant.
11359 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11360 [C99-based standards] (strtof): Require function.
11361 [C99-based standards] (strtold): Likewise.
11362 [C99-based standards] (strtoll): Likewise.
11363 [C99-based standards] (strtoull): Likewise.
11364 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11365 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11366 [ISO || ISO99 || ISO11] (math.h): Likewise.
11367 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11368 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11370
11371 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11372
11373 [BZ #14132]
11374 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11375 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11376 * intl/dgettext.c (DCGETTEXT): Likewise.
11377 * intl/gettext.c (DCGETTEXT): Likewise.
11378 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11379 * posix/regex_internal.h (gettext): Likewise.
11380 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11381 Remove declaration.
11382 * include/argz.h (__argz_count_internal)
11383 (__argz_stringify_internal): Remove declaration.
11384 (__argz_count, __argz_stringify): Declare hidden proto.
11385 * intl/dcgettext.c: Remove use of INTDEF.
11386 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11387 * string/argz-stringify.c: Likewise.
11388 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11389 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11390 Declare hidden proto.
11391 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11392 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11393 Declare hidden proto.
11394 * include/stdio.h (__asprintf_internal): Don't declare.
11395 (__asprintf): Don't define as macro. Declare hidden proto.
11396 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11397 (__fsetlocking): Declare hidden proto.
11398 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11399 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11400 hidden proto.
11401 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11402 (_IO_setlinebuf): Remove use of INTUSE.
11403 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11404 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11405 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11406 Remove declaration.
11407 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11408 (_IO_do_flush): Remove use of INTUSE.
11409 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11410 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11411 (_IO_adjust_column, _IO_least_wmarker)
11412 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11413 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11414 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11415 (_IO_default_doallocate, _IO_wdefault_doallocate)
11416 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11417 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11418 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11419 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11420 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11421 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11422 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11423 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11424 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11425 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11426 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11427 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11428 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11429 proto.
11430 (_IO_flush_all_internal, _IO_adjust_column_internal)
11431 (_IO_default_uflow_internal, _IO_default_finish_internal)
11432 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11433 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11434 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11435 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11436 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11437 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11438 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11439 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11440 (_IO_file_close_internal, _IO_file_close_it_internal)
11441 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11442 (_IO_file_init_internal, _IO_file_attach_internal)
11443 (_IO_file_fopen_internal, _IO_file_read_internal)
11444 (_IO_file_sync_internal, _IO_file_seek_internal)
11445 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11446 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11447 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11448 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11449 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11450 (_IO_list_all_internal, _IO_link_in_internal)
11451 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11452 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11453 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11454 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11455 (_IO_do_write_internal, _IO_padn_internal)
11456 (_IO_getline_info_internal, _IO_getline_internal)
11457 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11458 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11459 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11460 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11461 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11462 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11463 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11464 with libc_hidden_ver, remove use of INTUSE.
11465 * libio/genops.c: Likewise.
11466 * libio/freopen.c: Likewise.
11467 * libio/freopen64.c: Likewise.
11468 * libio/iofclose.c: Likewise.
11469 * libio/iofdopen.c: Likewise.
11470 * libio/iofflush.c: Likewise.
11471 * libio/iofflush_u.c: Likewise.
11472 * libio/iofgets.c: Likewise.
11473 * libio/iofgets_u.c: Likewise.
11474 * libio/iofopen.c: Likewise.
11475 * libio/iofopncook.c: Likewise.
11476 * libio/iofread.c: Likewise.
11477 * libio/iofread_u.c: Likewise.
11478 * libio/ioftell.c: Likewise.
11479 * libio/iofwrite.c: Likewise.
11480 * libio/iogetline.c: Likewise.
11481 * libio/iogets.c: Likewise.
11482 * libio/iogetwline.c: Likewise.
11483 * libio/iopadn.c: Likewise.
11484 * libio/iopopen.c: Likewise.
11485 * libio/ioseekoff.c: Likewise.
11486 * libio/ioseekpos.c: Likewise.
11487 * libio/iosetbuffer.c: Likewise.
11488 * libio/iosetvbuf.c: Likewise.
11489 * libio/ioungetc.c: Likewise.
11490 * libio/ioungetwc.c: Likewise.
11491 * libio/iovdprintf.c: Likewise.
11492 * libio/iovsprintf.c: Likewise.
11493 * libio/iovsscanf.c: Likewise.
11494 * libio/memstream.c: Likewise.
11495 * libio/obprintf.c: Likewise.
11496 * libio/oldfileops.c: Likewise.
11497 * libio/oldiofclose.c: Likewise.
11498 * libio/oldiofdopen.c: Likewise.
11499 * libio/oldiofopen.c: Likewise.
11500 * libio/oldiopopen.c: Likewise.
11501 * libio/oldstdfiles.c: Likewise.
11502 * libio/putc.c: Likewise.
11503 * libio/setbuf.c: Likewise.
11504 * libio/setlinebuf.c: Likewise.
11505 * libio/stdfiles.c: Likewise.
11506 * libio/strops.c: Likewise.
11507 * libio/vasprintf.c: Likewise.
11508 * libio/vscanf.c: Likewise.
11509 * libio/vsnprintf.c: Likewise.
11510 * libio/vswprintf.c: Likewise.
11511 * libio/wfiledoalloc.c: Likewise.
11512 * libio/wfileops.c: Likewise.
11513 * libio/wgenops.c: Likewise.
11514 * libio/wmemstream.c: Likewise.
11515 * libio/wstrops.c: Likewise.
11516 * libio/__fpurge.c: Likewise.
11517 * libio/__fsetlocking.c: Likewise.
11518 * assert/assert.c: Likewise.
11519 * debug/fgets_chk.c: Likewise.
11520 * debug/fgets_u_chk.c: Likewise.
11521 * debug/fread_chk.c: Likewise.
11522 * debug/fread_u_chk.c: Likewise.
11523 * debug/gets_chk.c: Likewise.
11524 * debug/obprintf_chk.c: Likewise.
11525 * debug/vasprintf_chk.c: Likewise.
11526 * debug/vdprintf_chk.c: Likewise.
11527 * debug/vsnprintf_chk.c: Likewise.
11528 * debug/vsprintf_chk.c: Likewise.
11529 * malloc/mtrace.c: Likewise.
11530 * misc/error.c: Likewise.
11531 * misc/syslog.c: Likewise.
11532 * stdio-common/asprintf.c: Likewise.
11533 * stdio-common/fxprintf.c: Likewise.
11534 * stdio-common/getw.c: Likewise.
11535 * stdio-common/isoc99_fscanf.c: Likewise.
11536 * stdio-common/isoc99_scanf.c: Likewise.
11537 * stdio-common/isoc99_vfscanf.c: Likewise.
11538 * stdio-common/isoc99_vscanf.c: Likewise.
11539 * stdio-common/isoc99_vsscanf.c: Likewise.
11540 * stdio-common/printf-prs.c: Likewise.
11541 * stdio-common/printf_fp.c: Likewise.
11542 * stdio-common/printf_fphex.c: Likewise.
11543 * stdio-common/printf_size.c: Likewise.
11544 * stdio-common/putw.c: Likewise.
11545 * stdio-common/scanf.c: Likewise.
11546 * stdio-common/sprintf.c: Likewise.
11547 * stdio-common/tmpfile.c: Likewise.
11548 * stdio-common/vfprintf.c: Likewise.
11549 * stdio-common/vfscanf.c: Likewise.
11550 * stdlib/strfmon_l.c: Likewise.
11551 * sunrpc/openchild.c: Likewise.
11552 * sunrpc/xdr_stdio.c: Likewise.
11553 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11554 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11555
11556 2012-05-24 Roland McGrath <roland@hack.frob.com>
11557
11558 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11559
11560 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11561 in the third column, to generate for the shared library an IFUNC
11562 that uses _dl_vdso_vsym.
11563 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11564 * Makeconfig (object-suffixes-noshared): New variable.
11565
11566 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11567 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11568 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11569 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11570
11571 [BZ #14132]
11572 * include/sys/time.h (__gettimeofday): Remove macro.
11573 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11574 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11575 Remove INTDEF.
11576 (__gettimeofday): Add libc_hidden_def.
11577 (gettimeofday): Add libc_hidden_weak.
11578 * sysdeps/mach/gettimeofday.c: Likewise.
11579 * sysdeps/posix/gettimeofday.c: Likewise.
11580 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11581 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11583 (__gettimeofday_internal): Remove strong_alias.
11584 (__gettimeofday): Add libc_hidden_def.
11585 (gettimeofday): Add libc_hidden_weak.
11586 * sysdeps/unix/syscalls.list (gettimeofday):
11587 Remove __gettimeofday_internal alias.
11588
11589 2012-05-24 Daniel Jacobowitz <drow@false.org>
11590 H.J. Lu <hongjiu.lu@intel.com>
11591
11592 [BZ #12495]
11593 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11594 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11595 (largebin_index_32_big): New.
11596 (largebin_index): Use it for 16-byte alignment.
11597 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11598 correction with front_misalign.
11599
11600 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11601
11602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11604 Likewise.
11605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11606 Likewise.
11607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11608 Likewise.
11609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11610 Likewise.
11611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11612 Likewise.
11613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11614 Likewise.
11615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11616 Likewise.
11617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11618 Likewise.
11619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11620 Likewise.
11621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11622 Likewise.
11623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11624 Likewise.
11625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11626 Likewise.
11627
11628 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11629 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11630
11631 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11632
11633 [BZ #10846]
11634 [BZ #14036]
11635 * math/libm-test.inc (exp_test): Add test from bug 14036.
11636 (pow_test): Add test from bug 10846.
11637
11638 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11639 and other flags.
11640 (special_function): Do not include flags in test name.
11641 (parse_args): Likewise.
11642 * sysdeps/i386/fpu/libm-test-ulps: Update.
11643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11644 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11645 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11647
11648 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11649 exceptions.
11650 * math/libm-test.inc ("Philosophy"): Update comment about
11651 exception testing.
11652 (UNDERFLOW_EXCEPTION): New macro.
11653 (UNDERFLOW_EXCEPTION_OK): Likewise.
11654 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11655 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11656 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11657 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11658 (INVALID_EXCEPTION_OK): Update value.
11659 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11660 (OVERFLOW_EXCEPTION_OK): Likewise.
11661 (IGNORE_ZERO_INF_SIGN): Likewise.
11662 (test_exceptions): Handle underflow exceptions.
11663 (acos_test): Update for underflow exception expectations.
11664 (cexp_test): Likewise.
11665 (clog_test): Likewise.
11666 (clog10_test): Likewise.
11667 (csqrt_test): Likewise.
11668 (ctan_test): Likewise.
11669 (ctanh_test): Likewise.
11670 (exp_test): Likewise.
11671 (exp10_test): Likewise.
11672 (exp2_test): Likewise.
11673 (expm1_test): Likewise.
11674 (fma_test): Likewise.
11675 (j0_test): Likewise.
11676 (jn_test): Likewise.
11677 (nexttoward_test): Likewise.
11678 (pow_test): Likewise.
11679 (scalbn_test): Likewise.
11680 (scalbln_test): Likewise.
11681 (tan_test): Likewise.
11682 (y1_test): Likewise.
11683 * sysdeps/i386/fpu/libm-test-ulps: Update.
11684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11685
11686 2012-05-23 David S. Miller <davem@davemloft.net>
11687
11688 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11689 (__libc_sigaction): Remove unused local variables.
11690
11691 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11692
11693 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11694
11695 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11696
11697 mktime: avoid signed integer overflow
11698 * time/mktime.c (__mktime_internal): Do not mishandle the case
11699 where diff == INT_MIN.
11700
11701 mktime: simplify computation of average
11702 * time/mktime.c (ranged_convert): Use new time_t_avg function
11703 instead of rolling our own (probably-slower) code.
11704
11705 mktime: do not assume signed right shift propagates sign bit
11706 * time/mktime.c (isdst_differ): New static function.
11707 (__mktime_internal): No need to normalize tm_isdst now.
11708 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11709 tm_isdst values.
11710
11711 mktime: merge another wrapv change from gnulib
11712 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11713 from some compilers.
11714
11715 mktime: remove incorrect attempt at unusual arithmetics
11716 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11717 The code didn't really work on such machines anyway.
11718 (TYPE_MINIMUM): Assume two's complement.
11719 (twos_complement_arithmetic): Verify that long_int and time_t
11720 are two's complement (or unsigned, in the latter case).
11721
11722 mktime: check signed shifts on long_int and time_t, too
11723 * time/mktime.c (SHR): Check that shifts work as desired
11724 on the types long_int and time_t too, as SHR is used on
11725 such types.
11726
11727 mktime: do not assume 'long' is wide enough
11728 * time/mktime.c (verify): Move decl up.
11729 (long_int): New type.
11730 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11731 to remove assumption in the code that 'long' is wide enough to
11732 store year values. This assumption is not true on x32 and on
11733 some non-glibc platforms.
11734
11735 mktime: merge wrapv change from gnulib
11736 * time/mktime.c (WRAPV): New macro.
11737 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11738 (guess_time_tm, __mktime_internal): Do not assume that signed
11739 integer overflow wraps around; modern compilers generate code
11740 where this assumption is no longer valid.
11741
11742 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11743
11744 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11745 Replace "jmp L(pseudo_end)" with "ret".
11746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11747 Likewise.
11748
11749 2012-05-23 Andreas Jaeger <aj@suse.de>
11750
11751 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11752 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11753
11754 2012-05-23 Andreas Jaeger <aj@suse.de>
11755 Maximilian Attems <max@stro.at>
11756
11757 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11758 New macros.
11759
11760 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11761
11762 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11763 code so that pseudo_end is just ret and the stack pointer is
11764 correct also for static library in error case.
11765
11766 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11767
11768 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11769 move to syscalls.list.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11774
11775 * manual/install.texi (Running make install): Do not mention Linux
11776 kernel version for which pt_chown is not needed.
11777 (Linux): Do not mention problems with nscd with 2.0 kernels.
11778 * INSTALL: Regenerated.
11779
11780 2012-05-23 Andreas Jaeger <aj@suse.de>
11781
11782 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11783 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11784 macro.
11785 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11786 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11787 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11788 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11789 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11790 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11791 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11792 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11793 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11794 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11795 * sysdeps/unix/sysv/linux/bits/in.h
11796 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11797
11798 2012-05-22 Roland McGrath <roland@hack.frob.com>
11799
11800 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11801 (PREPARE_VERSION): Just use assert instead, it will be elided
11802 under [NDEBUG] anyway.
11803
11804 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11805
11806 * sysdeps/unix/sysv/linux/Makefile: Include
11807 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11808 (sysdep_routines): Remove sysctl.
11809 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11810 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11811 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11812 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11813 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11814
11815 2012-05-22 Andreas Jaeger <aj@suse.de>
11816
11817 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11818 that pseudo_end is just ret and the stack pointer is correct also
11819 for static library in error case.
11820
11821 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11822
11823 [BZ #14122]
11824 * nss/nsswitch.c (defconfig_entries): New variable.
11825 (__nss_database_lookup): Don't leak defconfig entries.
11826 (nss_parse_service_list): Don't leak on error paths.
11827 (free_database_entries): New function.
11828 (free_defconfig): New function.
11829 (free_mem): Move common code to free_database_entries.
11830
11831 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11832
11833 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11834 Add arch_prctl.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11836
11837 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11838 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11840 New macro.
11841 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11842 (INTERNAL_SYSCALL_TYPES): Likewise.
11843 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11844 (LOAD_REGS_TYPES_[1-6]): Likewise.
11845 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11846 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11847
11848 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11849
11850 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11851 copysignl for GLIBC_2_0.
11852 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11853 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11855 logbl for GLIBC_2_0.
11856 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11857 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11858
11859 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11860
11861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11862 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11863
11864 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11865 Use "neg %eax".
11866
11867 * time/mktime.c: Update copyright years.
11868
11869 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11870
11871 mktime: merge comment-quoting-style change from gnulib
11872 * time/mktime.c: Quote 'like this' in comments.
11873 The GNU coding standards suggest that we no longer quote `like this',
11874 as "`" and "'" are typically rendered asymmetrically nowadays.
11875 The typical gnulib style is to quote 'like this' when quoting
11876 code, and "like this" when quoting English.
11877
11878 * time/mktime.c (compile-command): Add "-I.".
11879
11880 mktime: merge mktime-internal.h change from gnulib
11881 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11882
11883 mktime: merge time_r change from gnulib
11884 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11885
11886 mktime: merge DEBUG change from gnulib
11887 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11888 case system <time.h> has a #define.
11889
11890 mktime: merge <sys/types.h> change from gnulib
11891 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11892 since <time.t> is now guaranteed to define time_t.
11893
11894 mktime: merge HAVE_CONFIG_H change from gnulib
11895 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11896
11897 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11898
11899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11900 Use "neg %eax".
11901
11902 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11903 __rlim_t cast.
11904 (struct rusage): Use anonymous union to pad each field to
11905 __syscall_slong_t.
11906
11907 2012-05-21 David S. Miller <davem@davemloft.net>
11908
11909 * Makefules (o-iterator): Remove .s cases.
11910 (compile-command.s): Delete.
11911 (COMPILE.s): Delete.
11912 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11913
11914 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11915
11916 * configure.in (libc_cv_predef_stack_protector): Only consider
11917 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11918 * configure: Regenerated.
11919
11920 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11921
11922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11923 New macro. Use R*LP on int and pointer.
11924 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11925 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11926 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11927 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11928
11929 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11930 [__WORDSIZE_TIME64_COMPAT32] instead of
11931 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11932 (struct utmp): Likewise.
11933 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11934 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11935 Renamed to ...
11936 (__WORDSIZE_TIME64_COMPAT32): This.
11937 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11938 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11939 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11940 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11941 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11942 (__WORDSIZE_TIME64_COMPAT32): New macro.
11943
11944 2012-05-21 Andreas Jaeger <aj@suse.de>
11945
11946 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11947 only if [SHARED]. Add prototype for __wcschr_ia32.
11948
11949 2012-05-21 Roland McGrath <roland@hack.frob.com>
11950
11951 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11952 of %rbp unmolested in the jmp_buf while mangling the low bits.
11953 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11954 unmolested high bits of %rbp while demangling the low bits.
11955 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11956
11957 2012-05-21 Andreas Jaeger <aj@suse.de>
11958
11959 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11960 * sunrpc/svc_simple.c: Use it for registerrpc.
11961 * sunrpc/xcrypt.c: Use it for passwd2des.
11962
11963 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11964
11965 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11966
11967 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11968 Don't define if [__SYSCALL_WORDSIZE != 32].
11969 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11970 New macro.
11971
11972 2012-05-21 Bruno Haible <bruno@clisp.org>
11973 Andreas Jaeger <aj@suse.de>
11974
11975 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11976 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11977 inptr and inend for must_buffer_ch.
11978 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11979 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11980 * stdio-common/Makefile (tests): Remove bug15.
11981 (bug15-ENV): Remove macro.
11982 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11983 anymore.
11984
11985 2012-05-19 Andreas Jaeger <aj@suse.de>
11986 Roland McGrath <roland@hack.frob.com>
11987
11988 * manual/contrib.texi: Completely rewritten. It contains now an
11989 alphabetical list of contributors and their contributions.
11990
11991 2012-05-21 Richard Henderson <rth@twiddle.net>
11992
11993 * misc/getauxval.c (__getauxval): Use unsigned long int.
11994 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11995 (getauxval): Use unsigned long int.
11996
11997 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12000
12001 2012-05-21 Roland McGrath <roland@hack.frob.com>
12002
12003 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12004 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12005 __alignof__ (long double).
12006
12007 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12008
12009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12010
12011 2012-05-20 Richard Henderson <rth@twiddle.net>
12012
12013 * misc/getauxval.c: New file.
12014 * misc/sys/auxv.h: New file.
12015 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12016 (routines): Add getauxval.
12017 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12018 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12019 * elf/dl-sysdep.c (_dl_auxv): Remove.
12020 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12021 * elf/dl-support.c (_dl_auxv): New variable.
12022 (_dl_aux_init): Initialize it.
12023 * manual/startup.texi (Auxiliary Vector): New node.
12024 * sysdeps/generic/bits/hwcap.h: New file.
12025 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12026 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12027 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12028 * sysdeps/sparc/sysdep.h: ... here. Include it.
12029 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12030 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12032 Update.
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12041
12042 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12043
12044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12045
12046 2012-05-19 David S. Miller <davem@davemloft.net>
12047
12048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12049
12050 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12051
12052 [BZ #14123]
12053 * math/s_ccosh.c: Include <float.h>
12054 (__ccosh): Avoid internal overflow calculating sinh and cosh
12055 values before multiplying by sin and cos values.
12056 * math/s_ccoshf.c: Likewise.
12057 * math/s_ccoshl.c: Likewise.
12058 * math/s_csin.c: Likewise.
12059 * math/s_csinf.c: Likewise.
12060 * math/s_csinl.c: Likewise.
12061 * math/s_csinh.c: Likewise.
12062 * math/s_csinhf.c: Likewise.
12063 * math/s_csinhl.c: Likewise.
12064 * math/libm-test.inc (ccos_test): Add more tests.
12065 (ccosh_test): Likewise.
12066 (csin_test): Likewise.
12067 (csinh_test): Likewise.
12068 * sysdeps/i386/fpu/libm-test-ulps: Update.
12069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12070
12071 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12072
12073 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12074 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12075
12076 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12077
12078 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12079
12080 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12081 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12082 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12083 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12084 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12085 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12086 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12087 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12088 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12089 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12090 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12091 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12092 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12093 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12094 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12095 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12096 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12097 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12098 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12099 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12100 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12101 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12102 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12103 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12104 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12105 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12106 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12107 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12108 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12109 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12110 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12111
12112 2012-05-18 Andreas Jaeger <aj@suse.de>
12113
12114 * csu/.gitignore: Delete.
12115
12116 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12117
12118 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12119 (timex): Use __syscall_slong_t.
12120
12121 2012-05-18 Andreas Jaeger <aj@suse.de>
12122 Carlos O'Donell <carlos_odonell@mentor.com>
12123
12124 * manual/install.texi (Configuring and compiling): Update
12125 description about files modified in the source directory.
12126 * INSTALL: Regenerated.
12127
12128 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12129
12130 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12131 value. Use "or" to set return value to -1.
12132 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12133 negate return value.
12134
12135 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12136
12137 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12138 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12139 failure if the compiler has Graphite support disabled.
12140 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12141 Likewise.
12142 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12143 CFLAGS-memmove.c): Likewise.
12144 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12145 Likewise.
12146
12147 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12148
12149 * sysdeps/x86_64/x32/_itoa.h: New file.
12150
12151 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12152 getdents system call only if kernel and user dirents have the
12153 same d_ino and d_off.
12154
12155 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12156 LLONG_MAX != LONG_MAX.
12157 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12158 (_fitoa_word): Likewise.
12159
12160 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12161 years.
12162 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12163 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12164 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12165
12166 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12167 include <bits/wordsize.h>. Check __x86_64__ instead of
12168 __WORDSIZE.
12169 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12170 if __x86_64__ is defined. Use anonymous union on fpstate.
12171
12172 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12173 anonymous union.
12174
12175 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12176
12177 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12178 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12179 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12180 Refer to _rtld_local_ro instead of _rtld_global_ro.
12181 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12182 Likewise.
12183 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12184 Likewise.
12185 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12186 Likewise.
12187 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12188 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12189 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12190
12191 * sysdeps/powerpc/powerpc32/dl-machine.c
12192 (__elf_machine_runtime_setup) [PROF]: Don't reference
12193 _dl_prof_resolve.
12194
12195 2012-05-18 Andreas Jaeger <aj@suse.de>
12196
12197 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12198 function only available for GCCs before 3.4 since GCC 3.4
12199 introduced a builtin.
12200 (lrint): Likewise.
12201 (llrintf): Likewise.
12202 (llrint): Likewise.
12203 (fmaxf): Likewise.
12204 (fmax): Likewise.
12205 (fminf): Likewise.
12206 (fmin): Likewise.
12207 (rint): Likewise.
12208 (rintf): Likewise.
12209 (nearbyint): Likewise.
12210 (nearbyintf): Likewise.
12211 (ceil): Likewise.
12212 (ceilf): Likewise.
12213 (floor): Likewise.
12214 (floorf): Likewise.
12215
12216 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12217
12218 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12219 on both fields and cast pointer to __syscall_ulong_t.
12220
12221 * bits/types.h (__fsword_t): New type.
12222 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12223 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12224 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12225 (__FSWORD_T_TYPE): Likewise.
12226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12227 (__FSWORD_T_TYPE): Likewise.
12228 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12229 (__FSWORD_T_TYPE): Likewise.
12230 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12231 (__FSWORD_T_TYPE): Likewise.
12232 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12233 __SWORD_TYPE with __fsword_t.
12234 (statfs64): Likewise.
12235
12236 2012-05-17 David S. Miller <davem@davemloft.net>
12237
12238 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12239
12240 2012-05-17 Andreas Jaeger <aj@suse.de>
12241
12242 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12243 warning.
12244
12245 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12246
12247 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12248
12249 2012-05-17 Andreas Jaeger <aj@suse.de>
12250
12251 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12252 when it is used.
12253
12254 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12255
12256 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12257
12258 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12259
12260 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12261 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12262
12263 2012-05-17 Andreas Jaeger <aj@suse.de>
12264 Carlos O'Donell <carlos_odonell@mentor.com>
12265
12266 [BZ #14059]
12267 * sysdeps/x86_64/multiarch/init-arch.h
12268 (bit_YMM_Usable): Rename to...
12269 (bit_AVX_Usable): ... this.
12270 (bit_FMA4_Usable): New macro.
12271 (bit_XMM_state): New macro.
12272 (bit_YMM_state): New macro.
12273 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12274 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12275 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12276 (CPUID_OSXSAVE): New macro.
12277 (CPUID_AVX): New macro.
12278 (CPUID_FMA4): New macro.
12279 (index_YMM_Usable): Rename to...
12280 (index_AVX_Usable): ... this.
12281 (HAS_AVX): Use HAS_ARCH_FEATURE.
12282 (HAS_FMA4): Likewise.
12283 (HAS_YMM_USABLE): Remove.
12284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12285 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12286 are present.
12287 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12288 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12289 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12290 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12291 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12292
12293 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12294
12295 * math/libm-test.c: Support platforms without multiple rounding modes.
12296 * math/bug-nextafter.c: Support platforms without FP exceptions.
12297 * math/bug-nexttoward.c: Likewise.
12298 * math/test-fenv.c: Likewise.
12299 * math/test-misc.c: Likewise.
12300 * stdlib/bug-getcontext.c: Likewise.
12301
12302 2012-05-17 Andreas Jaeger <aj@suse.de>
12303
12304 * manual/examples/search.c (critter_cmp): Change signature to
12305 avoid warnings.
12306 * manual/string.texi (Collation Functions): Likewise.
12307
12308 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12309
12310 * bits/types.h: Fold copyright years.
12311 * bits/typesizes.h: Likewise.
12312 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12316 * time/time.h: Likewise.
12317
12318 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12319
12320 [BZ #208]
12321 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12322 in instead of returning them. Return void.
12323 (__libc_mallinfo): Accumulate over all arenas.
12324 (__malloc_stats): Adjust for change in int_mallinfo interface.
12325
12326 2012-05-16 Roland McGrath <roland@hack.frob.com>
12327
12328 [BZ #10375]
12329 * configure.in (NM): Add AC_CHECK_TOOL for it.
12330 (libc_extra_cflags): New substituted variable.
12331 Check for -fstack-protector being used implicitly.
12332 * configure: Regenerated.
12333 * config.make.in (config-extra-cflags): New variable,
12334 gets @libc_extra_cflags@.
12335 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12336
12337 [BZ #10375]
12338 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12339 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12340 * configure: Regenerated.
12341 * config.make.in (CPPUNDEFS): New substituted variable.
12342 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12343 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12344 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12345
12346 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12347
12348 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12349 (mq_attr): Use __syscall_slong_t.
12350
12351 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12352
12353 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12354 Check __x86_64__ instead of __WORDSIZE.
12355 (_STAT_VER_LINUX): Likewise.
12356 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12357 __syscall_ulong_t and __syscall_slong_t.
12358 (stat64): Likewise.
12359
12360 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12361
12362 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12363
12364 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12367
12368 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12369
12370 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12371 __syscall_ulong_t.
12372
12373 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12374 include <bits/wordsize.h>. Check __x86_64__ instead of
12375 __WORDSIZE.
12376 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12377 defined.
12378 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12379
12380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12381 include <bits/wordsize.h>. Check __x86_64__ instead of
12382 __WORDSIZE.
12383 (user_regs_struct): Use "__extension__ unsigned long long"
12384 instead of "unsigned long" if __x86_64__ is defined.
12385 (user): Likewise. Pad after pointer field if __ILP32__ is
12386 defined.
12387
12388 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12389
12390 * configure.in (makeinfo): Require version 4.5 or later. Allow
12391 versions 5 to 9.
12392 * configure: Regenerated.
12393 * manual/install.texi (texinfo): Increase version requirement to
12394 4.5 or later.
12395 * INSTALL: Regenerated.
12396
12397 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12398
12399 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12400
12401 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12402
12403 * sysdeps/x86_64/x32/ffs.c: New file.
12404
12405 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12406 __syscall_ulong_t.
12407 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12408 defined. Use __syscall_ulong_t.
12409 (shminfo): Use __syscall_ulong_t.
12410 (shm_info): Likewise.
12411
12412 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12413 __syscall_ulong_t.
12414
12415 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12416 <bits/wordsize.h>.
12417 (msgqnum_t): Use __syscall_ulong_t.
12418 (msglen_t): Likewise.
12419 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12420 __syscall_ulong_t.
12421
12422 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12423 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12424
12425 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12426
12427 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12428 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12429
12430 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12431 __syscall_slong_t.
12432
12433 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12434 include <bits/wordsize.h>. Check __x86_64__ instead of
12435 __WORDSIZE.
12436
12437 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12438 "unsigned long long int" if __x86_64__ is defined.
12439 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12440
12441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12442 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12443 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12444
12445 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12446 <stdint.h>.
12447 (GET_PC): Cast to uintptr_t first.
12448 (GET_FRAME): Likewise.
12449 (GET_STACK): Likewise.
12450
12451 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12452 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12453 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12454 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12455 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12456 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12457 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12458 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12459 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12460 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12461 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12462 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12463 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12464 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12465 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12466 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12467 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12468 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12469 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12471 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12472 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12473 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12474 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12475 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12476 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12477 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12478 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12480
12481 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12482
12483 * Makerules (+depfiles): Also collect depfiles from .oS in
12484 $(extra-objs).
12485 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12486 .oS, $(libnldbl-routines)).
12487
12488 * Makerules (native-compile-mkdep-flags): Define.
12489 * sunrpc/Makefile (extra-objs): Add $(addprefix
12490 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12491 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12492 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12493 calling $(make-target-directory).
12494
12495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12496
12497 * bits/types.h (__snseconds_t): Removed.
12498 * time/time.h (struct timespec): Replace __snseconds_t with
12499 __syscall_slong_t.
12500 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12501 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12502 Likewise.
12503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12504 (__SNSECONDS_T_TYPE): Likewise.
12505 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12506 (__SNSECONDS_T_TYPE): Likewise.
12507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12508 (__SNSECONDS_T_TYPE): Likewise.
12509
12510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12511
12512 * sysdeps/mach/hurd/bits/typesizes.h
12513 (__SYSCALL_SLONG_TYPE): New macro.
12514 (__SYSCALL_ULONG_TYPE): Likewise.
12515
12516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12517
12518 * bits/types.h (__syscall_slong_t): New type.
12519 (__syscall_ulong_t): Likewise.
12520
12521 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12522 (__SYSCALL_ULONG_TYPE): Likewise.
12523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12524 (__SYSCALL_SLONG_TYPE): Likewise.
12525 (__SYSCALL_ULONG_TYPE): Likewise.
12526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12527 (__SYSCALL_SLONG_TYPE): Likewise.
12528 (__SYSCALL_ULONG_TYPE): Likewise.
12529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12530 (__SYSCALL_SLONG_TYPE): Likewise.
12531 (__SYSCALL_ULONG_TYPE): Likewise.
12532
12533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12534
12535 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12536 Add sigaltstack-offsets.sym.
12537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12538 <sigaltstack-offsets.h>.
12539 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12540 longjmp_msg pointer.
12541 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12542 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12543 signal stack.
12544 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12545
12546 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12547
12548 * elf/stackguard-macros.h: Remove file.
12549 * sysdeps/generic/stackguard-macros.h: New file.
12550 * sysdeps/i386/stackguard-macros.h: Likewise.
12551 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12552 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12553 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12554 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12555 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12556 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12557 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12558 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12559 <elf/stackguard-macros.h>.
12560
12561 [BZ #14109]
12562 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12563 __aligned__ in attribute.
12564 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12565 (gregset_t): Likewise.
12566
12567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12568
12569 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12570 * sysdeps/x86_64/64/Implies-after: Here. New file.
12571 * sysdeps/x86_64/x32/Implies-after: New file.
12572
12573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12574
12575 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12576 and access return value for _dl_profile_fixup. Use R10_LP to
12577 load frame size.
12578
12579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12580
12581 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12582
12583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12584
12585 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12586 * sysdeps/x86_64/x32/sysdep.h: New file.
12587
12588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12591 * sysdeps/x86_64/setjmp.S: Likewise.
12592
12593 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12594
12595 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12596 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12597 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12598 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12599 remove unused global constant.
12600
12601 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12602
12603 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12604 include of <not-cancel.h>.
12605
12606 2012-05-15 Roland McGrath <roland@hack.frob.com>
12607
12608 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12609
12610 2012-05-15 Jeff Law <law@redhat.com>
12611 Andreas Jaeger <aj@suse.de>
12612
12613 [BZ #13594]
12614 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12615 out from...
12616 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12617 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12618 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12619 code changing __hst_map_handle.map.
12620
12621 2012-05-15 Roland McGrath <roland@hack.frob.com>
12622
12623 * configure.in (sysnames): Look for Implies-before and Implies-after
12624 files.
12625 * configure: Regenerated.
12626
12627 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12628
12629 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12630 8-byte data alignment with LP_SIZE alignment.
12631
12632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12633
12634 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12635 into R10_LP.
12636
12637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12638
12639 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12640
12641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12642
12643 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12644 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12645 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12646 Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12648
12649 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12650
12651 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12652 (stackinfo_sub_sp): Likewise.
12653
12654 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12657 RAX_LP.
12658
12659 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12660
12661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12662 into R*_LP.
12663
12664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12665
12666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12667 sizes into R*_LP.
12668
12669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12670
12671 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12672
12673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12676 into R11_LP and load __x86_64_shared_cache_size_half into
12677 R8_LP.
12678
12679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12680
12681 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12682 R8_LP.
12683
12684 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12685
12686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12687 logb for POWER7.
12688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12689 logbf for POWER7.
12690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12691 logbl for POWER7.
12692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12693 powerpc32/power7/fpu/s_logb.c via #include.
12694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12695 powerpc32/power7/fpu/s_logbf.c via #include.
12696 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12697 powerpc32/power7/fpu/s_logbl.c via #include.
12698
12699 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12700
12701 * README.libm: Remove file.
12702
12703 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12704
12705 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12706 count for x32. Use R*_LP and omit operand-size suffix.
12707
12708 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12711 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12712 * sysdeps/x86_64/x32/shlib-versions: New file.
12713
12714 2012-05-14 Roland McGrath <roland@hack.frob.com>
12715
12716 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12717 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12718 Use _dl_fatal_printf instead.
12719
12720 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12721
12722 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12723 set if not set by the user. Do not allow for being unset.
12724 * sysdeps/unix/sysv/linux/configure: Regenerated.
12725
12726 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12727
12728 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12729 the `q' suffix from lea and replace .quad with ASM_ADDR.
12730
12731 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12732
12733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12734 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12735 instead of $17.
12736 (PTR_DEMANGLE): Likewise.
12737
12738 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12739
12740 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12741 (LP_OP): Likewise.
12742 (ASM_ADDR): Likewise.
12743 (RAX_LP): Likewise.
12744 (RBP_LP): Likewise.
12745 (RBX_LP): Likewise.
12746 (RCX_LP): Likewise.
12747 (RDI_LP): Likewise.
12748 (RSI_LP): Likewise.
12749 (RSP_LP): Likewise.
12750 (R8_LP): Likewise.
12751 (R9_LP): Likewise.
12752 (R10_LP): Likewise.
12753 (R10_LP): Likewise.
12754 (R11_LP): Likewise.
12755 (R12_LP): Likewise.
12756 (R13_LP): Likewise.
12757 (R14_LP): Likewise.
12758 (R15_LP): Likewise.
12759
12760 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12761
12762 * sysdeps/x86_64/x32/dl-machine.h: New file.
12763
12764 2012-05-14 Andreas Jaeger <aj@suse.de>
12765
12766 * manual/Makefile (subdir): Remove export of subdir.
12767 (all): Remove target.
12768 (.PHONY): Remove all from list.
12769 (mkinstalldirs): Remove.
12770 (.PHONY): Remove installdirs from list.
12771 ($(inst_infodir)/libc.info): Use make-target-directory.
12772 (installdirs): Remove.
12773 (subdir_%): Remove.
12774 (glibc-targets): Remove.
12775 (lib): Remove.
12776 (stubs): Remove.
12777 ($(objpfx)stubs ../po/manual.pot): Remove.
12778 ($(objpfx)stamp%): Remove.
12779 (make-target-directory): Remove.
12780 (subdir_install): Remove.
12781 (routines): Remove.
12782 (aux): Remove.
12783 (sources): Remove.
12784 (objects): Remove.
12785 (headers): Remove.
12786
12787 [BZ #13750]
12788 * manual/.gitignore: Remove, it's not needed anymore.
12789 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12790 all files in it.
12791 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12792 directory.
12793 (texis): Renamed to $(objpfx)texis.
12794 (texis-path): New, contains path to generated files.
12795 (chapters.%): Use texis-path for complete path, add extra argument
12796 libc-texinfo.sh.
12797 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12798 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12799 (summary,texi, stamp-summary): Use complete path of
12800 files. Generate files in build dir.
12801 (dir-add.texi): Build in build dir.
12802 (libm-err.texi,stamp-libm-err): Likewise.
12803 (version.texi, stamp-version): Likewise.
12804 (.%c.texi): Likewise.
12805 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12806 (mostlyclean): Remove target.
12807 (realclean): Remove target.
12808 (generated): Add new variable with contents from mostlyclean and
12809 realclean, remove entries duplicated in common-mostlyclean, add
12810 stamp-libm-err and stamp-version.
12811 (generated-dirs): Add libc directory.
12812 ($(inst_infodir)/libc.info): Install files from build dir.
12813
12814 * manual/install.texi (Configuring and compiling): Adjust since
12815 the info files are not part of the tar ball anymore.
12816
12817 2012-05-14 Andreas Jaeger <aj@suse.de>
12818
12819 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12820 variable.
12821
12822 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12823
12824 [BZ #13717]
12825 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12826 to 2.2.0 where earlier.
12827 * sysdeps/unix/sysv/linux/configure: Regenerated.
12828 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12829 Remove conditional code.
12830 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12831 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12832 Remove conditional code.
12833 [!__NR_lchown]: Likewise.
12834 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12835 [__NR_lchown]: Likewise.
12836 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12837 comment referencing __ASSUME_LCHOWN_SYSCALL.
12838 * sysdeps/unix/sysv/linux/i386/sigaction.c
12839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12841 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12842 Remove conditional code.
12843 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12844 (__protocol_available): Remove #if 0 code.
12845 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12846 conditional code.
12847 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12848 * sysdeps/unix/sysv/linux/kernel-features.h
12849 (__ASSUME_GETCWD_SYSCALL): Don't define.
12850 (__ASSUME_REALTIME_SIGNALS): Likewise.
12851 (__ASSUME_PREAD_SYSCALL): Likewise.
12852 (__ASSUME_PWRITE_SYSCALL): Likewise.
12853 (__ASSUME_POLL_SYSCALL): Likewise.
12854 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12855 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12856 non-SPARC.
12857 (__ASSUME_SIOCGIFNAME): Don't define.
12858 (__ASSUME_MSG_NOSIGNAL): Likewise.
12859 (__ASSUME_SENDFILE): Define unconditionally.
12860 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12861 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12862 conditional code.
12863 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12864 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12865 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12866 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12867 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12868 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12869 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12871 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12872 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12874 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12877 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12880 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12883 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12884 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12886 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12889 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12892 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12894 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12895 Remove conditional code.
12896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12897 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12898 Remove conditional code.
12899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12900 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12901 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12902 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12903 Remove conditional code.
12904 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12905 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12906 Remove conditional code.
12907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12908 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12909 Remove conditional code.
12910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12911 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12912 Remove conditional code.
12913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12914 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12915 Remove conditional code.
12916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12917 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12918 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12920 * sysdeps/unix/sysv/linux/sigaction.c
12921 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12922 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12923 * sysdeps/unix/sysv/linux/sigpending.c
12924 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12925 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12926 * sysdeps/unix/sysv/linux/sigprocmask.c
12927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12929 * sysdeps/unix/sysv/linux/sigsuspend.c
12930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12932 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12933 (__libc_missing_rt_sigs): Remove.
12934 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12935 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12936 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12937 Remove conditional code.
12938 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12939 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12940 return 1.
12941 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12942 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12943 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12944 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12945
12946 2012-05-14 Andreas Jaeger <aj@suse.de>
12947
12948 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12949 it's not used in glibc.
12950 (__coshm1): Likewise.
12951 (__acosh1p): Likewise.
12952 (__sgn): Likewise.
12953
12954 * manual/string.texi (Copying and Concatenation): Add missing
12955 variable in concat example.
12956 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12957
12958 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12959
12960 [BZ #14103]
12961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12962 __builtin_clzl with __builtin_clzll.
12963
12964 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 [BZ #14104]
12967 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12968 libc_freeres_ptr.
12969
12970 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12971
12972 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12973 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12974 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12975 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12976
12977 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12978
12979 * NEWS: Update ia64 info.
12980
12981 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12982
12983 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12984 used as bcopy.
12985
12986 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12987
12988 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12989 * sysdeps/unix/syscalls.list (dup3): Likewise.
12990 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12991 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12992
12993 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12994
12995 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12996 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12997
12998 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12999
13000 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13001 thread pointer.
13002 (TLS_IE): Use mov/add instead of movq/addq to load thread
13003 pointer.
13004 (TLS_GD_PREFIX): New.
13005 (TLS_GD): Use it.
13006
13007 2012-05-11 David S. Miller <davem@davemloft.net>
13008
13009 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13010 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13011 (_FPU_SETCW): Likewise.
13012
13013 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13014
13015 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13016 is 32-byte aligned.
13017
13018 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13019
13020 [BZ #11837]
13021 * iconvdata/gb18030.c: Update tables.
13022 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13023 characters specially.
13024 (BODY for TO_LOOP): Add encoding of missing ranges.
13025
13026 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13027
13028 [BZ #13673]
13029 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13030 * sysdeps/mach/hurd/dup3.c: Likewise.
13031 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13032 * sysdeps/powerpc/memmove.c:: Likewise.
13033
13034 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13035
13036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13037 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13038
13039 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 * elf/elf.h (R_X86_64_RELATIVE64): New.
13042 (R_X86_64_NUM): Updated.
13043 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13044 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13045 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13046 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13047 tst-quad1pie tst-quad2pie
13048 (modules-names): Add tst-quadmod1 tst-quadmod2.
13049 ($(objpfx)tst-quad1): New dependency.
13050 ($(objpfx)tst-quad2): Likewise.
13051 ($(objpfx)tst-quad1pie): Likewise.
13052 ($(objpfx)tst-quad2pie): Likewise.
13053 * sysdeps/x86_64/tst-quad1.c: New file.
13054 * sysdeps/x86_64/tst-quad1pie.c: New file.
13055 * sysdeps/x86_64/tst-quad2.c: Likewise.
13056 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13057 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13058 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13059 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13060 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13061
13062 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13063
13064 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13065 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13066 * streams/stropts.h (t_scalar_t): Define type.
13067
13068 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13069 (_PATH_PRESERVE): Set to "/var/lib".
13070 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13071
13072 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13073 instead of int.
13074
13075 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13076 if __dir_mkfile succeeded.
13077
13078 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13079 checking for _hurd_dtablesize. Unlock it right after having
13080 finished _hurd_dtable allocation.
13081
13082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13083
13084 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13085 * sysdeps/mach/hurd/configure: Regenerated.
13086 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13087 special-casing to...
13088 * sysdeps/gnu/configure.in: ... this new file.
13089 * sysdeps/unix/sysv/linux/configure: Regenerated.
13090 * sysdeps/gnu/configure: New generated file.
13091
13092 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13093 for Linux: use nsec instead of usec, as well as:
13094 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13095 members of type struct timespec.
13096 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13097 New macros.
13098 (struct stat64): Likewise.
13099 (_STATBUF_ST_NSEC): New macro.
13100 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13101
13102 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13103 __strtoul_internal rather than strtoul.
13104
13105 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13106
13107 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13108 and reject them.
13109
13110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13111
13112 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13113 which preserves existing values.
13114 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13115
13116 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13117
13118 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13119 TIMEOUT values. Return EINVAL for NFDS values either negative or
13120 greater than FD_SETSIZE.
13121
13122 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13123
13124 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13125 allocated, call __vm_protect to finish enabling the existing space, and
13126 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13127 allocate the remainder.
13128
13129 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13130
13131 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13132 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13133
13134 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13135
13136 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13137 sysdeps/mach/hurd/readlink.c.
13138
13139 * posix/tst-sysconf.c (posix_options): Only use
13140 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13141 _POSIX_SYNCHRONIZED_IO when they are defined
13142 * sysdeps/mach/hurd/bits/posix_opt.h:
13143 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13144 (_XOPEN_REALTIME): Undefine macro.
13145 (_XOPEN_REALTIME_THREADS): Undefine macro.
13146 (_XOPEN_SHM): Undefine macro.
13147 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13148 macro to -1.
13149 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13150 macro to -1.
13151 (_POSIX_ASYNC_IO): Undefine macro.
13152 (_POSIX_PRIORITIZED_IO): Undefine macro.
13153 (_POSIX_SPIN_LOCKS): Define macro to -1.
13154
13155 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13156 SA_NODEFER, SA_RESETHAND.
13157 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13158 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13159 F_DUPFD_CLOEXEC.
13160
13161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13162
13163 * elf/Makefile (pldd-modules): Define unconditionally.
13164
13165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13166
13167 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13168
13169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13170
13171 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13172 Return ENOENT when name is empty.
13173 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13174
13175 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13176
13177 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13178
13179 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13180
13181 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13182
13183 Fix mlock in all cases except non-readable pages.
13184 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13185 instead of VM_PROT_ALL as parameter to __vm_wire function.
13186
13187 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13188 (__mkdir): When path is `/', just fail with EEXIST.
13189 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13190
13191 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13192
13193 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13194 <sys/uio.h> (for writev).
13195 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13196 and <sys/param.h> (for MIN).
13197
13198 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13199
13200 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13201 REQUESTED_TIME. Properly set the remaining time and return EINTR
13202 if interrupted.
13203
13204 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13205
13206 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13207 Depend on against $(link-rpcuserlibs).
13208
13209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13210
13211 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13212 (__libc_stack_end): Do not use attribute_relro.
13213 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13214 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13215 to libthread-provided value.
13216 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13217 attribute_relro.
13218
13219 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13220
13221 [BZ #3748]
13222 * bits/libc-lock.h (__libc_once_get): New macro.
13223 * sysdeps/mach/bits/libc-lock.h: Likewise.
13224 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13226 instead of using implementation details.
13227
13228 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13229 * libio/freopen.c: Likewise.
13230 * libio/freopen64.c: Likewise.
13231 * misc/syslog.c: Likewise.
13232 * nscd/connections.c: Likewise.
13233 * nscd/netgroupcache.c: Likewise.
13234 * sysdeps/posix/getcwd.c: Likewise.
13235
13236 2012-05-10 Roland McGrath <roland@hack.frob.com>
13237
13238 * math/w_ilogbf.c: Add #include <limits.h>.
13239
13240 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13241
13242 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13243 path instead of returning without unlocking.
13244
13245 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13246 immediate-write ioctls.
13247 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13248
13249 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13250
13251 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13252 __builtin_frame_address instead of making assumptions about the
13253 location of the return address relative to DATA. Force early load of
13254 the return address.
13255 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13256 __builtin_frame_address.
13257
13258 dup3 for GNU Hurd.
13259 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13260 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13261 implement dup3 and do some further code clean-ups.
13262 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13263 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13264
13265 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13266
13267 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13268
13269 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13270 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13271 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13272 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13273 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13274 d->port.lock.
13275
13276 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13277 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13278 when handler == SIG_ERR, not when handler != SIG_ERR.
13279
13280 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13281
13282 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13283 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13284 definitions.
13285
13286 accept4 for GNU Hurd.
13287 * include/sys/socket.h (__libc_accept4): New prototype.
13288 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13289 to implement __libc_accept4.
13290 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13291 __libc_accept4.
13292 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13293
13294 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13295 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13296 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13297 signal-defines.sym.
13298
13299 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13300
13301 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13302
13303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13304
13305 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13306 assertion on O_CLOEXEC flag.
13307 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13308 * hurd/intern-fd.c: Likewise.
13309 * hurd/port2fd.c: Likewise.
13310
13311 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13312
13313 [BZ #3906]
13314 * bits/in.h (IPV6_PKTINFO): Define new macro.
13315 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13316
13317 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13318
13319 [BZ #13954]
13320 [BZ #13955]
13321 [BZ #13956]
13322 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13323 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13324 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13327 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13328 * math/libm-test.inc (logb_test) : Additional logb tests.
13329
13330 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13331 Andreas Jaeger <aj@suse.de>
13332
13333 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13334 * configure: Regenerated.
13335 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13336 * config.make.in (link-obsolete-rpc): New substituted variable.
13337 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13338 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13339 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13340 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13341 so that libc.a contains the symbols.
13342 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13343 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13344 * sunrpc/auth_none.c: Likewise.
13345 * sunrpc/auth_unix.c: Likewise.
13346 * sunrpc/authdes_prot.c: Likewise.
13347 * sunrpc/authuxprot.c: Likewise.
13348 * sunrpc/clnt_gen.c: Likewise.
13349 * sunrpc/clnt_perr.c: Likewise.
13350 * sunrpc/clnt_raw.c: Likewise.
13351 * sunrpc/clnt_simp.c: Likewise.
13352 * sunrpc/clnt_tcp.c: Likewise.
13353 * sunrpc/clnt_udp.c: Likewise.
13354 * sunrpc/clnt_unix.c: Likewise.
13355 * sunrpc/des_crypt.c: Likewise.
13356 * sunrpc/des_soft.c: Likewise.
13357 * sunrpc/get_myaddr.c: Likewise.
13358 * sunrpc/key_call.c: Likewise.
13359 * sunrpc/key_prot.c: Likewise.
13360 * sunrpc/netname.c: Likewise.
13361 * sunrpc/pm_getmaps.c: Likewise.
13362 * sunrpc/pm_getport.c: Likewise.
13363 * sunrpc/pmap_clnt.c: Likewise.
13364 * sunrpc/pmap_prot.c: Likewise.
13365 * sunrpc/pmap_prot2.c: Likewise.
13366 * sunrpc/pmap_rmt.c: Likewise.
13367 * sunrpc/publickey.c: Likewise.
13368 * sunrpc/rpc_cmsg.c: Likewise.
13369 * sunrpc/rpc_common.c: Likewise.
13370 * sunrpc/rpc_dtable.c: Likewise.
13371 * sunrpc/rpc_prot.c: Likewise.
13372 * sunrpc/rpc_thread.c: Likewise.
13373 * sunrpc/rtime.c: Likewise.
13374 * sunrpc/svc.c: Likewise.
13375 * sunrpc/svc_auth.c: Likewise.
13376 * sunrpc/svc_raw.c: Likewise.
13377 * sunrpc/svc_run.c: Likewise.
13378 * sunrpc/svc_tcp.c: Likewise.
13379 * sunrpc/svc_udp.c: Likewise.
13380 * sunrpc/svc_unix.c: Likewise.
13381 * sunrpc/svcauth_des.c: Likewise.
13382 * sunrpc/xcrypt.c: Likewise.
13383 * sunrpc/xdr.c: Likewise.
13384 * sunrpc/xdr_array.c: Likewise.
13385 * sunrpc/xdr_float.c: Likewise.
13386 * sunrpc/xdr_intXX_t.c: Likewise.
13387 * sunrpc/xdr_mem.c: Likewise.
13388 * sunrpc/xdr_rec.c: Likewise.
13389 * sunrpc/xdr_ref.c: Likewise.
13390 * sunrpc/xdr_sizeof.c: Likewise.
13391 * sunrpc/xdr_stdio.c: Likewise.
13392
13393 2012-05-10 Roland McGrath <roland@hack.frob.com>
13394
13395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13396 change. Update copyright years.
13397
13398 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13399
13400 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13401
13402 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13403 Joseph Myers <joseph@codesourcery.com>
13404 Paul Pluzhnikov <ppluzhnikov@google.com>
13405
13406 [BZ #14012]
13407 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13408 requiring rpcgen.
13409 [cross-compiling] (extra-libs): Likewise.
13410 [cross-compiling] (extra-libs-others): Likewise.
13411 [cross-compiling] (librpcsvc-routines): Likewise.
13412 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13413 [cross-compiling] (omit-deps): Likewise.
13414 (sunrpc-CPPFLAGS): New variable.
13415 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13416 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13417 (cross-rpcgen-objs): New variable.
13418 (extra-objs): Append $(cross-rpcgen-objs).
13419 ($(cross-rpcgen-objs)): New rule.
13420 ($(objpfx)cross-rpcgen): Likewise.
13421 (rpcgen-cmd): Define to use $(built-program-file). Expand
13422 comment.
13423 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13424 ($(objpfx)x%.stmp): Likewise.
13425 * sunrpc/proto.h [IS_IN_build] (_): Define.
13426 [IS_IN_build] (_libc_intl_domainname): Likewise.
13427
13428 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13429
13430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13431 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13432 and R_X86_64_TPOFF64.
13433
13434 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13435
13436 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13437 sysdeps/unix/sysv/syscalls.list.
13438 (stime): Likewise.
13439 (utime): Likewise.
13440 * sysdeps/unix/sysv/syscalls.list: Remove file.
13441
13442 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13443
13444 [BZ #3440]
13445 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13446 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13447 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13448 (__LC_IDENTIFICATION): Make these macros useful in #if
13449 expressions, as required by C99.
13450
13451 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13452
13453 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13454 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13455 after this.
13456
13457 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13458
13459 * stdlib/longlong.h: Updated from GCC.
13460
13461 2012-05-09 Andreas Jaeger <aj@suse.de>
13462
13463 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13464 default is first entry.
13465 (run_mode): Set type.
13466 (main): Remove informal message about syslog.
13467 (options): Fix typo.
13468
13469 [BZ #14053]
13470 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13471 to asm.
13472 (lrint): Likewise.
13473 (llrintf): Likewise.
13474 (llrint): Likewise.
13475 (rint): Likewise.
13476 (rintf): Likewise.
13477 (nearbyint): Likewise.
13478 (nearbyintf): Likewise.
13479
13480 2012-05-09 Andreas Jaeger <aj@suse.de>
13481 Pedro Alves <palves@redhat.com>
13482
13483 * nscd/nscd.c (run_mode): Use enum.
13484 (main): Cleanup coding style issue.
13485
13486 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13487 Andreas Jaeger <aj@suse.de>
13488
13489 * nscd/nscd.c (go_background): Replaced with...
13490 (run_mode): ... this.
13491 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13492 (options): Add -F --foreground.
13493 (main): Implement it.
13494 (parse_opt): Parse it.
13495
13496 2012-05-09 Andreas Jaeger <aj@suse.de>
13497
13498 [BZ #14083]
13499 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13500 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13501 -Wconversion warning.
13502 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13503 Likewise.
13504
13505 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13506
13507 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13508 == 0.
13509 (LC_ALL): Use macro-int-constant.
13510 (LC_COLLATE): Likewise.
13511 (LC_CTYPE): Likewise.
13512 (LC_MESSAGES): Likewise.
13513 (LC_MONETARY): Likewise.
13514 (LC_NUMERIC): Likewise.
13515 (LC_TIME): Likewise.
13516 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13517 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13518 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13519 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13520 Specify type.
13521 [C99-based standards] (float_t): Expect type.
13522 [C99-based standards] (double_t): Expect type.
13523 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13524 type.
13525 [C99-based standards] (HUGE_VALL): Likewise.
13526 [C99-based standards] (INFINITY): Likewise.
13527 [C99-based standards] (NAN): Likewise.
13528 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13529 [C99-based standards] (FP_NAN): Likewise.
13530 [C99-based standards] (FP_NORMAL): Likewise.
13531 [C99-based standards] (FP_SUBNORMAL): Likewise.
13532 [C99-based standards] (FP_ZERO): Likewise.
13533 [C99-based standards] (FP_FAST_FMA): Use
13534 optional-macro-int-constant. Specify type. Require == 1.
13535 [C99-based standards] (FP_FAST_FMAF): Likewise.
13536 [C99-based standards] (FP_FAST_FMAL): Likewise.
13537 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13538 [C99-based standards] (FP_ILOGBNAN): Likewise.
13539 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13540 Specify type.
13541 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13542 [C99-based standards] (math_errhandling): Specify type.
13543 [ISO99 || ISO11] (signgam): Do not allow.
13544 [non-C99-based standards] (copysignf): Do not allow.
13545 [non-C99-based standards] (exp2f): Likewise.
13546 [non-C99-based standards] (log2f): Likewise.
13547 [non-C99-based standards] (modff): Allow.
13548 [non-C99-based standards] (erff): Do not allow.
13549 [non-C99-based standards] (erfcf): Likewise.
13550 [non-C99-based standards] (gammaf): Likewise.
13551 [non-C99-based standards] (hypotf): Likewise.
13552 [non-C99-based standards] (j0f): Likewise.
13553 [non-C99-based standards] (j1f): Likewise.
13554 [non-C99-based standards] (jnf): Likewise.
13555 [non-C99-based standards] (lgammaf): Likewise.
13556 [non-C99-based standards] (tgammaf): Likewise.
13557 [non-C99-based standards] (y0f): Likewise.
13558 [non-C99-based standards] (y1f): Likewise.
13559 [non-C99-based standards] (ynf): Likewise.
13560 [non-C99-based standards] (isnanf): Likewise.
13561 [non-C99-based standards] (acoshf): Likewise.
13562 [non-C99-based standards] (asinhf): Likewise.
13563 [non-C99-based standards] (atanhf): Likewise.
13564 [non-C99-based standards] (cbrtf): Likewise.
13565 [non-C99-based standards] (expm1f): Likewise.
13566 [non-C99-based standards] (ilogbf): Likewise.
13567 [non-C99-based standards] (log1pf): Likewise.
13568 [non-C99-based standards] (logbf): Likewise.
13569 [non-C99-based standards] (nextafterf): Likewise.
13570 [non-C99-based standards] (remainderf): Likewise.
13571 [non-C99-based standards] (rintf): Likewise.
13572 [non-C99-based standards] (scalbf): Likewise.
13573 [non-C99-based standards] (copysignl): Likewise.
13574 [non-C99-based standards] (exp2l): Likewise.
13575 [non-C99-based standards] (log2l): Likewise.
13576 [non-C99-based standards] (modfl): Allow.
13577 [non-C99-based standards] (erfl): Do not allow.
13578 [non-C99-based standards] (erfcl): Likewise.
13579 [non-C99-based standards] (gammal): Likewise.
13580 [non-C99-based standards] (hypotl): Likewise.
13581 [non-C99-based standards] (j0l): Likewise.
13582 [non-C99-based standards] (j1l): Likewise.
13583 [non-C99-based standards] (jnl): Likewise.
13584 [non-C99-based standards] (lgammal): Likewise.
13585 [non-C99-based standards] (tgammal): Likewise.
13586 [non-C99-based standards] (y0l): Likewise.
13587 [non-C99-based standards] (y1l): Likewise.
13588 [non-C99-based standards] (ynl): Likewise.
13589 [non-C99-based standards] (isnanl): Likewise.
13590 [non-C99-based standards] (acoshl): Likewise.
13591 [non-C99-based standards] (asinhl): Likewise.
13592 [non-C99-based standards] (atanhl): Likewise.
13593 [non-C99-based standards] (cbrtl): Likewise.
13594 [non-C99-based standards] (expm1l): Likewise.
13595 [non-C99-based standards] (ilogbl): Likewise.
13596 [non-C99-based standards] (log1pl): Likewise.
13597 [non-C99-based standards] (logbl): Likewise.
13598 [non-C99-based standards] (nextafterl): Likewise.
13599 [non-C99-based standards] (remainderl): Likewise.
13600 [non-C99-based standards] (rintl): Likewise.
13601 [non-C99-based standards] (scalbl): Likewise.
13602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13603 [non-C99-based standards] (FP_*): Do not allow.
13604 [C99-based standards] (FP_*): Change to
13605 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13606 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13607 allow.
13608 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13609 (SIG_ERR): Likewise.
13610 [X/Open-based standards] (SIG_HOLD): Likewise.
13611 (SIG_IGN): Likewise.
13612 (SIGABRT): Use macro-int-constant. Specify type. Require
13613 positive value.
13614 (SIGFPE): Likewise.
13615 (SIGILL): Likewise.
13616 (SIGINT): Likewise.
13617 (SIGSEGV): Likewise.
13618 (SIGTER): Likewise.
13619 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13620 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13621 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13622 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13623 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13624 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13625 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13626 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13627 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13628 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13629 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13630 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13631 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13632 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13633 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13634 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13635 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13636 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13637 [X/Open-based standards] (SIGTRAP): Likewise.
13638 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13639 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13640 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13641 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13642 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13643 allow.
13644
13645 2012-05-08 Ian Wienand <ianw@vmware.com>
13646
13647 [BZ #14080]
13648 * time/tzset.c (__tzset_parse_tz): Update default rules for
13649 daylight time changes in the Energy Policy Act of 2005.
13650
13651 2012-05-09 Andreas Jaeger <aj@suse.de>
13652
13653 [BZ #13983]
13654 * elf/ldconfig.c (parse_conf): Change string to make clear that
13655 ldconfig only issued a warning if ld.so.conf does not exist.
13656
13657 2012-05-08 David S. Miller <davem@davemloft.net>
13658
13659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13660 movxtod instead of popping the value on the stack.
13661
13662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13663
13664 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13665
13666 * config.h.in: Add HAVE_ARM_PCS_VFP.
13667
13668 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13669
13670 [BZ #13979]
13671 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13672 checking but the checks are disabled for any reason.
13673
13674 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13675
13676 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13677 and ELF64_R_TYPE with ELFW(R_TYPE).
13678
13679 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13680
13681 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13682 (ulimit): Likewise.
13683
13684 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13685 (settimeofday): Likewise.
13686
13687 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13688
13689 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13690 a struct th_u2 inside the union, and move tu_block/tu_code into
13691 a new th_u3 union of tu_block/tu_code inside of that. Move
13692 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13693 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13694 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13695 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13696 (th_stuff): Change to th_u1.tu_stuff.
13697 (th_data): Define.
13698 (th_msg): Change to th_u1.th_u2.tu_data.
13699
13700 2012-05-07 David S. Miller <davem@davemloft.net>
13701
13702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13703
13704 [BZ #14074]
13705 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13706 (SETUP_PIC_REG): Use it.
13707 (SETUP_PIC_REG_LEAF): Use it.
13708
13709 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13710
13711 [BZ #13885]
13712 [BZ #13923]
13713 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13714 USE_AS_EXPM1L.
13715 (EXPL_FINITE): Likewise.
13716 (FLDLOG): Likewise.
13717 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13718 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13719 e_expl.S.
13720 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13721 USE_AS_EXPM1L.
13722 (EXPL_FINITE): Likewise.
13723 (FLDLOG): Likewise.
13724 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13725 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13726 e_expl.S.
13727 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13728 test of -max_value argument for long double.
13729 * sysdeps/i386/fpu/libm-test-ulps: Update.
13730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13731
13732 2012-05-06 David S. Miller <davem@davemloft.net>
13733
13734 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13735 quad soft-float symbols whose references which are compiler
13736 generated.
13737 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13738
13739 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13740
13741 [BZ #13884]
13742 [BZ #13914]
13743 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13744 USE_AS_EXP10L.
13745 (EXPL_FINITE): Likewise.
13746 (FLDLOG): Likewise.
13747 (c0): Likewise.
13748 (c1): Likewise.
13749 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13750 Adjust comments for base varying.
13751 (__expl_finite): Change alias to EXPL_FINITE.
13752 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13753 e_expl.S.
13754 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13755 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13757 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13758 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13759 USE_AS_EXP10L.
13760 (EXPL_FINITE): Likewise.
13761 (FLDLOG): Likewise.
13762 (c0): Likewise.
13763 (c1): Likewise.
13764 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13765 Adjust comments for base varying.
13766 (__expl_finite): Change alias to EXPL_FINITE.
13767 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13768 tests for bugs.
13769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13770
13771 [BZ #14064]
13772 * math/libm-test.inc (check_float_internal): Correct ulp
13773 calculation for subnormal expected results.
13774
13775 2012-05-06 Andreas Jaeger <aj@suse.de>
13776
13777 * Makeconfig (+math-flags): New, set to -frounding-math.
13778 (+cflags): Add +math-flags so that all of glibc gets compiled with
13779 it.
13780
13781 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13782
13783 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13784
13785 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13786 Disable one test.
13787
13788 [BZ #13787]
13789 [BZ #13922]
13790 [BZ #14036]
13791 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13792 (__ieee754_expl): Allow for and saturate large arguments.
13793 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13794 (u_threshold): Likewise.
13795 (__exp): Call __ieee754_exp before checking for overflow and
13796 underflow.
13797 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13798 (u_threshold): Likewise.
13799 (__expf): Call __ieee754_expf before checking for overflow and
13800 underflow.
13801 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13802 (u_threshold): Likewise.
13803 (__expl): Call __ieee754_expl before checking for overflow and
13804 underflow.
13805 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13806 (__ieee754_expl): Allow for and saturate large arguments.
13807 * math/libm-test.inc (exp_test): Add another test. Do not allow
13808 missing overflow exception on overflow.
13809 (expm1_test): Do not allow missing overflow exception on overflow.
13810
13811 * sysdeps/i386/fpu/e_expl.c: Move to ...
13812 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13813 rather than using inline asm.
13814 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13815 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13816 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13817
13818 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13819 (nice): Likewise.
13820 (poll): Likewise.
13821 (signal): Likewise.
13822 (time): Likewise.
13823 (times): Likewise.
13824
13825 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13826
13827 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13828 sysdeps/unix/common/syscalls.list.
13829 (fchmod): Likewise.
13830 (fchown): Likewise.
13831 (ftruncate): Likewise.
13832 (getrusage): Likewise.
13833 (gettimeofday): Likewise.
13834 (setpgid): Likewise.
13835 (setregid): Likewise.
13836 (setreuid): Likewise.
13837 (sigaction): Likewise.
13838 (truncate): Likewise.
13839 (vhangup): Likewise.
13840 * sysdeps/unix/common/syscalls.list: Remove file.
13841 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13842 * sysdeps/unix/sysv/linux/Implies: Likewise.
13843
13844 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13845
13846 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13848 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13849 Moved to ...
13850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13851 Here.
13852 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13853 to ...
13854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13855 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13856 to ...
13857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13858 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13859 to ...
13860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13861 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13862 to ...
13863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13864 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13865 to ...
13866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13867 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13868 to ...
13869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13870 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13871 to ...
13872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13873 Here.
13874 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13875 to ...
13876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13877 Here.
13878 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13879 to ...
13880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13881 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13882 Moved to ...
13883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13884 Here.
13885 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13886 to ...
13887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13888
13889 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13890
13891 * sysdeps/unix/common/bits/dirent.h: Remove file.
13892 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13893
13894 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13895 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13896 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13897 * sysdeps/unix/bsd/isatty.c: Likewise.
13898 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13899 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13900 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13901
13902 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13903
13904 [BZ #13563]
13905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13906 long double comparison inaccuracies.
13907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13909
13910 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13911
13912 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13913 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13914
13915 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13916
13917 [BZ #14049]
13918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13919 nonzero digits before rounding a hex value.
13920 * stdlib/tst-strtod.c (tests): Add another test.
13921
13922 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13923
13924 * sysdeps/s390/fpu/libm-test-ulps: Update.
13925
13926 2012-05-03 Andreas Jaeger <aj@suse.de>
13927
13928 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13929 does not get optimized out.
13930 (malloc_opt_barrier): New.
13931
13932 2012-05-03 Andreas Jaeger <aj@suse.de>
13933 Roland McGrath <roland@hack.frob.com>
13934
13935 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13936 intermediate file deletion.
13937 (generated): Add .symlist files.
13938
13939 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13940
13941 [BZ #13775]
13942 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13943 Redirect under this condition.
13944 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13945 [__USE_GNU] (__dprintf_chk): Not under this condition.
13946 [__USE_GNU] (__vdprintf_chk): Likewise.
13947 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13948 under this condition.
13949 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13950 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13951 [__USE_XOPEN2K8] (vdprintf): Likewise.
13952 [__USE_GNU] (__dprintf_chk): Not under this condition.
13953 [__USE_GNU] (__vdprintf_chk): Likewise.
13954 [__USE_GNU] (dprintf): Likewise.
13955 [__USE_GNU] (vdprintf): Likewise.
13956
13957 2012-05-03 Roland McGrath <roland@hack.frob.com>
13958
13959 * elf/Makefile (common-generated): Set this instead of generated for
13960 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13961 $(all-built-dso)-derived lists.
13962
13963 2012-05-03 Andreas Jaeger <aj@suse.de>
13964
13965 * sysdeps/i386/fpu/libm-test-ulps: Update.
13966
13967 * FAQ: Removed.
13968 * FAQ.in: Likewise.
13969 * scripts/gen-FAQ.pl: Likewise.
13970 * manual/install.texi (Installation): Point to online location of
13971 FAQ.
13972 * Makefile (files-for-dist): Remove FAQ.
13973 (FAQ): Remove.
13974
13975 2012-05-02 Allan McRae <allan@archlinux.org>
13976
13977 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13978 (LDFLAGS-reldepmod5.so): Likewise.
13979 (LDFLAGS-reldep6mod1.so): Likewise.
13980 (LDFLAGS-reldep6mod4.so): Likewise.
13981 (LDFLAGS-reldep8mod3.so): Likewise.
13982 (LDFLAGS-unload4mod1.so): Likewise.
13983 (LDFLAGS-unload4mod2.so): Likewise.
13984 (LDFLAGS-tst-initorder): Likewise.
13985 (LDFLAGS-tst-initordera2.so): Likewise.
13986 (LDFLAGS-tst-initordera3.so): Likewise.
13987 (LDFLAGS-tst-initordera4.so): Likewise.
13988 (LDFLAGS-tst-initorderb2.so): Likewise.
13989 (LDFLAGS-noload): Likewise.
13990 (LDFLAGS-next): Likewise.
13991 (LDFLAGS-order2mod1.so): Likewise.
13992 (LDFLAGS-order2mod2.so): Likewise.
13993 (LDFLAGS-tst-initorder2): Likewise.
13994 (LDFLAGS-tst-initorder2a.so): Likewise.
13995 (LDFLAGS-tst-initorder2b.so): Likewise.
13996 (LDFLAGS-tst-initorder2c.so): Likewise.
13997 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13998
13999 2012-05-02 David S. Miller <davem@davemloft.net>
14000
14001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14002
14003 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14004
14005 [BZ #14055]
14006 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14007
14008 2012-05-02 Andreas Jaeger <aj@suse.de>
14009
14010 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14011 since we manipulate rounding mode.
14012 (CPPFLAGS-test-idouble.c): Likewise.
14013 (CPPFLAGS-test-ifloat.c): Likewise.
14014 (CFLAGS-test-ldouble.c): Likewise.
14015 (CFLAGS-test-double.c): Likewise.
14016 (CFLAGS-test-float.c): Likewise.
14017 (CFLAGS-test-misc.c): Likewise.
14018 (CFLAGS-test-test-fenv.c): Likewise.
14019
14020 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14021
14022 [BZ #2550]
14023 [BZ #2570]
14024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14025 comparisons to determine direction to adjust input.
14026
14027 2012-05-01 Roland McGrath <roland@hack.frob.com>
14028
14029 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14030 output to the target.
14031
14032 * scripts/localplt.awk: New file.
14033 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14034 (check-localplt-CFLAGS): Variable removed.
14035 ($(all-built-dso:=.jmprel)): New static pattern rule.
14036 (generated): Add those targets.
14037 (localplt-built-dso): New variable.
14038 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14039
14040 * elf/check-localplt.c: File removed.
14041
14042 * scripts/check-execstack.awk: New file.
14043 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14044 (check-execstack-CFLAGS): Variable removed.
14045 ($(objpfx)check-execstack.h): Target removed.
14046 ($(objpfx)execstack-default): New target.
14047 (generated): Add that instead of check-execstack.h.
14048 ($(all-built-dso:=.phdr)): New static pattern rule.
14049 (generated): Add those targets.
14050 * elf/check-execstack.c: File removed.
14051
14052 * scripts/check-textrel.awk: New file.
14053 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14054 (check-textrel-CFLAGS): Variable removed.
14055 (all-built-dso): Use := to define.o
14056 ($(all-built-dso:=.dyn)): New static pattern rule.
14057 (generated): Add those targets.
14058 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14059 * config.make.in (READELF): New substituted variable.
14060 * elf/check-textrel.c: File removed.
14061
14062 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14063
14064 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14065 allow.
14066 * conform/data/ctype.h-data [C99-based standards] (isblank):
14067 Expect function.
14068 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14069 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14071 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14072 Specify type. Require positive value.
14073 (EILSEQ): Likewise.
14074 (ERANGE): Likewise.
14075 [ISO || POSIX] (EILSEQ): Do not expect.
14076 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14077 Specify type. Require positive value.
14078 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14079 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14080 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14081 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14082 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14083 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14084 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14085 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14086 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14087 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14088 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14089 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14090 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14091 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14092 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14093 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14094 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14095 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14096 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14097 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14098 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14099 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14100 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14101 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14102 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14103 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14104 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14105 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14106 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14107 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14108 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14109 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14110 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14111 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14112 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14113 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14114 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14115 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14116 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14117 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14118 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14119 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14120 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14121 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14122 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14123 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14124 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14125 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14126 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14127 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14128 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14129 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14130 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14131 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14132 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14133 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14134 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14135 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14136 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14137 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14138 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14139 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14140 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14141 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14142 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14143 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14144 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14145 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14146 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14147 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14148 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14149 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14150 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14151 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14152 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14153 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14154 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14155 Require >= 2.
14156 (FLT_ROUNDS): Expect as macro, not constant.
14157 (FLT_MANT_DIG): Use macro-int-constant.
14158 (DBL_MANT_DIG): Likewise.
14159 (LDBL_MANT_DIG): Likewise.
14160 (FLT_DIG): Likewise.
14161 (DBL_DIG): Likewise.
14162 (LDBL_DIG): Likewise.
14163 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14164 (DBL_MIN_EXP): Likewise.
14165 (LDBL_MIN_EXP): Likewise.
14166 (FLT_MAX_EXP): Use macro-int-constant.
14167 (DBL_MAX_EXP): Likewise.
14168 (LDBL_MAX_EXP): Likewise.
14169 (FLT_MAX_10_EXP): Likewise.
14170 (DBL_MAX_10_EXP): Likewise.
14171 (LDBL_MAX_10_EXP): Likewise.
14172 (FLT_MAX): Use macro-constant.
14173 (DBL_MAX): Likewise.
14174 (LDBL_MAX): Likewise.
14175 (FLT_EPSILON): Use macro-constant. Give upper bound.
14176 (DBL_EPSILON): Likewise.
14177 (LDBL_EPSILON): Likewise.
14178 (FLT_MIN): Likewise.
14179 (DBL_MIN): Likewise.
14180 (LDBL_MIN): Likewise.
14181 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14182 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14183 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14184 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14185 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14186 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14187 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14188 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14189 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14190 [ISO11] (FLT_TRUE_MIN): Likewise.
14191 [ISO11] (LDBL_TRUE_MIN): Likewise.
14192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14193 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14194 (SCHAR_MIN): Use macro-int-constant. Specify type.
14195 (SCHAR_MAX): Likewise.
14196 (UCHAR_MAX): Likewise.
14197 (CHAR_MIN): Likewise.
14198 (CHAR_MAX): Likewise.
14199 (MB_LEN_MAX): Use macro-int-constant.
14200 (SHRT_MIN): Use macro-int-constant. Specify type.
14201 (SHRT_MAX): Likewise.
14202 (USHRT_MAX): Likewise.
14203 (INT_MAX): Likewise.
14204 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14205 bound negative.
14206 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14207 bound with "U".
14208 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14209 bound with "L".
14210 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14211 bound negative. Suffix upper bound with "L".
14212 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14213 bound with "UL".
14214 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14215 Specify type.
14216 [C99-based standards] (LLONG_MAX): Likewise.
14217 [C99-based standards] (ULLONG_MAX): Likewise.
14218 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14219 == 0.
14220 [ISO11] (max_align_t): Require type.
14221 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14222
14223 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14224 from $CFLAGS, without defining away __attribute__ calls.
14225 (checknamespace): Use $CFLAGS_namespace.
14226
14227 * conform/conformtest.pl (@keywords): Only include C99 keywords
14228 for standards based on C99 or C11.
14229
14230 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14231 Disable tests.
14232 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14233 UNIX98]: Likewise.
14234
14235 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14236 usability of symbols in #if.
14237
14238 * conform/conformtest.pl: If macro or constant types start
14239 "promoted:", expect the symbol to be of the following type
14240 promoted by the integer promotions.
14241
14242 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14243 in one place. Also handle "macro-constant".
14244
14245 * conform/conformtest.pl: Only accept expected macro values with
14246 "==". Parse all "macro" lines in one place.
14247 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14248
14249 * conform/conformtest.pl: Handle braced types on "constant" lines
14250 instead of handling "typed-constant".
14251 * conform/data/signal.h-data: Use "constant" instead of
14252 "typed-constant".
14253
14254 * conform/conformtest.pl: Handle "optional-" at start of lines in
14255 one place rather than duplicating several cases. Handle each
14256 format of "macro" line with initial "optional-".
14257
14258 * conform/conformtest.pl: Only accept expected constant or
14259 optional-constant values with "==". Parse all "constant" lines in
14260 one place. Parse all "optional-constant" lines in one place.
14261 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14262 * conform/data/fmtmsg.h-data: Likewise.
14263 * conform/data/netinet/in.h-data: Likewise.
14264 * conform/data/tar.h-data: Likewise.
14265 * conform/data/limits.h-data: Use "==" form on "constant" and
14266 "optional-constant" lines.
14267
14268 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14269 Use -std=c99 for XOPEN2K.
14270 (@knownproblems): Remove.
14271 (newtoken): Don't check %isknown.
14272
14273 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14274 Do not expect macro.
14275 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14277 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14278 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14286 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14287 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14288 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14305 [XPG3] (acosh): Likewise.
14306 [XPG3] (asinh): Likewise.
14307 [XPG3] (atanh): Likewise.
14308 [XPG3] (cbrt): Likewise.
14309 [XPG3] (expm1): Likewise.
14310 [XPG3] (ilogb): Likewise.
14311 [XPG3] (log1p): Likewise.
14312 [XPG3] (logb): Likewise.
14313 [XPG3] (nextafter): Likewise.
14314 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14315 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14316 [XPG3] (remainder): Likewise.
14317 [XPG3] (rint): Likewise.
14318 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14319 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14320 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14321 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14322 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14323 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14324 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14325 [UNIX98 || XOPEN2K] (scalb): Expect.
14326 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14327 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14328 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14329 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14330 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14331 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14332 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14333 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14334 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14335 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14336 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14337 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14338 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14339 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14340 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14341 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14342 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14343 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14344 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14345 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14346 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14347 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14348 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14349 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14350 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14351 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14353 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14354 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14355 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14356 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14357 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14358 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14359 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14360 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14361 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14362 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14363 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14364 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14365 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14366 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14367 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14368 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14369 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14370 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14371 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14372 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14373 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14374 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14375 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14376 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14377 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14378 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14379 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14380 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14381 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14382 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14383 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14384 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14385 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14386 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14387 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14388 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14389 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14390 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14391 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14392 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14393 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14394 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14395 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14396 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14397 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14398 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14399 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14400 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14401 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14402 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14403 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14404 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14405 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14406 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14407 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14408 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14409 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14410 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14411 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14412 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14413 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14414 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14415 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14416 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14417 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14418 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14419 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14420 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14421 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14424 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14425 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14426 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14427 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14428 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14429 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14430 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14431 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14432 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14433 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14434 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14435 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14436 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14437 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14438 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14439 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14440 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14441 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14442 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14443 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14444 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14445 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14446 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14447 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14448 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14449 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14450 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14451 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14452 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14453 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14454 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14455 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14456 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14457 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14458 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14459 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14460 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14461 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14462 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14463
14464 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14465 _XOPEN_SOURCE_EXTENDED for XPG4.
14466
14467 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14468
14469 * Makeconfig (localtime): Remove variable.
14470 (inst_localtime-file): Likewise.
14471
14472 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14473
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14475 Update.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14477 Update.
14478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14479 Update.
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14481 Update.
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14483 Update.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14485 Update.
14486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14487 Update.
14488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14489 Update.
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14491 Update.
14492
14493 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14494
14495 [BZ #2550]
14496 [BZ #2570]
14497 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14498 comparisons to determine direction to adjust input.
14499 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14500 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14501 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14502 Likewise.
14503 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14504 Likewise.
14505 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14506 Likewise.
14507 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14508 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14509 Likewise.
14510 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14511 Likewise.
14512 * math/libm-test.inc (nexttoward_test): Add more tests.
14513
14514 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14515
14516 [BZ #14040]
14517 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14518 in version GLIBC_2.1, not GLIBC_2.0.
14519 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14520 Likewise.
14521
14522 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14523
14524 [BZ #13942]
14525 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14526 (1 - x) * (1 + x).
14527 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14528 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14529 * math/libm-test.inc (acos_test): Add more tests.
14530 (asin_test): Likewise.
14531 * sysdeps/i386/fpu/libm-test-ulps: Update.
14532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14533
14534 [BZ #14034]
14535 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14536 of square root.
14537 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14538 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14539 * math/libm-test.inc (acos_test_tonearest): New function.
14540 (acos_test_towardzero): Likewise.
14541 (acos_test_downward): Likewise.
14542 (acos_test_upward): Likewise.
14543 (asin_test_tonearest): Likewise.
14544 (asin_test_towardzero): Likewise.
14545 (asin_test_downward): Likewise.
14546 (asin_test_upward): Likewise.
14547 (main): Call the new functions.
14548 * sysdeps/i386/fpu/libm-test-ulps: Update.
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14550
14551 [BZ #13884]
14552 [BZ #13924]
14553 * math/e_exp10.c: Include <float.h>.
14554 (__ieee754_exp10): Handle underflow here rather than multiplying
14555 large negative argument by M_LN10.
14556 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14557 of __ieee754_expf.
14558 * math/e_exp10l.c: Include <float.h>.
14559 (__ieee754_exp10l): Handle underflow here rather than multiplying
14560 large negative argument by M_LN10l.
14561 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14562 spurious overflow exception on underflow.
14563
14564 2012-04-29 Marek Polacek <polacek@redhat.com>
14565
14566 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14567 (__fortify_function): New macro.
14568 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14569 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14570 __extern_always_inline.
14571 * libio/bits/stdio2.h: Likewise.
14572 * libio/bits/stdio.h: Likewise.
14573 * string/string.h: Likewise.
14574 * string/bits/string3.h: Likewise.
14575 * include/stdio.h: Likewise.
14576 * stdlib/bits/stdlib.h: Likewise.
14577 * stdlib/stdlib.h: Likewise.
14578 * rt/bits/mqueue2.h: Likewise.
14579 * rt/mqueue.h: Likewise.
14580 * posix/bits/unistd.h: Likewise.
14581 * posix/unistd.h: Likewise.
14582 * io/bits/poll2.h: Likewise.
14583 * io/bits/fcntl2.h: Likewise.
14584 * io/fcntl.h: Likewise.
14585 * io/sys/poll.h: Likewise.
14586 * misc/bits/syslog.h: Likewise.
14587 * misc/bits/syslog-ldbl.h: Likewise.
14588 * misc/sys/syslog.h: Likewise.
14589 * socket/bits/socket2.h: Likewise.
14590 * socket/sys/socket.h: Likewise.
14591 * debug/tst-chk1.c: Likewise.
14592 * wcsmbs/bits/wchar2.h: Likewise.
14593 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14594 * wcsmbs/wchar.h: Likewise.
14595
14596 2012-04-29 Andreas Jaeger <aj@suse.de>
14597
14598 * Makerules (tests): Remove enable-check-abi protection.
14599 (check-abi-warn): Remove.
14600 (check-abi-%): Remove check-abi-warn usage.
14601
14602 * configure.in: Remove check-abi configure option.
14603 * configure: Regenerated.
14604 * config.make.in (enable-check-abi): Remove.
14605
14606 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14607
14608 [BZ #14033]
14609 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14610 double functions to double *_finite functions.
14611
14612 [BZ #13941]
14613 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14614 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14615 LDBL_MIN_EXP.
14616 * stdio-common/Makefile (tests): Add tst-sprintf3.
14617 * stdio-common/tst-sprintf3.c: New file.
14618
14619 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14620 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14621
14622 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14623
14624 * conform/conformtest.pl: Remove duplicate typed-constant
14625 handling.
14626
14627 2012-04-28 David S. Miller <davem@davemloft.net>
14628
14629 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14630 (check-abi-%): Remove AWK script prerequisite and explicit
14631 abilist directory.
14632 (check-abi): Rewrite to just diff the symlist with the abilist.
14633 (config-tls, config-abi-config): Delete, no longer used.
14634 (update-abi-%): Remove AWK script and explicit abilist directory.
14635 (update-abi): Rewrite to simply compare and conditionally copy the
14636 symlist and the sysdep abilist file. Remove update-abi-config
14637 checks.
14638 * abilist/ld.abilist: Remove.
14639 * abilist/libBrokenLocale.abilist: Remove.
14640 * abilist/libanl.abilist: Remove.
14641 * abilist/libcrypt.abilist: Remove.
14642 * abilist/libdl.abilist: Remove.
14643 * abilist/librt.abilist: Remove.
14644 * abilist/libthread_db.abilist: Remove.
14645 * abilist/libutil.abilist: Remove.
14646 * scripts/extract-abilist.awk: Remove.
14647 * scripts/merge-abilist.awk: Remove.
14648 * sysdeps/generic/libcidn.abilist: New file.
14649 * sysdeps/generic/libnss_compat.abilist: New file.
14650 * sysdeps/generic/libnss_db.abilist: New file.
14651 * sysdeps/generic/libnss_dns.abilist: New file.
14652 * sysdeps/generic/libnss_files.abilist: New file.
14653 * sysdeps/generic/libnss_hesiod.abilist: New file.
14654 * sysdeps/generic/libnss_nis.abilist: New file.
14655 * sysdeps/generic/libnss_nisplus.abilist: New file.
14656 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14657 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14658 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14659 file.
14660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14661 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14662 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14663 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14664 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14665 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14666 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14667 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14668 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14669 file.
14670 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14671 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14672 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14673 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14674 file.
14675 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14676 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14677 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14678 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14679 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14680 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14681 file.
14682 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14683 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14684 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14685 file.
14686 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14688 New file.
14689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14690 New file.
14691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14692 New file.
14693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14694 New file.
14695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14696 New file.
14697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14698 New file.
14699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14700 New file.
14701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14702 New file.
14703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14704 New file.
14705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14706 New file.
14707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14708 New file.
14709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14710 New file.
14711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14712 New file.
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14714 file.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14716 New file.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14718 New file.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14720 file.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14722 New file.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14724 New file.
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14726 file.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14728 New file.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14730 New file.
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14732 New file.
14733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14734 New file.
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14736 New file.
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14738 New file.
14739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14741 file.
14742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14743 New file.
14744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14745 file.
14746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14747 file.
14748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14749 file.
14750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14751 file.
14752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14753 file.
14754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14755 New file.
14756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14757 file.
14758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14759 file.
14760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14761 New file.
14762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14763 file.
14764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14766 file.
14767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14768 New file.
14769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14770 file.
14771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14772 file.
14773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14774 file.
14775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14776 file.
14777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14778 file.
14779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14780 New file.
14781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14782 file.
14783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14784 file.
14785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14786 New file.
14787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14788 file.
14789 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14790 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14791 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14792 file.
14793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14794 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14795 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14796 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14797 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14798 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14799 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14800 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14801 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14802 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14805 file.
14806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14807 New file.
14808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14809 file.
14810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14811 file.
14812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14813 file.
14814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14815 file.
14816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14817 file.
14818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14819 New file.
14820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14821 New file.
14822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14823 file.
14824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14825 New file.
14826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14827 file.
14828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14830 file.
14831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14832 New file.
14833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14834 file.
14835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14836 file.
14837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14838 file.
14839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14840 file.
14841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14842 file.
14843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14844 New file.
14845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14846 New file.
14847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14848 file.
14849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14850 New file.
14851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14852 file.
14853
14854 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14855
14856 * conform/conformtest.pl: Fix typo in handling typed-constant from
14857 allow-header.
14858
14859 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14860
14861 * README: Cut down references to pre-2.6 Linux kernels and
14862 Linuxthreads. Update lists of configurations in libc and ports
14863 and sort alphabetically. Say "or newer" with Linux kernel version
14864 requirements.
14865
14866 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14867
14868 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14869
14870 [BZ #887]
14871 * math/libm-test.inc (logb_test_downward): New test to expose
14872 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14873 rounding mode.
14874
14875 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14876
14877 [BZ #14027]
14878 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14879 to be done.
14880 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14881 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14882
14883 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14884
14885 * sysdeps/unix/i386/brk.S: Remove file.
14886 * sysdeps/unix/i386/dl-brk.S: Likewise.
14887 * sysdeps/unix/i386/pipe.S: Likewise.
14888 * sysdeps/unix/i386/sigreturn.S: Likewise.
14889 * sysdeps/unix/i386/syscall.S: Likewise.
14890 * sysdeps/unix/i386/vfork.S: Likewise.
14891 * sysdeps/unix/i386/wait.S: Likewise.
14892
14893 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14894 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14895
14896 * configure.in (arm*-none*): Do not allow without
14897 --enable-hacker-mode.
14898 (netbsd*): Remove case setting base_os.
14899 (386bsd*): Likewise.
14900 (freebsd*): Likewise.
14901 (bsdi*): Likewise.
14902 (osf*): Likewise.
14903 (sunos*): Likewise.
14904 (ultrix*): Likewise.
14905 (newsos*): Likewise.
14906 (dynix*): Likewise.
14907 (*bsd*): Likewise.
14908 (sysv*): Likewise.
14909 (isc*): Likewise.
14910 (esix*): Likewise.
14911 (sco*): Likewise.
14912 (minix*): Likewise.
14913 (irix4*): Likewise.
14914 (irix6*): Likewise.
14915 (solaris[2-9]*): Likewise.
14916 (none): Likewise.
14917 * configure: Regenerated.
14918
14919 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14920
14921 [BZ #11521]
14922 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14923 overflow or cancellation in calculating denominator.
14924 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14926 down expression to avoid unexpected rounding in newer GCCs.
14927 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14928
14929 2012-04-26 David S. Miller <davem@davemloft.net>
14930
14931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14932 long-double compat symbols.
14933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14946
14947 2012-04-25 David S. Miller <davem@davemloft.net>
14948
14949 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14950 HWCAP_* values only after the memory barriers have been defined.
14951 (atomic_full_barrier): Define.
14952 (atomic_read_barrier): Define.
14953 (atomic_write_barrier): Define.
14954
14955 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14956
14957 * shlib-versions: Add libgcc_s version information.
14958 * sysdeps/generic/libgcc_s.h: Remove.
14959 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14960 libgcc_s.h.
14961 * sysdeps/gnu/unwind-resume.c: Likewise.
14962 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14963
14964 2012-04-25 David S. Miller <davem@davemloft.net>
14965
14966 * sysdeps/unix/sparc/brk.S: Delete.
14967 * sysdeps/unix/sparc/dl-brk.S: Delete.
14968 * sysdeps/unix/sparc/pipe.S: Delete.
14969 * sysdeps/unix/sparc/sysdep.S: Delete.
14970 * sysdeps/unix/sparc/sysdep.h: Delete.
14971 * sysdeps/unix/sparc/vfork.S: Delete.
14972 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14973 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14974 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14975 ret_ERRVAL, r0, r1, MOVE): Define.
14976 (JUMPTARGET): Remove.
14977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14978 sysdeps/unix/sparc/sysdep.h
14979 (ENTRY, END): Remove.
14980 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14981
14982 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14983
14984 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14985 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14986 -DIS_IN_build.
14987
14988 * timezone/README: Update upstream location and email address for
14989 tzcode and tzdata.
14990 * timezone/zdump.c: Update from tzcode 2012b.
14991 * timezone/zic.c: Likewise.
14992
14993 * configure.in (libc_cv_as_needed): Remove test.
14994 * configure: Regenerated.
14995 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14996 conditional definition.
14997 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14998 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14999 * config.make.in (have-as-needed): Remove variable.
15000
15001 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15002 Paul Pluzhnikov <ppluzhnikov@google.com>
15003
15004 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15005 strings correctly.
15006
15007 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15008
15009 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15010 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15011 * sysdeps/sh/strlen.S: Likewise.
15012
15013 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15014
15015 * sysdeps/unix/fork.S: Remove file.
15016 * sysdeps/unix/i386/fork.S: Likewise.
15017 * sysdeps/unix/sparc/fork.S: Likewise.
15018
15019 * sysdeps/unix/system.c: Remove file.
15020 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15021
15022 * sysdeps/unix/getegid.S: Remove file.
15023 * sysdeps/unix/geteuid.S: Likewise.
15024
15025 2012-04-24 Roland McGrath <roland@hack.frob.com>
15026
15027 * scripts/check-localplt.awk: New file.
15028 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15029 of diff.
15030 * scripts/data/localplt-generic.data: Add a comment.
15031
15032 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15033 NODE when __dir_mkfile failed.
15034 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15035 Reported by Ludovic Courtès <ludo@gnu.org>.
15036
15037 2012-04-24 Andreas Jaeger <aj@suse.de>
15038
15039 * Makerules (common-clean): Also remove gen-as-const-headers
15040 files.
15041
15042 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15043
15044 * Makerules (native-compile): Do not change working directory for
15045 build. Use $(OUTPUT_OPTION) in command.
15046 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15047
15048 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15049
15050 [BZ #13886]
15051 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15052 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15053 * math/libm-test.inc (floor_test): Add more tests.
15054 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15055
15056 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15057
15058 * sysdeps/unix/getdents.c: Remove file.
15059 * sysdeps/unix/sysv/getdents.c: Likewise.
15060 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15061
15062 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15063 sysdeps/unix/mman/syscalls.list.
15064 (mmap): Likewise.
15065 (mprotect): Likewise.
15066 (msync): Likewise.
15067 (munmap): Likewise.
15068 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15069 * sysdeps/unix/mman/syscalls.list: Remove.
15070 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15071
15072 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15073 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15074 * configure: Regenerated.
15075 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15076 $(libgcc_s_suffix).
15077 * config.make.in (libgcc_s_suffix): Remove variable.
15078
15079 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15080
15081 * sysdeps/unix/sysv/gethostname.c: Move to ...
15082 * sysdeps/posix/gethostname.c: ... here.
15083
15084 * sysdeps/unix/execve.S: Remove file.
15085
15086 * sysdeps/unix/_exit.S: Remove file.
15087
15088 2012-04-23 Andreas Jaeger <aj@suse.de>
15089
15090 [BZ #13739]
15091 * manual/Makefile: Remove make dist support, there's no
15092 need for a stand-alone documentation tar ball.
15093 (TEXI2DVI): Define always, it's not in Makeconfig.
15094 (dist): Removed.
15095 (tar-it): Removed.
15096 (edition): Removed.
15097 (glibc-doc-$(edition).tar): Removed
15098 (%.Z): Removed.
15099 (%.gz): Removed.
15100 (%.uu): Removed.
15101 (ETAGS): Remove, it's in Makeconfig.
15102 (move-if-change): Remove, it's in Makeconfig.
15103
15104 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15105
15106 [BZ #13970]
15107 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15108 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15109 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15110 (strtod_l, strtof_l, strtold_l): Remove __wur.
15111 It is not necessarily an error to ignore strtol's return value.
15112 One can reliably look at the stored endptr to decide whether
15113 the number had valid syntax.
15114
15115 2012-04-21 Andreas Jaeger <aj@suse.de>
15116
15117 [BZ #13739]
15118 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15119
15120 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15121
15122 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15123 * sysdeps/unix/sysv/Versions: Remove file.
15124
15125 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15126
15127 [BZ #13927]
15128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15129
15130 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15131
15132 [BZ #7064]
15133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15134 version from __vm86.
15135
15136 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15137
15138 * sysdeps/unix/common/lxstat.c: Remove file.
15139 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15140
15141 * sysdeps/unix/sysv/Makefile: Remove file.
15142
15143 * sysdeps/unix/sysv/direct.h: Remove file.
15144
15145 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15146 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15147 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15148 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15149 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15150 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15151 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15152
15153 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15154
15155 * sysdeps/unix/xmknod.c: Remove file.
15156 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15157
15158 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15159
15160 * sysdeps/unix/sysv/i386/time.S: Remove file.
15161
15162 * sysdeps/unix/fxstat.c: Remove file.
15163 * sysdeps/unix/xstat.c: Likewise.
15164 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15165
15166 * sysdeps/unix/sysv/sigaction.c: Remove file.
15167
15168 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15169 (sysdep_headers): Remove variable.
15170 [termio.h not in sysdep_headers] (generated): Likewise.
15171 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15172 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15173 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15174 * sysdeps/unix/sysv/tcflow.c: Likewise.
15175 * sysdeps/unix/sysv/tcflush.c: Likewise.
15176 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15177 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15178 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15179 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15180 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15181
15182 * sysdeps/unix/siglist.c: Remove file.
15183
15184 * sysdeps/unix/getppid.S: Remove file.
15185
15186 * sysdeps/unix/mkdir.c: Remove file.
15187 * sysdeps/unix/rmdir.c: Likewise.
15188
15189 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15190
15191 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15192 ERR_MAX value.
15193 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15194 errlist-compat value.
15195
15196 2012-04-18 David S. Miller <davem@davemloft.net>
15197
15198 * sysdeps/generic/memcopy.h (reg_char): Delete.
15199 * debug/strcat_chk.c: Use char, not reg_char.
15200 * debug/strcpy_chk.c: Likewise.
15201 * debug/strncat_chk.c: Likewise.
15202 * debug/strncpy_chk.c: Likewise.
15203 * string/memchr.c: Likewise.
15204 * string/memrchr.c: Likewise.
15205 * string/rawmemchr.c: Likewise.
15206 * string/strcat.c: Likewise.
15207 * string/strchr.c: Likewise.
15208 * string/strchrnul.c: Likewise.
15209 * string/strcmp.c: Likewise.
15210 * string/strcpy.c: Likewise.
15211 * string/strncat.c: Likewise.
15212 * string/strncmp.c: Likewise.
15213 * string/strncpy.c: Likewise.
15214
15215 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15216
15217 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15218 __builtin_memcopy is called when src and dest ranges are known to not
15219 overlap.
15220
15221 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15222
15223 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15224 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15225 fwd_align_merge macro call.
15226 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15227 bwd_align_merge macro call.
15228 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15229
15230 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15231
15232 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15233 bwd_align_merge macros.
15234 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15235 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15236 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15237
15238 2012-04-18 David S. Miller <davem@davemloft.net>
15239
15240 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15241
15242 2012-04-18 Andreas Jaeger <aj@suse.de>
15243
15244 [BZ# 6794]
15245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15246 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15247 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15248
15249 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15250 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15251 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15252
15253 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15254 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15255 Adjust for changed ldbl-128 files.
15256
15257 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15258 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15259 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15260
15261 2012-04-17 David S. Miller <davem@davemloft.net>
15262
15263 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15264
15265 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15266
15267 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15268 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15269 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15270 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15271 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15272 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15273
15274 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15275
15276 [BZ #6794]
15277 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15278 * math/libm-test.inc: Add ilogb errno and exception tests.
15279 * math/w_ilogb.c: New file: ilogb wrapper.
15280 * math/w_ilogbf.c: New file: ilogbf wrapper.
15281 * math/w_ilogbl.c: New file: ilogbl wrapper.
15282 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15283 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15284 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15285 exception being thrown with 0.0 as argument.
15286 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15287 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15288 exception being thrown with 0.0 as argument.
15289 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15290 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15291 exception being thrown with 0.0 as argument.
15292 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15293 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15294 exception being thrown with 0.0 as argument.
15295 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15296 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15297 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15298 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15300 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15301 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15302 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15303 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15304
15305 2012-04-17 Petr Baudis <pasky@ucw.cz>
15306
15307 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15308 with altivec.
15309
15310 2012-04-16 Marek Polacek <polacek@redhat.com>
15311
15312 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15313
15314 2012-04-16 Marek Polacek <polacek@redhat.com>
15315
15316 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15317 operands of fdivp instruction.
15318
15319 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15320
15321 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15322 * elf/tst-auditmod3b.c: Likewise.
15323 * elf/tst-auditmod4b.c: Likewise.
15324 * elf/tst-auditmod5b.c: Likewise.
15325 * elf/tst-auditmod6b.c: Likewise.
15326 * elf/tst-auditmod6c.c: Likewise.
15327 * elf/tst-auditmod7b.c: Likewise.
15328 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15329 * sysdeps/x86_64/preconfigure.in: Likewise.
15330 * sysdeps/x86_64/preconfigure: Regenerated.
15331
15332 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15333
15334 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15335 __ILP32__.
15336
15337 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15338
15339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15340 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15341
15342 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15343
15344 [BZ #13973]
15345 * locale/iso-639.def: Fix gl language name. Spotted by
15346 Yaron Shahrabani.
15347
15348 2012-04-12 Roland McGrath <roland@hack.frob.com>
15349
15350 [BZ #2074]
15351 * libio/libio.h (__io_write_fn): Update comment.
15352
15353 2012-04-12 Petr Baudis <pasky@ucw.cz>
15354
15355 [BZ #2074]
15356 * stdio.texi (Hook Functions): The user provided writer function
15357 is not allowed to return -1.
15358
15359 2012-04-11 David S. Miller <davem@davemloft.net>
15360
15361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15362
15363 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15364
15365 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15366 Add a leading slash to rtkaio.
15367
15368 2012-04-11 Jim Meyering <meyering@redhat.com>
15369
15370 [BZ #11959]
15371 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15372 It is not necessarily an error to ignore fwrite's return
15373 value. One can reliably use ferror to test for errors after
15374 the fact.
15375
15376 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15377
15378 * bits/types.h (__snseconds_t): New type.
15379 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15380
15381 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15383 (__SNSECONDS_T_TYPE): Likewise.
15384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15385 (__SNSECONDS_T_TYPE): Likewise.
15386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15387 (__SNSECONDS_T_TYPE): Likewise.
15388
15389 2012-04-10 Andreas Jaeger <aj@suse.de>
15390
15391 [BZ #2636]
15392 * manual/time.texi (Processor Time): Return type of times is
15393 elapsed real time since an arbitrary point in the past.
15394 (CPU Time): Move CLK_TCK from here...
15395 (Processor Time): ...to here. Correct description.
15396 * manual/conf.texi (Constants for Sysconf): Correct description of
15397 _SC_CLK_TCK.
15398
15399 2012-04-10 David S. Miller <davem@davemloft.net>
15400
15401 [BZ #13967]
15402 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15403 where the is a gap between DT_REL(A) and DT_JMPREL.
15404
15405 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15406
15407 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15408 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15409 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15410
15411 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15412
15413 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15414 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15415 (dl_main): Handle --inhibit-cache.
15416 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15417 _dl_inhibit_cache.
15418 * elf/dl-load.c (_dl_map_object): Use it.
15419 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15420
15421 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15422
15423 [BZ #13872]
15424 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15425 (__ieee754_powl): Saturate large exponents rather than testing for
15426 overflow of y*log2(x).
15427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15428 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15429 exceptions.
15430
15431 [BZ #11521]
15432 * math/s_ctan.c: Include <float.h>.
15433 (__ctan): Avoid internal overflow or cancellation in calculating
15434 denominator.
15435 * math/s_ctanf.c: Likewise.
15436 * math/s_ctanl.c: Likewise.
15437 * math/s_ctanh.c: Likewise.
15438 * math/s_ctanhf.c: Likewise.
15439 * math/s_ctanhl.c: Likewise.
15440 * math/libm-test.inc (ctan_test): Add more tests.
15441 (ctanh_test): Likewise.
15442 * sysdeps/i386/fpu/libm-test-ulps: Update.
15443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15444
15445 2012-04-09 Andreas Jaeger <aj@suse.de>
15446
15447 [BZ #6894]
15448 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15449 is an optional BSD extension.
15450
15451 [BZ #10254]
15452 * manual/stdio.texi (Opening Streams): Document additional fopen
15453 parameters.
15454
15455 2012-04-09 Roland McGrath <roland@hack.frob.com>
15456
15457 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15458 %eax without telling the compiler.
15459
15460 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15461
15462 [BZ # 13963]
15463 * manual/install.texi: Use sourceware.org.
15464
15465 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15466
15467 [BZ #13873]
15468 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15469 (__ieee754_pow): Generate overflow and underflow using huge*huge
15470 and tiny*tiny rather than just returning constant infinity or zero
15471 for large exponents.
15472 * math/libm-test.inc (pow_test): Require overflow exceptions for
15473 applicable cases of large exponents.
15474
15475 [BZ #706]
15476 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15477 (__ieee754_pow): Use iterative multiplication algorithm only for
15478 integer exponents with absolute value below 1024. Check for odd
15479 integer exponents when using algorithm for real exponents.
15480 * math/libm-test.inc (pow_test): Add more tests.
15481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15482
15483 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15484
15485 [BZ #13705]
15486 * math/libm-test.inc (exp_test): Do not allow overflow exception
15487 on underflow test.
15488
15489 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15490
15491 [BZ #13705]
15492 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15493 instead of __kernel_standard_f.
15494
15495 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15496
15497 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15498 * sysdeps/x86_64/memset_chk.S: Likewise.
15499
15500 2012-04-08 Andreas Jaeger <aj@suse.de>
15501
15502 [BZ #10153]
15503 * manual/startup.texi (Environment Access): Describe return value
15504 for putenv and setenv.
15505
15506 [BZ #6895]
15507 * manual/filesys.texi (Directory Entries): Add description for
15508 DT_LNK.
15509
15510 [BZ #6890]
15511 * manual/filesys.texi (Directory Entries): Clarify that it's file
15512 system not operating system in the description of DT_UNKNOWN.
15513
15514 [BZ #6578]
15515 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15516
15517 2012-04-08 Stephen Compall <s11@member.fsf.org>
15518
15519 [BZ #6649]
15520 * manual/llio.texi (Opening and Closing Files): Add cross
15521 reference to explain mode argument.
15522
15523 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15524
15525 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15526 * sysdeps/x86_64/memset_chk.S: Likewise.
15527
15528 2012-04-07 David S. Miller <davem@davemloft.net>
15529
15530 * elf/elf.h (R_SPARC_WDISP10): Define.
15531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15532 R_SPARC_SIZE32.
15533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15534 R_SPARC_SIZE64 and R_SPARC_H34.
15535
15536 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15537
15538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15539 conditions and remove no longer applicable assertion.
15540
15541 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15542
15543 * bits/byteswap.h: Include <features.h>.
15544 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15545 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15546
15547 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15548
15549 * bits/byteswap.h (__bswap_16): Removed.
15550 Include <bits/byteswap-16.h> to get __bswap_16.
15551 * sysdeps/i386/bits/byteswap.h: Likewise.
15552 * sysdeps/s390/bits/byteswap.h: Likewise.
15553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15554 * bits/byteswap-16.h: New file.
15555 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15556 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15557 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15558 * string/Makefile (headers): Add bits/byteswap-16.h.
15559
15560 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15561
15562 [BZ #13895]
15563 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15564 extra indirection.
15565 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15566 * nss/tst-nss-static.c: New.
15567
15568 2012-04-06 Robert Millan <rmh@gnu.org>
15569
15570 [BZ #6486]
15571 * manual/llio.texi (File Position Primitive): lseek
15572 refers to WHENCE when it really means OFFSET.
15573
15574 2012-04-06 Andreas Jaeger <aj@suse.de>
15575
15576 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15577 strncmp declarations.
15578
15579 * abilist/libc.abilist: Add __poll and __ppoll.
15580
15581 2012-04-05 David S. Miller <davem@davemloft.net>
15582
15583 * scripts/check-local-headers.sh: Accept a host triplet in the
15584 path matched by the exclude regexp.
15585
15586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15587 definition.
15588 * sysdeps/powerpc/powerpc32/dl-machine.h
15589 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15590 * sysdeps/s390/s390-32/dl-machine.h
15591 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15592 * sysdeps/sparc/sparc32/dl-machine.h
15593 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15594 * sysdeps/sparc/sparc64/dl-machine.h
15595 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15596
15597 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15598 lazy binding.
15599 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15600 undefined symbol errors.
15601
15602 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15603 DT_NEEDED entries.
15604
15605 2012-04-05 Michael Matz <matz@suse.de>
15606
15607 [BZ #13592]
15608 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15609
15610 2012-04-05 Andreas Jaeger <aj@suse.de>
15611
15612 [BZ #13908]
15613 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15614 comment.
15615
15616 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15617
15618 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15619 which ROUND is no valid rounding mode.
15620
15621 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15622
15623 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15624 read again.
15625 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15626
15627 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15628
15629 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15630 an exception using FPU order intentionally.
15631
15632 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15633
15634 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15635 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15636 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15637 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15638
15639 2012-04-05 Simon Josefsson <simon@josefsson.org>
15640
15641 [BZ #12340]
15642 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15643 EINVAL when BUFLEN is too smal.
15644
15645 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15646
15647 [BZ #13553]
15648 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15649 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15650
15651 2012-04-03 Andreas Jaeger <aj@suse.de>
15652
15653 [BZ #13938]
15654 * manual/setjmp.texi (System V contexts): Fix sentence.
15655
15656 [BZ #13926]
15657 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15658 New macro for this case.
15659 [!__GNUC__] (__bswap_64): New inline function for this case.
15660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15661 * bits/byteswap.h: Likewise.
15662 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15663 ull, guard with __GLIBC_HAVE_LONG_LONG.
15664
15665 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15666 __GLIBC_HAVE_LONG_LONG.
15667
15668 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15669 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15670
15671 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15672
15673 [BZ #13691]
15674 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15675 inptr and inend, rather than using last_ch.
15676
15677 2012-04-02 David S. Miller <davem@davemloft.net>
15678
15679 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15680 * stdio-common/printf-parse.h (read_int): Change return type to
15681 'int', return -1 on INT_MAX overflow.
15682 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15683 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15684 overflows INT_MAX. Check for overflow of in-format-string precision
15685 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15686 SIZE_MAX not INT_MAX for integer overflow test.
15687 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15688 skip the construct in the format string but do not record anything.
15689 * stdio-common/bug22.c: Adjust to test both width/prevision
15690 INT_MAX overflow as well as total length INT_MAX overflow. Check
15691 explicitly for proper errno values.
15692
15693 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15694
15695 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15696 CHAR_MAX.
15697 * string/test-strcmp.c [! WIDE]: Likewise.
15698 * time/tst-mktime2.c: Likewise for INT_MAX.
15699 * string/test-string.h: #include <sys/param.h> for MIN.
15700
15701 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15702 * sysdeps/i386/init-first.c (init): Likewise.
15703 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15704 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15705 * sysdeps/sh/init-first.c (init): Likewise.
15706
15707 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15708
15709 * po/ru.po: Update from translation team.
15710 * po/vi.po: Likewise.
15711
15712 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15713
15714 * resolv/nss_dns/dns-host.c: Merge copyright years.
15715
15716 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15717
15718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15719 Optimize memcpy with prefetch if
15720 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15721 src, dst pointers have unequal 16 byte alignments.
15722
15723 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15724
15725 [BZ #13928]
15726 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15727 from a CNAME entry and return the minimum ttl for the query.
15728 (gaih_getanswer_slice): Likewise.
15729
15730 2012-03-30 Jeff Law <law@redhat.com>
15731
15732 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15733 due to long keys.
15734 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15735 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15736
15737 * resolv/nss_dns/dns-host.c: Update copyright year.
15738
15739 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15740
15741 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15742 requests to save a system call. Fix check that all bytes are sent.
15743
15744 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15745 comments for sendmmsg.
15746
15747 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15748
15749 [BZ #13691]
15750 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15751 with only 1 character between 0x0041 and 0x01b0.
15752 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15753 * wcsmbs/tst-mbsnrtowcs.c: New file.
15754
15755 2012-03-29 David S. Miller <davem@davemloft.net>
15756
15757 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15758 small copies by hand.
15759
15760 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15761
15762 [BZ #13761]
15763 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15764 _nss_compat_initgroups_dyn): Fall back to malloc/free
15765 for large group memberships.
15766
15767 2012-03-28 David S. Miller <davem@davemloft.net>
15768
15769 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15770 that branches into memcpy.
15771 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15772 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15774 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15776 bits.
15777 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15778 implementation too.
15779 * sysdeps/sparc/mempcpy.S: New file.
15780
15781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15782 the IFUNC routine in the libc case.
15783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15784
15785 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15786 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15787 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15788 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15789 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15790 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15791 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15792 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15793
15794 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15795 loop to 256 bytes instead of 64 bytes and fix test signedness.
15796
15797 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15798 * sysdeps/sparc/sparc32/Makefile: rather than here...
15799 * sysdeps/sparc/sparc64/Makefile: and here.
15800
15801 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15802
15803 * malloc/mallocbug.c: Avoid warnings about unused variables.
15804
15805 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15806
15807 [BZ #13760]
15808 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15809 in the right place. Discard and retry query if response is
15810 larger than input buffer size.
15811
15812 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15813
15814 [BZ #369]
15815 [BZ #2678]
15816 [BZ #3866]
15817 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15818 x for large integer exponent.
15819 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15820 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15821 sign of result as needed afterwards.
15822 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15823 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15824 result for underflowing pow the same as for overflow.
15825 (__kernel_standard_l): Handle powl overflow and underflow here
15826 rather than calling __kernel_standard.
15827 * math/libm-test.inc (pow_test): Add more tests.
15828
15829 [BZ #3868]
15830 [BZ #13879]
15831 [BZ #13910]
15832 [BZ #13911]
15833 [BZ #13912]
15834 [BZ #13913]
15835 [BZ #13915]
15836 [BZ #13916]
15837 [BZ #13917]
15838 [BZ #13918]
15839 [BZ #13919]
15840 [BZ #13920]
15841 [BZ #13921]
15842 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15843 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15844 (__kernel_standard_l): New function.
15845 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15846 __kernel_standard.
15847 * math/w_acosl.c (__acosl): Likewise.
15848 * math/w_asinl.c (__asinl): Likewise.
15849 * math/w_atan2l.c (__atan2l): Likewise.
15850 * math/w_atanhl.c (__atanhl): Likewise.
15851 * math/w_coshl.c (__coshl): Likewise.
15852 * math/w_exp10l.c (__exp10l): Likewise.
15853 * math/w_exp2l.c (__exp2l): Likewise.
15854 * math/w_fmodl.c (__fmodl): Likewise.
15855 * math/w_hypotl.c (__hypotl): Likewise.
15856 * math/w_j0l.c (__j0l, __y0l): Likewise.
15857 * math/w_j1l.c (__j1l, __y1l): Likewise.
15858 * math/w_jnl.c (__jnl, __ynl): Likewise.
15859 * math/w_lgammal.c (__lgammal): Likewise.
15860 * math/w_log10l.c (__log10l): Likewise.
15861 * math/w_log2l.c (__log2l): Likewise.
15862 * math/w_logl.c (__logl): Likewise.
15863 * math/w_powl.c (__powl): Likewise.
15864 * math/w_remainderl.c (__remainderl): Likewise.
15865 * math/w_scalbl.c (sysv_scalbl): Likewise.
15866 * math/w_sinhl.c (__sinhl): Likewise.
15867 * math/w_sqrtl.c (__sqrtl): Likewise.
15868 * math/w_tgammal.c (__tgammal): Likewise.
15869 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15870 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15871 * math/libm-test.inc (acos_test): Add more tests.
15872 (acosh_test): Likewise.
15873 (asin_test): Likewise.
15874 (atanh_test): Likewise.
15875 (exp_test): Likewise.
15876 (exp10_test): Likewise.
15877 (exp2_test): Likewise.
15878 (expm1_test): Likewise.
15879 (lgamma_test): Likewise.
15880 (log_test): Likewise.
15881 (log10_test): Likewise.
15882 (log1p_test): Likewise.
15883 (log2_test): Likewise.
15884 (pow_test): Do not allow some spurious overflow exceptions.
15885 (sqrt_test): Add more tests.
15886 (tgamma_test): Likewise.
15887 (y0_test): Likewise.
15888 (y1_test): Likewise.
15889 (yn_test): Likewise.
15890
15891 2012-03-27 Anton Blanchard <anton@samba.org>
15892
15893 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15894 MAP_HUGETLB.
15895 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15896 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15897 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15898
15899 2012-03-27 David S. Miller <davem@davemloft.net>
15900
15901 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15902
15903 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15904 have-as-vis3 check.
15905
15906 2012-03-27 Andreas Jaeger <aj@suse.de>
15907
15908 * sysdeps/x86_64/elf/configure.in: Moved to ...
15909 * sysdeps/x86_64/configure.in: ... here.
15910 * sysdeps/x86_64/elf/start.S: Moved to ...
15911 * sysdeps/x86_64/start.S: ... here.
15912 * sysdeps/x86_64/elf/configure: Delete.
15913
15914 * sysdeps/x86_64/configure.in: Merge contents from
15915 sysdeps/i386/configure.in (without i686 check).
15916
15917 * sysdeps/i386/elf/Versions: Merge into ...
15918 * sysdeps/i386/Versions: ... this.
15919 * sysdeps/i386/elf/Versions: Delete file.
15920 * sysdeps/i386/elf/start.S: Moved to ...
15921 * sysdeps/i386/start.S: ...here.
15922 * sysdeps/i386/elf/configure.in: Merge into...
15923 * sysdeps/i386/configure.in: ...here.
15924 * sysdeps/i386/elf/configure.in: Delete file.
15925 * sysdeps/i386/elf/configure: Delete file.
15926
15927 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15928 * debug/backtracesyms.c: ... here.
15929 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15930 * debug/backtracesymsfd.c: ... here.
15931 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15932 * sysdeps/generic/ifunc-sel.h: ... here.
15933
15934 * sysdeps/unix/i386/start.c: Delete file.
15935 * sysdeps/unix/sparc/start.c: Delete file.
15936 * sysdeps/unix/start.c: Delete file.
15937
15938 * sysdeps/sh/elf/configure.in: Moved to ...
15939 * sysdeps/sh/configure.in: ... here.
15940 * sysdeps/sh/elf/start.S: Moved to ...
15941 * sysdeps/sh/start.S: ... here.
15942 * sysdeps/sh/elf/configure: Delete file.
15943
15944 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15945 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15946 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15947 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15948 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15949 * sysdeps/powerpc/powerpc64/start.S: here.
15950 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15951 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15952 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15953 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15954 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15955
15956 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15957 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15958 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15959 * sysdeps/powerpc/powerpc32/start.S: ... here.
15960 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15961 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15962 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15963
15964 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15965 * sysdeps/powerpc/ifunc-sel.h: ... here.
15966 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15967 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15968
15969 * sysdeps/sparc/elf/configure.in: Moved to ...
15970 * sysdeps/sparc/configure.in: ... here.
15971 * sysdeps/sparc/elf/configure: Delete file.
15972 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15973 * sysdeps/sparc/sparc32/start.S: ... here.
15974 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15975 * sysdeps/sparc/sparc64/start.S: ... here.
15976 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15977 * sysdeps/sparc/sparc32/Makefile: ... this.
15978 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15979 * sysdeps/sparc/sparc64/Makefile: ... this.
15980
15981 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15982 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15983 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15984 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15985 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15986 * sysdeps/s390/s390-32/setjmp.S: ... here.
15987 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15988 * sysdeps/s390/s390-32/configure.in: ... here.
15989 * sysdeps/s390/s390-32/elf/configure: Delete file.
15990 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15991 * sysdeps/s390/s390-32/start.S: ... here.
15992
15993 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15994 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15995 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15996 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15997 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15998 * sysdeps/s390/s390-64/setjmp.S: ... here.
15999 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16000 * sysdeps/s390/s390-64/configure.in: ... here
16001 * sysdeps/s390/s390-64/elf/configure: Delete file.
16002 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16003 * sysdeps/s390/s390-64/start.S: ... here.
16004 * sysdeps/s390/s390-64/elf/configure: Delete.
16005
16006 * configure.in: Remove support for elf directories in sysdeps.
16007
16008 * configure: Regenerated.
16009 * sysdeps/i386/configure: Regenerated.
16010 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16011 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16012 * sysdeps/s390/s390-32/configure: Regenerated.
16013 * sysdeps/s390/s390-64/configure: Regenerated.
16014 * sysdeps/sh/configure: Regenerated.
16015 * sysdeps/sparc/configure: Regenerated.
16016 * sysdeps/x86_64/configure: Regenerated.
16017
16018 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16019
16020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16021
16022 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16023 denormal result into account.
16024
16025 2012-03-25 Roland McGrath <roland@hack.frob.com>
16026
16027 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16028 Reported by Allan McRae <allan@archlinux.org>.
16029
16030 2012-03-23 Jeff Law <law@redhat.com>
16031
16032 * nss/getnssent.c (__nss_getent): Fix typo.
16033
16034 2012-03-23 David S. Miller <davem@davemloft.net>
16035
16036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16037
16038 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16039
16040 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16041 to pad to uint64_t for each field.
16042 (dl_tls_index): Replace unsigned long with uint64_t.
16043
16044 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16045 Paul Pluzhnikov <ppluzhnikov@google.com>
16046
16047 [BZ #6528]
16048 * grp/Makefile (otherlibs): Don't set it.
16049 * inet/Makefile (otherlibs): Likewise.
16050 * login/Makefile (otherlibs): Likewise.
16051 * nscd/Makefile (otherlibs): Likewise.
16052 * posix/Makefile (otherlibs): Likewise.
16053 * pwd/Makefile (otherlibs): Likewise.
16054 * rt/Makefile (otherlibs): Likewise.
16055 * sunrpc/Makefile (otherlibs): Likewise.
16056 * nss/Makefile (otherlibs): Likewise.
16057 Add libnss_files to routines and static-only-routines.
16058 ($(objpfx)getent): Remove rule.
16059 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16060 static-only-routines.
16061
16062 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16063
16064 [BZ #13892]
16065 * math/s_cexp.c: Include <float.h>.
16066 (__cexp): Handle exp result overflowing not necessarily
16067 overflowing both real and imaginary parts of result.
16068 * math/s_cexpf.c: Likewise.
16069 * math/s_cexpl.c: Likewise.
16070 * math/libm-test.inc (cexp_test): Add more tests.
16071 * sysdeps/i386/fpu/libm-test-ulps: Update.
16072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16073
16074 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16075
16076 * include/link.h (ELFW): New macro.
16077 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16078 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16079
16080 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16081
16082 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16083 with uint64_t.
16084
16085 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16086
16087 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16088 declaration.
16089 (struct La_x32_retval): Likewise.
16090
16091 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16092
16093 * sysdeps/x86_64/preconfigure.in: New file.
16094 * sysdeps/x86_64/preconfigure: New generated file.
16095
16096 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16097
16098 [BZ #13824]
16099 * math/e_exp2l.c: Include <float.h>.
16100 (__ieee754_exp2l): Handle overflow and underflow cases
16101 separately. Only pass fractional part of argument to
16102 __ieee754_expl.
16103 * math/libm-test.inc (exp2_test): Add more tests.
16104
16105 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16106 negating x to take absolute value.
16107 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16108 Likewise.
16109 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16110 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16111 Likewise.
16112 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16113 computing low part if x was negated.
16114 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16115
16116 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16117
16118 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16119 la_x32_gnu_pltexit.
16120 (pltexit): Cast int_retval to ptrdiff_t.
16121 * elf/tst-auditmod3b.c: Likewise.
16122 * elf/tst-auditmod4b.c: Likewise.
16123 * elf/tst-auditmod5b.c: Likewise.
16124 * elf/tst-auditmod6b.c: Likewise.
16125 * elf/tst-auditmod6c.c: Likewise.
16126 * elf/tst-auditmod7b.c: Likewise.
16127
16128 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16129 and x32_gnu_pltexit.
16130
16131 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16132 __ELF_NATIVE_CLASS.
16133 (La_x32_regs): New macro.
16134 (La_x32_retval): Likewise.
16135 (la_x32_gnu_pltenter): New function prototype.
16136 (la_x32_gnu_pltexit): Likewise.
16137
16138 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16139
16140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16141 exponent.
16142
16143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16144
16145 * configure.in (libc_cv_cc_nofma): Check for option to disable
16146 generation of FMA instructions.
16147 * configure: Regenerate.
16148 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16149 * sysdeps/ieee754/dbl-64/Makefile: New file.
16150 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16151 Remove brandred-fma4.
16152 (CFLAGS-brandred-fma4.c): Remove.
16153 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16154 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16155 define.
16156 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16157 define.
16158
16159 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16160
16161 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16162 LLONG_MAX != LONG_MAX.
16163 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16164 (_fitoa_word): Likewise.
16165 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16166 LLONG_MAX != LONG_MAX.
16167 * stdio-common/_itowa.h: Include <_itoa.h>.
16168 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16169 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16170 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16171 only if not defined.
16172 (_ITOA_WORD_TYPE): Likewise.
16173 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16174 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16175
16176 2012-03-21 David S. Miller <davem@davemloft.net>
16177
16178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16179
16180 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16181
16182 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16183 of x86_64 when setting libc_cv_slibdir, libdir and
16184 libc_cv_localedir.
16185 * sysdeps/unix/sysv/linux/configure: Regenerated.
16186
16187 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16188
16189 * manual/lang.texi (Old Varargs): Remove section.
16190 (How Variadic): Update menu.
16191 (va_start): Do not mention varargs.h.
16192
16193 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16194 Joseph Myers <joseph@codesourcery.com>
16195
16196 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16197 link test.
16198 * configure: Regenerated.
16199
16200 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16201
16202 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16203 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16204 conformtest.pl
16205
16206 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16207
16208 * NOTES: Remove.
16209 * Makefile (files-for-dist): Remove NOTES.
16210 (NOTES): Remove rule.
16211 * README: Don't refer to NOTES.
16212 * manual/creature.texi: Don't include macros.texi.
16213 * manual/intro.texi (creature.texi): Remove comment referring to
16214 NOTES.
16215
16216 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16217 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16218 * configure: Regenerated.
16219 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16220 LIBC_TRY_CC_OPTION.
16221 (libc_cv_as_i686): Likewise.
16222 (libc_cv_cc_avx): Likewise.
16223 (libc_cv_cc_sse2avx): Likewise.
16224 (libc_cv_cc_fma4): Likewise.
16225 (libc_cv_cc_novzeroupper): Likewise.
16226 * sysdeps/i386/configure: Regenerated.
16227
16228 [BZ #13883]
16229 * sysdeps/i386/fpu/s_cexp.S: Remove.
16230 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16231 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16232 * math/libm-test.inc (cexp_test): Add more tests.
16233 * sysdeps/i386/fpu/libm-test-ulps: Update.
16234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16235
16236 2012-03-21 Allan McRae <allan@archlinux.org>
16237
16238 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16239
16240 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16241
16242 [BZ #13871]
16243 * math/w_exp2.c: Do not include <float.h>.
16244 (o_threshold, u_threshold): Remove.
16245 (__exp2): Calculate result before checking finiteness and calling
16246 __kernel_standard.
16247 * math/w_exp2f.c: Likewise.
16248 * math/w_exp2l.c: Likewise.
16249 * math/libm-test.inc (exp2_test): Require overflow exception for
16250 1e6 input.
16251
16252 [BZ #3866]
16253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16254 range of signed 64-bit integers before using fistpll. Remove
16255 checks for whether integers fit in mantissa bits.
16256 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16257 the range of signed 32-bit integers before using fistpl. Remove
16258 checks for whether integers fit in mantissa bits.
16259 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16260 (__ieee754_powl): Test for y outside the range of signed 64-bit
16261 integers before using fistpll. Reduce 64-bit values to 63-bit
16262 ones as needed.
16263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16264 divide-by-zero is raised for zero to large negative powers.
16265 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16266 (__ieee754_powl): Test for y outside the range of signed 64-bit
16267 integers before using fistpll. Reduce 64-bit values to 63-bit
16268 ones as needed.
16269 * math/libm-test.inc (pow_test): Add more tests.
16270
16271 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16272
16273 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16274 <stdio-common/_itoa.h>.
16275 * debug/segfault.c: Likewise.
16276 * elf/dl-cache.c: Likewise.
16277 * elf/dl-minimal.c: Likewise.
16278 * elf/dl-misc.c: Likewise.
16279 * elf/dl-sysdep.c: Likewise.
16280 * elf/dl-version.c: Likewise.
16281 * elf/rtld.c: Likewise.
16282 * hurd/hurdsock.c: Likewise.
16283 * hurd/lookup-retry.c: Likewise.
16284 * malloc/malloc.c: Likewise.
16285 * malloc/mtrace.c: Likewise.
16286 * nscd/nscd_getgr_r.c: Likewise.
16287 * nscd/nscd_getpw_r.c: Likewise.
16288 * nscd/nscd_getserv_r.c: Likewise.
16289 * posix/getopt_init.c: Likewise.
16290 * posix/wordexp.c: Likewise.
16291 * stdio-common/_itoa.c: Likewise.
16292 * stdio-common/printf_fphex.c: Likewise.
16293 * stdio-common/vfprintf.c: Likewise.
16294 * string/_strerror.c: Likewise.
16295 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16296 * sysdeps/i386/i686/hp-timing.h: Likewise.
16297 * sysdeps/mach/_strerror.c: Likewise.
16298 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16299 * sysdeps/mach/hurd/sethostid.c: Likewise.
16300 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16301 * sysdeps/mach/xpg-strerror.c: Likewise.
16302 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16303 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16304 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16305 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16306 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16307 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16308 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16309 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16310 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16311 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16312 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16313 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16314 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16315 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16316 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16317 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16318 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16319 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16320 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16321 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16322 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16323
16324 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16325
16326 * stdio-common/_itoa.h: Moved to ...
16327 * sysdeps/generic/_itoa.h: Here.
16328
16329 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16330
16331 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16332 instead of "_itoa.h" and "_itowa.h".
16333 * stdio-common/vfprintf.: Likewise.
16334
16335 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16336
16337 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16338 <bits/wordsize.h>.
16339 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16340 (__signbit): Likwise.
16341 (llrintf): Likwise.
16342 (llrint): Likwise.
16343
16344 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16345
16346 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16347 __WORDSIZE != 64.
16348
16349 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16350
16351 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16352 OVERFLOW_EXCEPTION_OK.
16353 * math/libm-test.inc ("Philosophy"): Update comment about
16354 exception testing.
16355 (OVERFLOW_EXCEPTION): Define.
16356 (OVERFLOW_EXCEPTION_OK): Likewise.
16357 (INVALID_EXCEPTION_OK): Renumber.
16358 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16359 (IGNORE_ZERO_INF_SIGN): Likewise.
16360 (test_exceptions): Handle FE_OVERFLOW.
16361 (exp10_test): Expect overflow exceptions.
16362 (exp2_test): Likewise.
16363 (expm1_test): Likewise.
16364 (nextafter_test): Likewise.
16365 (pow_test): Likewise.
16366 (scalbn_test): Likewise.
16367 (scalbln_test): Likewise.
16368
16369 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16370
16371 * sysdeps/x86_64/bits/atomic.h
16372 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16373 64bit integer.
16374 (atomic_exchange_acq): Likewise.
16375 (__arch_exchange_and_add_body): Likewise.
16376 (__arch_add_body): Likewise.
16377 (atomic_add_negative): Likewise.
16378 (atomic_add_zero): Likewise.
16379
16380 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16381
16382 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16383 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16384
16385 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16386
16387 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16388 Check __x86_64__ instead of __WORDSIZE.
16389
16390 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16391
16392 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16393
16394 2012-03-19 David S. Miller <davem@davemloft.net>
16395
16396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16397
16398 * sysdeps/sparc/fpu/fenv_private.h: New file.
16399 * sysdeps/sparc/fpu/math_private.h: Use it.
16400 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16401 Remove.
16402 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16403 (libc_feholdexcept_setroundl): Remove.
16404 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16405 Remove.
16406 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16407 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16408
16409 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16410
16411 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16412 int64_t instead of long int.
16413 (INSERT_WORDS64): Likwise.
16414
16415 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16416
16417 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16418 _Unwind_GetCFA return to _Unwind_Ptr first.
16419
16420 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16421
16422 [BZ #13629]
16423 * math/s_clog.c: Include <float.h>.
16424 (__clog): Scale large or subnormal inputs.
16425 * math/s_clogf.c: Likewise.
16426 * math/s_clogl.c: Likewise.
16427 * math/s_clog10.c: Include <float.h>.
16428 (M_LOG10_2): Define.
16429 (__clog10): Scale large or subnormal inputs.
16430 * math/s_clog10f.c: Likewise.
16431 * math/s_clog10l.c: Likewise.
16432 * math/libm-test.inc (clog_test): Add more tests.
16433 (clog10_test): Likewise.
16434 * sysdeps/i386/fpu/libm-test-ulps: Update.
16435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16436
16437 [BZ #11451]
16438 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16439 x and y.
16440 * math/libm-test.inc (atan2_test): Add another test.
16441
16442 * Makerules (common-objdir-compile): Remove.
16443 * sysdeps/unix/Makefile (config-generated): Do not add
16444 $(unix-generated) to variable.
16445 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16446 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16447 Remove rule.
16448 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16449 Likewise.
16450 [generic bits/local_lim.h] (before-compile): Do not append to
16451 variable.
16452 [generic bits/local_lim.h] (common-generated): Likewise.
16453 [generic sys/param.h] (before-compile): Do not append to variable.
16454 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16455 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16456 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16457 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16458 include.
16459 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16460 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16461 [generic sys/param.h] ($(addprefix
16462 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16463 [generic sys/param.h] (common-generated): Do not append to
16464 variable.
16465 [generic sys/param.h] (sysdep_headers): Likewise.
16466 [generic bits/errno.h] (before-compile): Do not append to
16467 variable.
16468 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16469 rule.
16470 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16471 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16472 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16473 [generic bits/errno.h] (common-generated): Do not append to
16474 variable.
16475 [generic bits/ioctls.h] (before-compile): Do not append to
16476 variable.
16477 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16478 rule.
16479 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16480 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16481 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16482 rule.
16483 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16484 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16485 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16486 [generic bits/ioctls.h] (common-generated): Do not append to
16487 variable.
16488 [generic sys/syscall.h] (syscall.h): Remove variable.
16489 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16490 rule.
16491 [generic sys/syscall.h] (before-compile): Do not append to
16492 variable.
16493 [generic sys/syscall.h] (common-generated): Likewise.
16494 * sysdeps/unix/errnos-tmpl.c: Remove file.
16495 * sysdeps/unix/errnos.awk: Likewise.
16496 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16497 * sysdeps/unix/ioctls.awk: Likewise.
16498 * sysdeps/unix/mk-local_lim.c: Likewise.
16499 * sysdeps/unix/snarf-ioctls: Likewise.
16500
16501 2012-03-19 Richard Henderson <rth@twiddle.net>
16502
16503 * sysdeps/i386/fpu/fenv_private.h: New file.
16504 * sysdeps/i386/fpu/math_private.h: Use it.
16505 (math_opt_barrier, math_force_eval): Remove.
16506 (libc_feholdexcept_setround_53bit): Remove.
16507 (libc_feupdateenv_53bit): Remove.
16508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16509 (math_opt_barrier, math_force_eval): Remove.
16510 (libc_feholdexcept): Remove.
16511 (libc_feholdexcept_setround): Remove.
16512 (libc_fetestexcept, libc_fesetenv): Remove.
16513 (libc_feupdateenv_test): Remove.
16514 (libc_feupdateenv, libc_feholdsetround): Remove.
16515 (libc_feresetround): Remove.
16516
16517 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16518 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16519
16520 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16521 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16522 (libc_feupdateenv_testl): New.
16523 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16524 (libc_feupdateenv_testf): New.
16525 (libc_feupdateenv): Use libc_feupdateenv_test.
16526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16528
16529 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16530 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16531 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16532 (libc_feresetround_noex): New.
16533 (libc_feresetround_noexf): New.
16534 (libc_feresetround_noexl): New.
16535 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16536 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16537 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16538 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16539 SET_RESTORE_ROUND.
16540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16542 (__cos): Likewise.
16543 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16544 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16545 SET_RESTORE_ROUND_NOEX.
16546 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16547 SET_RESTORE_ROUND_NOEXF.
16548 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16549 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16550 (libc_feholdsetroundf): New.
16551 (libc_feresetround, libc_feresetroundf): New.
16552
16553 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16554 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16555 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16556
16557 * sysdeps/generic/math_private.h: Include <fenv.h>.
16558 (default_libc_feholdexcept): New.
16559 (default_libc_feholdexcept_setround): New.
16560 (default_libc_fesetenv, default_libc_feupdateenv): New.
16561 (libc_feholdexcept): Only define if undefined.
16562 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16563 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16564 (libc_feholdexcept_setroundl): Likewise.
16565 (libc_feholdexcept_setround_53bit): Likewise.
16566 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16567 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16568 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16569 (libc_feupdateenv_53bit): Likewise.
16570 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16571 (libc_feholdexcept): Convert from macro to inline function.
16572 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16573 (libc_fesetenv, libc_feupdateenv): Likewise.
16574
16575 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16576 not previously defined.
16577 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16578 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16579 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16580 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16581 * sysdeps/ieee754/flt-32/math_private.h: New file.
16582 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16583 math_private.h below SET_FLOAT_WORD.
16584 (__isnan, __isinf_ns, __finite): Remove.
16585 (__isnanf, __isinf_nsf, __finitef): Remove.
16586
16587 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16588
16589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16590
16591 2012-03-17 David S. Miller <davem@davemloft.net>
16592
16593 [BZ #6471]
16594 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16595 for 2.16.
16596
16597 2012-03-16 David S. Miller <davem@davemloft.net>
16598
16599 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16600 warnings.
16601
16602 [BZ #6471]
16603 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16604 properly.
16605 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16606 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16607 sysdep_routines when subdir is sysvipc.
16608 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16609 __getshmlba helper.
16610
16611 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16612
16613 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16614
16615 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16616 [__LP64__].
16617
16618 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16619
16620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16621 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16622 (__lround): Renamed to ...
16623 (__llround): This. Replace long int with long long int.
16624 Define lround functions as aliases of llround functions.
16625 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16626
16627 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16628
16629 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16630 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16631 adresses to uintptr_t. Replace "long int" and "unsigned long
16632 int" with "greg_t" on va_arg.
16633
16634 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16635
16636 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16637 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16638
16639 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16640 Move e_machine check before EI_CLASS check. Handle x32
16641 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16642 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16643 SKIP_EM_IA_64 and include
16644 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16645
16646 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16647 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16648 (add_system_dir): New macro.
16649
16650 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16651 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16652
16653 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16654
16655 [BZ #2551]
16656 [BZ #2552]
16657 [BZ #2553]
16658 [BZ #2554]
16659 [BZ #2562]
16660 [BZ #2563]
16661 [BZ #2565]
16662 [BZ #2566]
16663 [BZ #2576]
16664 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16665 (y0): Likewise.
16666 * math/w_j0f.c (j0f): Likewise.
16667 (y0f): Likewise.
16668 * math/w_j0l.c (__j0l): Likewise.
16669 (__y0l): Likewise.
16670 * math/w_j1.c (j1): Likewise.
16671 (y1): Likewise.
16672 * math/w_j1f.c (j1f): Likewise.
16673 (y1f): Likewise.
16674 * math/w_j1l.c (__j1l): Likewise.
16675 (__y1l): Likewise.
16676 * math/w_jn.c (jn): Likewise.
16677 (yn): Likewise.
16678 * math/w_jnf.c (jnf): Likewise.
16679 (ynf): Likewise.
16680 * math/w_jnl.c (__jnl): Likewise.
16681 (__ynl): Likewise.
16682 * math/libm-test.inc (j0_test): Add more tests.
16683 (j1_test): Likewise.
16684 (jn_test): Likewise. Add trailing semicolon to existing test.
16685 (y0_test): Likewise.
16686 (y1_test): Likewise.
16687 * sysdeps/i386/fpu/libm-test-ulps: Update.
16688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16689
16690 [BZ #13851]
16691 [BZ #13854]
16692 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16693 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16694 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16695 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16696 (__tanl): Set errno for infinite argument.
16697 * sysdeps/i386/fpu/mptan.c: Remove.
16698 * sysdeps/i386/fpu/s_tan.S: Likewise.
16699 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16700 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16701 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16702 * math/libm-test.inc (tan_test): Add more tests and enable more
16703 tests for double and long double.
16704 * sysdeps/i386/fpu/libm-test-ulps: Update.
16705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16706
16707 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16708
16709 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16710 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16711
16712 2012-03-16 Roland McGrath <roland@hack.frob.com>
16713
16714 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16715 * configure.in: Use it for both main tree and add-ons.
16716 * configure: Regenerated.
16717
16718 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16719
16720 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16721
16722 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16723
16724 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16725 in comment.
16726
16727 [BZ #13851]
16728 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16729 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16733 infinite argument.
16734 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16736 != 0 for prec == 2.
16737 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16738 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16739 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16740 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16741 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16742 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16743 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16744 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16745 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16746 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16747 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16748 * math/libm-test.inc (cos_test): Add more tests and enable more
16749 tests for long double.
16750 (sin_test): Likewise.
16751 (sincos_test): Likewise.
16752 * sysdeps/i386/fpu/libm-test-ulps: Update.
16753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16754
16755 2012-03-16 David S. Miller <davem@davemloft.net>
16756
16757 * sysdeps/sparc/fpu/math_private.h: New file.
16758
16759 2012-03-15 David S. Miller <davem@davemloft.net>
16760
16761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16762 file.
16763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16765 file.
16766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16772 sysdep routines.
16773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16774
16775 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16776 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16777
16778 * sysdeps/sparc/sparc-ifunc.h: New file.
16779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16780 sparc-ifunc.h
16781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16783 Likewise.
16784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16785 Likewise.
16786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16790 Likewise.
16791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16796 Likewise.
16797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16798 Likewise.
16799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16821 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16822 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16823
16824 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16825
16826 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16827 scaling.
16828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16829
16830 2012-03-15 Andreas Jaeger <aj@suse.de>
16831
16832 [BZ #13852]
16833 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16834 ieee754/flt-32 implementation for sin, cos and sincos.
16835 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16836 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16837 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16838 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16839 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16840 ieee754/flt-32 implementation for tan.
16841
16842 * math/libm-test.inc (cos_test): Enable some large input tests for
16843 float as well
16844 (sin_test): Likewise.
16845 (sincos_test): Likewise.
16846 (tan_test): Add tests for large input.
16847
16848 * sysdeps/i386/fpu/libm-test-ulps: Update.
16849
16850 2012-03-15 Andreas Jaeger <aj@suse.de>
16851
16852 [BZ #13658]
16853 * math/libm-test.inc (cos_test): Add more test cases.
16854 (sin_test): Likewise.
16855 (sincos_test): Likewise.
16856
16857 2012-03-15 Andreas Jaeger <aj@suse.de>
16858
16859 [BZ #13837]
16860 * math/libm-test.inc (cos_test): Add a test case for large input
16861 value.
16862 (sin_test): Likewise.
16863 (sincos_test): Likewise.
16864
16865 2012-03-15 Andreas Jaeger <aj@suse.de>,
16866 Joseph Myers <joseph@codesourcery.com>
16867
16868 [BZ #13658]
16869 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16870 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16871 * sysdeps/i386/fpu/branred.c: Likewise.
16872 * sysdeps/i386/fpu/dosincos.c: Likewise.
16873 * sysdeps/i386/fpu/mpa.c: Likewise.
16874 * sysdeps/i386/fpu/s_cos.S: Likewise.
16875 * sysdeps/i386/fpu/s_sin.S: Likewise.
16876 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16877 * sysdeps/i386/fpu/sincos32.c: Likewise.
16878
16879 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16880 Define.
16881 (libc_feupdateenv_53bit): Define.
16882 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16883 Define.
16884 (libc_feupdateenv_53bit): Define.
16885
16886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16887 53 bit (without extend i386 double precision).
16888
16889 * math/libm-test.inc (sincos_test): Add tests for large input.
16890 (sin): Likewise.
16891 (cos): Likewise.
16892
16893 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16894
16895 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16896
16897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16898
16899 2012-03-15 David S. Miller <davem@davemloft.net>
16900
16901 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16902 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16903 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16904 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16917 file.
16918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16920 file.
16921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16923 file.
16924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16926 file.
16927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16929 fmin/fmax sysdep routines.
16930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16931
16932 2012-03-14 David S. Miller <davem@davemloft.net>
16933
16934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16958 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16963 routines.
16964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16965 file.
16966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16968 file.
16969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16971 file.
16972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16974 file.
16975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16977 file.
16978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16980 file.
16981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16982 file.
16983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16984 file.
16985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16986 file.
16987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16988 New file.
16989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16990 file.
16991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16992 file.
16993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16995 file.
16996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16998 file.
16999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17001 file.
17002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17004 VIS3 routines.
17005
17006 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17007 New file.
17008
17009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17010
17011 * sysdeps/sparc/configure.in: New file.
17012 * sysdeps/sparc/configure: Generate.
17013 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17014 * configure: Regenerate.
17015 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17016 * config.make.in (have-as-vis3): New.
17017 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17018 available use -Av9d instead of -Av9a.
17019 * sysdeps/sparc/sparc64/Makefile: Likewise.
17020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17022 New file.
17023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17024 file.
17025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17026 New file.
17027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17028 file.
17029 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17034
17035 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17036 fzeros/fnegs to load 0x80000000 into a float register instead of
17037 using the stack.
17038 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17039
17040 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17041
17042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17043 bits/syscall.h.
17044 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17045 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17046 ($(inst_includedir)/bits/syscall.h): Remove rule.
17047 ($(objpfx)bits/syscall.d): Include instead of
17048 $(objpfx)syscall-list.d.
17049 (generated): Change syscall-list.h and syscall-list.d to
17050 bits/syscall.h and bits/syscall.d.
17051
17052 2012-03-14 Roland McGrath <roland@hack.frob.com>
17053
17054 [BZ #13846]
17055 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17056
17057 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17058
17059 [BZ #13841]
17060 * math/s_csqrt.c: Include <float.h>.
17061 (__csqrt): Scale large or subnormal inputs.
17062 * math/s_csqrtf.c: Likewise.
17063 * math/s_csqrtl.c: Likewise.
17064 * math/libm-test.inc (csqrt_test): Add more tests.
17065 * sysdeps/i386/fpu/libm-test-ulps: Update.
17066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17067
17068 [BZ #13840]
17069 * math/libm-test.inc (hypot_test): Add more tests.
17070
17071 2012-03-13 David S. Miller <davem@davemloft.net>
17072
17073 [BZ #13840]
17074 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17075 double-precision for the calculation instead of scaling.
17076
17077 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17078
17079 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17080 manipulate bits before adding and subtracting TWO52[sx].
17081 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17083 Likewise.
17084 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17085
17086 2012-03-13 David S. Miller <davem@davemloft.net>
17087
17088 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17089 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17091 rtld-global-offsets.h
17092 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17093
17094 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17095 large parameters.
17096
17097 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17098
17099 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17100 'err' in the ifdef scope in which it is actually used.
17101
17102 * nss/nss_db/db-init.c: Include string.h
17103
17104 2012-03-12 David S. Miller <davem@davemloft.net>
17105
17106 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17107 masking out of the most significant byte of random value used.
17108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17109 Fix coding style in previous change.
17110
17111 * sysdeps/unix/sysv/linux/kernel-features.h
17112 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17113 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17114 expression.
17115 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17116 later.
17117
17118 2012-03-11 David S. Miller <davem@davemloft.net>
17119
17120 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17121 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17122 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17123 for 'resultvar' otherwise things get truncated on 64-bit.
17124
17125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17126 Fix masking out of the most significant byte of random value used.
17127
17128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17129
17130 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17131
17132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17133
17134 2012-03-09 David S. Miller <davem@davemloft.net>
17135
17136 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17137 variables with appropriate CPP guards.
17138 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17139 frame pointer, not the stack pointer. Correct layout comments. Fix test
17140 on resulting framesize and the management of the outregs buffer for pltexit.
17141 Preserve floating point return values across _dl_call_pltexit call.
17142 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17143 framesize and the management of the outregs buffer for pltexit.
17144 Preserve floating point return values across _dl_call_pltexit
17145 call.
17146 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17147 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17148 (print_exit): Fix format string for return register value.
17149
17150 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17151
17152 * sunrpc/Makefile (others): Add rpcgen.
17153 ($(objpfx)rpcgen): Remove special build rule and dependency on
17154 libc.
17155 * sunrpc/rpcgen.c: New file.
17156
17157 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17158
17159 [BZ #13673]
17160 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17161 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17162 * sysdeps/i386/crti.S: Likewise.
17163 * sysdeps/i386/crtn.S: Likewise.
17164 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17165 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17166 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17167 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17168 * sysdeps/sh/crti.S: Likewise.
17169 * sysdeps/sh/crtn.S: Likewise.
17170 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17171
17172 [BZ #13673]
17173 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17174 with URL.
17175 * locale/programs/locfile-kw.gperf: Likewise.
17176 * locale/programs/charmap-kw.h: Regenerated.
17177 * locale/programs/locfile-kw.h: Likewise.
17178
17179 [BZ #13673]
17180 * intl/plural.y: Replace FSF snail mail address with URL.
17181 * intl/plural.c: Regenerated.
17182
17183 2012-03-09 Richard Henderson <rth@twiddle.net>
17184
17185 * include/math_private.h: Remove file.
17186 * math/math_private.h: Move file ...
17187 * sysdeps/generic/math_private.h: ... here.
17188
17189 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17190 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17191 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17192
17193 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17194 and <math_private.h>.
17195 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17196 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17197 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17198 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17199 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17206 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17207 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17212 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17213 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17214 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17217 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17219 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17220 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17221 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17222 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17225 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17227 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17228 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17229 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17230 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17231 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17232 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17233 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17234 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17235 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17236 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17237 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17238 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17239 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17240 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17241 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17242 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17243 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17244 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17245 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17246 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17247 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17248 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17249 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17250 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17251 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17252 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17253 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17254 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17256 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17258 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17262 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17263 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17267 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17269 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17276 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17277 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17283 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17286 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17288 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17289 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17290 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17291 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17292 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17293 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17294 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17295 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17296 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17297 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17298 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17299 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17300 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17301 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17302 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17307 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17309 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17310 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17311 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17312 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17313 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17314 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17315 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17316 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17317 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17318 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17319 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17320 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17321 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17322 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17323 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17324 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17325 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17326 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17327 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17328 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17329 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17330 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17331 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17332 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17333 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17334 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17335 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17336 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17337 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17338 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17339 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17340 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17341 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17342 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17343 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17344 * sysdeps/ieee754/k_standard.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17396 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17397 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17408 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17464 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17465 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17467 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17472 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17477 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17493 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17494 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17495 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17505 * sysdeps/ieee754/s_lib_version.c: Likewise.
17506 * sysdeps/ieee754/s_matherr.c: Likewise.
17507 * sysdeps/ieee754/s_signgam.c: Likewise.
17508 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17509 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17510 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17511 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17513 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17514 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17515 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17516 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17517 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17518 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17519 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17520 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17521 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17522 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17524 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17525 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17526 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17529
17530 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17531
17532 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17533 * sunrpc/rpc_main.c: Likewise.
17534 * sunrpc/rpc_svcout.c: Likewise.
17535
17536 2012-03-09 David S. Miller <davem@davemloft.net>
17537
17538 * include/math_private.h: New file.
17539
17540 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17541
17542 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17543 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17544 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17545 from <bits/socket_type.h>.
17546 (enum __socket_type): Don't define here.
17547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17549 bits/socket_type.h.
17550
17551 [BZ #13566]
17552 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17553 checking __USE_GNU.
17554
17555 * Makerules ($(inst_includedir)/%.h): New rule.
17556 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17557 (install-others): Remove variable setting.
17558 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17559
17560 2012-03-08 Richard Henderson <rth@twiddle.net>
17561
17562 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17563 from macro to inline function; merge with the
17564 !__LIBC_INTERNAL_MATH_INLINES version.
17565 (__ieee754_sqrtf): Likewise.
17566
17567 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17568 to inline function.
17569 (__rintf, __floor, __floorf): Likewise.
17570
17571 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17572 macro to inline function.
17573 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17574
17575 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17576 not <math/math_private.h>.
17577
17578 2012-03-08 David S. Miller <davem@davemloft.net>
17579
17580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17581 copyright year.
17582 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17583
17584 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17585
17586 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17587 normalization.
17588 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17589 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17590
17591 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17592
17593 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17594 be defined individually, they must be defined as a block. Define
17595 S for printing a string instead of hidint the different by using a
17596 macro for adding the 'l'.
17597 * stdio-common/tst-fphex-wide.c: Adjust.
17598
17599 2012-03-07 Marek Polacek <polacek@redhat.com>
17600
17601 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17602
17603 2012-03-08 Marek Polacek <polacek@redhat.com>
17604
17605 [BZ #13806]
17606 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17607 * stdio-common/tst-fphex.c: Define a few macros to make the
17608 test reusable. Use them.
17609 * stdio-common/tst-fphex-wide.c: New file.
17610
17611 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17612
17613 [BZ #6911]
17614 * manual/macros.texi (gnusystems): New macro.
17615 (nongnusystems): Likewise.
17616 (gnulinuxhurdsystems): Likewise.
17617 (gnuhurdsystems): Likewise..
17618 (gnulinuxsystems): Likewise.
17619 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17620 variants of the GNU system, not "GNU system".
17621 * manual/conf.texi: Likewise.
17622 * manual/errno.texi: Likewise. Update example of errno macro
17623 expansion.
17624 * manual/filesys.texi: Likewise.
17625 (getumask): Document as specific to GNU/Hurd.
17626 * manual/install.texi: Likewise. Reword some references to
17627 GNU/Linux.
17628 * manual/intro.texi: Likewise.
17629 * manual/io.texi: Likewise.
17630 (File Name Portability): Detail which constraints are inapplicable
17631 to all GNU systems and which are only inapplicable to GNU/Hurd.
17632 * manual/job.texi: Likewise.
17633 * manual/llio.texi: Likewise.
17634 (O_NOCTTY): Document as present on GNU/Linux.
17635 * manual/maint.texi: Likewise.
17636 * manual/memory.texi: Likewise.
17637 * manual/pattern.texi: Likewise.
17638 * manual/pipe.texi: Likewise.
17639 * manual/process.texi: Likewise.
17640 * manual/resource.texi: Likewise.
17641 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17642 child on GNU/Hurd.
17643 * manual/setjmp.texi: Likewise.
17644 * manual/signal.texi: Likewise.
17645 * manual/startup.texi: Likewise.
17646 * manual/stdio.texi: Likewise.
17647 * manual/terminal.texi: Likewise.
17648 (ONLCR): Document as POSIX.
17649 (OXTABS): Document availability on GNU/Linux as XTABS.
17650 (ONOEOT): Document availability separately from other bits.
17651 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17652 * manual/time.texi: Likewise.
17653 * manual/users.texi: Likewise.
17654 * INSTALL: Regenerated.
17655 * sysdeps/gnu/errlist.c: Regenerated.
17656
17657 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17658 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17659 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17660 puts.
17661 * configure: Regenerated.
17662
17663 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17664
17665 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17666 default includes instead of AC_HEADER_CHECK.
17667 * sysdeps/i386/configure: Regenerated.
17668
17669 [BZ #10716]
17670 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17671 * math/s_cacoshf.c (__cacoshf): Likewise.
17672 * math/s_cacoshl.c (__cacoshl): Likewise.
17673 * math/s_casinh.c (__casinh): Set signs of result from argument.
17674 * math/s_casinhf.c (__casinhf): Likewise.
17675 * math/s_casinhl.c (__casinhl): Likewise.
17676 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17677 (casinh_test): Add more tests.
17678 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680
17681 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17682
17683 * po/zh_TW.po: Update from translation team.
17684
17685 * login/Makefile (distribute): Remove variable.
17686 * catgets/Makefile: Likewise.
17687 * mach/Makefile: Likewise.
17688 * malloc/Makefile: Likewise.
17689 * misc/Makefile: Likewise.
17690 * iconv/Makefile: Likewise.
17691 * nscd/Makefile: Likewise.
17692 * hurd/Makefile: Likewise.
17693 * manual/Makefile: Likewise.
17694 * locale/Makefile: Likewise.
17695 * intl/Makefile: Likewise.
17696 * conform/Makefile: Likewise.
17697 * nss/Makefile: Likewise.
17698 * time/Makefile: Likewise.
17699 * soft-fp/Makefile: Likewise.
17700 * dirent/Makefile: Likewise.
17701 * gmon/Makefile: Likewise.
17702 * po/Makefile: Likewise.
17703 * rt/Makefile: Likewise.
17704 * socket/Makefile: Likewise.
17705 * math/Makefile: Likewise.
17706 * signal/Makefile: Likewise.
17707 * debug/Makefile: Likewise.
17708 * elf/Makefile: Likewise.
17709 * timezone/Makefile: Likewise.
17710 * stdlib/Makefile: Likewise.
17711 * iconvdata/Makefile: Likewise.
17712 * sunrpc/Makefile: Likewise.
17713 * io/Makefile: Likewise.
17714 * argp/Makefile: Likewise.
17715 * inet/Makefile: Likewise.
17716 * hesiod/Makefile: Likewise.
17717 * grp/Makefile: Likewise.
17718 * csu/Makefile: Likewise.
17719 * wctype/Makefile: Likewise.
17720 * crypt/Makefile: Likewise.
17721 * libio/Makefile: Likewise.
17722 * string/Makefile: Likewise.
17723 * nis/Makefile: Likewise.
17724 * resolv/Makefile: Likewise.
17725 * stdio-common/Makefile: Likewise.
17726 * wcsmbs/Makefile: Likewise.
17727 * dlfcn/Makefile: Likewise.
17728 * posix/Makefile: Likewise.
17729
17730 [BZ #6959]
17731 * timezone/Makefile: Don't install timezone files, just the programs
17732 and scripts.
17733
17734 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17735
17736 * nss/databases.def: Add missing gshadow entry.
17737
17738 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17739
17740 2012-03-06 Marek Polacek <polacek@redhat.com>
17741
17742 [BZ #13726]
17743 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17744 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17745 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17746 * stdio-common/tst-long-dbl-fphex.c: New file.
17747
17748 2012-03-06 David S. Miller <davem@davemloft.net>
17749
17750 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17751 (set_obp_int): New function.
17752 (get_obp_int): New function.
17753 (__get_clockfreq_via_dev_openprom): Likewise.
17754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17755 Avoid unused variable warnings on 'val' and use builtin_expect.
17756 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17757 __builtin_expect.
17758 (INLINE_CLONE_SYSCALL): Likewise.
17759
17760 2012-03-05 David S. Miller <davem@davemloft.net>
17761
17762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17763
17764 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17765
17766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17767
17768 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17769 only for |x| >= 40.
17770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17771
17772 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17773
17774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17775 Replace gettimeofday with __vdso_gettimeofday.
17776
17777 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17778 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17779 __vdso_clock_gettime and __vdso_getcpu.
17780
17781 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17782 time with __vdso_time.
17783
17784 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17785
17786 * manual/lang.texi (size_t): Note types to which size_t may be
17787 equivalent with the GNU C Library, but do not describe when
17788 differences between them are significant.
17789
17790 2012-03-05 Andreas Jaeger <aj@suse.de>
17791
17792 * sysdeps/i386/fpu/libm-test-ulps: Update.
17793
17794 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17795
17796 [BZ #3976]
17797 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17798 (__ieee754_pow): Save and restore rounding mode and use
17799 round-to-nearest for main computations.
17800 * math/libm-test.inc (pow_test_tonearest): New function.
17801 (pow_test_towardzero): Likewise.
17802 (pow_test_downward): Likewise.
17803 (pow_test_upward): Likewise.
17804 (main): Call the new functions.
17805 * sysdeps/i386/fpu/libm-test-ulps: Update.
17806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17807
17808 [BZ #3976]
17809 * math/libm-test.inc (cosh_test_tonearest): New function.
17810 (cosh_test_towardzero): Likewise.
17811 (cosh_test_downward): Likewise.
17812 (cosh_test_upward): Likewise.
17813 (sinh_test_tonearest): Likewise.
17814 (sinh_test_towardzero): Likewise.
17815 (sinh_test_downward): Likewise.
17816 (sinh_test_upward): Likewise.
17817 (main): Call the new functions.
17818 * sysdeps/i386/fpu/libm-test-ulps: Update.
17819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17820
17821 2012-03-05 Tom de Vries <tom@codesourcery.com>
17822
17823 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17824 default stack guard is set in last bytes.
17825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17826
17827 2012-03-05 Kees Cook <keescook@chromium.org>
17828
17829 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17830
17831 [BZ #13656]
17832 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17833 possibly allocate from heap instead of stack.
17834 * stdio-common/bug-vfprintf-nargs.c: New file.
17835 * stdio-common/Makefile (tests): Add nargs overflow test.
17836
17837 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17838
17839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17840
17841 2012-03-03 Marek Polacek <polacek@redhat.com>
17842
17843 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17844 * math/math_private.h: Likewise.
17845 * stdlib/tst-strtod.c: Likewise.
17846 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17847 * sysdeps/x86_64/bits/atomic.h: Likewise.
17848
17849 2012-03-02 David S. Miller <davem@davemloft.net>
17850
17851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17855 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17856 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17857 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17858 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17859
17860 2012-03-02 Roland McGrath <roland@hack.frob.com>
17861
17862 [BZ #13792]
17863 * manual/examples/README: New file, says the example source files
17864 can be used under GPL>=2.
17865 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17866 line containing just "*/".
17867 * manual/examples/add.c: Add copyright header (GPL>=2).
17868 * manual/examples/argp-ex1.c: Likewise.
17869 * manual/examples/argp-ex2.c: Likewise.
17870 * manual/examples/argp-ex3.c: Likewise.
17871 * manual/examples/argp-ex4.c: Likewise.
17872 * manual/examples/atexit.c: Likewise.
17873 * manual/examples/db.c: Likewise.
17874 * manual/examples/dir.c: Likewise.
17875 * manual/examples/dir2.c: Likewise.
17876 * manual/examples/execinfo.c: Likewise.
17877 * manual/examples/filecli.c: Likewise.
17878 * manual/examples/filesrv.c: Likewise.
17879 * manual/examples/fmtmsgexpl.c: Likewise.
17880 * manual/examples/genpass.c: Likewise.
17881 * manual/examples/inetcli.c: Likewise.
17882 * manual/examples/inetsrv.c: Likewise.
17883 * manual/examples/isockad.c: Likewise.
17884 * manual/examples/longopt.c: Likewise.
17885 * manual/examples/memopen.c: Likewise.
17886 * manual/examples/memstrm.c: Likewise.
17887 * manual/examples/mkfsock.c: Likewise.
17888 * manual/examples/mkisock.c: Likewise.
17889 * manual/examples/mygetpass.c: Likewise.
17890 * manual/examples/pipe.c: Likewise.
17891 * manual/examples/popen.c: Likewise.
17892 * manual/examples/rprintf.c: Likewise.
17893 * manual/examples/search.c: Likewise.
17894 * manual/examples/select.c: Likewise.
17895 * manual/examples/setjmp.c: Likewise.
17896 * manual/examples/sigh1.c: Likewise.
17897 * manual/examples/sigusr.c: Likewise.
17898 * manual/examples/stpcpy.c: Likewise.
17899 * manual/examples/strdupa.c: Likewise.
17900 * manual/examples/strftim.c: Likewise.
17901 * manual/examples/strncat.c: Likewise.
17902 * manual/examples/subopt.c: Likewise.
17903 * manual/examples/swapcontext.c: Likewise.
17904 * manual/examples/termios.c: Likewise.
17905 * manual/examples/testopt.c: Likewise.
17906 * manual/examples/testpass.c: Likewise.
17907 * manual/examples/timeval_subtract.c: Likewise.
17908
17909 [BZ #13792]
17910 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17911 function to ...
17912 * manual/timeval_subtract.c.texi: ... here, new file.
17913
17914 2012-03-02 David S. Miller <davem@davemloft.net>
17915
17916 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17917
17918 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17919
17920 [BZ #3976]
17921 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17922 (__sin): Save and restore rounding mode and use round-to-nearest
17923 for all computations.
17924 (__cos): Save and restore rounding mode and use round-to-nearest
17925 for all computations.
17926 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17927 <fenv.h>.
17928 (tan): Save and restore rounding mode and use round-to-nearest for
17929 all computations.
17930 * math/libm-test.inc (cos_test_tonearest): New function.
17931 (cos_test_towardzero): Likewise.
17932 (cos_test_downward): Likewise.
17933 (cos_test_upward): Likewise.
17934 (sin_test_tonearest): Likewise.
17935 (sin_test_towardzero): Likewise.
17936 (sin_test_downward): Likewise.
17937 (sin_test_upward): Likewise.
17938 (tan_test_tonearest): Likewise.
17939 (tan_test_towardzero): Likewise.
17940 (tan_test_downward): Likewise.
17941 (tan_test_upward): Likewise.
17942 (main): Call the new functions.
17943 * sysdeps/i386/fpu/libm-test-ulps: Update.
17944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17945
17946 [BZ #10135]
17947 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17948 small n, then large n, before computing and testing k+n.
17949 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17951 Likewise.
17952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17953 Likewise.
17954 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17955 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17956 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17957 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17960 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17961 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17962 * math/libm-test.inc (scalbn_test): Add more tests.
17963 (scalbln_test): Likewise.
17964
17965 * manual/filesys.texi (mode_t): Describe constraints on size and
17966 signedness, not exact equivalence to a particular type.
17967 (ino_t): Likewise.
17968 (ino64_t): Likewise.
17969 (dev_t): Likewise.
17970 (nlink_t): Likewise.
17971 (blkcnt_t): Likewise.
17972 (blkcnt64_t): Likewise.
17973 * manual/llio.texi (off_t): Likewise.
17974
17975 [BZ #3976]
17976 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17977 (__ieee754_exp): Save and restore rounding mode and use
17978 round-to-nearest for all computations.
17979 * math/libm-test.inc (exp_test_tonearest): New function.
17980 (exp_test_towardzero): Likewise.
17981 (exp_test_downward): Likewise.
17982 (exp_test_upward): Likewise.
17983 (main): Call the new functions.
17984 * sysdeps/i386/fpu/libm-test-ulps: Update.
17985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17986
17987 2012-03-01 Chris Demetriou <cgd@google.com>
17988
17989 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17990 have predictable order.
17991
17992 2012-03-01 David S. Miller <davem@davemloft.net>
17993
17994 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17995
17996 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17997 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17998 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17999 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18000
18001 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18002 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18003 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18005 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18006 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18007 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18008 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18009 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18010
18011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18012
18013 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18014 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18015 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18016
18017 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18018 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18019 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18020 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18021 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18023 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18024 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18025 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18026 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18027 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18028 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18030 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18031 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18033 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18034 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18035 * sysdeps/sparc/elf/configure: Regenerated.
18036
18037 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18038
18039 * configure.in (AS, LD): Require binutils 2.20 or later.
18040 * configure: Regenerated.
18041 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18042 as required minimum version.
18043 * INSTALL: Regenerated.
18044
18045 [BZ #2541]
18046 [BZ #4108]
18047 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18048 before squaring exponent.
18049 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18050 bottom long double and 27 bits of top long double before squaring
18051 exponent.
18052 * math/libm-test.inc (erfc_test): Add more tests.
18053 * sysdeps/i386/fpu/libm-test-ulps: Update.
18054 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18056
18057 2012-03-01 Kai Tietz <ktietz@redhat.com>
18058
18059 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18060 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18061 containing bit-fields.
18062 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18063 * soft-fp/single.h (_FP_UNION_S): Likewise.
18064 * soft-fp/double.h (_FP_UNION_D): Likewise.
18065
18066 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18067
18068 [BZ #13786]
18069 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18070 not include ../strcmp.S.
18071 [USE_AS_STRNCASECMP_L]: Likewise.
18072 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18073 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18074 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18075 (__strncasecmp_l_ia32): Define as alias to
18076 __strncasecmp_l_nonascii.
18077
18078 [BZ #5794]
18079 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18080 * sysdeps/i386/fpu/libm-test-ulps: Update.
18081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18082
18083 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18085
18086 2012-02-29 Jeff Law <law@redhat.com>
18087
18088 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18089 out of bounds read.
18090
18091 2012-02-29 Marek Polacek <polacek@redhat.com>
18092
18093 [BZ #13706]
18094 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18095 * elf/Makefile: Add rules to run tst-unused-dep.out.
18096
18097 2012-02-28 David S. Miller <davem@davemloft.net>
18098
18099 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18100 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18101 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18103 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18104 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18105
18106 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18107
18108 * math/libm-test.inc (llround_test): Move one test from
18109 lround_test. Use TEST_f_L in moved test.
18110 (lround_test): Move misplaced test to llround_test. Add testcase
18111 from bug 2561.
18112
18113 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18114
18115 * sysdeps/x86_64/fpu/e_expf.S: New file.
18116 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18117
18118 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18119
18120 [BZ #13637]
18121 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18122 of remain_len that may cause incomplete multi-byte character and
18123 false match.
18124 * posix/bug-regex33.c: New file.
18125 * posix/Makefile (tests): Add bug-regex33.
18126
18127 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18128
18129 * manual/macros.texi: New file.
18130 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18131 * manual/libc.texinfo: Include macros.texi.
18132 * manual/creatute.texi: Likewise.
18133 * manual/install.texi: Likewise.
18134 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18135 @glibcadj{} in references to the GNU C Library.
18136 * manual/charset.texi: Likewise.
18137 * manual/conf.texi: Likewise.
18138 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18139 when not using those macros.
18140 * manual/creature.texi: Likewise.
18141 * manual/crypt.texi: Likewise.
18142 * manual/errno.texi: Likewise.
18143 * manual/filesys.texi: Likewise.
18144 * manual/header.texi: Likewise.
18145 * manual/install.texi: Likewise.
18146 * manual/intro.texi: Likewise.
18147 * manual/io.texi: Likewise.
18148 * manual/job.texi: Likewise.
18149 * manual/lang.texi: Likewise.
18150 * manual/libc.texiinfo: Likewise.
18151 * manual/llio.texi: Likewise.
18152 * manual/locale.texi: Likewise.
18153 * manual/maint.texi: Likewise.
18154 * manual/math.texi: Likewise.
18155 * manual/memory.texi: Likewise.
18156 * manual/message.texi: Likewise.
18157 * manual/nss.texi: Likewise.
18158 * manual/pattern.texi: Likewise.
18159 * manual/process.texi: Likewise.
18160 * manual/resource.texi: Likewise.
18161 * manual/search.texi: Likewise.
18162 * manual/setjmp.texi: Likewise.
18163 * manual/signal.texi: Likewise.
18164 * manual/socket.texi: Likewise.
18165 * manual/startup.texi: Likewise.
18166 * manual/stdio.texi: Likewise.
18167 * manual/string.texi: Likewise.
18168 * manual/sysinfo.texi: Likewise.
18169 * manual/syslog.texi: Likewise.
18170 * manual/terminal.texi: Likewise.
18171 * manual/time.texi: Likewise.
18172 * manual/users.texi: Likewise.
18173 * INSTALL: Regenerated.
18174 * NOTES: Regenerated.
18175 * sysdeps/gnu/errlist.c: Regenerated.
18176
18177 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18178
18179 * include/dirent.h: Include <dirstream.h> before
18180 <dirent/dirent.h>.
18181
18182 2012-02-28 David S. Miller <davem@davemloft.net>
18183
18184 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18185 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18186 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18187 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18188
18189 2012-02-27 David S. Miller <davem@davemloft.net>
18190
18191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18193 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18194 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18195
18196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18197 frame pointer instead of stack pointer relative arg slot.
18198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18199 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18200 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18201
18202 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18203
18204 [BZ #3992]
18205 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18206
18207 2012-02-27 David S. Miller <davem@davemloft.net>
18208
18209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18213 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18214 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18215 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18216 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18217
18218 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18219
18220 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18221 later. Allow versions 5-9.
18222 * configure: Regenerated.
18223 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18224 required minimum version and 4.6 as recommended version. Do not
18225 mention bugs in GCC 2.7 and 2.8.
18226 * INSTALL: Regenerated.
18227
18228 2012-02-27 David S. Miller <davem@davemloft.net>
18229
18230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18236 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18237 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18238
18239 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18240 manipulate bits before adding and subtracting TWO112[sx].
18241 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18242
18243 2012-02-27 Roland McGrath <roland@hack.frob.com>
18244
18245 [BZ #13775]
18246 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18247 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18248 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18249 being in POSIX, because they are in 1003.1-2008.
18250
18251 * rt/tst-aio.c: Include <fcntl.h>.
18252 * rt/tst-aio7.c: Likewise.
18253 * rt/tst-aio64.c: Likewise.
18254
18255 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18256
18257 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18258
18259 * manual/install.texi (--with-headers): Describe headers as
18260 interface headers, not private headers.
18261 (Specific advice for GNU/Linux systems): Describe use of headers
18262 from "make headers_install", not private headers from older
18263 kernels.
18264 * INSTALL: Regenerated.
18265 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18266 Change to 2.6.19.
18267 * sysdeps/unix/sysv/linux/configure: Regenerated.
18268
18269 * manual/llio.texi (fclean): Remove documentation.
18270
18271 * manual/Makefile (libc-texi-generated): New variable. Include
18272 version.texi.
18273 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18274 $(libc-texi-generated), not duplicated list of files.
18275 (version.texi, stamp-version): New rules.
18276 (realclean): Remove $(libc-texi-generated), not individual files
18277 from that list. Do not remove dir-add.texinfo.
18278 * manual/libc.texinfo: Comment out uses of edition numbers and
18279 references to printed manual. Remove last-updated dates.
18280 (EDITION): Comment out.
18281 (ISBN): Likewise.
18282 (VERSION, UPDATED): Remove.
18283 (version.texi): Include.
18284
18285 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18286
18287 * sysdeps/posix/spawni.c: Include <signal.h>.
18288 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18289 * sysdeps/pthread/aio_fsync.c: Likewise.
18290
18291 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18292
18293 * conform/Makefile (tests): Run only when not cross-compiling and
18294 when fast-check is not defined.
18295
18296 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18297 * conform/data/limits.h-data: Fixes for POSIX2008.
18298 * conform/run-conformtest.sh: Run all tests.
18299 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18300 headers.
18301 * include/bits/dlfcn.h: Likewise.
18302 * include/langinfo.h: Likewise.
18303 * include/monetary.h: Likewise.
18304 * include/sys/poll.h: Likewise.
18305
18306 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18307 for __USE_GNU.
18308 * posix/spawn.h: Define __need_sigset_t.
18309 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18310 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18311 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18312 to get sigevent_t only.
18313 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18314 only for __USE_GNU.
18315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18316 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18317 process_vm_writev only for __USE_GNU.
18318 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18319
18320 * conform/Makefile: For now ignore errors from run-conformtest.
18321 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18322 POSIX to avoid namespace pollution. Don't prepend headers.
18323 * conform/data/aio.h-data: Fixes for POSIX testing.
18324 * conform/data/fcntl.h-data: Likewise.
18325 * conform/data/glob.h-data: Likewise.
18326 * conform/data/grp.h-data: Likewise.
18327 * conform/data/pthread.h-data: Likewise.
18328 * conform/data/pwd.h-data: Likewise.
18329 * conform/data/signal.h-data: Likewise.
18330 * conform/data/spawn.h-data: Likewise.
18331 * conform/data/stdio.h-data: Likewise.
18332 * conform/data/stdlib.h-data: Likewise.
18333 * conform/data/stropts.h-data: Likewise.
18334 * conform/data/sys/mman.h-data: Likewise.
18335 * conform/data/sys/stat.h-data: Likewise.
18336 * conform/data/sys/types.h-data: Likewise.
18337 * conform/data/sys/wait.h-data: Likewise.
18338 * conform/data/time.h-data: Likewise.
18339 * conform/data/unistd.h-data: Likewise.
18340 * conform/data/utime.h-data: Likewise.
18341
18342 * io/sys/stat.h: fchmod was always in POSIX.
18343 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18344 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18345 * rt/aio.h: Define __need_timespec before including <time.h>.
18346 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18347 struct. Add forward declaration of pthread_attr_t and use it in
18348 sigevent.
18349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18350 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18351 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18352 always remove CLK_TCK definition.
18353
18354 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18355
18356 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18357
18358 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18359
18360 * conform/run-conformtest.sh: New file.
18361 * conform/Makefile: Run run-conformtest for tests.
18362 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18363 support.
18364
18365 * conform/data/uchar.h-data: New file.
18366 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18367 * conform/data/arpa/inet.h-data: Likewise.
18368 * conform/data/assert.h-data: Likewise.
18369 * conform/data/complex.h-data: Likewise.
18370 * conform/data/cpio.h-data: Likewise.
18371 * conform/data/ctype.h-data: Likewise.
18372 * conform/data/dirent.h-data: Likewise.
18373 * conform/data/dlfcn.h-data: Likewise.
18374 * conform/data/errno.h-data: Likewise.
18375 * conform/data/fcntl.h-data: Likewise.
18376 * conform/data/float.h-data: Likewise.
18377 * conform/data/fmtmsg.h-data: Likewise.
18378 * conform/data/fnmatch.h-data: Likewise.
18379 * conform/data/ftw.h-data: Likewise.
18380 * conform/data/glob.h-data: Likewise.
18381 * conform/data/grp.h-data: Likewise.
18382 * conform/data/iconv.h-data: Likewise.
18383 * conform/data/inttypes.h-data: Likewise.
18384 * conform/data/langinfo.h-data: Likewise.
18385 * conform/data/libgen.h-data: Likewise.
18386 * conform/data/limits.h-data: Likewise.
18387 * conform/data/locale.h-data: Likewise.
18388 * conform/data/math.h-data: Likewise.
18389 * conform/data/monetary.h-data: Likewise.
18390 * conform/data/mqueue.h-data: Likewise.
18391 * conform/data/ndbm.h-data: Likewise.
18392 * conform/data/net/if.h-data: Likewise.
18393 * conform/data/netdb.h-data: Likewise.
18394 * conform/data/netinet/in.h-data: Likewise.
18395 * conform/data/nl_types.h-data: Likewise.
18396 * conform/data/poll.h-data: Likewise.
18397 * conform/data/pthread.h-data: Likewise.
18398 * conform/data/pwd.h-data: Likewise.
18399 * conform/data/regex.h-data: Likewise.
18400 * conform/data/sched.h-data: Likewise.
18401 * conform/data/search.h-data: Likewise.
18402 * conform/data/semaphore.h-data: Likewise.
18403 * conform/data/setjmp.h-data: Likewise.
18404 * conform/data/signal.h-data: Likewise.
18405 * conform/data/spawn.h-data: Likewise.
18406 * conform/data/stdarg.h-data: Likewise.
18407 * conform/data/stdio.h-data: Likewise.
18408 * conform/data/stdlib.h-data: Likewise.
18409 * conform/data/string.h-data: Likewise.
18410 * conform/data/strings.h-data: Likewise.
18411 * conform/data/stropts.h-data: Likewise.
18412 * conform/data/sys/ipc.h-data: Likewise.
18413 * conform/data/sys/mman.h-data: Likewise.
18414 * conform/data/sys/msg.h-data: Likewise.
18415 * conform/data/sys/resource.h-data: Likewise.
18416 * conform/data/sys/select.h-data: Likewise.
18417 * conform/data/sys/sem.h-data: Likewise.
18418 * conform/data/sys/shm.h-data: Likewise.
18419 * conform/data/sys/socket.h-data: Likewise.
18420 * conform/data/sys/stat.h-data: Likewise.
18421 * conform/data/sys/statvfs.h-data: Likewise.
18422 * conform/data/sys/time.h-data: Likewise.
18423 * conform/data/sys/timeb.h-data: Likewise.
18424 * conform/data/sys/times.h-data: Likewise.
18425 * conform/data/sys/types.h-data: Likewise.
18426 * conform/data/sys/uio.h-data: Likewise.
18427 * conform/data/sys/un.h-data: Likewise.
18428 * conform/data/sys/utsname.h-data: Likewise.
18429 * conform/data/sys/wait.h-data: Likewise.
18430 * conform/data/syslog.h-data: Likewise.
18431 * conform/data/tar.h-data: Likewise.
18432 * conform/data/termios.h-data: Likewise.
18433 * conform/data/utime.h-data: Likewise.
18434 * conform/data/utmpx.h-data: Likewise.
18435 * conform/data/varargs.h-data: Likewise.
18436 * conform/data/wchar.h-data: Likewise.
18437 * conform/data/wctype.h-data: Likewise.
18438 * conform/data/wordexp.h-data: Likewise.
18439
18440 * include/stropts.h: New file.
18441 * include/uchar.h: New file.
18442 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18443 * include/assert.h: Likewise.
18444 * include/ctype.h: Likewise.
18445 * include/dirent.h: Likewise.
18446 * include/dlfcn.h: Likewise.
18447 * include/fcntl.h: Likewise.
18448 * include/fnmatch.h: Likewise.
18449 * include/glob.h: Likewise.
18450 * include/grp.h: Likewise.
18451 * include/libio.h: Likewise.
18452 * include/locale.h: Likewise.
18453 * include/math.h: Likewise.
18454 * include/net/if.h: Likewise.
18455 * include/netdb.h: Likewise.
18456 * include/netinet/in.h: Likewise.
18457 * include/pthread.h: Likewise.
18458 * include/pwd.h: Likewise.
18459 * include/regex.h: Likewise.
18460 * include/sched.h: Likewise.
18461 * include/search.h: Likewise.
18462 * include/setjmp.h: Likewise.
18463 * include/signal.h: Likewise.
18464 * include/stdio.h: Likewise.
18465 * include/stdlib.h: Likewise.
18466 * include/string.h: Likewise.
18467 * include/sys/cdefs.h: Likewise.
18468 * include/sys/mman.h: Likewise.
18469 * include/sys/msg.h: Likewise.
18470 * include/sys/resource.h: Likewise.
18471 * include/sys/select.h: Likewise.
18472 * include/sys/socket.h: Likewise.
18473 * include/sys/stat.h: Likewise.
18474 * include/sys/statvfs.h: Likewise.
18475 * include/sys/time.h: Likewise.
18476 * include/sys/times.h: Likewise.
18477 * include/sys/uio.h: Likewise.
18478 * include/sys/utsname.h: Likewise.
18479 * include/sys/wait.h: Likewise.
18480 * include/termios.h: Likewise.
18481 * include/time.h: Likewise.
18482 * include/ulimit.h: Likewise.
18483 * include/unistd.h: Likewise.
18484 * include/utime.h: Likewise.
18485 * include/wchar.h: Likewise.
18486 * include/wctype.h: Likewise.
18487 * include/wordexp.h: Likewise.
18488
18489 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18490
18491 * time/time.h: TIME_UTC must be a macro.
18492 Make timespec_get available for ISO C11 only as well.
18493
18494 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18495
18496 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18497 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18498
18499 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18500
18501 * configure.in: Use -o not -a in test for unsupported multi-arch.
18502
18503 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18504
18505 * manual/texinfo.tex: Update to version 2012-01-19.16.
18506
18507 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18508
18509 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18510
18511 2012-02-24 Roland McGrath <roland@hack.frob.com>
18512
18513 [BZ #13738]
18514 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18515 * manual/fdl-1.3.texi: New file.
18516 * manual/fdl-1.1.texi: File removed.
18517
18518 [BZ #13738]
18519 * manual/libc.texinfo (FDL_VERSION): New @set.
18520 Use it for mention of FDL in cover text.
18521 (Documentation License): Use it in @include file name.
18522
18523 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18524 Roland McGrath <roland@hack.frob.com>
18525
18526 [BZ #5461]
18527 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18528 not LONG_LONG_MAX and LONG_LONG_MIN.
18529 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18530 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18531 name.
18532 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18533
18534 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18535
18536 [BZ #2547]
18537 [BZ #11365]
18538 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18539 manipulate bits before adding and subtracting TWO23[sx].
18540 * math/libm-test.inc (nearbyint_test): Add more tests.
18541
18542 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18543
18544 [BZ #2548]
18545 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18546 bits before adding and subtracting TWO23[sx].
18547 * math/libm-test.inc (rint_test): Add more tests.
18548 (rint_test_tonearest): Likewise.
18549 (rint_test_towardzero): Likewise.
18550 (rint_test_downward): Likewise.
18551 (rint_test_upward: Likewise.
18552
18553 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18554
18555 [BZ #10110]
18556 * include/stdc-predef.h: New file. Extracted from features.h.
18557 * include/features.h: Include stdc-predef.h.
18558 * Makefile (headers): Add stdc-predef.h.
18559 * CONFORMANCE (Compiler limitations): Update.
18560
18561 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18562
18563 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18564
18565 2012-02-21 David S. Miller <davem@davemloft.net>
18566
18567 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18568 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18569
18570 2012-02-20 David S. Miller <davem@davemloft.net>
18571
18572 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18573 using a normal save/restore sequence, rather than allocating a
18574 dummy stack frame just to store a frame pointer and restore.
18575 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18576
18577 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18578
18579 * manual/install.texi: Fix stray word in line-wrapped comment.
18580
18581 2012-02-20 David S. Miller <davem@davemloft.net>
18582
18583 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18584 both binutils and gcc support GOTDATA.
18585
18586 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18587 "rd %pc" in the PIC register setup sequences.
18588
18589 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18590 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18591 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18592 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18593 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18595 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18598 (SYSCALL_ERROR_HANDLER): Likewise.
18599 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18600 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18602 (SYSCALL_ERROR_HANDLER): Likewise.
18603
18604 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18605 (HAVE_GCC_GOTDATA): New.
18606 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18607 relocation support in both binutils and gcc.
18608 * sysdeps/sparc/elf/configure: Regenerate.
18609
18610 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18611 * sysdeps/sparc/sparc32/elf/configure: Delete.
18612 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18613 * sysdeps/sparc/sparc64/elf/configure: Delete.
18614 * sysdeps/sparc/elf/configure.in: New file.
18615 * sysdeps/sparc/elf/configure: Generate.
18616
18617 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18618 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18619 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18620 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18621 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18622
18623 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18624
18625 * manual/install.texi: Do not mention specific glibc version
18626 numbers.
18627 * manual/libc.texinfo (VERSION, UPDATED): Update.
18628 (@copying): Use @copyright{} and range of years.
18629
18630 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18631
18632 [BZ #13695]
18633 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18634 [crti.S not in sysdirs] (generated): Do not append.
18635 [crti.S not in sysdirs] (omit-deps): Likewise.
18636 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18637 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18638 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18639 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18640 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18641 Likewise.
18642 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18643 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18644 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18645 * csu/defs.awk: Remove file.
18646 * sysdeps/generic/initfini.c: Likewise.
18647 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18648 variable.
18649 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18650 Likewise.
18651
18652 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18653
18654 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18655 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18656 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18658 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18659 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18660 <bits/epoll.h>.
18661 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18662 (__EPOLL_PACKED): Define to empty if not defined by
18663 <bits/epoll.h>.
18664 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18666 bits/epoll.h.
18667
18668 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18669
18670 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18671 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18672 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18673 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18674 <bits/timerfd.h>.
18675 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18677 bits/timerfd.h.
18678
18679 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18680
18681 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18682 in C locale.
18683 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18684 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18685 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687
18688 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18689
18690 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18691 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18692
18693 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18694
18695 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18696 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18697 defined.
18698 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18699 Likewise.
18700 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18701 entry for 2.16.
18702
18703 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18704
18705 * math/w_acos.c: Use non-signaling floating-point comparisons.
18706 * math/w_acosf.c: Likewise.
18707 * math/w_acosh.c: Likewise.
18708 * math/w_acoshf.c: Likewise.
18709 * math/w_acoshl.c: Likewise.
18710 * math/w_acosl.c: Likewise.
18711 * math/w_asin.c: Likewise.
18712 * math/w_asinf.c: Likewise.
18713 * math/w_asinl.c: Likewise.
18714 * math/w_atanh.c: Likewise.
18715 * math/w_atanhf.c: Likewise.
18716 * math/w_atanhl.c: Likewise.
18717 * math/w_exp2.c: Likewise.
18718 * math/w_exp2f.c: Likewise.
18719 * math/w_exp2l.c: Likewise.
18720 * math/w_j0.c: Likewise.
18721 * math/w_j0f.c: Likewise.
18722 * math/w_j0l.c: Likewise.
18723 * math/w_j1.c: Likewise.
18724 * math/w_j1f.c: Likewise.
18725 * math/w_j1l.c: Likewise.
18726 * math/w_jn.c: Likewise.
18727 * math/w_jnf.c: Likewise.
18728 * math/w_log.c: Likewise.
18729 * math/w_log10.c: Likewise.
18730 * math/w_log10f.c: Likewise.
18731 * math/w_log10l.c: Likewise.
18732 * math/w_log2.c: Likewise.
18733 * math/w_log2f.c: Likewise.
18734 * math/w_log2l.c: Likewise.
18735 * math/w_logf.c: Likewise.
18736 * math/w_logl.c: Likewise.
18737 * math/w_sqrt.c: Likewise.
18738 * math/w_sqrtf.c: Likewise.
18739 * math/w_sqrtl.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18742 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18744 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18745
18746 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18747
18748 [BZ #9739]
18749 * manual/string.texi (strnlen): Use correct parameter name in
18750 equivalent expression.
18751
18752 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18753
18754 [BZ #11174]
18755 * manual/users.texi (seteuid): Consistently use neweuid for
18756 argument name.
18757
18758 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18759
18760 [BZ #13704]
18761 * manual/nss.texi (Services in the NSS configuration): Correct
18762 list of services in example configuration file.
18763
18764 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18765
18766 [BZ #11322]
18767 * manual/arith.texi: Remove statements about negative zero
18768 behaving identically to zero.
18769
18770 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18771
18772 [BZ #5993]
18773 * manual/install.texi: Do not document upgrading from libc5.
18774
18775 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18776
18777 [BZ #4596]
18778 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18779
18780 2012-02-18 David S. Miller <davem@davemloft.net>
18781
18782 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18783 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18784 %o7 across the call.
18785 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18786 instead.
18787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18788 SETUP_PIC_REG_LEAF.
18789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18790 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18791 * sysdeps/sparc/crtn.S: Likewise.
18792
18793 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18794
18795 * aout/Makefile: Remove.
18796
18797 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18798
18799 [BZ #13058]
18800 * manual/examples/argp-ex1.c (main): Format definition in GNU
18801 style.
18802 * manual/examples/argp-ex2.c (main): Likewise.
18803 * manual/examples/argp-ex3.c (main): Likewise.
18804 * manual/examples/argp-ex4.c (main): Likewise.
18805 * manual/examples/longopt.c (main): Use new-style prototype
18806 definition.
18807 * manual/examples/strncat.c (main): Specify return type and use
18808 (void) for arguments.
18809 * manual/examples/subopt.c (main): Use char **argv argument.
18810
18811 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18812
18813 [BZ #5077]
18814 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18815 rounding modes.
18816
18817 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18818
18819 [BZ #6907]
18820 * manual/string.texi (strchr): Change when strchrnul is
18821 recommended.
18822
18823 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18824
18825 [BZ #174]
18826 * manual/locale.texi (setlocale): Document LOCPATH.
18827
18828 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18829
18830 [BZ #10210]
18831 * manual/process.texi (execle): Move @dots{} before last argument.
18832
18833 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18834
18835 [BZ #12047]
18836 * manual/charset.texi (Generic Charset Conversion): Fix typo
18837 (LC_TYPE -> LC_CTYPE).
18838
18839 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18840
18841 [BZ #5805]
18842 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18843 (scalbnf): Likewise.
18844 (scalbnl): Likewise.
18845 (scalbln): Likewise.
18846 (scalblnf): Likewise.
18847 (scalblnl): Likewise.
18848 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18849 (vwarnx): Likewise.
18850 (verr): Likewise.
18851 (verrx): Likewise.
18852 * manual/filesys.texi (telldir): Use braces around return type.
18853 * manual/llio.texi (mmap): Add space after comma.
18854 (mmap64): Likewise.
18855 * manual/math.texi (jn): Use @var{} on parameter names.
18856 (jnf): Likewise.
18857 (jnl): Likewise.
18858 (yn): Likewise.
18859 (ynf): Likewise.
18860 (ynl): Likewise.
18861 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18862 line.
18863 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18864 "...".
18865 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18866 (sched_get_priority_max): Likewise.
18867 * manual/signal.texi (sigvec): Add space after comma.
18868 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18869 names.
18870 (if_indextoname): Likewise.
18871 (if_freenameindex): Likewise.
18872 (sendto): Use ',' instead of '.' in prototype.
18873 * manual/startup.texi (syscall): Use @dots{} instead of literal
18874 "...".
18875 * manual/stdio.texi (__fpending): Separate initial words of
18876 paragraph from @deftypefun line.
18877 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18878 "...".
18879 (vsyslog): Use @var{} on parameter names.
18880 * manual/terminal.texi (stty): Use @var{} on parameter names.
18881 * manual/users.texi (getutmp): Use @var{} on parameter names.
18882 (getutmpx): Likewise.
18883
18884 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18885
18886 [BZ #6884]
18887 * manual/stdio.texi (fopen): Fix typos in description of
18888 ",ccs=STRING".
18889
18890 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18891
18892 [BZ #4026]
18893 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18894 get clock_id definition.
18895
18896 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18897
18898 [BZ #4822]
18899 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18900 (madvise): Cast every argument to void on its own.
18901
18902 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18903
18904 [BZ #9902]
18905 * manual/startup.texi (Exit Status): Fix typo.
18906
18907 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18908
18909 [BZ #10140]
18910 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18911 * manual/examples/argp-ex2.c: Likewise.
18912 * manual/examples/argp-ex3.c: Likewise.
18913
18914 2012-02-16 Richard Henderson <rth@redhat.com>
18915
18916 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18917 * sysdeps/s390/s390-32/initfini.c: Remove.
18918 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18919 * sysdeps/s390/s390-64/initfini.c: Remove.
18920
18921 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18922
18923 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18924 compiler output for sysdeps/generic/initfini.c.
18925 * sysdeps/sh/elf/initfini.c: Remove file.
18926
18927 2012-02-16 David S. Miller <davem@davemloft.net>
18928
18929 [BZ #11494]
18930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18931
18932 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18933 * sysdeps/sparc/crti.S: New file.
18934 * sysdeps/sparc/crtn.S: New file.
18935 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18936 * sysdeps/sparc/sparc64/Makefile: Likewise.
18937
18938 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18939
18940 [BZ #3335]
18941 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18942
18943 2012-02-15 Roland McGrath <roland@hack.frob.com>
18944
18945 [BZ #4822]
18946 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18947
18948 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18949 (write, read, close): Likewise.
18950 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18951
18952 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18953
18954 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18955 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18956 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18957 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18958 <bits/signalfd.h>.
18959 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18961 bits/signalfd.h.
18962
18963 2012-02-14 Marek Polacek <polacek@redhat.com>
18964
18965 * sysdeps/x86_64/crti.S: New file.
18966 * sysdeps/x86_64/crtn.S: New file.
18967 * sysdeps/x86_64/elf/initfini.c: Remove file.
18968
18969 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18970
18971 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18972 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18973 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18974 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18975 <bits/inotify.h>.
18976 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18978 bits/inotify.h.
18979
18980 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18981
18982 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18983 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18984 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18985 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18986 <bits/eventfd.h>.
18987 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18989 bits/eventfd.h.
18990
18991 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18992
18993 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18994 __feraiseexcept instead of feraiseexcept.
18995
18996 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18997 nanosleep invocations.
18998 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18999 strings, and add error checking for a nanosleep invocations.
19000
19001 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19002
19003 Replace FSF snail mail address with URLs, as per GNU coding standards.
19004 Most of the snail mail addresses were wrong anyway, and omitting
19005 them makes the source code easier to maintain. Almost all of the
19006 changes are to license notices and to locale LC_IDENTIFICATION
19007 addresses, except for this one:
19008 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19009 not its snail mail address.
19010
19011 2012-02-09 Richard Henderson <rth@twiddle.net>
19012
19013 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19014 of kernel-features.h.
19015
19016 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19017
19018 2012-02-08 Marek Polacek <polacek@redhat.com>
19019
19020 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19021 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19022 * sysdeps/gnu/_G_config.h: Likewise.
19023 * sysdeps/generic/_G_config.h: Likewise.
19024
19025 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19026
19027 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19028 tests.
19029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19030
19031 * sysdeps/powerpc/powerpc32/crti.S: New file.
19032 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19033 * sysdeps/powerpc/powerpc64/crti.S: New file.
19034 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19035
19036 * Makeconfig (have-initfini): Don't set.
19037 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19038 * configure.in (nopic_initfini): Don't substitute.
19039 * config.h.in (HAVE_INITFINI): Don't #undef.
19040 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19041 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19042
19043 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19044
19045 Support crti.S and crtn.S provided directly by architectures.
19046 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19047 [crti.S in sysdirs] (omit-deps): Likewise.
19048 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19049 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19050 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19051 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19052 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19053 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19054 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19055 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19056 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19057 compiler output for sysdeps/generic/initfini.c.
19058 * sysdeps/i386/elf/Makefile: Remove file.
19059 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19060
19061 2012-02-07 Marek Polacek <polacek@redhat.com>
19062
19063 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19064 * sysdeps/gnu/_G_config.h: Likewise.
19065 * sysdeps/mach/hurd/_G_config.h: Likewise.
19066
19067 2012-02-07 Marek Polacek <polacek@redhat.com>
19068
19069 * math/Makefile (tests): Add tst-CMPLX2.
19070 * math/tst-CMPLX2.c: New file.
19071
19072 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19073
19074 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19075
19076 * math/libm-test.inc (jn_test): Add missing L suffix.
19077
19078 2012-02-06 Marek Polacek <polacek@redhat.com>
19079
19080 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19081 * sysdeps/i386/fpu/e_powf.S: Likewise.
19082 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19083 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19084 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19085 * sysdeps/i386/fpu/e_pow.S: Likewise.
19086 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19087 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19088 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19089 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19090 * sysdeps/i386/fpu/e_log2.S: Likewise.
19091 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19092 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19093 * sysdeps/i386/fpu/e_powl.S: Likewise.
19094 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19095 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19096 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19097 * sysdeps/i386/fpu/e_logl.S: Likewise.
19098 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19099 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19100 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19101 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19102 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19103 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19104 * sysdeps/i386/fpu/e_log.S: Likewise.
19105 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19106 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19107 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19108 * sysdeps/i386/fpu/e_logf.S: Likewise.
19109 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19110 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19111 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19112 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19113 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19114 * sysdeps/i386/fpu/e_log10.S: Likewise.
19115 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19116 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19117 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19118 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19119 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19120 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19121 * sysdeps/i386/asm-syntax.h: Likewise.
19122 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19123 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19124 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19125 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19126 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19128 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19129 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19130 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19131 * sysdeps/powerpc/sysdep.h: Likewise.
19132 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19133 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19134
19135 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19136
19137 [BZ #411]
19138 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19139
19140 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19141
19142 * sysdeps/i386/sysdep.h: Include <features.h>.
19143 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19144 version.
19145
19146 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19147
19148 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19149 Define.
19150 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19151 LOAD_PIC_REG_STR.
19152
19153 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19154
19155 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19156 (SETUP_PIC_REG): Use GET_PC_THUNK.
19157 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19158 macro.
19159
19160 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19161
19162 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19163 for non-PIC compilation.
19164 (SETUP_PIC_REG): Add .p2align directive.
19165 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19166 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19167 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19168 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19169 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19170 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19171 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19179 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19180 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19181 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19182 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19183 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19184 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19186 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19187 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19188 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19190 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19192 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19193 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19194 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19195 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19196 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19197 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19198 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19199 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19200 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19201 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19202 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19203 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19204 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19205 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19206
19207 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19208
19209 * math/tst-CMPLX.c: Include <stdio.h>.
19210
19211 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19212
19213 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19214 float.
19215 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19216 * sysdeps/sparc/bits/mathdef.h: Likewise.
19217
19218 2012-01-31 Marek Polacek <polacek@redhat.com>
19219
19220 * libio/libio.h: Don't define _PARAMS.
19221 * locale/programs/config.h: Don't define PARAMS.
19222 * stdlib/strtol_l.c: Likewise.
19223 (__strtol_l): Remove PARAMS from the prototype.
19224
19225 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19226
19227 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19228 names. Just use the correct names. Remove unnecessary wrapper
19229 functions.
19230 * malloc/arena.c: Likewise.
19231 * malloc/hooks.c: Likewise.
19232
19233 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19234 ARENA_TEST says not to. Simplify test for creation of a new arena.
19235 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19236
19237 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19238
19239 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19240 into tail calls.
19241 (update_get_addr): New function.
19242 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19243 GET_ADDR_MODULE parameter.
19244
19245 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19246
19247 * crypt/cert.c: Remove __STDC__ conditionals.
19248 * crypt/crypt-entry.c: Likewise.
19249 * crypt/crypt_util.c: Likewise.
19250 * libio/filedoalloc.c: Likewise.
19251 * libio/fileops.c: Likewise.
19252 * libio/genops.c: Likewise.
19253 * libio/iofclose.c: Likewise.
19254 * libio/iofdopen.c: Likewise.
19255 * libio/iofopen.c: Likewise.
19256 * libio/iofopen64.c: Likewise.
19257 * libio/iogetdelim.c: Likewise.
19258 * libio/iopopen.c: Likewise.
19259 * libio/obprintf.c: Likewise.
19260 * libio/oldfileops.c: Likewise.
19261 * libio/oldiofclose.c: Likewise.
19262 * libio/oldiofdopen.c: Likewise.
19263 * libio/oldiofopen.c: Likewise.
19264 * libio/oldiopopen.c: Likewise.
19265 * libio/wfiledoalloc.c: Likewise.
19266 * libio/wgenops.c: Likewise.
19267 * locale/programs/xmalloc.c: Likewise.
19268 * misc/syslog.c: Likewise.
19269 * stdio-common/xbug.c: Likewise.
19270 * string/memchr.c: Likewise.
19271 * string/memcmp.c: Likewise.
19272 * string/memrchr.c: Likewise.
19273 * string/rawmemchr.c: Likewise.
19274 * sysdeps/posix/getcwd.c: Likewise.
19275 * time/strftime_l.c: Likewise.
19276
19277 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19278
19279 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19280 * config.make.in (config-cflags-sse2avx): Define.
19281 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19282 Fix typo.
19283
19284 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19285
19286 * scripts/config.guess: Update from upstream config git repository.
19287 * scripts/config.sub: Likewise.
19288
19289 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19290
19291 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19292 (EM_NUM): Update.
19293 (R_TILEPRO_*, R_TILEGX_*): New macros.
19294
19295 * scripts/firstversions.awk: Fix bug in version range handling.
19296
19297 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19298
19299 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19300
19301 * include/sys/epoll.h: New file.
19302 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19303 libc_hidden_def.
19304
19305 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19306
19307 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19308 Avoid unnecessary __WORDSIZE == 64 test.
19309 (fmaxf): Use VEX format if possible.
19310 (fmax): Likewise.
19311 (fminf): Likewise.
19312 (fmin): Likewise.
19313
19314 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19315 * math/math_private.h: Remove libc_fegetround* and
19316 libc_fesetround*.
19317 * sysdeps/i386/configure.in: Check for -msse2avx.
19318 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19319 also if SSE2AVX is defined.
19320 Remove libc_fegetround* and libc_fesetround*.
19321 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19322 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19323 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19324 of HAS_YMM_USABLE.
19325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19326 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19327 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19328 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19329 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19330
19331 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19332
19333 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19334
19335 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19336 size is not set.
19337 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19338
19339 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19340
19341 [BZ #13618]
19342 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19343 relocation.
19344 * Makeconfig (libm): Define.
19345 * elf/Makefile: Add rules to build and run tst-relsort1.
19346 * elf/tst-relsort1.c: New file.
19347 * elf/tst-relsort1mod1.c: New file.
19348 * elf/tst-relsort1mod2.c: New file.
19349
19350 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19351
19352 * math/s_ldexp.c: Remove __STDC__ conditionals.
19353 * math/s_ldexpf.c: Likewise.
19354 * math/s_ldexpl.c: Likewise.
19355 * math/s_nextafter.c: Likewise.
19356 * math/s_nexttowardf.c: Likewise.
19357 * math/s_significand.c: Likewise.
19358 * math/s_significandf.c: Likewise.
19359 * math/s_significandl.c: Likewise.
19360 * math/w_jnl.c: Likewise.
19361 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19362 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19363 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19364 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19365 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19367 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19368 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19369 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19370 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19371 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19380 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19381 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19383 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19385 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19386 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19387 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19388 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19389 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19390 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19391 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19392 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19393 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19394 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19395 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19396 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19397 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19398 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19399 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19400 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19401 * sysdeps/ieee754/k_standard.c: Likewise.
19402 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19403 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19404 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19405 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19406 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19407 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19408 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19409 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19410 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19411 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19412 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19413 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19414 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19415 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19416 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19421 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19422 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19423 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19424 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19432 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19434 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19437 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19438 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19441 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19442 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19444 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19446 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19447 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19448 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19449 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19450 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19451 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19455 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19456 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19460 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19463 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19468 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19470 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19471 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19477 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19479 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19481 * sysdeps/ieee754/s_matherr.c: Likewise.
19482 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19483 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19486
19487 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19488
19489 * crypt/md5.h: Remove __STDC__ conditionals.
19490 * libio/libioP.h: Likewise.
19491 * locale/programs/config.h: Likewise.
19492 * sysdeps/generic/sysdep.h: Likewise.
19493 * sysdeps/i386/asm-syntax.h: Likewise.
19494 * sysdeps/s390/asm-syntax.h: Likewise.
19495 * sysdeps/unix/sysdep.h: Likewise.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19498
19499 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19500
19501 * libio/libio.h: Remove __STDC__ conditionals.
19502 * malloc/obstack.h: Likewise.
19503 * math/complex.h: Likewise.
19504 * math/math.h: Likewise.
19505 * sysdeps/generic/_G_config.h: Likewise.
19506 * sysdeps/gnu/_G_config.h: Likewise.
19507 * sysdeps/mach/hurd/_G_config.h: Likewise.
19508 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19509 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19510 * sysdeps/sparc/bits/mathdef.h: Likewise.
19511
19512 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19513
19514 [BZ #13583]
19515 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19516 Clean up HAS_* macros.
19517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19518 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19519 possible.
19520 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19521 HAS_AVX.
19522 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19523 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19524 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19525 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19526 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19527
19528 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19529
19530 * elf/tst-unique3.cc (gets): Remove declaration.
19531 * elf/tst-unique3lib.cc (gets): Likewise.
19532 * elf/tst-unique3lib2.cc (gets): Likewise.
19533 * elf/tst-unique4.cc (gets): Likewise.
19534
19535 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19536
19537 * include/stdio.h: Add C++ protection. Add gets declarations and
19538 definitions.
19539 * debug/tst-chk1.c: Don't declare gets here.
19540 * stdio-common/tst-gets.c: Likewise.
19541
19542 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19543
19544 * posix/glob: Remove directory.
19545
19546 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19547
19548 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19549
19550 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19551
19552 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19553 of the non-standard EPFNOSUPPORT.
19554
19555 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19556
19557 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19558 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19559 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19560
19561 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19562
19563 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19564
19565 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19566
19567 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19568 transient errors.
19569 * nscd/grpcache.c (cache_addgr): Likewise.
19570 * nscd/hstcache.c (cache_addhst): Likewise.
19571 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19572 * nscd/pwdcache.c (cache_addpw): Likewise.
19573 * nscd/servicescache.c (cache_addserv): Likewise.
19574
19575 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19576
19577 * malloc/malloc.c: Various cleanups.
19578 * malloc/hooks.c: Likewise.
19579
19580 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19581 * stdlib/bug-fmtmsg1.c: New file.
19582
19583 * stdlib/fmtmsg.c (init): Add missing unlock.
19584 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19585
19586 2012-01-12 Marek Polacek <polacek@redhat.com>
19587
19588 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19589 and _GNU_SOURCE.
19590
19591 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19592
19593 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19594 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19595 macro to ensure uniqueness of label name.
19596 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19597 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19598
19599 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19600
19601 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19602
19603 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19604 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19605 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19606 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19607
19608 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19609
19610 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19611
19612 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19613 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19615
19616 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19617
19618 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19619 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19622
19623 * math/bits/math-finite.h: Add ldexp support.
19624
19625 2012-01-10 Marek Polacek <polacek@redhat.com>
19626
19627 * locale/programs/localedef.h (show_archive_content): Add noreturn
19628 attribute.
19629
19630 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19631
19632 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19633
19634 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19635
19636 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19637
19638 * io/Makefile (headers): Add bits/poll2.h.
19639
19640 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19641
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19643 typo #include statement.
19644
19645 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19646
19647 * include/sys/cdefs.h: Define __attribute_alloc_size.
19648 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19649 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19650 * elf/pldd.c: Likewise.
19651 * iconv/iconv_charmap.c: Likewise.
19652 * iconv/iconvconfig.c: Likewise.
19653 * iconv/strtab.c: Likewise.
19654 * locale/programs/locale.c: Likewise.
19655 * locale/programs/localedef.h: Likewise.
19656 * locale/programs/simple-hash.c: Likewise.
19657 * nscd/nscd.h: Likewise.
19658 * nss/makedb.c: Likewise.
19659 * sysdeps/generic/ldconfig.h: Likewise.
19660 * locale/programs/localedef.c: Remove xmalloc prototype.
19661 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19662
19663 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19664
19665 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19666 appropriate.
19667
19668 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19669
19670 * math/Makefile (tests): Add tst-CMPLX.
19671 * math/tst-CMPLX.c: New file.
19672
19673 * math/complex.h (CMPLXL): Fix typo.
19674
19675 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19676 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19677 GLIBC_2.16.
19678 * debug/tst-chk1.c: Add poll and ppoll tests.
19679 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19680 * include/sys/poll.h: Add hidden proto for ppoll.
19681 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19682 * sysdeps/mach/hurd/ppoll.c: Likewise.
19683 * io/ppoll.c: Likewise.
19684 * debug/poll_chk.c: New file.
19685 * debug/ppoll_chk.c: New file.
19686 * include/bits/poll2.h: New file.
19687 * io/bits/poll2.h: New file.
19688
19689 [BZ #1350]
19690 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19691
19692 * configure.in: static is always set to yes. Remove.
19693 * config.make.in: Don't set build-static.
19694 * Makeconfig: Remove use of build-static.
19695 * dlfcn/Makefile: Likewise.
19696 * elf/Makefile: Likewise.
19697 * math/Makefile: Likewise.
19698 * misc/Makefile: Likewise.
19699 * nptl/Makefile: Likewise.
19700 * sysdeps/mach/hurd/Makefile: Likewise.
19701
19702 * configure.in: PWD_P is not used anymore.
19703 * config.make.in: Remove PWD_P entry.
19704
19705 * configure.in: Remove last remnants of RANLIB.
19706 No need to check for signed size_t anymore.
19707 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19708 and IA-64.
19709 Remove __builtin_expect test because we require at least gcc 3.4.
19710 * aclocal.m4: Likewise.
19711
19712 * wcsmbs/mbrtoc16.c: Implement using towc function.
19713 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19714 * wcsmbs/wcsmbsload.c: Likewise.
19715 * iconv/gconv_simple.c: Likewise.
19716 * iconv/gconv_int.h: Likewise.
19717 * iconv/gconv_builtin.h: Likewise.
19718 * iconv/iconv_prog.c: Remove CHAR16 handling.
19719
19720 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19721
19722 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19723
19724 * configure.in: Remove --with-elf and --enable-bounded options.
19725 Dont set base_machine for ia64. More non-ELF conditions removed.
19726 Remove testing and setting of leading underscore information.
19727 * config.make.in (build-bounded): Set to no.
19728 * config.h.in: Remove NO_UNDERSCORES entry.
19729 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19730 them.
19731 * csu/start.c: Remove !NO_UNDERSCORE code.
19732 * locale/localeinfo.h: Likewise.
19733 * sysdeps/generic/machine-gmon.h: Likewise.
19734 * sysdeps/generic/sysdep.h: Likewise.
19735 * sysdeps/i386/sysdep.h: Likewise.
19736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19737 * sysdeps/mach/sysdep.h: Likewise.
19738 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19740 * sysdeps/sh/sysdep.h: Likewise.
19741 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19742 * sysdeps/unix/i386/sysdep.S: Likewise.
19743 * sysdeps/unix/sparc/start.c: Likewise.
19744 * sysdeps/unix/sparc/sysdep.S: Likewise.
19745 * sysdeps/unix/sparc/sysdep.h: Likewise.
19746 * sysdeps/unix/start.c: Likewise.
19747 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19748 * sysdeps/x86_64/sysdep.h: Likewise.
19749
19750 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19751
19752 [BZ #13553]
19753 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19754 for non-gcc.
19755 * argp/argp-fmtstream.h: Use const instead __const.
19756 * argp/argp.h: Likewise.
19757 * assert/assert.h: Likewise.
19758 * bits/fenv.h: Likewise.
19759 * bits/sched.h: Likewise.
19760 * bits/sigset.h: Likewise.
19761 * bits/sigthread.h: Likewise.
19762 * catgets/nl_types.h: Likewise.
19763 * conform/data/pthread.h-data: Likewise.
19764 * crypt/crypt-private.h: Likewise.
19765 * crypt/crypt.h: Likewise.
19766 * crypt/crypt_util.c: Likewise.
19767 * ctype/ctype.h: Likewise.
19768 * debug/execinfo.h: Likewise.
19769 * debug/mbsnrtowcs_chk.c: Likewise.
19770 * debug/mbsrtowcs_chk.c: Likewise.
19771 * debug/wcsnrtombs_chk.c: Likewise.
19772 * debug/wcsrtombs_chk.c: Likewise.
19773 * debug/wcstombs_chk.c: Likewise.
19774 * dirent/dirent.h: Likewise.
19775 * dlfcn/dlfcn.h: Likewise.
19776 * elf/neededtest4.c: Likewise.
19777 * grp/grp.h: Likewise.
19778 * gshadow/gshadow.h: Likewise.
19779 * iconv/gconv.h: Likewise.
19780 * iconv/gconv_int.h: Likewise.
19781 * iconv/gconv_simple.c: Likewise.
19782 * iconv/iconv.h: Likewise.
19783 * iconv/loop.c: Likewise.
19784 * iconv/skeleton.c: Likewise.
19785 * include/aio.h: Likewise.
19786 * include/aliases.h: Likewise.
19787 * include/argz.h: Likewise.
19788 * include/arpa/inet.h: Likewise.
19789 * include/assert.h: Likewise.
19790 * include/dirent.h: Likewise.
19791 * include/dlfcn.h: Likewise.
19792 * include/execinfo.h: Likewise.
19793 * include/fcntl.h: Likewise.
19794 * include/fenv.h: Likewise.
19795 * include/glob.h: Likewise.
19796 * include/grp.h: Likewise.
19797 * include/libintl.h: Likewise.
19798 * include/mntent.h: Likewise.
19799 * include/netdb.h: Likewise.
19800 * include/pwd.h: Likewise.
19801 * include/rpc/netdb.h: Likewise.
19802 * include/sched.h: Likewise.
19803 * include/search.h: Likewise.
19804 * include/shadow.h: Likewise.
19805 * include/signal.h: Likewise.
19806 * include/stdio.h: Likewise.
19807 * include/stdlib.h: Likewise.
19808 * include/string.h: Likewise.
19809 * include/sys/socket.h: Likewise.
19810 * include/sys/stat.h: Likewise.
19811 * include/sys/statfs.h: Likewise.
19812 * include/sys/statvfs.h: Likewise.
19813 * include/sys/syslog.h: Likewise.
19814 * include/sys/time.h: Likewise.
19815 * include/sys/uio.h: Likewise.
19816 * include/time.h: Likewise.
19817 * include/unistd.h: Likewise.
19818 * include/utmp.h: Likewise.
19819 * include/wchar.h: Likewise.
19820 * include/wctype.h: Likewise.
19821 * inet/aliases.h: Likewise.
19822 * inet/arpa/inet.h: Likewise.
19823 * inet/netinet/ether.h: Likewise.
19824 * inet/netinet/in.h: Likewise.
19825 * intl/libintl.h: Likewise.
19826 * io/bits/fcntl2.h: Likewise.
19827 * io/fcntl.h: Likewise.
19828 * io/ftw.h: Likewise.
19829 * io/sys/poll.h: Likewise.
19830 * io/sys/stat.h: Likewise.
19831 * io/sys/statfs.h: Likewise.
19832 * io/sys/statvfs.h: Likewise.
19833 * io/utime.h: Likewise.
19834 * libio/bits/stdio.h: Likewise.
19835 * libio/bits/stdio2.h: Likewise.
19836 * libio/libio.h: Likewise.
19837 * libio/libioP.h: Likewise.
19838 * libio/stdio.h: Likewise.
19839 * locale/lc-ctype.c: Likewise.
19840 * locale/locale.h: Likewise.
19841 * login/utmp.h: Likewise.
19842 * malloc/arena.c: Likewise.
19843 * malloc/malloc.c: Likewise.
19844 * malloc/malloc.h: Likewise.
19845 * malloc/mcheck.c: Likewise.
19846 * malloc/mtrace.c: Likewise.
19847 * math/bits/mathcalls.h: Likewise.
19848 * math/fenv.h: Likewise.
19849 * math/math_private.h: Likewise.
19850 * misc/bits/error.h: Likewise.
19851 * misc/bits/syslog.h: Likewise.
19852 * misc/err.h: Likewise.
19853 * misc/error.h: Likewise.
19854 * misc/fstab.h: Likewise.
19855 * misc/mntent.h: Likewise.
19856 * misc/regexp.h: Likewise.
19857 * misc/search.h: Likewise.
19858 * misc/sgtty.h: Likewise.
19859 * misc/sys/mman.h: Likewise.
19860 * misc/sys/syslog.h: Likewise.
19861 * misc/sys/uio.h: Likewise.
19862 * misc/sys/xattr.h: Likewise.
19863 * misc/ttyent.h: Likewise.
19864 * nis/rpcsvc/ypclnt.h: Likewise.
19865 * nss/nss.h: Likewise.
19866 * posix/bits/unistd.h: Likewise.
19867 * posix/fnmatch.h: Likewise.
19868 * posix/glob.h: Likewise.
19869 * posix/sched.h: Likewise.
19870 * posix/spawn.h: Likewise.
19871 * posix/sys/wait.h: Likewise.
19872 * posix/unistd.h: Likewise.
19873 * posix/wordexp.h: Likewise.
19874 * pwd/pwd.h: Likewise.
19875 * resolv/netdb.h: Likewise.
19876 * resource/sys/resource.h: Likewise.
19877 * rt/aio.h: Likewise.
19878 * rt/bits/mqueue2.h: Likewise.
19879 * rt/mqueue.h: Likewise.
19880 * shadow/shadow.h: Likewise.
19881 * signal/signal.h: Likewise.
19882 * socket/send.c: Likewise.
19883 * socket/sendto.c: Likewise.
19884 * socket/sys/socket.h: Likewise.
19885 * stdio-common/printf.h: Likewise.
19886 * stdlib/bits/stdlib.h: Likewise.
19887 * stdlib/fmtmsg.h: Likewise.
19888 * stdlib/monetary.h: Likewise.
19889 * stdlib/stdlib.h: Likewise.
19890 * stdlib/ucontext.h: Likewise.
19891 * streams/stropts.h: Likewise.
19892 * string/argz.h: Likewise.
19893 * string/bits/string2.h: Likewise.
19894 * string/string.h: Likewise.
19895 * string/strings.h: Likewise.
19896 * sunrpc/rpc/auth.h: Likewise.
19897 * sunrpc/rpc/auth_des.h: Likewise.
19898 * sunrpc/rpc/clnt.h: Likewise.
19899 * sunrpc/rpc/netdb.h: Likewise.
19900 * sunrpc/rpc/pmap_clnt.h: Likewise.
19901 * sunrpc/rpc/xdr.h: Likewise.
19902 * sysdeps/generic/inttypes.h: Likewise.
19903 * sysdeps/generic/net/if.h: Likewise.
19904 * sysdeps/generic/sys/swap.h: Likewise.
19905 * sysdeps/gnu/net/if.h: Likewise.
19906 * sysdeps/gnu/utmpx.h: Likewise.
19907 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19908 * sysdeps/i386/i486/bits/string.h: Likewise.
19909 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19910 * sysdeps/s390/bits/string.h: Likewise.
19911 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19912 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19913 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19914 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19915 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19916 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19917 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19918 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19919 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19920 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19921 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19922 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19923 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19924 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19925 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19926 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19927 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19929 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19930 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19931 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19932 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19933 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19934 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19935 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19936 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19937 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19939 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19940 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19941 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19942 * sysvipc/sys/ipc.h: Likewise.
19943 * sysvipc/sys/msg.h: Likewise.
19944 * sysvipc/sys/sem.h: Likewise.
19945 * sysvipc/sys/shm.h: Likewise.
19946 * termios/termios.h: Likewise.
19947 * time/sys/time.h: Likewise.
19948 * time/time.h: Likewise.
19949 * wcsmbs/bits/wchar2.h: Likewise.
19950 * wcsmbs/uchar.h: Likewise.
19951 * wcsmbs/wchar.h: Likewise.
19952 * wctype/wctype.h: Likewise.
19953
19954 [BZ #13551]
19955 * Makeconfig: Remove all but ELF support including AIX support.
19956 * Makerules: Likewise.
19957 * config.h.in: Likewise.
19958 * config.make.in: Likewise.
19959 * configure: Likewise.
19960 * configure.in: Likewise.
19961 * csu/Makefile: Likewise.
19962 * csu/version.c: Likewise.
19963 * debug/Makefile: Likewise.
19964 * dlfcn/Makefile: Likewise.
19965 * elf/Makefile: Likewise.
19966 * extra-lib.mk: Likewise.
19967 * iconv/Makefile: Likewise.
19968 * include/libc-symbols.h: Likewise.
19969 * include/shlib-compat.h: Likewise.
19970 * resolv/Makefile: Likewise.
19971 * resolv/res_libc.c: Likewise.
19972 * rt/Makefile: Likewise.
19973 * sysdeps/i386/asm-syntax.h: Likewise.
19974 * sysdeps/i386/sysdep.h: Likewise.
19975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19976 * sysdeps/mach/sysdep.h: Likewise.
19977 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19978 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19979 * sysdeps/s390/asm-syntax.h: Likewise.
19980 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19981 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19982 * sysdeps/sh/sysdep.h: Likewise.
19983 * sysdeps/unix/sparc/sysdep.h: Likewise.
19984 * sysdeps/wordsize-32/divdi3.c: Likewise.
19985 * sysdeps/x86_64/sysdep.h: Likewise.
19986
19987 * argp/Versions: Remove _argp_unlock_xxx.
19988
19989 [BZ #13559]
19990 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19991 * abilist/libBrokenLocale.abilist: Likewise.
19992 * abilist/libanl.abilist: Likewise.
19993 * abilist/libc.abilist: Likewise.
19994 * abilist/libcrypt.abilist: Likewise.
19995 * abilist/libdl.abilist: Likewise.
19996 * abilist/libm.abilist: Likewise.
19997 * abilist/libnsl.abilist: Likewise.
19998 * abilist/libpthread.abilist: Likewise.
19999 * abilist/libresolv.abilist: Likewise.
20000 * abilist/librt.abilist: Likewise.
20001 * abilist/libthread_db.abilist: Likewise.
20002 * abilist/libutil.abilist: Likewise.
20003 * abilist/libnss_db.abilist: New file.
20004
20005 * scripts/abilist.awk: Add support for indirect functions.
20006
20007 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20008
20009 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20010
20011 * shlib-versions: Remove entries for ports architectures.
20012
20013 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20014 files in ports.
20015 * elf/stackguard-macros.h: Remove support for IA-64.
20016 * elf/tst-auditmod1.c: Likewise.
20017 * sysdeps/generic/ldsodefs.h: Likewise.
20018
20019 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20020 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20021 configure files.
20022
20023 [BZ #13552]
20024 * configure.in: Remove --enable-omitfp support.
20025 * FAQ.in: Adjust.
20026 * config.make.in: Likewise.
20027 * Makeconfig: Likewise.
20028 * manual/install.texi: Likewise.
20029
20030 In case anyone cares, the IA-64 architecture could move to ports.
20031 * sysdeps/ia64/*: Removed.
20032 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20033 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20034
20035 [BZ #13555]
20036 * configure.in: Remove entries for unsupported architectures.
20037
20038 [BZ #13533]
20039 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20040 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20041 routines.
20042 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20043 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20044 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20045 fall back to using wcrtomb.
20046 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20047 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20048 renaming.
20049 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20050 * wcsmbs/tst-c16c32-1.c: New file.
20051
20052 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20053 local variable.
20054
20055 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20056
20057 * elf/tst-unique3.cc: Add explicit declaration of gets.
20058 * elf/tst-unique3lib.cc: Likewise.
20059 * elf/tst-unique3lib2.cc: Likewise.
20060 * elf/tst-unique4.cc: Likewise.
20061
20062 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20063
20064 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20065
20066 [BZ #13566]
20067 * assert/assert.h (static_assert): Don't define for C++.
20068 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20069 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20070
20071 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20072
20073 * iconv/loop.c (single loop): Fix assertion in storing of
20074 remaining bytes.
20075
20076 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20077
20078 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20079
20080 * posix/getconf.c: Update copyright year.
20081 * nss/getent.c: Likewise.
20082 * nss/makedb.c: Likewise.
20083 * iconv/iconvconfig.c: Likewise.
20084 * iconv/iconv_prog.c: Likewise.
20085 * elf/ldconfig.c: Likewise.
20086 * elf/pldd.c: Likewise.
20087 * elf/sotruss.ksh: Likewise.
20088 * catgets/gencat.c: Likewise.
20089 * csu/version.c: Likewise.
20090 * elf/ldd.bash.in: Likewise.
20091 * elf/sprof.c (print_version): Likewise.
20092 * locale/programs/locale.c: Likewise.
20093 * locale/programs/localedef.c: Likewise.
20094 * login/programs/pt_chown.c: Likewise.
20095 * nscd/nscd.c (print_version): Likewise.
20096 * debug/xtrace.sh: Likewise.
20097 * malloc/memusage.sh: Likewise.
20098 * malloc/mtrace.pl: Likewise.
20099 * debug/catchsegv.sh: Likewise.
20100
20101 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20102
20103 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20104 pure attribute.
20105
20106 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20107
20108 [BZ #13533]
20109 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20110 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20111 transformations.
20112 * iconv/gconv_int.h: Likewise.
20113 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20114 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20115 from libc for GLIBC_2.16.
20116 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20117 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20118 * wcsmbs/uchar.h: Really define mbstate_t.
20119 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20120 * wcsmbs/c16rtomb.c: New file.
20121 * wcsmbs/mbrtoc16.c: New file.
20122 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20123 for C/POSIX locale.
20124 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20125 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20126
20127 * wcsmbs/wchar.h: Add missing __restrict.
20128
20129 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20130
20131 [BZ #13532]
20132 * time/Makefile (routines): Add timespec_get.
20133 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20134 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20135 timespec for ISO C11.
20136 * time/timespec_get.c: New file.
20137 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20138 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20139
20140 [BZ #13531]
20141 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20142 * stdlib/stdlib.h: Declare aligned_alloc.
20143 * Versions.def: Add GLIBC_2.16 for libc.
20144 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20145
20146 [BZ 13527]
20147 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20148 ISO C11.
20149
20150 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20151 code.
20152
20153 [BZ #13528]
20154 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20155
20156 [BZ #13529]
20157 * assert/assert.h (static_assert): Define.
20158
20159 * version.h: Update for 2.16 development version.
20160
20161 [BZ #13526]
20162 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20163 _ISOC11_SOURCE.
20164
20165 * version.h (RELEASE): Bump for 2.15 release.
20166 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20167
20168 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20169 Patch by Marek Polacek <mpolacek@redhat.com>.
20170
20171 * bits/byteswap.h: Protect long long constants with __extension__.
20172 * sysdeps/i386/bits/byteswap.h: Likewise.
20173 * sysdeps/ia64/bits/byteswap.h: Likewise.
20174 * sysdeps/s390/bits/byteswap.h: Likewise.
20175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20176
20177 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20178
20179 [BZ #13540]
20180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20181 destination buffer.
20182 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20183
20184 2011-12-23 Marek Polacek <polacek@redhat.com>
20185
20186 * elf/dl-addr.c (determine_info): Add inline keyword.
20187 * elf/tst-auditmod4b.c (check_avx): Likewise.
20188 * elf/tst-auditmod6b.c (check_avx): Likewise.
20189 * elf/tst-auditmod6c.c (check_avx): Likewise.
20190 * elf/tst-auditmod7b.c (check_avx): Likewise.
20191
20192 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20193
20194 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20195 !__SSE_MATH__.
20196
20197 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20198
20199 [BZ #13540]
20200 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20201 processing for last bytes.
20202
20203 2011-08-06 Bruno Haible <bruno@clisp.org>
20204
20205 [BZ #13061]
20206 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20207 U+0385, not to U+1FEE.
20208
20209 [BZ #13062]
20210 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20211 entry for U+00A5 U+0301.
20212
20213 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20214
20215 [BZ #13166]
20216 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20217 buffer for the output is too small.
20218
20219 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20220 optimization.
20221
20222 [BZ #13185]
20223 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20224 SSE flags if possible.
20225
20226 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20227
20228 [BZ #13540]
20229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20230 processing for last bytes.
20231
20232 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20233
20234 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20235 (syscall-list-default-options, syscall-list-default-condition)
20236 (syscall-list-includes): Define.
20237 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20238 list of ABIs and options and #if conditions for each ABI. Do not
20239 handle common syscalls between ABIs specially.
20240 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20241 Remove.
20242 (syscall-list-variants, syscall-list-32bit-options)
20243 (syscall-list-32bit-condition, syscall-list-64bit-options)
20244 (syscall-list-64bit-condition): Define.
20245 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20246 (syscall-list-variants, syscall-list-32bit-options)
20247 (syscall-list-32bit-condition, syscall-list-64bit-options)
20248 (syscall-list-64bit-condition): Define.
20249 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20250 Remove.
20251 (syscall-list-variants, syscall-list-32bit-options)
20252 (syscall-list-32bit-condition, syscall-list-64bit-options)
20253 (syscall-list-64bit-condition): Define.
20254 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20255 Remove.
20256 (syscall-list-variants, syscall-list-32bit-options)
20257 (syscall-list-32bit-condition, syscall-list-64bit-options)
20258 (syscall-list-64bit-condition): Define.
20259
20260 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20261
20262 * locale/iso-639.def: Add brx entry.
20263
20264 [BZ #13328]
20265 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20266 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20267
20268 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20269 __feraiseexcept_renamed.
20270
20271 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20272
20273 [BZ #13538]
20274 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20275 EPOLLET with unsigned values.
20276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20278
20279 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20280 to large cancellation.
20281 * math/s_cacoshf.c: Likewise.
20282 * math/s_cacoshl.c: Likewise.
20283
20284 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20285
20286 [BZ #13305]
20287 [BZ #12786]
20288 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20289 * math/s_cacoshf.c: Likewise.
20290 * math/s_cacoshl.c: Likewise.
20291
20292 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20293
20294 [BZ #13439]
20295 * iconv/gconv.h: Define __GCONV_SWAP.
20296 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20297 * iconvdata/utf-16.c: Likewise.
20298 * iconvdata/utf-32.c: Likewise.
20299
20300 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20301
20302 [BZ #13524]
20303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20304 numerator after shifting it by one limb.
20305
20306 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20307
20308 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20309 under [__USE_EXTERN_INLINES].
20310
20311 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20312
20313 [BZ #13446]
20314 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20315
20316 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20317
20318 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20319 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20320 optimized code.
20321 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20322 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20323 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20324 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20325 for strncasecmp/strncasecmp_l compilation.
20326 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20327 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20328
20329 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20330
20331 [BZ #13484]
20332 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20333 of __asm__.
20334
20335 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20336
20337 [BZ #13506]
20338 * time/tzfile.c (__tzfile_read): Check values from file header.
20339
20340 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20341
20342 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20343 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20344 * powerpc/powerpc32/dl-start.S: Likewise.
20345 * powerpc/powerpc32/elf/start.S: Likewise.
20346 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20347 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20348 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20349 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20350 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20351 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20352 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20353 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20354 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20355 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20356 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20357 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20358 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20359 * powerpc/powerpc32/memset.S: Likewise.
20360 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20361 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20362 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20363 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20364 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20365 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20366 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20367 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20368 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20369 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20370 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20371 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20372 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20373
20374 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20375
20376 * math/libm-test.inc: Added more nearbyint tests.
20377 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20378 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20379 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20380 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20381
20382 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20383
20384 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20385 FD_CLOEXEC.
20386
20387 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20388
20389 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20390 Add wcscpy-ssse3 wcscpy-c.
20391 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20392 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20393 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20394 * sysdeps/x86_64/wcschr.S: New file.
20395 * sysdeps/x86_64/wcsrchr.S: New file.
20396 * string/test-strcmp.c: Remove checking of wcscmp function for
20397 wrong alignments.
20398 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20399 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20400 wcsrchr-sse2 wcsrchr-c.
20401 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20402 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20403 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20404 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20405 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20406 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20407 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20408 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20409 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20410 * wcsmbc/wcschr.c (WCSCHR): New macro.
20411
20412 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20413
20414 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20415 * wcsmbs/test-wcsrchr.c: New file.
20416 * string/test-strrchr.c: Add wcsrchr support.
20417 (WIDE): New macro.
20418 * wcsmbs/test-wcscpy.c: New file.
20419 * string/test-strcpy.c: Add wcscpy support.
20420 (WIDE): New macro.
20421
20422 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20423
20424 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20425 the inner loop.
20426
20427 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20428
20429 [BZ #13472]
20430 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20431
20432 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20433
20434 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20435 Minor optimizations.
20436
20437 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20438 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20439 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20440
20441 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20442
20443 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20444 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20445 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20446 for gcc to avoid warnings.
20447 * inet/Makefile (tests): Add tst-checks.
20448 * inet/tst-checks.c: New file.
20449
20450 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20451 warning.
20452
20453 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20454 __wmemcmp_sse2.
20455
20456 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20457 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20458
20459 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20460
20461 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20462
20463 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20464 problem.
20465
20466 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20467
20468 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20469
20470 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20471 conditional on GCC version.
20472 (__arch_compare_and_exchange_val_8_acq)
20473 (__arch_compare_and_exchange_val_16_acq)
20474 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20475 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20476 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20477
20478 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20479
20480 * sysdeps/sh/backtrace.c: New file.
20481
20482 2011-12-02 Andreas Schwab <schwab@redhat.com>
20483
20484 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20485 parenthesis.
20486
20487 2011-12-01 Andreas Schwab <schwab@redhat.com>
20488
20489 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20490 falling back to utime.
20491
20492 2011-11-30 Andreas Schwab <schwab@redhat.com>
20493
20494 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20495 expectations for float.
20496
20497 2011-11-29 Andreas Schwab <schwab@redhat.com>
20498
20499 * locale/weight.h (findidx): Add parameter len.
20500 * locale/weightwc.h (findidx): Likewise.
20501 * posix/fnmatch_loop.c (FCT): Adjust caller.
20502 * posix/regcomp.c (build_equiv_class): Likewise.
20503 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20504 * posix/regexec.c (check_node_accept_bytes): Likewise.
20505 * string/strcoll_l.c (STRCOLL): Likewise.
20506 * string/strxfrm_l.c (STRXFRM): Likewise.
20507
20508 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20509
20510 * Makefile.in: Remove CVSOPT handling.
20511 * configure.in: Remove use of AC_REVISION.
20512 * iconvdata/Makefile (distribute): No need to filter out CVS.
20513 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20514 handling.
20515
20516 2011-11-16 Andreas Schwab <schwab@redhat.com>
20517
20518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20519 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20520 [USE_AS_STRNCASECMP_L]: Likewise.
20521 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20522 NO_TLS_DIRECT_SEG_REFS.
20523 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20524 Fix argument offsets for non-PIC.
20525 [USE_AS_STRNCASECMP_L]: Likewise.
20526 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20527 NO_TLS_DIRECT_SEG_REFS.
20528
20529 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20530
20531 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20532 O_CLOEXEC.
20533 * locale/loadlocale.c (_nl_load_locale): Likewise.
20534
20535 2011-11-15 Andreas Schwab <schwab@redhat.com>
20536
20537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20538 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20539 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20540 (SYSCALL_GETTIME): Set errno on error.
20541
20542 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20543 count references to noai6ai_cached.
20544
20545 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20546
20547 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20548
20549 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20550 FD_CLOEXEC for /proc/self/maps.
20551
20552 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20553 FD_CLOEXEC for /proc/meminfo.
20554
20555 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20556 gai.conf.
20557
20558 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20559 FD_CLOEXEC for given file.
20560
20561 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20562
20563 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20564 FD_CLOEXEC for /etc/hosts.
20565 (_gethtent): Likewise.
20566
20567 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20568
20569 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20570 cancellation and set FD_CLOEXEC for /etc/netgroup.
20571
20572 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20573 reading /etc/publickey.
20574
20575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20576 allow cancellation when reading /etc/group.
20577
20578 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20579 cancellation.
20580 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20581
20582 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20583 when using data file.
20584
20585 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20586
20587 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20588 (write_nis_obj): Use "c" and "e" in fopen.
20589
20590 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20591
20592 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20593
20594 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20595
20596 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20597
20598 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20599 locale.alias.
20600
20601 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20602
20603 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20604
20605 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20606
20607 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20608 file parsing and set FD_CLOEXEC.
20609
20610 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20611
20612 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20613
20614 2011-11-14 Andreas Schwab <schwab@redhat.com>
20615
20616 * malloc/arena.c (arena_get2): Don't call reused_arena when
20617 _int_new_arena failed.
20618
20619 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20620
20621 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20622 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20623 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20624 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20625 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20626 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20627 to compile strcasecmp and strncasecmp.
20628 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20629 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20630
20631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20632
20633 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20634
20635 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20636 locale-defines.sym to gen-as-const-headers.
20637 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20638 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20640 to compile strcasecmp and strncasecmp.
20641 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20642 strcasecmp_l and strncasecmp_l.
20643 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20644 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20645 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20646 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20647 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20648 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20649 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20650 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20651 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20652 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20653 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20654
20655 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20656
20657 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20658 result of SYSDEP_GETTIME_CPU to retval.
20659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20660 parameter list to macro. Remove trailing semicolon. Adjust users.
20661
20662 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20663 variable.
20664
20665 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20666 mantissa words.
20667 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20668
20669 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20670 from unused variable.
20671
20672 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20673 DWARF definitions.
20674 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20675 for assembling.
20676
20677 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20678 over namespaces.
20679
20680 * sunrpc/rpc_prot.c (rejected): Fix case value.
20681
20682 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20683 unsigned long long int to avoid warnings in shift.
20684
20685 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20686 of use of trans.
20687 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20688 variable tmp.
20689
20690 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20691 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20692 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20693
20694 * nis/nis_table.c (nis_list): Use variable of correct type for
20695 result of __follow_path call.
20696
20697 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20698
20699 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20700 of math functions ceil, trunc, floor, round, and sqrt, when
20701 avaliable on the platform.
20702 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20703 name clash.
20704 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20705 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20706 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20707
20708 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20709
20710 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20711 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20712
20713 2011-11-11 Roland McGrath <roland@hack.frob.com>
20714
20715 * include/unistd.h: Fix __readlink return type.
20716 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20717
20718 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20719
20720 * stdlib/ucontext.h: Undo last change for makecontext.
20721
20722 2011-11-11 Andreas Schwab <schwab@redhat.com>
20723
20724 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20725
20726 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20727 * setjmp/setjmp.h: Mark functions as non-leaf.
20728 * setjmp/bits/setjmp2.h: Likewise.
20729 * stdlib/ucontext.h: Likewise.
20730
20731 2011-11-10 Andreas Schwab <schwab@redhat.com>
20732
20733 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20734 (reused_arena): Don't check arena limit.
20735 (arena_get2): Atomically check arena limit.
20736
20737 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20738
20739 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20740 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20741
20742 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20743 instructions.
20744
20745 2011-11-07 Andreas Schwab <schwab@redhat.com>
20746
20747 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20748 handler when locking.
20749
20750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20751 Fix size of allocated buffer.
20752
20753 2011-11-04 Andreas Schwab <schwab@redhat.com>
20754
20755 [BZ #10103]
20756 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20757 declarations for long double functions.
20758 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20759
20760 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20761
20762 2011-11-03 Andreas Schwab <schwab@redhat.com>
20763
20764 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20765 installed.
20766
20767 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20768 is disabled.
20769
20770 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20771
20772 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20773
20774 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20775
20776 * include/alloca.h (stackinfo_alloca_round): Define.
20777 (extend_alloca): Use it.
20778 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20779 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20780 here.
20781
20782 * scripts/check-local-headers.sh: Ignore libaudit.h.
20783
20784 * nscd/Makefile (extra-objs): Make recursively expanded.
20785
20786 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20787
20788 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20790
20791 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20792 * posix/tst-rfc3484-2.c: Likewise.
20793 * posix/tst-rfc3484-3.c: Likewise.
20794
20795 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20796 process_vm_writev.
20797 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20798 process_vm_writev.
20799 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20800 process_vm_writev from libc using GLIBC_2.15 version.
20801
20802 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20803
20804 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20805
20806 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20807 stack usage.
20808
20809 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20810
20811 [BZ #13367]
20812 * nss/getent.c (initgroups_keys): Show error message in case no group
20813 names are given.
20814
20815 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20816 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20817 __bump_nl_timestamp.
20818 * nscd/connections (nscd_init): When host database is served open
20819 netlink socket and request notification about configuration changes.
20820 (main_loop_poll): Track netlink file descriptor and bump timestamp
20821 in case data becomes available.
20822 (main_loop_epoll): Likewise.
20823 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20824 (database_pers_head): Add extra_data fileds.
20825 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20826 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20827 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20828 Adjust caller.
20829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20830 in6ai data, call __free_in6ai.
20831 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20832 Add -DHAVE_NETLINK.
20833 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20834 interface information. Reuse previous data if netlink timestamp
20835 is not changed.
20836 (__bump_nl_timestamp): New function.
20837 (__free_in6ai): New function.
20838
20839 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20840
20841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20842 close_not_cancel_no_status here.
20843 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20844
20845 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20846
20847 [BZ #13276]
20848 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20849 return value.
20850
20851 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20852 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20853 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20854
20855 2011-07-03 Andreas Jaeger <aj@suse.de>
20856
20857 [BZ #10709]
20858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20859 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20860 * math/libm-test.inc (sin_test): Add test case.
20861
20862 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20863
20864 [BZ #13337]
20865 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20866 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20867
20868 * elf/chroot_canon.c (chroot_canon): Cleanups.
20869
20870 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20871
20872 [BZ #13335]
20873 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20874 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20875
20876 * string/test-strchr.c: Make usable for strchrnul testing.
20877 * string/test-strchrnul.c: New file.
20878 * string/Makefile (strop-tests): Add strchrnul.
20879
20880 * po/it.po: Update from translation team.
20881 * po/es.po: Likewise.
20882
20883 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20884
20885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20886 the three constants needed as parameters. Drop the others.
20887 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20888 __m128i_strloadu_tolower.
20889 Create and initialize variable zero and use it in all the places
20890 where _mm_setzero_si128 was used.
20891
20892 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20893 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20894 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20895 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20896 anymore.
20897 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20898 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20899 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20900 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20901 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20902 __mpranred, __mptan.
20903 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20904 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20905 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20906 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20907 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20908 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20909 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20910 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20911 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20912
20913 2011-10-28 Andreas Schwab <schwab@redhat.com>
20914
20915 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20916 redefine if SHARED.
20917 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20918
20919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20920 wide char related routines to wcsmbs subdir.
20921
20922 2011-10-27 Andreas Schwab <schwab@redhat.com>
20923
20924 [BZ #13344]
20925 * misc/sys/cdefs.h (__THROWNL): Define.
20926 * posix/unistd.h: Use __THREADNL instead of __THREAD
20927 for memory synchronization functions.
20928
20929 2011-10-26 Roland McGrath <roland@hack.frob.com>
20930
20931 [BZ #13349]
20932 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20933 doesn't exist.
20934 * manual/stdio.texi (Obstack Streams): Node removed.
20935
20936 2011-10-26 Andreas Schwab <schwab@redhat.com>
20937
20938 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20939 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20940 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20941
20942 * math/math_private.h (math_force_eval): Allow non-addressable
20943 arguments.
20944 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20945
20946 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20947
20948 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20949 file is not needed.
20950
20951 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20952 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20953 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20954 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20955 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20956 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20957 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20958 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20959 Add AVX variants.
20960 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20961 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20962 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20963 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20964 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20965 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20966 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20967 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20968 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20969 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20970 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20971 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20972 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20973 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20974 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20975 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20976 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20977 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20978 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20979
20980 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20981 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20982
20983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20984 place. Use VEX encoding when compiling for AVX.
20985
20986 2011-10-25 Andreas Schwab <schwab@redhat.com>
20987
20988 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20989 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20990
20991 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20992
20993 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20994
20995 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20996 useless if() expression.
20997 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20998 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21000 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21001 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21002 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21003 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21004 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21006 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21008 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21009 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21010 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21011 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21012 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21013 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21015 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21016
21017 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21018
21019 2011-10-25 Andreas Schwab <schwab@redhat.com>
21020
21021 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21022 condition.
21023 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21024
21025 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21026
21027 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21028 .text section. Avoid duplicate constants.
21029 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21037 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21038 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21039 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21040 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21041 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21042 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21043 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21044 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21045 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21046 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21047 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21049 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21053 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21054 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21055 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21056 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21057 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21058 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21059 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21060 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21061 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21062 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21063 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21064 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21065 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21067 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21068 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21069 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21070 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21071 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21072 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21073 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21074
21075 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21076
21077 * sysdeps/x86_64/dla.h: Move to ...
21078 * sysdeps/x86_64/fpu/dla.h: ...here.
21079 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21080 situations. Use __builtin_fma only for gcc 4.6 and up.
21081
21082 * config.make.in: Add have-mfma4 entry.
21083 * configure.in: Substitute libc_cv_cc_fma4.
21084 * math/Makefile (dbl-only-routines): Add sincostab.
21085 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21086 Use __sincostab not sincos.
21087 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21088 name is a macro.
21089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21093 using __copysign.
21094 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21095 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21096 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21097 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21098 and __inv.
21099 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21100 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21101 __copysign.
21102 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21103 define aliases when function name is a macro.
21104 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21105 sysdeps/ieee754/dbl-64/sincos.tbl.
21106 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21107 fma4-enabled routines.
21108 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21109 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21110 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21111 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21113 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21114 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21115 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21116 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21117 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21118 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21119 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21120 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21121 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21122 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21123 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21124 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21125 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21126 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21127 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21128 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21129 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21130 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21131 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21133 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21135 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21136 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21137 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21138
21139 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21140 rename.
21141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21149
21150 2011-10-24 Andreas Schwab <schwab@redhat.com>
21151
21152 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21153
21154 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21155
21156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21157
21158 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21159 prediction.
21160 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21161
21162 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21163 Remove unused variable magic_bits.
21164 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21165
21166 * string/strnlen.c: Define and use STRNLEN macro.
21167 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21168 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21170 * wcsmbs/wcslen.c: Define and use WCSLEN.
21171 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21172 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21173 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21174 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21175 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21176 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21177 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21178
21179 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21180
21181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21182 strnlen-sse2-no-bsf.
21183 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21185 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21186 Add strnlen support.
21187 (USE_AS_STRNLEN): New macro.
21188 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21189 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21190 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21191 * sysdeps/x86_64/wcslen.S: New file.
21192
21193 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21194
21195 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21196 XMM-moves are used for copying on small sizes.
21197
21198 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21199
21200 * wcsmbs/Makefile (strop-tests): Add wcschr.
21201 * wcsmbs/test-wcschr.c: New file.
21202 * string/test-strchr.c: Update.
21203 Add wcschr support.
21204 (WIDE): New macro.
21205
21206 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21207
21208 * wcsmbs/Makefile (strop-tests): Add wcslen.
21209 * wcsmbs/test-wcslen.c: New file.
21210 * string/test-strlen.c: Update.
21211 Add wcslen support.
21212 (WIDE): New macro.
21213
21214 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21215
21216 * po/it.po: Update from translation team.
21217
21218 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21219
21220 * sysdeps/x86_64/wcscmp.S: Update.
21221 Fix wrong comparison semantics.
21222 wcscmp shall use signed comparison not unsigned.
21223 Don't use substraction to avoid overflow bug.
21224 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21225 * wcsmbc/wcscmp.c: Likewise.
21226 * string/test-strcmp.c: Likewise.
21227 Add new tests to check cases with negative values.
21228
21229 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21230
21231 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21232 * sysdeps/x86_64/dla.h: ...here. New file.
21233 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21234 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21242
21243 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21244
21245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21246 __ynl_finite aliases.
21247
21248 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21249
21250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21251
21252 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21253 define DLA_FMA.
21254 [DLA_FMA] (EMULV): Use DLA_FMA.
21255 [DLA_FMA] (MUL12): Use EMULV.
21256 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21257 that are not needed.
21258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21263 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21265
21266 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21267
21268 * math/s_nan.c: Undef __nan.
21269 * math/s_nanf.c: Undef __nanf.
21270 * math/s_nanl.c: Undef __nanl.
21271 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21272 "math_private.h".
21273
21274 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21275
21276 * math/s_catan.c: Add branch predictions.
21277 * math/s_catanf.c: Likewise.
21278 * math/s_catanh.c: Likewise.
21279 * math/s_catanhf.c: Likewise.
21280 * math/s_catanhl.c: Likewise.
21281 * math/s_catanl.c: Likewise.
21282 * math/s_cexp.c: Likewise.
21283 * math/s_cexpf.c: Likewise.
21284 * math/s_cexpl.c: Likewise.
21285 * math/s_clog.c: Likewise.
21286 * math/s_clog10.c: Likewise.
21287 * math/s_clog10f.c: Likewise.
21288 * math/s_clog10l.c: Likewise.
21289 * math/s_clogf.c: Likewise.
21290 * math/s_clogl.c: Likewise.
21291 * math/s_csqrt.c: Likewise.
21292 * math/s_csqrtf.c: Likewise.
21293 * math/s_csqrtl.c: Likewise.
21294 * math/s_ctanf.c: Likewise.
21295 * math/s_ctanh.c: Likewise.
21296 * math/s_ctanhf.c: Likewise.
21297 * math/s_ctanhl.c: Likewise.
21298 * math/s_ctanl.c: Likewise.
21299
21300 * math/math_private.h: Define __nan, __nanf, __nanl.
21301 * math/s_cacosh.c: Include <math_private.h>.
21302 * math/s_cacoshl.c: Likewise.
21303 * math/s_casinh.c: Likewise.
21304 * math/s_casinhf.c: Likewise.
21305 * math/s_casinhl.c: Likewise.
21306 * math/s_ccos.c: Rely entire on ccosh.
21307 * math/s_ccosf.c: Rely entire on ccoshf.
21308 * math/s_ccosl.c: Rely entirely on ccoshl.
21309 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21310 Remove tests for FE_INVALID.
21311 * math/s_ccoshf.c: Likewise.
21312 * math/s_ccoshl.c: Likewise.
21313 * math/s_csin.c: Likewise.
21314 * math/s_csinf.c: Likewise.
21315 * math/s_csinh.c Likewise.
21316 * math/s_csinhf.c: Likewise.
21317 * math/s_csinhl.c: Likewise.
21318 * math/s_csinl.c: Likewise.
21319 * math/s_ctan.c: Likewise.
21320 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21321 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21322 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21323
21324 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21325
21326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21327 compilation problems.
21328
21329 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21330 __builtin_expect.
21331
21332 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21333
21334 * sysdeps/i386/configure.in: Test for -mfma4 option.
21335 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21336 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21337 COMMON_CPUID_INDEX_80000001.
21338 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21339 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21340 use it if FMA3 is not supported.
21341 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21342
21343 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21344 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21345
21346 2011-10-20 Andreas Schwab <schwab@redhat.com>
21347
21348 [BZ #12892]
21349 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21350 it would create a cycle with a link time dependency.
21351
21352 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21353
21354 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21355 instruction.
21356 * string/Makefile (strop-tests): Add rawmemchr.
21357 * string/test-rawmemchr.c: New file.
21358
21359 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21361 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21362 when compiling str{,n}casecmp and when AVX is available. Hook up
21363 new optimized code in initializers.
21364
21365 2011-10-19 Andreas Schwab <schwab@redhat.com>
21366
21367 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21368 __feraiseexcept instead of feraiseexcept.
21369
21370 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21371
21372 * math/math_private.h: Define defaults for libc_fetestexcept and
21373 libc_feupdateenv.
21374 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21375 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21376 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21377 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21378 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21379 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21380 libc_fetestexcept and libc_feupdateenv.
21381
21382 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21383 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21384 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21385 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21386 libc_feholdexcept_setround.
21387
21388 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21389 Add s_nearbyint-c and s_nearbyintf-c.
21390 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21391 nearbyintf inlines.
21392 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21393 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21394 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21395 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21396
21397 * math/math_private.h: Define defaults for libc_fegetround,
21398 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21399 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21400 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21401 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21402 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21403 standard functions.
21404 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21405 Remove comments and hacks for old compiler versions.
21406 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21407 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21408 libc_feholdexceptl.
21409
21410 2011-10-18 Andreas Schwab <schwab@redhat.com>
21411
21412 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21413 (__feraiseexcept_renamed): Add __NTH.
21414 (feraiseexcept): Add __NTH. Rename local variables to fix
21415 namespace violations.
21416
21417 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21418
21419 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21420
21421 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21422
21423 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21424 recently added interfaces.
21425 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21426
21427 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21428 about macro parameter expansion.
21429
21430 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21431 __NO_MATH_INLINES is defined. Cleanups.
21432
21433 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21434 and __floorf is target has SSE4.1.
21435 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21436 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21437 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21438 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21439
21440 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21441 name.
21442 (floorf): Likewise.
21443
21444 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21445
21446 2011-10-17 Andreas Schwab <schwab@redhat.com>
21447
21448 * misc/sys/cdefs.h: Fix last change.
21449
21450 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21451 database lookup.
21452
21453 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21454
21455 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21456
21457 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21458 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21459 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21460 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21461 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21462 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21463 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21464 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21465 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21466 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21467 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21468 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21469 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21470 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21471 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21472 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21473 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21474 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21475 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21476 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21477 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21478 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21479
21480 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21481 ceil, ceilf, floor, floorf.
21482
21483 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21484 Perform IRELATIVE relocations last.
21485
21486 * elf/do-rel.h: Add another parameter nrelative, replacing the
21487 local variable with the same name. Change name of the function
21488 to end in Rel or Rela (uppercase).
21489 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21490 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21491 elf_dynamic_do_##reloc function.
21492
21493 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21494
21495 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21496 is sufficient, at least on modern CPUs.
21497
21498 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21499
21500 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21501 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21502
21503 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21504 __expl_finite.
21505 * math/bits/math-finite.h: Add entries for exp.
21506 * math/e_expl.c: Add __*_finite alias.
21507 * sysdeps/i386/fpu/e_exp.S: Likewise.
21508 * sysdeps/i386/fpu/e_expf.S: Likewise.
21509 * sysdeps/i386/fpu/e_expl.c: Likewise.
21510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21511 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21512 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21515 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21516 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21517
21518 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21519 is sufficient, at least on modern CPUs.
21520
21521 * ctype/ctype-info.c (__ctype_init): Define.
21522 * include/ctype.h (__ctype_init): Declare.
21523 (__ctype_b_loc): The variable is always initialized.
21524 (__ctype_toupper_loc): Likewise.
21525 (__ctype_tolower_loc): Likewise.
21526 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21527 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21528
21529 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21530
21531 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21532
21533 * configure.in: Also look in $cxxmachine/include for C++ system
21534 headers.
21535
21536 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21537
21538 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21539 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21540 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21541 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21542 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21543 (USE_AS_WMEMCMP): New macro.
21544 Fixing indents.
21545 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21546 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21547 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21548 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21550 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21551 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21552 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21553 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21554 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21555 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21556 (USE_AS_WMEMCMP): New macro.
21557 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21558 * sysdeps/string/test-memcmp.c: Update.
21559 Fix simple_wmemcmp.
21560 Add new tests.
21561 * wcsmbs/wmemcmp.c: Update.
21562 (WMEMCMP): New macro.
21563 Fix overflow bug.
21564
21565 2011-10-12 Andreas Jaeger <aj@suse.de>
21566
21567 [BZ #13268]
21568 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21569
21570 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21571
21572 * libio/iofwide.c (do_length): Avoid warning.
21573
21574 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21575
21576 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21577
21578 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21579
21580 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21581 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21582 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21583 * sysdeps/i386/i686/fpu/e_log.S: New file.
21584 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21585 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21586
21587 * ctype/ctype.h: Add support for inlined isXXX functions when
21588 compiling C++ code.
21589
21590 2011-10-14 Andreas Schwab <schwab@redhat.com>
21591
21592 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21593
21594 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21595
21596 2011-10-13 Roland McGrath <roland@hack.frob.com>
21597
21598 [BZ #13291]
21599 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21600
21601 2011-10-13 Andreas Schwab <schwab@redhat.com>
21602
21603 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21604 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21605 feraiseexcept.
21606
21607 * sysdeps/x86_64/memrchr.S: Check for zero size.
21608
21609 * string/stratcliff.c: Add memrchr tests.
21610
21611 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21612
21613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21614 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21615 rawmemchr-sse2 rawmemchr-sse2-bsf.
21616 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21617 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21618 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21619 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21620 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21621 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21622 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21623 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21624 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21625 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21626 * string/memrchr.c (MEMRCHR): New macro.
21627
21628 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21629
21630 Add integration with gcc's -ffinite-math-only and optimize wrapper
21631 functions in libm.
21632 * Versions.def: Define GLIBC_2.15 version for libm.
21633 * math/Makefile (headers): Add bits/math-finite.h.
21634 * math/bits/math-finite.h: New file.
21635 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21636 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21637 * math/e_acoshl.c: Add __*_finite alias.
21638 * math/e_acosl.c: Likewise.
21639 * math/e_asinl.c: Likewise.
21640 * math/e_atan2l.c: Likewise.
21641 * math/e_atanhl.c: Likewise.
21642 * math/e_coshl.c: Likewise.
21643 * math/e_exp10.c: Likewise.
21644 * math/e_exp10f.c: Likewise.
21645 * math/e_exp10l.c: Likewise.
21646 * math/e_exp2l.c: Likewise.
21647 * math/e_fmodl.c: Likewise.
21648 * math/e_gammal_r.c: Likewise.
21649 * math/e_hypotl.c: Likewise.
21650 * math/e_j0l.c: Likewise.
21651 * math/e_j1l.c: Likewise.
21652 * math/e_jnl.c: Likewise.
21653 * math/e_lgammal_r.c: Likewise.
21654 * math/e_log10l.c: Likewise.
21655 * math/e_log2l.c: Likewise.
21656 * math/e_logl.c: Likewise.
21657 * math/e_powl.c: Likewise.
21658 * math/e_sinhl.c: Likewise.
21659 * math/e_sqrtl.c: Likewise.
21660 * math/e_scalb.c: Completely rewritten and optimized.
21661 * math/e_scalbf.c: Likewise.
21662 * math/e_scalbl.c: Likewise.
21663 * math/w_acos.c: Likewise.
21664 * math/w_acosf.c: Likewise.
21665 * math/w_acosl.c: Likewise.
21666 * math/w_acosh.c: Likewise.
21667 * math/w_acoshf.c: Likewise.
21668 * math/w_acoshl.c: Likewise.
21669 * math/w_asin.c: Likewise.
21670 * math/w_asinf.c: Likewise.
21671 * math/w_asinl.c: Likewise.
21672 * math/w_atan2.c: Likewise.
21673 * math/w_atan2f.c: Likewise.
21674 * math/w_atan2l.c: Likewise.
21675 * math/w_atanh.c: Likewise.
21676 * math/w_atanhf.c: Likewise.
21677 * math/w_atanhl.c: Likewise.
21678 * math/w_exp10.c: Likewise.
21679 * math/w_exp10f.c: Likewise.
21680 * math/w_exp10l.c: Likewise.
21681 * math/w_fmod.c: Likewise.
21682 * math/w_fmodf.c: Likewise.
21683 * math/w_fmodl.c: Likewise.
21684 * math/w_j0.c: Likewise.
21685 * math/w_j0f.c: Likewise.
21686 * math/w_j0l.c: Likewise.
21687 * math/w_j1.c: Likewise.
21688 * math/w_j1f.c: Likewise.
21689 * math/w_j1l.c: Likewise.
21690 * math/w_jn.c: Likewise.
21691 * math/w_jnf.c: Likewise.
21692 * math/w_log.c: Likewise.
21693 * math/w_logf.c: Likewise.
21694 * math/w_logl.c: Likewise.
21695 * math/w_log10.c: Likewise.
21696 * math/w_log10f.c: Likewise.
21697 * math/w_log10l.c: Likewise.
21698 * math/w_log2.c: Likewise.
21699 * math/w_log2f.c: Likewise.
21700 * math/w_log2l.c: Likewise.
21701 * math/w_pow.c: Likewise.
21702 * math/w_powf.c: Likewise.
21703 * math/w_powl.c: Likewise.
21704 * math/w_remainder.c: Likewise.
21705 * math/w_remainderf.c: Likewise.
21706 * math/w_remainderl.c: Likewise.
21707 * math/w_scalb.c: Likewise.
21708 * math/w_scalbf.c: Likewise.
21709 * math/w_scalbl.c: Likewise.
21710 * math/w_sqrt.c: Likewise.
21711 * math/w_sqrtf.c: Likewise.
21712 * math/w_sqrtl.c: Likewise.
21713 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21714 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21715 used.
21716 * math/math_private.h: Declare __kernel_standard_f.
21717 * math/w_cosh.c: Remove cruft and optimize a bit.
21718 * math/w_coshf.c: Likewise.
21719 * math/w_coshl.c: Likewise.
21720 * math/w_exp2.c: Likewise.
21721 * math/w_exp2f.c: Likewise.
21722 * math/w_exp2l.c: Likewise.
21723 * math/w_hypot.c: Likewise.
21724 * math/w_hypotf.c: Likewise.
21725 * math/w_hypotl.c: Likewise.
21726 * math/w_lgamma.c: Likewise.
21727 * math/w_lgamma_r.c: Likewise.
21728 * math/w_lgammaf.c: Likewise.
21729 * math/w_lgammaf_r.c: Likewise.
21730 * math/w_lgammal.c: Likewise.
21731 * math/w_lgammal_r.c: Likewise.
21732 * math/w_sinh.c: Likewise.
21733 * math/w_sinhf.c: Likewise.
21734 * math/w_sinhl.c: Likewise.
21735 * math/w_tgamma.c: Likewise.
21736 * math/w_tgammaf.c: Likewise.
21737 * math/w_tgammal.c: Likewise.
21738 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21739 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21740 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21741 Minor optimizations. Pretty printing. Remove cruft.
21742 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21743 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21744 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21745 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21746 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21747 * sysdeps/i386/fpu/e_asin.S: Likewise.
21748 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21749 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21750 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21751 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21752 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21753 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21754 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21755 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21756 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21757 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21758 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21759 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21760 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21761 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21762 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21763 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21764 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21765 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21766 * sysdeps/i386/fpu/e_log.S: Likewise.
21767 * sysdeps/i386/fpu/e_log10.S: Likewise.
21768 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21769 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21770 * sysdeps/i386/fpu/e_log2.S: Likewise.
21771 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21772 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21773 * sysdeps/i386/fpu/e_logf.S: Likewise.
21774 * sysdeps/i386/fpu/e_logl.S: Likewise.
21775 * sysdeps/i386/fpu/e_pow.S: Likewise.
21776 * sysdeps/i386/fpu/e_powf.S: Likewise.
21777 * sysdeps/i386/fpu/e_powl.S: Likewise.
21778 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21779 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21780 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21781 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21782 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21783 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21784 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21785 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21786 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21808 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21809 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21810 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21811 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21812 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21813 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21814 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21815 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21816 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21817 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21818 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21821 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21822 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21823 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21824 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21825 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21826 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21827 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21828 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21829 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21833 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21834 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21835 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21836 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21837 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21838 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21840 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21841 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21842 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21843 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21844 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21845 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21847 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21848 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21849 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21850 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21851 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21852 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21853 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21854 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21855 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21856 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21857 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21858 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21859 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21860 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21861 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21863 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21864 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21865 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21866 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21867 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21868 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21869 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21870 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21871 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21872 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21873 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21874 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21875 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21876 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21877 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21880 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21881 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21882 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21883 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21884 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21885 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21886 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21887 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21888 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21889 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21890 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21891 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21893 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21895 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21896 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21897 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21898 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21899 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21900 (__isnanf): Likewise.
21901 (__isinf_ns): Likewise.
21902 (__isinf_nsf): Likewise.
21903 (__finite): Likewise.
21904 (__finitef): Likewise.
21905 (__ieee754_sqrt): Define as macro.
21906 (__ieee754_sqrtf): Define as macro.
21907 (__ieee754_sqrtl): Define as macro.
21908 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21909 inlined copy.
21910 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21911 __FINITE_MATH_ONLY__ consistent.
21912 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21913
21914 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21915
21916 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21917 of rawmemchr.
21918
21919 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21920
21921 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21922
21923 * po/ja.po: Update from translation team.
21924
21925 2011-10-08 Roland McGrath <roland@hack.frob.com>
21926
21927 * locale/programs/locarchive.c (prepare_address_space): New function.
21928 (create_archive, enlarge_archive, open_archive): Use it.
21929
21930 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21931 inside [SHARED], where it is used.
21932
21933 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21934
21935 * nss/getent.c (netgroup_keys): Remove unused variable.
21936 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21937
21938 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21939
21940 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21941 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21943 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21944 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21945 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21946 * math/Makefile (libm-calls): Add s_isinf_ns.
21947 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21948 * math/multc3.c: Likewise.
21949 * math/s_casin.c: Likewise.
21950 * math/s_casinf.c: Likewise.
21951 * math/s_casinl.c: Likewise.
21952 * math/s_ccos.c: Likewise.
21953 * math/s_ccosf.c: Likewise.
21954 * math/s_ccosl.c: Likewise.
21955 * math/s_ctan.c: Likewise.
21956 * math/s_ctanf.c: Likewise.
21957 * math/s_ctanh.c: Likewise.
21958 * math/s_ctanhf.c: Likewise.
21959 * math/s_ctanhl.c: Likewise.
21960 * math/s_ctanl.c: Likewise.
21961 * math/w_fmod.c: Likewise.
21962 * math/w_fmodf.c: Likewise.
21963 * math/w_fmodl.c: Likewise.
21964 * math/w_remainder.c: Likewise.
21965 * math/w_remainderf.c: Likewise.
21966 * math/w_remainderl.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21968 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21970 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21971 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21972 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21973 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21974 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21975
21976 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21977 of the number.
21978 * stdio-common/printf_fphex.c: Likewise.
21979 * stdio-common/printf_size.c: Likewise.
21980
21981 * math/e_exp10.c: Include math_private.h using <...> not "...".
21982 * math/e_exp10f.c: Likewise.
21983 * math/e_exp10l.c: Likewise.
21984 * math/e_exp2l.c: Likewise.
21985 * math/e_j0l.c: Likewise.
21986 * math/e_j1l.c: Likewise.
21987 * math/e_jnl.c: Likewise.
21988 * math/e_lgammal_r.c: Likewise.
21989 * math/e_rem_pio2l.c: Likewise.
21990 * math/e_scalb.c: Likewise.
21991 * math/e_scalbf.c: Likewise.
21992 * math/e_scalbl.c: Likewise.
21993 * math/k_cosl.c: Likewise.
21994 * math/k_sinl.c: Likewise.
21995 * math/k_tanl.c: Likewise.
21996 * math/s_cacoshf.c: Likewise.
21997 * math/s_catan.c: Likewise.
21998 * math/s_catanf.c: Likewise.
21999 * math/s_catanh.c: Likewise.
22000 * math/s_catanhf.c: Likewise.
22001 * math/s_catanhl.c: Likewise.
22002 * math/s_catanl.c: Likewise.
22003 * math/s_ccosh.c: Likewise.
22004 * math/s_ccoshf.c: Likewise.
22005 * math/s_ccoshl.c: Likewise.
22006 * math/s_cexp.c: Likewise.
22007 * math/s_cexpf.c: Likewise.
22008 * math/s_cexpl.c: Likewise.
22009 * math/s_clog.c: Likewise.
22010 * math/s_clog10.c: Likewise.
22011 * math/s_clog10f.c: Likewise.
22012 * math/s_clog10l.c: Likewise.
22013 * math/s_clogf.c: Likewise.
22014 * math/s_clogl.c: Likewise.
22015 * math/s_csin.c: Likewise.
22016 * math/s_csinf.c: Likewise.
22017 * math/s_csinh.c: Likewise.
22018 * math/s_csinhf.c: Likewise.
22019 * math/s_csinhl.c: Likewise.
22020 * math/s_csinl.c: Likewise.
22021 * math/s_csqrt.c: Likewise.
22022 * math/s_csqrtf.c: Likewise.
22023 * math/s_csqrtl.c: Likewise.
22024 * math/s_ctan.c: Likewise.
22025 * math/s_ctanf.c: Likewise.
22026 * math/s_ctanh.c: Likewise.
22027 * math/s_ctanhf.c: Likewise.
22028 * math/s_ctanhl.c: Likewise.
22029 * math/s_ctanl.c: Likewise.
22030 * math/s_ldexp.c: Likewise.
22031 * math/s_ldexpf.c: Likewise.
22032 * math/s_ldexpl.c: Likewise.
22033 * math/s_significand.c: Likewise.
22034 * math/s_significandf.c: Likewise.
22035 * math/s_significandl.c: Likewise.
22036 * math/w_acos.c: Likewise.
22037 * math/w_acosf.c: Likewise.
22038 * math/w_acosh.c: Likewise.
22039 * math/w_acoshf.c: Likewise.
22040 * math/w_acoshl.c: Likewise.
22041 * math/w_acosl.c: Likewise.
22042 * math/w_asin.c: Likewise.
22043 * math/w_asinf.c: Likewise.
22044 * math/w_asinl.c: Likewise.
22045 * math/w_atan2.c: Likewise.
22046 * math/w_atan2f.c: Likewise.
22047 * math/w_atan2l.c: Likewise.
22048 * math/w_atanh.c: Likewise.
22049 * math/w_atanhf.c: Likewise.
22050 * math/w_atanhl.c: Likewise.
22051 * math/w_cosh.c: Likewise.
22052 * math/w_coshf.c: Likewise.
22053 * math/w_coshl.c: Likewise.
22054 * math/w_dremf.c: Likewise.
22055 * math/w_exp10.c: Likewise.
22056 * math/w_exp10f.c: Likewise.
22057 * math/w_exp10l.c: Likewise.
22058 * math/w_exp2.c: Likewise.
22059 * math/w_exp2f.c: Likewise.
22060 * math/w_fmod.c: Likewise.
22061 * math/w_fmodf.c: Likewise.
22062 * math/w_fmodl.c: Likewise.
22063 * math/w_hypot.c: Likewise.
22064 * math/w_hypotf.c: Likewise.
22065 * math/w_hypotl.c: Likewise.
22066 * math/w_j0.c: Likewise.
22067 * math/w_j0f.c: Likewise.
22068 * math/w_j0l.c: Likewise.
22069 * math/w_j1.c: Likewise.
22070 * math/w_j1f.c: Likewise.
22071 * math/w_j1l.c: Likewise.
22072 * math/w_jn.c: Likewise.
22073 * math/w_jnf.c: Likewise.
22074 * math/w_jnl.c: Likewise.
22075 * math/w_lgamma.c: Likewise.
22076 * math/w_lgamma_r.c: Likewise.
22077 * math/w_lgammaf.c: Likewise.
22078 * math/w_lgammaf_r.c: Likewise.
22079 * math/w_lgammal.c: Likewise.
22080 * math/w_lgammal_r.c: Likewise.
22081 * math/w_log.c: Likewise.
22082 * math/w_log10.c: Likewise.
22083 * math/w_log10f.c: Likewise.
22084 * math/w_log10l.c: Likewise.
22085 * math/w_log2.c: Likewise.
22086 * math/w_log2f.c: Likewise.
22087 * math/w_log2l.c: Likewise.
22088 * math/w_logf.c: Likewise.
22089 * math/w_logl.c: Likewise.
22090 * math/w_pow.c: Likewise.
22091 * math/w_powf.c: Likewise.
22092 * math/w_powl.c: Likewise.
22093 * math/w_remainder.c: Likewise.
22094 * math/w_remainderf.c: Likewise.
22095 * math/w_remainderl.c: Likewise.
22096 * math/w_scalb.c: Likewise.
22097 * math/w_scalbf.c: Likewise.
22098 * math/w_scalbl.c: Likewise.
22099 * math/w_sinh.c: Likewise.
22100 * math/w_sinhf.c: Likewise.
22101 * math/w_sinhl.c: Likewise.
22102 * math/w_sqrt.c: Likewise.
22103 * math/w_sqrtf.c: Likewise.
22104 * math/w_sqrtl.c: Likewise.
22105 * math/w_tgamma.c: Likewise.
22106 * math/w_tgammaf.c: Likewise.
22107 * math/w_tgammal.c: Likewise.
22108
22109 * po/ja.po: Update from translation team.
22110
22111 2011-09-29 Andreas Jaeger <aj@suse.de>
22112
22113 [BZ #13179]
22114 * sunrpc/netname.c (netname2host): Fix logic.
22115
22116 [BZ #6779]
22117 [BZ #6783]
22118 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22119 correctly.
22120 * math/w_remainder.c (__remainder): Likewise.
22121 * math/w_remainderf.c (__remainderf): Likewise.
22122 * math/libm-test.inc (remainder_test): Add test cases.
22123
22124 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22125
22126 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22127 sdiv_qrnnd.
22128
22129 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22130
22131 * string/test-memcmp.c: Avoid unncessary #defines.
22132 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22133
22134 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22135
22136 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22137 Use new sse2 version for core i3 - i7 as it's faster
22138 than sse42 version.
22139 (bit_Prefer_PMINUB_for_stringop): New.
22140 * sysdeps/x86_64/rawmemchr.S: Update.
22141 Replace with faster SSE2 version.
22142 * sysdeps/x86_64/memrchr.S: New file.
22143 * sysdeps/x86_64/memchr.S: Update.
22144 Replace with faster SSE2 version.
22145
22146 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22147
22148 * elf/dl-load.c (lose): Add cast to avoid warning.
22149
22150 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22151
22152 * po/ca.po: Update from translation team.
22153
22154 * inet/getnetgrent_r.c: Hook up nscd.
22155 * nscd/Makefile (routines): Add nscd_netgroup.
22156 (nscd-modules): Add netgroupcache.
22157 (CFLAGS-netgroupcache.c): Define.
22158 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22159 (cache_search): Add const to second parameter.
22160 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22161 INNETGR.
22162 (dbs): Add netgrdb entry.
22163 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22164 (verify_persistent_db): Handle netgrdb.
22165 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22166 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22167 GETFDNETGR.
22168 (netgroup_response_header): Define.
22169 (innetgroup_response_header): Define.
22170 (datahead): Add netgroup_response_header and innetgroup_response_header
22171 elements.
22172 * nscd/nscd.conf: Add entries for netgroup cache.
22173 * nscd/nscd.h (dbtype): Add netgrdb.
22174 (_PATH_NSCD_NETGROUP_DB): Define.
22175 (netgroup_iov_disabled): Declare.
22176 (xmalloc, xcalloc, xrealloc): Move declarations here.
22177 (cache_search): Adjust prototype.
22178 Add netgroup-related prototypes.
22179 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22180 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22181 (__nscd_innetgr): Declare.
22182 * nscd/selinux.c (perms): Use access_vector_t as element type and
22183 add netgroup-related initializers.
22184 * nscd/netgroupcache.c: New file.
22185 * nscd/nscd_netgroup.c: New file.
22186 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22187 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22188 For four parameters use innetgr.
22189 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22190 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22191 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22192 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22193
22194 * nscd/connections.c (register_traced_file): Don't register file
22195 for disabled databases.
22196
22197 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22198
22199 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22200
22201 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22202 from tree and freeing node.
22203
22204 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22205
22206 * nss/nsswitch.c (__nss_database_lookup): Handle
22207 nss_parse_service_list out of memory case.
22208
22209 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22210
22211 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22212 out of memory case.
22213
22214 2011-10-04 Andreas Schwab <schwab@redhat.com>
22215
22216 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22217 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22218 pass it down.
22219 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22220 elf_machine_rela, elf_machine_lazy_rel.
22221 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22222 (ELF_DYNAMIC_DO_REL): Likewise.
22223 (ELF_DYNAMIC_DO_RELA): Likewise.
22224 (ELF_DYNAMIC_RELOCATE): Likewise.
22225 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22226 to ELF_DYNAMIC_DO_REL.
22227 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22228 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22229 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22230 elf_machine_rela.
22231 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22232 skip_ifunc, don't call ifunc function if non-zero.
22233 (elf_machine_rela): Likewise.
22234 (elf_machine_lazy_rel): Likewise.
22235 (elf_machine_lazy_rela): Likewise.
22236 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22237 (elf_machine_lazy_rel): Likewise.
22238 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22239 Likewise.
22240 (elf_machine_lazy_rel): Likewise.
22241 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22242 Likewise.
22243 (elf_machine_lazy_rel): Likewise.
22244 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22245 (elf_machine_lazy_rel): Likewise.
22246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22247 (elf_machine_lazy_rel): Likewise.
22248 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22249 (elf_machine_lazy_rel): Likewise.
22250 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22251 (elf_machine_lazy_rel): Likewise.
22252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22253 (elf_machine_lazy_rel): Likewise.
22254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22255 (elf_machine_lazy_rel): Likewise.
22256
22257 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22258
22259 * nss/nss_files/files-init.c (_nss_files_init): Use static
22260 initialization for all the *_traced_file variables.
22261
22262 2011-09-28 Andreas Schwab <schwab@redhat.com>
22263
22264 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22265
22266 2011-09-27 Roland McGrath <roland@hack.frob.com>
22267
22268 [BZ #13226]
22269 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22270
22271 2011-09-27 Andreas Schwab <schwab@redhat.com>
22272
22273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22274 Reread the line before reparsing it.
22275
22276 2011-09-26 Andreas Schwab <schwab@redhat.com>
22277
22278 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22279
22280 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22281 Maxim Kuvyrkov <maxim@codesourcery.com>
22282 Joseph Myers <joseph@codesourcery.com>
22283
22284 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22285 if needed for __stack_chk_guard.
22286
22287 2011-09-19 Roland McGrath <roland@hack.frob.com>
22288
22289 * sysdeps/posix/spawni.c (script_execute): Always define it.
22290 It will be optimized away if unused.
22291 (maybe_script_execute): New function.
22292 (__spawni): Call it.
22293
22294 * Makerules: Don't include tls.make.
22295 (config-tls): Always set to thread.
22296 * tls.make.c: File removed.
22297
22298 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22299
22300 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22301 * config.make.in (CPPFLAGS-config): New substituted variable.
22302
22303 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22304
22305 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22306
22307 [BZ #13192]
22308 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22309 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22310
22311 2011-09-15 Roland McGrath <roland@hack.frob.com>
22312
22313 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22314 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22315 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22316 (CALL_FAIL): Likewise.
22317 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22318 (CALL_FAIL): Macro removed.
22319 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22320
22321 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22322
22323 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22324 for __FINITE_MATH_ONLY__ == 1.
22325
22326 2011-09-15 Andreas Schwab <schwab@redhat.com>
22327
22328 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22329 __ieee754_sqrt instead of sqrt.
22330 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22331 __ieee754_sqrtf instead of sqrtf.
22332 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22333 __floorf instead of floorf.
22334 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22335 __floorf, __truncf instead of floorf, truncf.
22336
22337 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22338
22339 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22340
22341 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22342 __extern_always_inline.
22343 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22344 32-bit.
22345
22346 2011-09-14 Andreas Schwab <schwab@redhat.com>
22347
22348 * elf/rtld.c (dl_main): Also relocate in dependency order when
22349 doing symbol dependency testing.
22350
22351 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22352
22353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22354 Always define `refsym'.
22355
22356 2011-09-13 Andreas Schwab <schwab@redhat.com>
22357
22358 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22359 (__FD_ELT): Renamed from __FDELT.
22360 * misc/bits/select2.h (__FD_ELT): Likewise.
22361 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22362 __FD_MASK instead of __FDELT, __FDMASK.
22363 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22364 Likewise.
22365 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22366 Likewise.
22367
22368 * elf/Makefile (gen-ldd): Fix pattern.
22369
22370 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22371 (init_tls): Likewise.
22372
22373 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22374
22375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22376
22377 2011-09-12 Andreas Schwab <schwab@redhat.com>
22378
22379 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22380 `struct cmsghdr *' instead of `void *'.
22381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22382 Likewise.
22383
22384 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22385
22386 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22387 if non-absolute.
22388 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22389 ldd_rewrite_script.
22390
22391 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22392
22393 * configure.in: Remove --with-tls option.
22394 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22395 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22396 out in case it is missing.
22397 * sysdeps/ia64/elf/configure.in: Likewise.
22398 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22399 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22400 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22401 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22402 * sysdeps/sh/elf/configure.in: Likewise.
22403 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22404 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22405 * sysdeps/x86_64/elf/configure.in: Likewise.
22406 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22407 * sysdeps/mach/hurd/tls.h: Likewise.
22408
22409 [BZ #13067]
22410 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22411
22412 [BZ #13090]
22413 * configure.in: Fix use of AC_INIT.
22414
22415 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22416
22417 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22418
22419 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22420 __set_errno.
22421 * malloc/hooks.c: Likewise.
22422
22423 [BZ #11929]
22424 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22425 variables statically.
22426 (narenas): Initialize.
22427 (list_lock): Initialize.
22428 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22429 initializtion of main_arena and list_lock. Small cleanups.
22430 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22431 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22432 Add initializers to main_arena and mp_.
22433 (malloc_state): Remove pagesize member. Change all users to use
22434 GLRO(dl_pagesize).
22435
22436 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22437 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22438 is always initialized.
22439
22440 * malloc/malloc.c: Removed unused configurations and dead code.
22441 * malloc/arena.c: Likewise.
22442 * malloc/hooks.c: Likewise.
22443 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22444
22445 * include/tls.h: Removed. USE___THREAD must always be defined.
22446 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22447 * elf/dl-libc.c: Likewise.
22448 * elf/dl-tsd.c: Likewise.
22449 * include/errno.h: Likewise.
22450 * include/netdb.h: Likewise.
22451 * include/resolv.h: Likewise.
22452 * inet/herrno-loc.c: Likewise.
22453 * inet/herrno.c: Likewise.
22454 * malloc/arena.c: Likewise.
22455 * malloc/hooks.c: Likewise.
22456 * malloc/malloc.c: Likewise.
22457 * resolv/res-state.c: Likewise.
22458 * resolv/res_libc.c: Likewise.
22459 * sysdeps/i386/dl-machine.h: Likewise.
22460 * sysdeps/ia64/dl-machine.h: Likewise.
22461 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22462 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22463 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22464 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22465 * sysdeps/sh/dl-machine.h: Likewise.
22466 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22467 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22468 * sysdeps/unix/i386/sysdep.S: Likewise.
22469 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22470 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22473 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22475 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22479 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22480 * sysdeps/x86_64/dl-machine.h: Likewise.
22481 * tls.make.c: Likewise.
22482
22483 * configure.in: Remove --with-__thread option. Make tests for
22484 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22485 tls_model attribute fail if no support is available. Remove
22486 USE_IN_LIBIO.
22487 * Makeconfig: Adjust for dropped configure option. All features are
22488 now mandatory.
22489 * Makerules: Likewise.
22490 * Versions.def: Likewise.
22491 * argp/argp-fmtstream.c: Likewise.
22492 * argp/argp-fmtstream.h: Likewise.
22493 * argp/argp-help.c: Likewise.
22494 * assert/assert.c: Likewise.
22495 * config.h.in: Likewise.
22496 * config.make.in: Likewise.
22497 * configure: Likewise.
22498 * configure.in: Likewise.
22499 * csu/Versions: Likewise.
22500 * csu/init.c: Likewise.
22501 * elf/tst-audit2.c: Likewise.
22502 * elf/tst-tls10.c: Likewise.
22503 * elf/tst-tls10.h: Likewise.
22504 * elf/tst-tls11.c: Likewise.
22505 * elf/tst-tls12.c: Likewise.
22506 * elf/tst-tls14.c: Likewise.
22507 * elf/tst-tlsmod11.c: Likewise.
22508 * elf/tst-tlsmod12.c: Likewise.
22509 * elf/tst-tlsmod13.c: Likewise.
22510 * elf/tst-tlsmod13a.c: Likewise.
22511 * elf/tst-tlsmod14a.c: Likewise.
22512 * elf/tst-tlsmod15b.c: Likewise.
22513 * elf/tst-tlsmod16a.c: Likewise.
22514 * elf/tst-tlsmod16b.c: Likewise.
22515 * elf/tst-tlsmod7.c: Likewise.
22516 * elf/tst-tlsmod8.c: Likewise.
22517 * elf/tst-tlsmod9.c: Likewise.
22518 * gmon/gmon.c: Likewise.
22519 * grp/fgetgrent_r.c: Likewise.
22520 * grp/putgrent.c: Likewise.
22521 * hurd/fopenport.c: Likewise.
22522 * include/libc-symbols.h: Likewise.
22523 * include/tls.h: Likewise.
22524 * intl/gettextP.h: Likewise.
22525 * intl/loadinfo.h: Likewise.
22526 * locale/global-locale.c: Likewise.
22527 * locale/localeinfo.h: Likewise.
22528 * mach/devstream.c: Likewise.
22529 * malloc/arena.c: Likewise.
22530 * malloc/set-freeres.c: Likewise.
22531 * misc/err.c: Likewise.
22532 * misc/getttyent.c: Likewise.
22533 * misc/mntent_r.c: Likewise.
22534 * posix/getopt.c: Likewise.
22535 * posix/wordexp.c: Likewise.
22536 * pwd/fgetpwent_r.c: Likewise.
22537 * resolv/Versions: Likewise.
22538 * resolv/res_hconf.c: Likewise.
22539 * shadow/fgetspent_r.c: Likewise.
22540 * shadow/putspent.c: Likewise.
22541 * stdio-common/printf_fphex.c: Likewise.
22542 * stdio-common/tmpfile.c: Likewise.
22543 * stdlib/abort.c: Likewise.
22544 * stdlib/fmtmsg.c: Likewise.
22545 * sunrpc/auth_unix.c: Likewise.
22546 * sunrpc/clnt_perr.c: Likewise.
22547 * sunrpc/clnt_tcp.c: Likewise.
22548 * sunrpc/clnt_udp.c: Likewise.
22549 * sunrpc/clnt_unix.c: Likewise.
22550 * sunrpc/openchild.c: Likewise.
22551 * sunrpc/svc_simple.c: Likewise.
22552 * sunrpc/svc_tcp.c: Likewise.
22553 * sunrpc/svc_udp.c: Likewise.
22554 * sunrpc/svc_unix.c: Likewise.
22555 * sunrpc/xdr.c: Likewise.
22556 * sunrpc/xdr_array.c: Likewise.
22557 * sunrpc/xdr_rec.c: Likewise.
22558 * sunrpc/xdr_ref.c: Likewise.
22559 * sunrpc/xdr_stdio.c: Likewise.
22560
22561 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22562
22563 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22564
22565 2011-07-03 Andreas Jaeger <aj@suse.de>
22566
22567 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22568 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22569 regenerate with gen-libm-tests.pl.
22570
22571 2010-05-12 Petr Baudis <pasky@suse.cz>
22572
22573 [BZ #11589]
22574 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22575 around j0() zero points by switching to j1().
22576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22580
22581 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22582
22583 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22584 instead of 0.
22585 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22586 instead of 0.
22587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22588 Patch in part by Pavel Roskin <proski@gnu.org>.
22589
22590 [BZ #13138]
22591 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22592 realloc.
22593 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22594 Free memory block if necessary.
22595
22596 [BZ #12847]
22597 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22598 be NULL. Don't lock in this case.
22599
22600 2011-09-09 Roland McGrath <roland@hack.frob.com>
22601
22602 * elf/elf.h (ELFOSABI_GNU): New macro.
22603 (ELFOSABI_LINUX): Define to that.
22604
22605 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22606
22607 * string/strncat.c (strncat): Undef the symbol in case it has been
22608 defined in bits/string.h.
22609
22610 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22611
22612 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22613
22614 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22615 link map.
22616
22617 2011-08-17 Andreas Jaeger <aj@suse.de>
22618
22619 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22620
22621 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22622 Ian Lance Taylor <iant@google.com>
22623
22624 * math/libm-test.inc (lround_test): New testcase.
22625 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22626
22627 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22628
22629 * Makefile: Remove support for automatic cvs check-ins.
22630 * Makerules: Likewise.
22631 * config.make.in: Likewise.
22632 * configure.in: Likewise.
22633 * intl/Makefile: Likewise.
22634 * locale/Makefile: Likewise.
22635 * po/Makefile: Likewise.
22636 * posix/Makefile: Likewise.
22637 * sysdeps/gnu/Makefile: Likewise.
22638 * sysdeps/mach/hurd/Makefile: Likewise.
22639 * sysdeps/sparc/sparc32/Makefile: Likewise.
22640
22641 [BZ #13118]
22642 * posix/Makefile (bug-regex32-ENV): Define.
22643 Patch by John Stanley <jpsinthemix@verizon.net>.
22644
22645 * misc/Makefile (headers): Add bits/select2.h.
22646 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22647 * misc/bits/select2.h: New file.
22648 * include/bits/select2.h: New file.
22649 * debug/Makefile (routines): Add fdelt_chk.
22650 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22651 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22652 FD_ISSET.
22653 * debug/fdelt_chk.c: New file.
22654
22655 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22656 * wcsmbs/test-wmemcmp.c: Likewise.
22657 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22658 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22659
22660 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22661
22662 * string/Makefile (strop-tests): Add memcmp.
22663 * string/test-wmemcmp.c: New file.
22664 * string/test-memcmp.c: Add wmemcmp support.
22665
22666 2011-09-08 Roland McGrath <roland@hack.frob.com>
22667
22668 [BZ #13153]
22669 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22670 2011-07-19 change.
22671
22672 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22673 garbage value in a __mach_port_mod_refs call in the cases of the
22674 task-self and thread-self ports.
22675
22676 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22677
22678 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22679
22680 2011-09-08 Andreas Schwab <schwab@redhat.com>
22681
22682 * elf/dl-load.c (lose): Check for non-null L.
22683
22684 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22685
22686 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22687
22688 * elf/dl-libc.c (dlerror_run): Pass back error code from
22689 dl_catch_error.
22690
22691 [BZ #13123]
22692 * elf/dl-load.c (lose): Free l_origin if it is valid.
22693
22694 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22695 names.
22696 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22697 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22700 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22701 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22702
22703 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22704
22705 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22706 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22707 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22708 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22709 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22710 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22711 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22712 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22713 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22714 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22715
22716 2011-08-15 Alan Modra <amodra@gmail.com>
22717
22718 [BZ #13092]
22719 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22720 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22721 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22722 ppc_mcount to static-only-routines.
22723 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22724 __mcount_internal.
22725 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22726 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22727
22728 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22729
22730 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22731 for finite and infinity parameters.
22732
22733 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22734
22735 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22736 and add nop instructions for throughput optimization.
22737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22738
22739 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22740
22741 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22742 aligned copy for power7 with vector-scalar instructions.
22743 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22744
22745 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22746
22747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22748 AVX check.
22749
22750 2011-09-07 Andreas Schwab <schwab@redhat.com>
22751
22752 [BZ #13144]
22753 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22754 last change.
22755
22756 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22757
22758 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22759 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22760 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22761 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22762 clock_gettime.
22763
22764 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22765
22766 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22767 Forgot to demangle the pointer.
22768
22769 * sysdeps/i386/sysdep.h: Define atom_text_section.
22770 * sysdeps/x86_64/sysdep.h: Likewise.
22771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22772 section with atom_text_section.
22773 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22775 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22777 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22778
22779 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22781 already be defined. Change to take two parameters and don't assign
22782 result to variable. Adjust all users.
22783 Define INTERNAL_GETTIME if not already defined.
22784 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22785 call.
22786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22787 HAVE_CLOCK_GETTIME_VSYSCALL.
22788 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22789
22790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22791 gettimeofday vsyscall, just use time.
22792
22793 2011-09-06 Andreas Schwab <schwab@redhat.com>
22794
22795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22796 <errno.h>.
22797
22798 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22799
22800 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22801 syscall on x86-64.
22802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22803 syscall.
22804 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22805 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22806 syscall if possible.
22807
22808 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22809
22810 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22811 e_ident. Don't pass to find_mapsXX.
22812 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22813
22814 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22815
22816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22817 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22818 * sysdeps/x86_64/multiarch/strchr.S: Update.
22819 Check bit_slow_BSF bit.
22820 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22821 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22822 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22823
22824 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22825
22826 [BZ #13134]
22827 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22828 before glibc 2.15.
22829 (tryshell): Define.
22830 (__spawni): Change last parameter to be flag. Test
22831 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22832 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22833 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22834 * posix/spawni.c: Likewise.
22835 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22836 * posix/spawnp.c: Likewise. Change normal version to use
22837 SPAWN_XFLAGS_USE_PATH.
22838 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22839 SPAWN_XFLAGS_TRY_SHELL.
22840
22841 [BZ #13150]
22842 * posix/glob.h: Remove gcc 1.x support.
22843
22844 [BZ #13068]
22845 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22846
22847 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22848
22849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22850 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22851 strrchr-sse2-bsf
22852 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22853 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22854 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22855 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22856 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22858
22859 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22860
22861 * sysdeps/x86_64/wcscmp.S: New file.
22862
22863 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22864 wcscmp-c wcscmp-sse2
22865 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22866 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22867 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22868 * wcsmbs/wcscmp.c: Allow renaming.
22869
22870 2011-09-05 David S. Miller <davem@davemloft.net>
22871
22872 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22873 stack slot, rather than the struct return pointer slot.
22874 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22875 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22877 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22878
22879 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22880
22881 * po/ja.po: Update from translation team.
22882
22883 [BZ #13144]
22884 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22885 kernel in 64-bit binaries.
22886
22887 2011-09-01 David S. Miller <davem@davemloft.net>
22888
22889 * elf/elf.h (HWCAP_SPARC_*): Move to..
22890 * sysdeps/sparc/sysdep.h: this new file and add new values.
22891 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22892 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22893 _DL_HWCAP_COUNT to 24.
22894 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22895 entries.
22896 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22897 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22898 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22900 instead of magic constants.
22901 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22902
22903 2011-08-31 David S. Miller <davem@davemloft.net>
22904
22905 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22907 Reimplement to do errno handling inline.
22908 (SYSCALL_ERROR_HANDLER): New macro.
22909 (__SYSCALL_STRING): Do not do errno handling in asm.
22910 (__CLONE_SYSCALL_STRING): Delete.
22911 (__INTERNAL_SYSCALL_STRING): Delete.
22912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22913 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22914 (PSEUDO): Reimplement to do errno handling inline.
22915 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22916 (SYSCALL_ERROR_HANDLER): New macro.
22917 (__SYSCALL_STRING): Do not do errno handling in asm.
22918 (__CLONE_SYSCALL_STRING): Delete.
22919 (__INTERNAL_SYSCALL_STRING): Delete.
22920 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22921 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22922 i386.
22923 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22924 (inline_syscall*): Add 'err' argument.
22925 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22926 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22927 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22928 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22929
22930 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22931 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22932
22933 2011-08-30 Andreas Schwab <schwab@redhat.com>
22934
22935 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22936
22937 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22938
22939 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22940 directive.
22941
22942 2011-08-24 David S. Miller <davem@davemloft.net>
22943
22944 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22945
22946 2011-08-24 Andreas Schwab <schwab@redhat.com>
22947
22948 * elf/Makefile: Add rules to build and run unload8 test.
22949 * elf/unload8.c: New file.
22950 * elf/unload8mod1.c: New file.
22951 * elf/unload8mod1x.c: New file.
22952 * elf/unload8mod2.c: New file.
22953 * elf/unload8mod3.c: New file.
22954
22955 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22956 it wasn't used.
22957
22958 2011-08-23 David S. Miller <davem@davemloft.net>
22959
22960 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22961 subtract stack bias.
22962 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22963 %sp not %fp in calculations.
22964 (_JMPBUF_UNWINDS_ADJ): Likewise.
22965
22966 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22967 (aio_suspend): Call it to force an exception region around the
22968 AIO_MISC_WAIT() invocation.
22969
22970 2011-08-23 Andreas Schwab <schwab@redhat.com>
22971
22972 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22973 backslash.
22974
22975 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22976
22977 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22978 protection macro.
22979 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22980 and <dl-machine.h>.
22981 (Elf64_FuncDesc): Remove.
22982
22983 2011-08-22 David S. Miller <davem@davemloft.net>
22984
22985 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22986 sigaltstack check, add missing cfi directives.
22987 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22988 missing cfi directives, and sigaltstack handling.
22989
22990 2011-08-16 Andreas Schwab <schwab@redhat.com>
22991
22992 [BZ #11724]
22993 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22994 object is seen twice.
22995 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22996
22997 * elf/Makefile (distribute): Add tst-initorder2.c.
22998 (tests): Add tst-initorder2.
22999 (modules-names): Add tst-initorder2a tst-initorder2b
23000 tst-initorder2c tst-initorder2d. Add rules to build them.
23001 ($(objpfx)tst-initorder2.out): New rule.
23002 * elf/tst-initorder2.c: New file.
23003 * elf/tst-initorder2.exp: New file.
23004
23005 2011-08-22 Andreas Schwab <schwab@redhat.com>
23006
23007 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23008
23009 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23010 dependencies back to end of function.
23011
23012 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23013 $(elfobjdir)/ld.so.
23014
23015 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23016
23017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23018 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23020 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23021 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23022 of __vdso_gettimeofday.
23023 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23024 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23025 attribute_hidden.
23026 (_libc_vdso_platform_setup): Remove initialization of
23027 __vdso_gettimeofday and __vdso_time.
23028
23029 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23030
23031 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23032 and fgetc_unlocked.
23033 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23034 getc_unlocked.
23035
23036 * elf/dl-open.c (add_to_global): Report additions to the global scope
23037 for LD_DEBUG=scopes.
23038 (dl_open_worker): Also print scope of newly loaded dependencies.
23039 (_dl_show_scope): Indicate if there is no scope.
23040
23041 [BZ #13114]
23042 * stdio-common/Makefile (tests): Add bug24.
23043 * stdio-common/bug24.c: New file.
23044
23045 2011-08-19 Andreas Jaeger <aj@suse.de>
23046
23047 [BZ #13114]
23048 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23049 non-existant file when using close-on-exec mode.
23050
23051 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23052
23053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23054 the very first instruction.
23055
23056 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23057 the CFI state in the end.
23058 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23059 inclusion of dl-trampoline.h.
23060 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23061
23062 2011-08-19 Andreas Schwab <schwab@redhat.com>
23063
23064 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23065 expectations for long double.
23066
23067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23068 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23069
23070 2011-08-14 David S. Miller <davem@davemloft.net>
23071
23072 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23073 artificual limit depends upon the system page size.
23074
23075 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23076
23077 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23078 * resolv/Makefile: Define CFLAGS-libresolv.
23079
23080 2011-08-17 Andreas Schwab <schwab@redhat.com>
23081
23082 * nss/makedb.c (compute_tables): Make variables used in nested
23083 function static.
23084
23085 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23086
23087 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23088 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23089 if buffer was too small.
23090
23091 * elf/pldd.c (main): Attach to all threads in the process.
23092 Rewrite /proc handling to use *at functions.
23093
23094 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23095
23096 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23097 specifies first scope to show.
23098 (dl_open_worker): Update callers. Move printing scope of new
23099 object to before the relocation.
23100 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23101 * sysdeps/generic/ldsodefs.h: Update declaration.
23102
23103 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23104 string for the scope number.
23105
23106 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23107
23108 * nscd/servicescache.c (cache_addserv): Make sure written is always
23109 initialized.
23110
23111 2011-08-14 Roland McGrath <roland@hack.frob.com>
23112
23113 * sysdeps/i386/i486/bits/atomic.h
23114 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23115 statement expression, so as to suppress "set but not used" warning.
23116 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23117
23118 * string/strncat.c (STRNCAT): Use prototype definition.
23119
23120 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23121 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23122 -Iprograms here.
23123 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23124 (localedef-modules): Add localedef.
23125 (locale-modules): Add locale.
23126
23127 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23128 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23129 to avoid a warning.
23130
23131 2011-08-14 David S. Miller <davem@davemloft.net>
23132
23133 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23134 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23135
23136 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23137
23138 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23139 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23140 * elf/rtld.c (dl_main): Set l_name of vDSO.
23141 Call _dl_show_scope when DL_DEBUG_SCOPES.
23142 (process_dl_debug): Recognize scopes flag and also set it for all.
23143 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23144 Declare _dl_show_scope.
23145
23146 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23147 (do_dlopen): Pass caller_dlopen to dl_open.
23148 (__libc_dlopen_mode): Initialize caller_dlopen.
23149
23150 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23151 of libc. Make tolower call locale-independent. Optimize a bit by
23152 using isdigit instead of isalnum.
23153 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23154
23155 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23156
23157 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23158 was a dependency or dynamically loaded.
23159
23160 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23161
23162 * intl/l10nflist.c: Allow architecture-specific pop function.
23163 * sysdeps/x86_64/l10nflist.c: New file.
23164
23165 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23166 classification.
23167
23168 2011-08-10 Andreas Schwab <schwab@redhat.com>
23169
23170 * include/dirent.h: Add libc_hidden_proto for scandirat and
23171 scandirat64. Don't declare __scandirat64.
23172 * dirent/scandirat.c: Add libc_hidden_def.
23173 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23174 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23175
23176 2011-08-10 David S. Miller <davem@davemloft.net>
23177
23178 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23179 enum.
23180 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23182 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23183
23184 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23185
23186 * Versions.def [libc]: Add GLIBC_2.15.
23187 * dirent/Makefile (routines): Add scandirat and scandirat64.
23188 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23189 GLIBC_2.15.
23190 * dirent/dirent.h: Declare scandirat and scandirat64.
23191 * dirent/scandirat.c: New file.
23192 * dirent/scandirat64.c: New file.
23193 * sysdeps/wordsize-64/scandirat.c: New file.
23194 * sysdeps/wordsize-64/scandirat64.c: New file.
23195 * dirent/opendir.c: Define opendirat.
23196 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23197 using scandirat.
23198 * dirent/scandir64.c: Adjust for scandir.c change.
23199 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23200 __scandirat64, and __scandir_cancel_handler.
23201 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23202 additional parameter and use openat instead of open (outside of ld.so).
23203 Add new __opendir as wrapper around __opendirat.
23204 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23205 here without requiring old scandirat implementation.
23206
23207 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23208
23209 * dirent/scandir.c (cancel_handler): Renamed to
23210 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23211 defined. Adjust users.
23212 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23213 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23214
23215 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23216
23217 * string/test-string.h (IMPL): Use __STRING to expand name and then
23218 stringify it.
23219
23220 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23221 of cleanups.
23222
23223 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23224
23225 * string/Makefile: Update.
23226 (strop-tests): Append strncat.
23227 * string/test-wcscmp.c: New file.
23228 New comprehensive test for wcscmp.
23229 * string/test-strcmp.c: Update.
23230 (WIDE): New define.
23231
23232 2011-07-22 Andreas Schwab <schwab@redhat.com>
23233
23234 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23235 line.
23236
23237 2011-07-26 Andreas Schwab <schwab@redhat.com>
23238
23239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23240 encoding to ACE if AI_IDN.
23241
23242 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23243
23244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23245 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23246
23247 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23248
23249 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23250 Fix overflow bug in strncat.
23251 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23252
23253 * string/test-strncat.c: Update.
23254 Add new tests for checking overflow bugs.
23255
23256 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23257
23258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23259 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23260 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23261 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23262 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23263 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23264 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23265 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23266 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23267
23268 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23269 (USE_AS_STRCAT): Define.
23270 Add strcat and strncat support.
23271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23272
23273 2011-07-25 Andreas Schwab <schwab@redhat.com>
23274
23275 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23276 __n bigger than INT_MAX+1.
23277 (__strncmp_g): Likewise.
23278
23279 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23280
23281 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23282 * libio/stido.h: Likewise.
23283
23284 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23285 (AF_NFC): Define.
23286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23287 (AF_NFC): Define.
23288
23289 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23290 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23291 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23292 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23293 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23294
23295 [BZ #13021]
23296 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23297 installed.
23298
23299 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23300 typo.
23301 (_dl_x86_64_save_sse): Likewise.
23302
23303 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23304
23305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23306 OSXSAVE.
23307 (_dl_x86_64_save_sse): Likewise.
23308
23309 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23310
23311 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23312
23313 2011-07-21 Andreas Schwab <schwab@redhat.com>
23314
23315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23316 change.
23317 (_dl_x86_64_save_sse): Use correct AVX check.
23318
23319 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23320
23321 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23322 bug in strncpy/strncat.
23323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23324
23325 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23326
23327 * string/tester.c (test_strcat): Add tests for different alignments
23328 of source and destination.
23329 (test_strncat): Likewise.
23330
23331 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23332
23333 [BZ #12852]
23334 * posix/glob.c (glob): Check passed in values before using them in
23335 expressions to avoid some overflows.
23336 (glob_in_dir): Likewise.
23337
23338 [BZ #13007]
23339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23340 check for AVX enablement so that we don't crash with old kernels and
23341 new hardware.
23342 * elf/tst-audit4.c: Add same checks here.
23343 * elf/tst-audit6.c: Likewise.
23344
23345 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23346
23347 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23348
23349 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23350
23351 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23352
23353 * po/cs.po: Update from translation team.
23354 * po/bg.po: Likewise.
23355
23356 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23357
23358 * misc/sys/cdefs.h: Add support for const attribute.
23359 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23360 to gnu_dev_{major,minor,makedev} functions.
23361
23362 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23363
23364 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23365
23366 2011-07-20 Andreas Schwab <schwab@redhat.com>
23367
23368 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23369 strlen results.
23370
23371 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23372
23373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23374 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23375 register in order to avoid conflicts with the soft frame pointer
23376 being held in r11 when necessary.
23377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23378 (INTERNAL_VSYSCALL_NCS): Likewise.
23379
23380 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23381
23382 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23383 * elf/dl-fini.c (_dl_fini): Adjust caller.
23384 * elf/dl-close.c (_dl_close_worker): Likewise.
23385 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23386
23387 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23388
23389 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23390 "aux_cache->nlibs < 0".
23391
23392 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23393 in the reload-count case.
23394
23395 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23396
23397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23398 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23399 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23400 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23401 * sysdeps/x86_64/multiarch/strcat.S: New file.
23402 * sysdeps/x86_64/multiarch/strncat.S: New file.
23403 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23404 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23405 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23406 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23407 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23408 (USE_AS_STRCAT): Define.
23409 Add strcat and strncat support.
23410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23411 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23412 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23413 * string/strncat.c: Update.
23414 (USE_AS_STRNCAT): Define.
23415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23416 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23417 and i7.
23418 * sysdeps/x86_64/multiarch/init-arch.h
23419 (bit_Prefer_PMINUB_for_stringop): New.
23420 (index_Prefer_PMINUB_for_stringop): Likewise.
23421 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23422 bit_Prefer_PMINUB_for_stringop.
23423
23424 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23425
23426 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23427 buffer64.
23428 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23429 of casting of buffer.
23430 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23431 buffer32 and buffer64.
23432 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23433 writes instead of casting of buffer.
23434 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23435 buffer32.
23436 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23437 casting of buffer.
23438
23439 2011-07-19 Andreas Schwab <schwab@redhat.com>
23440
23441 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23442
23443 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23444
23445 * nscd/nscd.c (termination_handler): Don't do anything for a database
23446 if it has not yet been initialized.
23447
23448 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23449
23450 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23451
23452 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23453
23454 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23455
23456 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23457
23458 * po/nl.po: Update from translation team.
23459 * po/sv.po: Likewise.
23460
23461 2011-07-16 Roland McGrath <roland@hack.frob.com>
23462
23463 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23464 now disallowed by GCC.
23465
23466 * configure.in (use-default-link): Default to yes if a test -shared
23467 link meets our qualifications.
23468 * configure: Regenerated.
23469
23470 * config.make.in (output-format): New variable.
23471 * configure.in: Check for ld --print-output-format support.
23472 * configure: Regenerated.
23473 * Makerules ($(common-objpfx)format.lds)
23474 [$(output-format) != unknown]: Just use $(output-format),
23475 instead of the linker-script munging.
23476
23477 2011-07-14 Roland McGrath <roland@hack.frob.com>
23478
23479 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23480 of $(common-objpfx)shlib.lds.
23481 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23482
23483 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23484 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23485
23486 * configure.in (-z relro check): Adjust test code to add a large
23487 writable data section after it.
23488 * configure: Regenerated.
23489
23490 2011-07-11 Roland McGrath <roland@hack.frob.com>
23491
23492 * configure.in (-z relro check): Fix test code to make the variable
23493 truly const.
23494 * configure: Regenerated.
23495
23496 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23497
23498 * nscd/nscd.h (struct traced_file): Define.
23499 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23500 elements. Add traced_files.
23501 (inotify_fd): Declare.
23502 (register_traced_file): Declare.
23503 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23504 (inotify_fd): Export.
23505 (resolv_conf_descr): Remove.
23506 (nscd_init): Move inotify descriptor creation to main.
23507 Don't register files for notification here.
23508 (register_traced_file): New function.
23509 (invalidate_cache): Don't use reset_res to determine whether to call
23510 res_init, go through the list of registered files.
23511 (main_loop_poll): The inotify descriptors are now stored in the
23512 structures for the traced files.
23513 (main_loop_epoll): Likewise
23514 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23515 to __nss_disable_nscd.
23516 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23517 for a database anymore. Check the records for all the registered
23518 files instead.
23519 * nss/Makefile (libnss_files-routines): Add files-init.
23520 (libnss_db-routines): Add db-init.
23521 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23522 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23523 * nss/nss_db/db-init.c: New file.
23524 * nss/nss_files/files-init.c: New file.
23525 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23526 __nss_lookup_function.
23527 (__nss_lookup_function): Call nss_load_library.
23528 (nss_load_all_libraries): New function.
23529 (__nss_disable_nscd): Take parameter with callback function for files
23530 to register. Set is_nscd. Load all the DSOs for the NSS modules
23531 used for the cached services.
23532 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23533 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23534 options for features to all the files in nscd.
23535
23536 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23537
23538 2011-07-10 Roland McGrath <roland@hack.frob.com>
23539
23540 * csu/elf-init.c (__libc_csu_init): Comment typo.
23541
23542 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23543
23544 * po/pl.po: Update from translation team.
23545 * po/ja.po: Likewise.
23546 * po/ru.po: Likewise.
23547 * po/ko.po: Likewise.
23548 * po/fr.po: Likewise.
23549
23550 2011-07-09 Roland McGrath <roland@hack.frob.com>
23551
23552 * configure.in (.ctors/.dtors header and trailer check):
23553 Use an empirical test on a built program.
23554 * configure: Regenerated.
23555
23556 * configure.in (-z relro check): Use an empirical test on a built DSO.
23557 Detect, but do not require, on ia64.
23558 * configure: Regenerated.
23559
23560 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23561 Update tests that use readelf to use $READELF instead.
23562 * configure: Regenerated.
23563
23564 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23565
23566 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23567 if the result is not used.
23568
23569 2011-07-05 Andreas Jaeger <aj@suse.de>
23570
23571 [BZ#9696]
23572 * stdlib/tst-strtod.c: Add testcase.
23573
23574 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23575
23576 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23577 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23578 The latter has a higher limit. Take additional parameter to pass to
23579 the new function.
23580 (__pathconf): Pass file to __statfs_link_max.
23581 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23582 __statfs_link_max.
23583 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23584 __statfs_link_max.
23585
23586 [BZ #12868]
23587 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23588 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23589 Handle Lustre.
23590 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23591 (__statfs_filesize_max): Likewise.
23592 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23593
23594 2011-07-05 Andreas Jaeger <aj@suse.de>
23595
23596 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23597
23598 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23599
23600 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23601 `status' variable.
23602 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23603 Likewise.
23604
23605 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23606
23607 * Makefile (strop-tests): Add strncat.
23608 * string/test-strncat.c: New file.
23609
23610 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23611
23612 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23613
23614 2011-06-21 Andreas Jaeger <aj@suse.de>
23615
23616 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23617 Copy rule from iconvdata/Makefile.
23618
23619 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23620
23621 [BZ #12922]
23622 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23623 but no long options are defined, just return 'W'.
23624
23625 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23626
23627 [BZ #9696]
23628 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23629
23630 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23631
23632 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23633 netgroups to read.
23634 (innetgr): Likewise.
23635
23636 2011-07-05 Roland McGrath <roland@hack.frob.com>
23637
23638 * config.make.in (install_root): Default to $(DESTDIR).
23639
23640 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23641
23642 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23643
23644 2011-07-02 Roland McGrath <roland@hack.frob.com>
23645
23646 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23647
23648 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23649 containing directory rather than embedding absolute directory names.
23650
23651 * scripts/check-local-headers.sh: Rewritten using awk.
23652 Match by word, not by line. Print error messages for matches.
23653 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23654
23655 * Makerules [shlib-lds-flags empty]:
23656 ($(common-objpfx)libc_pic.opts): New target.
23657 ($(common-objpfx)libc_pic.os.clean): New target.
23658 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23659
23660 * config.make.in (OBJCOPY): New variable.
23661 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23662 * configure: Regenerated.
23663
23664 * config.make.in (use-default-link): New variable.
23665 * configure.in (use_default_link): Grok --with-default-link to set it.
23666 * configure: Regenerated.
23667 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23668 (shlib-lds, shlib-lds-flags): Define to empty.
23669
23670 * Makerules (shlib-lds): New variable.
23671 (shlib-lds-flags): New variable.
23672 (build-shlib, build-moduile, build-module-asneeded): Use it.
23673 ($(common-objpfx)libc.so): Use $(shlib-lds).
23674 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23675 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23676
23677 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23678 DT_FLAGS/DT_FLAGS_1 with zero flags.
23679
23680 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23681 linker script munging.
23682
23683 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23684
23685 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23686 as 128-bit value.
23687 * crypt/sha512.c (sha512_process_block): Perform total addition using
23688 128-bit if possible.
23689 (__sha512_finish_ctx): Likewise.
23690 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23691 as 64-bit value.
23692 * crypt/sha256.c (SWAP64): Define.
23693 (sha256_process_block): Perform total addition using 64-bit if
23694 possible.
23695 (__sha256_finish_ctx): Likewise.
23696
23697 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23698
23699 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23700 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23701 * nscd/hstcache.c (cache_addhst): Likewise.
23702 * nscd/grpcache.c (cache_addgr): Likewise.
23703 * nscd/aicache.c (addhstaiX): Likewise
23704 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23705
23706 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23707
23708 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23710 * nscd/hstcache.c (cache_addhst): Likewise.
23711 * nscd/grpcache.c (cache_addgr): Likewise.
23712 * nscd/aicache.c (addhstaiX): Likewise
23713
23714 2011-07-01 Andreas Schwab <schwab@redhat.com>
23715
23716 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23717 domain only when needed.
23718
23719 2011-06-30 Andreas Schwab <schwab@redhat.com>
23720
23721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23722 is always restored.
23723
23724 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23725
23726 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23727 are re-adding the entry.
23728 * nscd/servicescache.c (cache_addserv): Likewise.
23729
23730 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23731
23732 * sysdeps/generic/dl-irel.h: fix protection against multiple
23733 inclusions.
23734 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23735
23736 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23737
23738 [BZ #12935]
23739 * malloc/memusage.sh: Fix quoting in message.
23740 * debug/xtrace.sh: Likewise.
23741
23742 * configure.in: Remove support for --experimental-malloc option, make
23743 it the default.
23744 * config.make.in: Likewise.
23745 * malloc/Makefile: Likewise.
23746
23747 2011-06-27 Andreas Schwab <schwab@redhat.com>
23748
23749 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23750 two-byte characters.
23751
23752 2011-06-27 Roland McGrath <roland@hack.frob.com>
23753
23754 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23755 AC_CACHE_CHECK invocation.
23756 * configure: Regenerated.
23757
23758 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23759
23760 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23761
23762 [BZ #12350]
23763 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23764 bit from old_res_options.
23765
23766 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23767
23768 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23769 value type for setfct.
23770
23771 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23772
23773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23774 __gettimeofday instead of gettimeofday.
23775
23776 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23777
23778 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23779
23780 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23781
23782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23783
23784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23785 info.
23786
23787 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23788
23789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23790 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23791 strcpy-sse2-unaligned strncpy-sse2-unaligned
23792 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23793 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23794 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23795 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23796 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23797 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23798 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23799 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23800 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23801 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23802 (STRCPY): Support SSE2 and SSSE3 versions.
23803
23804 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23805
23806 [BZ #12874]
23807 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23808 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23809 kernels which artificially limit size of requests.
23810
23811 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23812
23813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23814 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23815 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23816 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23817 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23818 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23819 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23820 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23821 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23823 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23824 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23825 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23826 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23827 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23829 Enable unaligned load optimization for Intel Core i3, i5 and i7
23830 processors.
23831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23832 Define.
23833 (index_Fast_Unaligned_Load): Define.
23834 (HAS_FAST_UNALIGNED_LOAD): Define.
23835
23836 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23837
23838 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23839
23840 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23841
23842 [BZ #12907]
23843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23844 until it is clear that the information is realy needed.
23845 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23846
23847 2011-06-22 Andreas Schwab <schwab@redhat.com>
23848
23849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23850
23851 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23852
23853 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23854 /sys/devices/system/cpu/online if it is usable.
23855
23856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23857 reading the information from the /proc filesystem to once a second.
23858
23859 2011-06-21 Andreas Jaeger <aj@suse.de>
23860
23861 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23862 NULL after inclusion of kernel headers.
23863
23864 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23865
23866 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23867 calls to internal_setent.
23868
23869 [BZ #12885]
23870 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23871 addresses using gethostbyname4_r ignore IPv4 addresses.
23872
23873 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23874 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23875
23876 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23877
23878 2011-06-20 David S. Miller <davem@davemloft.net>
23879
23880 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23881 inclusions.
23882 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23883
23884 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23885 (elf_irel): Use it.
23886 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23887 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23888 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23889 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23890 * sysdeps/x86_64/dl-irel.h: Likewise.
23891
23892 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23893 * elf/dl-sym.c: Likewise.
23894
23895 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23896
23897 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23898 need to dereference resplen2.
23899
23900 2011-06-14 Andreas Schwab <schwab@redhat.com>
23901
23902 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23903
23904 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23905
23906 * Makeconfig: Define vardbdir and inst_vardbdir.
23907 * nss/Makefile: Add rules to install db-Makefile.
23908
23909 * nss/nss_db/db-XXX.c: Cleanup.
23910
23911 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23912 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23913 GLIBC_PRIVATE.
23914 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23915 * nss/makedb.c: Implement -g option to specify that value strings
23916 are generated and should not be added to table iterated over for
23917 get*ent calls.
23918 * nss/nss_db/db-initgroups.c: New file.
23919
23920 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23921 interface.
23922
23923 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23924 (internal_getgrouplist): Adjust to name change.
23925 Update use_initgroups_entry if this is not the first call.
23926 * nss/databases.def: Add initgroups entry.
23927
23928 * nss/makedb.c (compute_tables): Check result of multiple hash table
23929 sizes to minimize maximum chain length.
23930
23931 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23932
23933 * Versions.def: Add entry for libnss_db.
23934 * shlib-versions: Likewise.
23935 * nss/Makefile: Add rules to build libnss_db.
23936 * nss/Versions: Add libnss_db information. Organize libnss_files
23937 entries better.
23938 * nss/db-Makefile: Add gshadow support. Change rules for the new
23939 makedb progra. Some minor improvements to generate smaller files.
23940 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23941 here from...
23942 * nss/makedb.c: ...here.
23943 Improve database format to be smaller and require less memory at
23944 runtime.
23945 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23946 db anymore.
23947 * nss/nss_db/db-netgrp.c: Likewise.
23948 * nss/nss_db/db-open.c: Likewise.
23949 * nss/nss_files/flies-XXX.x: Adjust comments.
23950 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23951 * nss/nss_files/files-grp.c: Likewise.
23952 * nss/nss_files/files-hosts.c: Likewise.
23953 * nss/nss_files/files-network.c: Likewise.
23954 * nss/nss_files/files-proto.c: Likewise.
23955 * nss/nss_files/files-pwd.c: Likewise.
23956 * nss/nss_files/files-rpc.c: Likewise.
23957 * nss/nss_files/files-service.c: Likewise.
23958 * nss/nss_files/files-sgrp.c: Likewise.
23959 * nss/nss_files/files-spwd.c: Likewise.
23960 * nss/nss_db/db-alias.c: Removed.
23961 * nss/nss_db/dummy-db.h: Removed.
23962
23963 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23964
23965 * nss/makedb.c: Rewritten to not use database library.
23966 * nss/Makefile: Update to build new makedb program.
23967
23968 2011-06-14 Andreas Jaeger <aj@suse.de>
23969
23970 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23971 memset declaration.
23972
23973 2011-06-10 Andreas Schwab <schwab@redhat.com>
23974
23975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23976 tmpbuf.
23977
23978 2011-06-10 Roland McGrath <roland@hack.frob.com>
23979
23980 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23981 * elf/Makefile ($(objpfx)ld.so): Likewise.
23982
23983 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23984 Don't list ld.so twice in dependencies.
23985
23986 * posix/bug-regex31.c: Include <stdlib.h>.
23987
23988 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23989
23990 * nis/nss_compat/compat-spwd.c
23991 (getspent_next_nss_netgr): Remove unused variable.
23992 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23993
23994 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23995 nonmembers" output to use the right array.
23996
23997 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23998
23999 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24000
24001 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24002 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24003 * catgets/gencat.c (read_input_file): Likewise.
24004 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24005
24006 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24007 variable definition inside #if's controlling its use.
24008
24009 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24010
24011 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24012
24013 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24014
24015 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24016 unreachable code.
24017
24018 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24019
24020 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24021 * configure: Regenerated.
24022
24023 * Makerules: Revert last change.
24024 * elf/Makefile: Likewise.
24025
24026 2011-06-09 Roland McGrath <roland@hack.frob.com>
24027
24028 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24029 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24030 (reloc-link): Likewise.
24031
24032 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24033
24034 * elf/Makefile: Add rules to build pldd.
24035 * elf/pldd.c: New file.
24036 * elf/pldd-xx.c: New file.
24037
24038 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24039
24040 * version.h: Update for 2.15 development version.
24041
24042 2011-06-07 David S. Miller <davem@davemloft.net>
24043
24044 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24045 ifuncs.
24046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24047 elf_machine_lazy_rel): Likewise.
24048 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24050 elf_machine_lazy_rel): Likewise.
24051 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24052 dl_hwcap via passed in argument.
24053 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24054 Likewise.
24055
24056 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24057
24058 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24059
24060 2011-06-06 Roland McGrath <roland@hack.frob.com>
24061
24062 [BZ #12849]
24063 * manual/fdl-1.1.texi: New file, verbatim from:
24064 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24065 * manual/lgpl-2.1.texi: New file, verbatim from:
24066 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24067 * manual/Makefile (licenses): New variable, list those new file names.
24068 (texis): Use it.
24069 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24070
24071 * manual/fdl.texi: File removed.
24072 * manual/lesser.texi: File removed.
24073 * manual/libc.texinfo (Copying, Documentation License):
24074 Use new @include file names, put @appendix directive before @include.
24075
24076 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24077
24078 [BZ #12841]
24079 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24080 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24081 (mq_open): Add __NTH.
24082
24083 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24084
24085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24086 Assume Intel Core i3/i5/i7 processor if AVX is available.
24087
24088 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24089
24090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24091 typo.
24092
24093 2011-05-31 Andreas Schwab <schwab@redhat.com>
24094
24095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24096 memory. Use alloca_account. Fix memory leak when retrying.
24097
24098 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24099
24100 * version.h (RELEASE): Bump for 2.14 release.
24101 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24102
24103 * config.make.in (RANLIB): Remove entry.
24104
24105 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24106
24107 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24108 (libc.pot): Work around missing support for .ksh extension in xgettext.
24109
24110 [BZ #12684]
24111 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24112 if both request failed.
24113 (send_dg): In case of server errors clear resplen or *resplen2.
24114
24115 [BZ #12454]
24116 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24117 when there are multiple maps.
24118 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24119 (_dl_fini): Remove test here.
24120
24121 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24122
24123 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24124
24125 [BZ #12350]
24126 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24127 bit from old_res_options.
24128 (gaih_inet): Likewise.
24129
24130 [BZ #11099]
24131 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24132 as signed.
24133
24134 * resolv/res_init.c (res_setoptions): Make the code more compact.
24135
24136 [BZ #11558]
24137 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24138 set RES_USEVC.
24139
24140 [BZ #11634]
24141 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24142
24143 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24144
24145 [BZ #11781]
24146 * malloc/malloc.h: Declare malloc hook variables as volatile.
24147
24148 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24149 in last patch.
24150
24151 [BZ #11799]
24152 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24153 raise in the comment.
24154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24156 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24157
24158 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24159
24160 [BZ #12811]
24161 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24162 grow the buffers more if it already has to be sufficient.
24163 (build_wcs_upper_buffer): Likewise.
24164 * posix/regexec.c (check_matching): Likewise.
24165 (clean_state_log_if_needed): Likewise.
24166 (extend_buffers): Don't enlarge buffers beyond size of the input
24167 buffer.
24168 Patches mostly by Emil Wojak <emil@wojak.eu>.
24169 * posix/bug-regex32.c: New file.
24170 * posix/Makefile (tests): Add bug-regex32.
24171
24172 * locale/findlocale.c (_nl_find_locale): Return right away if
24173 _nl_explode_name failed.
24174 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24175
24176 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24177
24178 * debug/xtrace.sh: Unify messages.
24179 * malloc/memusage.sh: Likewise.
24180
24181 [BZ #12813]
24182 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24183 time symbol from vDSO. Substitute with vsyscall if not available.
24184 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24185 __vdso_time.
24186
24187 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24188 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24189 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24190 Add sendmmsg and internal_sendmmsg.
24191 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24192 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24193 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24194
24195 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24196 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24197 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24198
24199 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24200
24201 [BZ #12813]
24202 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24203 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24204 available.
24205 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24206 __vdso_getcpu.
24207
24208 [BZ #12814]
24209 * iconvdata/Makefile (tests): Add bug-iconv9.
24210 * iconvdata/bug-iconv9.c: New file.
24211
24212 2011-05-27 Andreas Schwab <schwab@redhat.com>
24213
24214 [BZ #12814]
24215 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24216
24217 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24218
24219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24220 (struct user_regs_struct): Change intcs field back to cs.
24221
24222 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24223
24224 * po/ja.po: Update from translation team.
24225
24226 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24227
24228 [BZ #12795]
24229 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24230 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24231
24232 2011-05-20 Andreas Schwab <schwab@redhat.com>
24233
24234 * stdlib/longlong.h: Update from GCC.
24235
24236 2011-05-23 Andreas Schwab <schwab@redhat.com>
24237
24238 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24239 parameter name.
24240 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24241 Add parameter name.
24242 (__sysconf): Pass it down.
24243
24244 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24245
24246 [BZ #12671]
24247 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24248 some situations.
24249 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24250 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24251 add in in __libc_use_alloca calls. Adjust callers.
24252 (glob): Use malloc in some situations.
24253
24254 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24255 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24256 pltexit.
24257
24258 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24259
24260 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24261 and CLOCK_BOOTTIME_ALARM.
24262
24263 [BZ #12782]
24264 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24265 is returned.
24266
24267 * string/_strerror.c (__strerror_r): Print negative errors as signed
24268 numbers.
24269
24270 [BZ #12777]
24271 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24272 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24273 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24274
24275 * configure.in: Fix typo in redirection and correct removal of test
24276 files in two cases.
24277
24278 [BZ #12788]
24279 * locale/setlocale.c (new_composite_name): Fix test to check for
24280 identical name of all categories.
24281
24282 [BZ #12792]
24283 * libio/filedoalloc.c (local_isatty): New function.
24284 (_IO_file_doallocate): Use local_isatty.
24285 * stdio-common/perror.c (perror): In case a new stream is used
24286 forward the stream error.
24287 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24288 error flag.
24289
24290 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24291
24292 [BZ #11869]
24293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24294 alloca.
24295 * include/alloca.h (extend_alloca_account): Define.
24296
24297 [BZ #11857]
24298 * posix/regex.h: Fix comments with documentation of user-accessible
24299 fields after compilation and describe correct free'ing of pattern
24300 after re_compile_pattern.
24301 Patch by Reuben Thomas <rrt@sc3d.org>.
24302
24303 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24304
24305 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24306 and -mno-altivec to prevent the compiler from using Altivec and/or
24307 VSX instructions when the corresponding registers are not available.
24308
24309 2011-05-19 Andreas Schwab <schwab@redhat.com>
24310
24311 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24312
24313 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24314
24315 * libio/freopen.c (freopen): Use __dup2, not dup2.
24316 * libio/freopen64.c (freopen64): Likewise.
24317
24318 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24319
24320 [BZ #12775]
24321 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24322 * math/Makefile (tests): Add test-powl.
24323 (CFLAGS-test-powl.c): Define.
24324 * math/test-powl.c: New file.
24325
24326 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24327
24328 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24329
24330 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24331
24332 [BZ #11837]
24333 * iconvdata/gb18030.c: Update to GB18020-2005.
24334
24335 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24336
24337 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24338 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24339 Patch by Aharon Robbins <arnold@skeeve.com>.
24340
24341 [BZ #11892]
24342 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24343 on the stack.
24344
24345 [BZ #11895]
24346 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24347 through underflows.
24348
24349 [BZ #12766]
24350 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24351 point to strings before performing equality test for error_one_per_line
24352 mode.
24353
24354 [BZ #11697]
24355 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24356
24357 [BZ #11820]
24358 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24359 (struct user_fpregs_struct): Avoid __uint*_t types.
24360
24361 [BZ #6420]
24362 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24363 symbol info. Use it instead of calling _dl_addr locally.
24364 (lock_and_info): New function.
24365 (tr_freehook): Call lock_and_info and pass symbol info as additional
24366 parameter to tr_where.
24367 (tr_mallochook): Likewise.
24368 (tr_reallochook): Likewise.
24369 (tr_memalignhook): Likewise.
24370
24371 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24372 used and couldn't be at all thread-safe.
24373
24374 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24375
24376 * libio/freopen.c (freopen): Don't close old file descriptor
24377 before the new one is opened. Instead dup the new file descriptor
24378 to the old one after the new stream is created.
24379 * libio/freopen64.c (freopen64): Likewise.
24380 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24381 * libio/fileops.c (_IO_new_file_close_it): Handle new
24382 _IO_FLAGS2_NOCLOSE flag.
24383 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24384 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24385 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24386 _IO_FLAGS2_NOCLOSE flag.
24387 * include/unistd.h: Add hidden_proto for dup3.
24388 Define __have_dup3.
24389 * io/dup3.c: Define hidden symbol.
24390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24391
24392 [BZ #7101]
24393 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24394 when an incomplete long option is used.
24395 * posix/tst-getopt_long1.c: New file.
24396 * posix/Makefile (tests): Add tst-getopt_long1.
24397
24398 [BZ #10138]
24399 * scripts/config.guess: Update from autoconf-2.68.
24400 * scripts/config.sub: Likewise.
24401
24402 [BZ #10157]
24403 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24404 tests into ...
24405 (has_cpuclock): ...this. New function.
24406 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24407 macro here based on has_cpuclock code.
24408
24409 [BZ #10149]
24410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24411 First byte (not low byte) is now always NUL.
24412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24413
24414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24415 Use non-cancelable interfaces.
24416
24417 [BZ #9809]
24418 * locale/iso-639.def: Add entry for Sorani.
24419
24420 [BZ #11901]
24421 * include/stdlib.h: Move include protection to the right place.
24422 Define abort_msg_s. Declare __abort_msg with it.
24423 * stdlib/abort.c (__abort_msg): Adjust type.
24424 * assert/assert.c (__assert_fail_base): New function. Majority
24425 of code from __assert_fail. Allocate memory for __abort_msg with
24426 mmap.
24427 (__assert_fail): Now call __assert_fail_base.
24428 * assert/assert-perr.c: Remove bulk of implementation. Use
24429 __assert_fail_base.
24430 * include/assert.hL Declare __assert_fail_base.
24431 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24432 mmap.
24433 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24434
24435 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24436
24437 [BZ #11952]
24438 [BZ #12453]
24439 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24440 until all modules are registered in the DTV.
24441 * elf/Makefile: Add rules to build and run tst-tls19.
24442 * elf/tst-tls19.c: New file.
24443 * elf/tst-tls19mod1.c: New file.
24444 * elf/tst-tls19mod2.c: New file.
24445 * elf/tst-tls19mod3.c: New file.
24446 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24447
24448 [BZ #12083]
24449 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24450 correctly.
24451
24452 [BZ #12601]
24453 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24454 two-byte sequence errors.
24455 * iconvdata/Makefile (tests): Add bug-iconv8.
24456 * iconvdata/bug-iconv8.c: New file.
24457
24458 [BZ #12626]
24459 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24460 buf2 definition.
24461
24462 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24463
24464 [BZ #12432]
24465 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24466 (dummy_getcfa): New function.
24467 (init): Get _Unwind_GetCFA address, use dummy if not found.
24468 (backtrace_helper): In recursion check, also check whether CFA changes.
24469 (__backtrace): Completely initialize arg.
24470
24471 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24472 storing incomplete byte sequence in state object. Avoid testing for
24473 guaranteed too small input if we know there is enough data available.
24474
24475 2011-05-11 Andreas Schwab <schwab@redhat.com>
24476
24477 * Makeconfig (+link-pie): Indent.
24478 * Rules (binaries-pie): Define if $(have-fpie) and
24479 $(build-shared).
24480 (binaries-shared): Also filter out $(binaries-pie).
24481 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24482 * nscd/Makefile (others-pie): Add nscd.
24483 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24484 ($(objpfx)nscd): Remove command override.
24485 * login/Makefile (others-pie): Add pt_chown.
24486 ($(objpfx)pt_chown): Remove command override.
24487 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24488 remove command overrides.
24489
24490 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24491
24492 * libio/tst_putwc.c: Fix error messages.
24493
24494 [BZ #12724]
24495 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24496 currently writing and seek to current position when not.
24497 * libio/Makefile (tests): Add bug-fclose1.
24498 * libio/bug-fclose1.c: New file.
24499
24500 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24501
24502 [BZ #12511]
24503 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24504 don't set DF_1_NODELETE here.
24505 (do_lookup_x): When entering new entry test for copy relocation
24506 and if necessary set DF_1_NODELETE flag.
24507 * elf/tst-unique4.cc: New file.
24508 * elf/tst-unique4.h: New file.
24509 * elf/tst-unique4lib.cc: New file.
24510 * elf/Makefile: Add rules to build and run tst-unique4.
24511 Patch by Piotr Bury <pbury@goahead.com>.
24512
24513 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24514
24515 [BZ #12052]
24516 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24517
24518 [BZ #12625]
24519 * misc/mntent_r.c (addmntent): Flush the stream after the output
24520
24521 [BZ #12393]
24522 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24523 (is_trusted_path_normalize): Skip initial colon. Append slash
24524 to empty buffer. Duplicate is_trusted_path code but allow
24525 constructed patch to be prefix.
24526 (is_dst): Allow $ORIGIN followed by /.
24527 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24528 Correct testing of result of is_trusted_path_normalize
24529 (decompose_rpath): Fix warning.
24530
24531 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24532
24533 [BZ #11257]
24534 * grp/initgroups.c (internal_getgrouplist): When we found the service
24535 list through the initgroups entry in nsswitch.conf do not always
24536 continue on a successful lookup. Don't always use the
24537 __nss_group_database value if it is set.
24538 * nss/nsswitch.conf (initgroups): Change action for successful db
24539 lookup to continue for compatibility.
24540
24541 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24542
24543 [BZ #11532]
24544 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24545 and CP774 modules.
24546 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24547 and CP774 modules.
24548 * iconvdata/tst-tables.sh: Likewise.
24549 * iconvdata/cp770.c: New file.
24550 * iconvdata/cp771.c: New file.
24551 * iconvdata/cp772.c: New file.
24552 * iconvdata/cp773.c: New file.
24553 * iconvdata/cp774.c: New file.
24554 * iconvdata/testdata/CP770: New file.
24555 * iconvdata/testdata/CP770..UTF8: New file.
24556 * iconvdata/testdata/CP771: New file.
24557 * iconvdata/testdata/CP771..UTF8: New file.
24558 * iconvdata/testdata/CP772: New file.
24559 * iconvdata/testdata/CP772..UTF8: New file.
24560 * iconvdata/testdata/CP773: New file.
24561 * iconvdata/testdata/CP773..UTF8: New file.
24562 * iconvdata/testdata/CP774: New file.
24563 * iconvdata/testdata/CP774..UTF8: New file.
24564
24565 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24566 END CHARMAP line.
24567 * iconvdata/gen-8bit-gap.sh: Likewise.
24568 * iconvdata/gen-8bit.sh: Likewise.
24569
24570 * locale/iso-639.def: Add ary entry.
24571
24572 [BZ #11258]
24573 * locale/C-translit.h.in: Add U20A1 transliteration.
24574
24575 [BZ #12178]
24576 * locale/iso-639.def: Add wae entry.
24577 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24578
24579 [BZ #12545]
24580 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24581 for n.
24582
24583 [BZ #12711]
24584 * locale/C-translit.h.in: Add entry for U20B9.
24585 Patch by pravin.d.s@gmail.com.
24586
24587 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24588
24589 [BZ #12713]
24590 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24591 ENAMETOOLONG use generic getcwd.
24592 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24593 in rtld. Use *stat64.
24594 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24595 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24596 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24597 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24598 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24599 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24600 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24601 __fstatat64 macros.
24602 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24603 * dirent/rewinddir.c: Add libc_hidden_def.
24604 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24605 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24606
24607 * include/dirent.h (__alloc_dir): Add flags parameter.
24608 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24609 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24610 __alloc_dir.
24611 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24612 from fdopendir if O_CLOEXEC is already set.
24613
24614 2011-03-15 Alan Modra <amodra@gmail.com>
24615
24616 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24617 l_tls_firstbyte_offset non-zero. Save padding offset in
24618 l_tls_firstbyte_offset for later use.
24619 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24620 freeing static tls block.
24621
24622 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24623
24624 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24625 where #ifdef was intended. The intent is to prevent ARG_MAX from
24626 being defined by the kernel headers.
24627
24628 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24629
24630 [BZ #12734]
24631 * resolv/resolv.h: Define RES_NOTLDQUERY.
24632 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24633 no-tld-query and set RES_NOTLDQUERY.
24634 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24635 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24636 modern BIND to search name as TLD unless forbidden.
24637
24638 2011-05-07 Petr Baudis <pasky@suse.cz>
24639 Ulrich Drepper <drepper@gmail.com>
24640
24641 [BZ #12393]
24642 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24643 (is_trusted_path): ...to here.
24644 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24645 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24646 using is_trusted_path_normalize() in setuid scripts.
24647
24648 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24649
24650 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24651 __BEGIN/__END_DECLS.
24652
24653 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24654
24655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24656 NSS_STATUS_NOTFOUND if no record was found.
24657
24658 2011-05-05 Andreas Schwab <schwab@redhat.com>
24659
24660 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24661 (headers-not-in-tirpc): Remove rpc/netdb.h
24662 * resolv/netdb.h: Revert last change.
24663
24664 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24665
24666 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24667 circular dependency between libgcc.a and libc.a.
24668
24669 2011-05-05 Andreas Schwab <schwab@redhat.com>
24670
24671 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24672 * nis/Makefile: Don't install rpcsvc/*.
24673 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24674 instead of <rpc/types.h>.
24675 (MAXHOSTNAMELEN): Define.
24676
24677 2011-05-03 Andreas Schwab <schwab@redhat.com>
24678
24679 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24680
24681 2011-04-28 Maciej Babinski <mbabinski@google.com>
24682
24683 [BZ #12714]
24684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24685 gethostbyname4_r when IPv6 results are possible.
24686
24687 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24688
24689 [BZ #12723]
24690 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24691 _PC_PIPE_BUF handling.
24692
24693 2011-04-30 Bruno Haible <bruno@clisp.org>
24694
24695 [BZ #12717]
24696 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24697 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24698 to 'int'.
24699 * inet/getnameinfo.c (getnameinfo): Likewise.
24700
24701 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24702
24703 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24704 to groups setting in database lookup.
24705 * nss/nsswitch.conf: Add initgroups entry.
24706
24707 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24708
24709 [BZ #12685]
24710 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24711 mode string.
24712 Patch by Eric Blake <eblake@redhat.com>.
24713
24714 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24715
24716 * sunrpc/Makefile (need-export-routines): Add svc_run.
24717 (routines): Remove svc_run.
24718 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24719 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24720 * sunrpc/svc_run.c (svc_run): Likewise.
24721 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24722
24723 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24724
24725 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24726 problem in reallocation in last patch.
24727
24728 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24729
24730 * sunrpc/Makefile: Move inclusion of Rules.
24731
24732 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24733
24734 * nss/nss_files/files-initgroups.c: New file.
24735 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24736 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24737 _nss_files_initgroups_dyn.
24738
24739 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24740
24741 * elf/elf.h (R_ARM_IRELATIVE): Define.
24742
24743 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24744
24745 * po/ru.po: Update from translation team.
24746
24747 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24748
24749 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24750 dependencies.
24751
24752 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24753
24754 [BZ #12653]
24755 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24756 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24757 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24759 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24760
24761 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24762
24763 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24764 differing bytes.
24765 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24766 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24767 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24768
24769 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24770
24771 [BZ #12420]
24772 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24773 storing it.
24774 * stdlib/bug-getcontext.c: New file.
24775 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24776
24777 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24778
24779 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24780 instructions into .machine "z9-109".
24781 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24782 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24783
24784 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24785
24786 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24787 between environment variables and auxiliary vector.
24788
24789 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24790
24791 * Makefile: Add rules to build linkobj/libc.so.
24792 * include/libc-symbols.h: Define libc_hidden_nolink.
24793 * include/rpc/auth.h: Mark functions which are to be hidden.
24794 * include/rpc/auth_des.h: Likewise.
24795 * include/rpc/auth_unix.h: Likewise.
24796 * include/rpc/clnt.h: Likewise.
24797 * include/rpc/des_crypt.h: Likewise.
24798 * include/rpc/key_prot.h: Likewise.
24799 * include/rpc/pmap_clnt.h: Likewise.
24800 * include/rpc/pmap_prot.h: Likewise.
24801 * include/rpc/pmap_rmt.h: Likewise.
24802 * include/rpc/rpc_msg.h: Likewise.
24803 * include/rpc/svc.h: Likewise.
24804 * include/rpc/svc_auth.h: Likewise.
24805 * include/rpc/xdr.h: Likewise.
24806 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24807 * nss/Makefile: Likewise.
24808 * sunrpc/Makefile: Don't install headers. Build library with normal
24809 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24810 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24811 for the compat linking library. Remove use of INTDEF/INTUSE.
24812 * sunrpc/auth_none.c: Likewise.
24813 * sunrpc/auth_unix.c: Likewise.
24814 * sunrpc/authdes_prot.c: Likewise.
24815 * sunrpc/authuxprot.c: Likewise.
24816 * sunrpc/clnt_gen.c: Likewise.
24817 * sunrpc/clnt_perr.c: Likewise.
24818 * sunrpc/clnt_raw.c: Likewise.
24819 * sunrpc/clnt_simp.c: Likewise.
24820 * sunrpc/clnt_tcp.c: Likewise.
24821 * sunrpc/clnt_udp.c: Likewise.
24822 * sunrpc/clnt_unix.c: Likewise.
24823 * sunrpc/des_crypt.c: Likewise.
24824 * sunrpc/des_soft.c: Likewise.
24825 * sunrpc/get_myaddr.c: Likewise.
24826 * sunrpc/key_call.c: Likewise.
24827 * sunrpc/key_prot.c: Likewise.
24828 * sunrpc/netname.c: Likewise.
24829 * sunrpc/pm_getmaps.c: Likewise.
24830 * sunrpc/pm_getport.c: Likewise.
24831 * sunrpc/pmap_clnt.c: Likewise.
24832 * sunrpc/pmap_prot.c: Likewise.
24833 * sunrpc/pmap_prot2.c: Likewise.
24834 * sunrpc/pmap_rmt.c: Likewise.
24835 * sunrpc/publickey.c: Likewise.
24836 * sunrpc/rpc_cmsg.c: Likewise.
24837 * sunrpc/rpc_common.c: Likewise.
24838 * sunrpc/rpc_dtable.c: Likewise.
24839 * sunrpc/rpc_prot.c: Likewise.
24840 * sunrpc/rpc_thread.c: Likewise.
24841 * sunrpc/rtime.c: Likewise.
24842 * sunrpc/svc.c: Likewise.
24843 * sunrpc/svc_auth.c: Likewise.
24844 * sunrpc/svc_authux.c: Likewise.
24845 * sunrpc/svc_raw.c: Likewise.
24846 * sunrpc/svc_run.c: Likewise.
24847 * sunrpc/svc_simple.c: Likewise.
24848 * sunrpc/svc_tcp.c: Likewise.
24849 * sunrpc/svc_udp.c: Likewise.
24850 * sunrpc/svc_unix.c: Likewise.
24851 * sunrpc/svcauth_des.c: Likewise.
24852 * sunrpc/xcrypt.c: Likewise.
24853 * sunrpc/xdr.c: Likewise.
24854 * sunrpc/xdr_array.c: Likewise.
24855 * sunrpc/xdr_float.c: Likewise.
24856 * sunrpc/xdr_intXX_t.c: Likewise.
24857 * sunrpc/xdr_mem.c: Likewise.
24858 * sunrpc/xdr_rec.c: Likewise.
24859 * sunrpc/xdr_ref.c: Likewise.
24860 * sunrpc/xdr_sizeof.c: Likewise.
24861 * sunrpc/xdr_stdio.c: Likewise.
24862
24863 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24864
24865 [BZ #12650]
24866 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24867 * sysdeps/ia64/dl-tls.h: Likewise.
24868 * sysdeps/powerpc/dl-tls.h: Likewise.
24869 * sysdeps/s390/dl-tls.h: Likewise.
24870 * sysdeps/sh/dl-tls.h: Likewise.
24871 * sysdeps/sparc/dl-tls.h: Likewise.
24872 * sysdeps/x86_64/dl-tls.h: Likewise.
24873 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24874
24875 2011-03-14 Andreas Schwab <schwab@redhat.com>
24876
24877 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24878 rpath element also skip the following colon.
24879 (expand_dynamic_string_token): Add is_path parameter and pass
24880 down to DL_DST_REQUIRED and _dl_dst_substitute.
24881 (decompose_rpath): Call expand_dynamic_string_token with
24882 non-zero is_path. Ignore empty rpaths.
24883 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24884 with zero is_path.
24885
24886 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24887
24888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24889 Make cancelable.
24890
24891 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24892
24893 [BZ #12655]
24894 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24895 Patch by Filipe David Manana <fdmanana@apache.org>.
24896
24897 2011-04-07 Andreas Schwab <schwab@redhat.com>
24898
24899 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24900 Maintain aligned stack.
24901 (CHECK_RSP): Remove unused macro.
24902
24903 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24904
24905 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24906 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24907
24908 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24909
24910 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24911
24912 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24913
24914 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24915
24916 [BZ #12518]
24917 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24918 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24919 * sysdeps/x86_64/memmove.c: New file.
24920 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24921 (memcpy): Renamed to ...
24922 (__new_memcpy): This.
24923 (memcpy): Provide GLIBC_2_14 memcpy.
24924 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24925 (memcpy): Provide GLIBC_2_2_5 memcpy.
24926
24927 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24928
24929 [BZ #12631]
24930 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24931
24932 2011-03-30 Andreas Schwab <schwab@redhat.com>
24933
24934 * misc/syncfs.c: New file.
24935 * misc/Makefile (routines): Add syncfs.
24936 * posix/unistd.h: Declare syncfs.
24937 * sysdeps/unix/syscalls.list: Add syncfs.
24938
24939 2011-04-01 Andreas Schwab <schwab@redhat.com>
24940
24941 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24942 open_by_handle_at.
24943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24948 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24949 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24950
24951 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24952
24953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24954 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24955 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24957 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24960
24961 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24962 sync_file_range.c with -fexceptions.
24963 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24964 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24965 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24966 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24967 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24968 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24970 sync_file_range as cancellation point
24971 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24972 now a wrapper around __call_sync_file_range with cancellation handling.
24973 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24974 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24975 function name to __call_sync_file_range.
24976 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24977 Add call_sync_file_range.
24978
24979 2011-04-01 Andreas Schwab <schwab@redhat.com>
24980
24981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24982 bits/timex.h.
24983
24984 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24985
24986 * iconv/iconv.h: Fix typo in comment.
24987 * io/fcntl.h: Likewise.
24988 * libio/stdio.h: Likewise.
24989 * posix/spawn.h: Likewise.
24990 * posix/unistd.h: Likewise.
24991 * stdlib/stdlib.h: Likewise.
24992 * time/time.h: Likewise.
24993 * wcsmbs/wchar.h: Likewise.
24994
24995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24996 open_by_handle): Add.
24997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24998 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24999 Augment a few comments.
25000 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25002 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25004 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25005 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25006 open_by_handle.
25007
25008 * io/fcntl.h (AT_EMPTY_PATH): Define.
25009
25010 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25011
25012 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25013 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25014 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25015 to...
25016 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25017 * Versions.def: Add GLIBC_2.14.
25018 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25019 Export.
25020
25021 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25022
25023 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25024 round counter.
25025 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25026
25027 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25028
25029 [BZ #12597]
25030 * string/test-strncmp.c (do_page_test): New function.
25031 (check2): Likewise.
25032 (test_main): Call check2.
25033 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25034
25035 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25036
25037 [BZ #12587]
25038 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25039 Handle cache information in CPU leaf 4.
25040 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25041
25042 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25043
25044 [BZ #12583]
25045 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25046 character representation.
25047 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25048
25049 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25050
25051 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25052 END(__isnan) to END(__isnanf) to match function entry point/label
25053 EALIGN(__isnanf,...).
25054
25055 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25056
25057 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25058
25059 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25060
25061 [BZ #12510]
25062 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25063 copy from the symbol referenced in the relocation to initialize the
25064 used variable.
25065 Patch by Piotr Bury <pbury@goahead.com>.
25066 * elf/Makefile: Add rules to build and tst-unique3.
25067 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25068 * elf/tst-unique3.cc: New file.
25069 * elf/tst-unique3.h: New file.
25070 * elf/tst-unique3lib.cc: New file.
25071 * elf/tst-unique3lib2.cc: New file.
25072
25073 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25074
25075 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25076
25077 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25078 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25079 to _start.
25080
25081 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25082
25083 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25084 to-be-loaded object along a path to loader is ld.so.
25085
25086 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25087 Ulrich Drepper <drepper@gmail.com>
25088
25089 * sysdeps/x86_64/memset.S: After aligning destination, code
25090 branches to different locations depending on the value of
25091 misalignment, when multiarch is enabled. Fix this.
25092
25093 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25094
25095 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25096 Set _x86_64_preferred_memory_instruction for AMD processsors.
25097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25098 Set bit_Prefer_SSE_for_memop for AMD processors.
25099
25100 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25101
25102 * libio/fmemopen.c (fmemopen): Optimize a bit.
25103
25104 2011-03-03 Andreas Schwab <schwab@redhat.com>
25105
25106 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25107
25108 2011-03-03 Roland McGrath <roland@redhat.com>
25109
25110 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25111
25112 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25113
25114 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25115 __bzero_ultra1 instead of __memset_ultra1.
25116
25117 2011-02-23 Andreas Schwab <schwab@redhat.com>
25118 Ulrich Drepper <drepper@gmail.com>
25119
25120 [BZ #12509]
25121 * include/link.h (struct link_map): Add l_orig_initfini.
25122 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25123 returning unsuccessfully.
25124 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25125 close of a file loaded at startup, restore the original l_initfini
25126 list.
25127 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25128 list, store the pointer.
25129 * elf/Makefile ($(objpfx)noload-mem): New rule.
25130 (noload-ENV): Define.
25131 (tests): Add $(objpfx)noload-mem.
25132 * elf/noload.c: Include <memcheck.h>.
25133 (main): Call mtrace. Close all opened handles.
25134
25135 2011-02-17 Andreas Schwab <schwab@redhat.com>
25136
25137 [BZ #12454]
25138 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25139 dependencies are missing.
25140
25141 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25142
25143 Fix __if_freereq crash: Unlike the generic version which uses free,
25144 Hurd needs munmap.
25145 * sysdeps/mach/hurd/ifreq.h: New file.
25146
25147 2011-01-27 Petr Baudis <pasky@suse.cz>
25148 Ulrich Drepper <drepper@gmail.com>
25149
25150 [BZ 12445]#
25151 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25152 to extend_alloca().
25153 * stdio-common/bug23.c: New file.
25154 * stdio-common/Makefile (tests): Add bug23.
25155
25156 2010-09-28 Andreas Schwab <schwab@redhat.com>
25157 Ulrich Drepper <drepper@gmail.com>
25158
25159 [BZ #12489]
25160 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25161 before performing relro protection. At old place add assertion
25162 to make sure nothing changed.
25163
25164 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25165 Glauber de Oliveira Costa <glommer@gmail.com>
25166
25167 * elf/elf.h: Add new ARM TLS relocs.
25168
25169 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25170
25171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25172 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25173 cast from r3.
25174 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25175 'tests' variable.
25176 * sysdeps/wordsize-64/tst-writev.c: New file.
25177
25178 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25179
25180 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25181 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25182 insns in _dl_start to prevent a TOC reference before relocs are
25183 resolved.
25184
25185 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25186
25187 [BZ #12469]
25188 * Makeconfig: Remove RANLIB definition.
25189 * Makerules: Don't use RANLIB.
25190 * aclocal.m4: Remove ranlib test.
25191 * configure.in: No need to check for ranlib.
25192 * elf/rtld-Rules: Don't use RANLIB.
25193
25194 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25195
25196 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25197 protection macro.
25198 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25199 inclusion protection macro.
25200
25201 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25202 SIGRTMIN and SIGRTMAX and print information in that case only when
25203 SIGRTMIN is defined.
25204
25205 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25206
25207 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25208 arginfo fn returning -1.
25209
25210 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25211 and thousands string is zero terminated.
25212
25213 2011-02-03 Andreas Schwab <schwab@redhat.com>
25214
25215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25216 sysdeps/unix/sysv/linux/bits/socket.h.
25217
25218 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25219
25220 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25221 (__CPU_COUNT): Remove old macros.
25222 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25223 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25224 (__CPU_ALLOC, __CPU_FREE): Add macros.
25225 (__sched_cpualloc, __sched_cpufree): Add declarations.
25226
25227 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25228
25229 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25230 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25231 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25232 (readdhstai): Return value of addhstaiX call.
25233 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25234 (addgrbyX): Return value returned by cache_addgr.
25235 (readdgrbyname): Return value returned by addgrbyX.
25236 (readdgrbygid): Likewise.
25237 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25238 (addpwbyX): Return value returned by cache_addpw.
25239 (readdpwbyname): Return value returned by addhstbyX.
25240 (readdpwbyuid): Likewise.
25241 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25242 (addservbyX): Return value returned by cache_addserv.
25243 (readdservbyname): Return value returned by addservbyX:
25244 (readdservbyport): Likewise.
25245 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25246 (addhstbyX): Return value returned by cache_addhst.
25247 (readdhstbyname): Return value returned by addhstbyX.
25248 (readdhstbyaddr): Likewise.
25249 (readdhstbynamev6): Likewise.
25250 (readdhstbyaddrv6): Likewise.
25251 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25252 (readdinitgroups): Return value returned by addinitgroupsX.
25253 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25254 (prune_cache): Keep track of timeout value of re-added entries.
25255 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25256 * nscd/nscd.h: Adjust prototypes of readd* functions.
25257
25258 2011-02-04 Roland McGrath <roland@redhat.com>
25259
25260 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25261 (nis_stats): Likewise.
25262 * nis/nis_modify.c (nis_modify): Likewise.
25263 * nis/nis_remove.c (nis_remove): Likewise.
25264 * nis/nis_add.c (nis_add): Likewise.
25265
25266 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25267
25268 * posix/fnmatch_loop.c: Add some consts.
25269
25270 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25271
25272 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25273
25274 [BZ #12460]
25275 * config.make.in (config-cflags-novzeroupper): Define.
25276 * configure.in: Substitute libc_cv_cc_novzeroupper.
25277 * elf/Makefile (AVX-CFLAGS): Define.
25278 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25279 (CFLAGS-tst-auditmod4a.c): Likewise.
25280 (CFLAGS-tst-auditmod4b.c): Likewise.
25281 (CFLAGS-tst-auditmod6b.c): Likewise.
25282 (CFLAGS-tst-auditmod6c.c): Likewise.
25283 (CFLAGS-tst-auditmod7b.c): Likewise.
25284 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25285
25286 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25287
25288 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25289 function to the callback.
25290 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25291
25292 2011-02-02 Andreas Schwab <schwab@redhat.com>
25293
25294 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25295 of errno.
25296
25297 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25298
25299 [BZ #11724]
25300 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25301 of constructors.
25302 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25303 of destructors.
25304 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25305
25306 [BZ #11724]
25307 * elf/Makefile: Add rules to build and run new test.
25308 * elf/tst-initorder.c: New file.
25309 * elf/tst-initorder.exp: New file.
25310 * elf/tst-initordera1.c: New file.
25311 * elf/tst-initordera2.c: New file.
25312 * elf/tst-initordera3.c: New file.
25313 * elf/tst-initordera4.c: New file.
25314 * elf/tst-initorderb1.c: New file.
25315 * elf/tst-initorderb2.c: New file.
25316 * elf/tst-order-a1.c: New file.
25317 * elf/tst-order-a2.c: New file.
25318 * elf/tst-order-a3.c: New file.
25319 * elf/tst-order-a4.c: New file.
25320 * elf/tst-order-b1.c: New file.
25321 * elf/tst-order-b2.c: New file.
25322 * elf/tst-order-main.c: New file.
25323 New test case by George Gensure <werkt0@gmail.com>.
25324
25325 2010-10-01 Andreas Schwab <schwab@redhat.com>
25326
25327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25328 decoding ACE if AI_CANONIDN.
25329
25330 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25331
25332 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25333
25334 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25335
25336 * version.h (RELEASE): Bump for 2.13 release.
25337 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25338
25339 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25340
25341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25342 MADV_NOHUGEPAGE.
25343 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25344 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25345 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25346 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25347 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25348 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25349
25350 * posix/getconf.c: Update copyright year.
25351 * catgets/gencat.c: Likewise.
25352 * csu/version.c: Likewise.
25353 * debug/catchsegv.sh: Likewise.
25354 * debug/xtrace.sh: Likewise.
25355 * elf/ldconfig.c: Likewise.
25356 * elf/ldd.bash.in: Likewise.
25357 * elf/sprof.c (print_version): Likewise.
25358 * iconv/iconv_prog.c: Likewise.
25359 * iconv/iconvconfig.c: Likewise.
25360 * locale/programs/locale.c: Likewise.
25361 * locale/programs/localedef.c: Likewise.
25362 * malloc/memusage.sh: Likewise.
25363 * malloc/mtrace.pl: Likewise.
25364 * nscd/nscd.c (print_version): Likewise.
25365 * nss/getent.c: Likewise.
25366
25367 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25368 PF_CAIF, and PF_ALG.
25369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25370
25371 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25372
25373 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25374 (modules-names): Use them.
25375 (ifunc-test-modules, ifunc-pie-tests): Define.
25376 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25377 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25378 (test-extras): Likewise.
25379 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25380 $(compile-command.c).
25381 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25382 (all-built-dso): Define.
25383 (check-textrel.out, check-execstack.out): Depend on it.
25384
25385 * configure.in: Don't override --enable-multi-arch.
25386
25387 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25388
25389 [BZ #6812]
25390 * nscd/hstcache.c (tryagain): Define.
25391 (cache_addhst): Return tryagain not notfound for temporary errors.
25392 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25393 failed.
25394
25395 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25396
25397 [BZ #10563]
25398 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25399 to make the syscall.
25400 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25401
25402 [BZ #12378]
25403 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25404 and fall back to matching as normal character if the string ends before
25405 the matching ']' is found. This is what POSIX requires.
25406 * posix/testfnm.c: Adjust test result.
25407 * posix/globtest.sh: Adjust test result. Add new test.
25408 * posix/tst-fnmatch.input: Likewise.
25409 * posix/tst-fnmatch2.c: Add new test.
25410
25411 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25412
25413 * elf/Makefile (check-execstack): Revert last change. Depend on
25414 check-execstack.h.
25415 (check-execstack.h): New target.
25416 (generated): Add check-execstack.h.
25417 * elf/check-execstack.c: Include "check-execstack.h".
25418 (main): Revert last change.
25419 (handle_file): Return zero if GNU_STACK is absent and
25420 DEFAULT_STACK_PERMS doesn't include PF_X.
25421
25422 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25423
25424 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25425 in child fails because the descriptor is already closed.
25426 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25427 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25428 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25429
25430 [BZ #12397]
25431 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25432 syscall.
25433
25434 [BZ #10484]
25435 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25436 temporary buffer used to handle multi lookups locally.
25437 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25438
25439 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25440
25441 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25442 loader is ld.so.
25443
25444 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25445
25446 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25447 alignment for SSE2.
25448
25449 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25450
25451 [BZ #12394]
25452 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25453 characters. When rounding increased number of integer digits recompute
25454 number of groups.
25455 * stdio-common/tst-grouping.c: New file.
25456 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25457
25458 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25459
25460 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25461 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25462
25463 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25464 void.
25465 * bits/select.h: Likewise.
25466
25467 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25468
25469 * po/ja.po: Update from translation team.
25470
25471 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25472
25473 [BZ #11155]
25474 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25475 implementation just like for lxstat, fxstatat, et al.
25476
25477 2010-12-27 Jim Meyering <meyering@redhat.com>
25478
25479 [BZ #12348]
25480 * posix/regexec.c (build_trtable): Return failure indication upon
25481 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25482
25483 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25484
25485 [BZ #12201]
25486 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25487 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25488 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25489 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25490
25491 [BZ #12207]
25492 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25493
25494 [BZ #12204]
25495 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25496 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25497
25498 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25499
25500 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25501 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25502 script has SORT_BY_INIT_PRIORITY.
25503 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25504 NO_CTORS_DTORS_SECTIONS is defined.
25505 * elf/soinit.c: Likewise.
25506 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25507 NO_CTORS_DTORS_SECTIONS is defined.
25508 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25509 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25510 * sysdeps/sh/init-first.c: Likewise.
25511 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25512
25513 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25514
25515 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25516 always use the slow path.
25517
25518 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25519
25520 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25521 similar rule which adds the sysdep directories to the header search in
25522 order to pick up the correct platform stackinfo.h.
25523 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25524 perform test if it is, otherwise return successfully without testing.
25525 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25526 DEFAULT_STACK_PERMS define in stackinfo.h.
25527 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25528 defined in stackinfo.h.
25529 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25530 DEFAULT_STACK_PERMS defined in stackinfo.h.
25531 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25532 * sysdeps/ia64/stackinfo.h: Likewise.
25533 * sysdeps/s390/stackinfo.h: Likewise.
25534 * sysdeps/sh/stackinfo.h: Likewise.
25535 * sysdeps/sparc/stackinfo.h: Likewise.
25536 * sysdeps/x86_64/stackinfo.h: Likewise.
25537 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25538 PF_X for powerpc64. Retain PF_X for powerpc32.
25539
25540 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25541
25542 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25543 accurately.
25544 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25545 GETDENTS_64BIT_ALIGNED.
25546
25547 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25548
25549 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25550
25551 2010-12-10 Andreas Schwab <schwab@redhat.com>
25552
25553 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25554 _GNU_SOURCE.
25555
25556 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25557 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25558 Remove __restrict.
25559 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25560 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25561
25562 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25563
25564 [BZ #11655]
25565 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25566 are initialized.
25567
25568 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25569
25570 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25571
25572 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25573
25574 * po/it.po: Update from translation team.
25575
25576 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25577
25578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25579 unused codes.
25580
25581 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25582
25583 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25584
25585 2010-11-24 Andreas Schwab <schwab@redhat.com>
25586
25587 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25588 specially.
25589 (gaih_getanswer_slice): Likewise.
25590
25591 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25592
25593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25594
25595 2010-05-31 Petr Baudis <pasky@suse.cz>
25596
25597 [BZ #11149]
25598 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25599 silently even in the chroot mode.
25600
25601 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25602
25603 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25604 last patch a bit. Pretty printing
25605
25606 2010-05-31 Petr Baudis <pasky@suse.cz>
25607
25608 [BZ #10085]
25609 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25610 initialization of skip_initgroups_dyn.
25611
25612 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25613
25614 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25616
25617 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25618
25619 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25620
25621 2010-11-11 Andreas Schwab <schwab@redhat.com>
25622
25623 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25624 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25625 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25626 ($(objpfx)tst-fnmatch-mem): New rule.
25627 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25628 * posix/tst-fnmatch.c (main): Call mtrace.
25629
25630 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25631
25632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25633 Support Intel processor model 6 and model 0x2c.
25634
25635 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25636
25637 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25638 signed comparison.
25639
25640 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25641
25642 [BZ #12205]
25643 * string/test-strncasecmp.c (check_result): New function.
25644 (do_one_test): Use it.
25645 (check1): New function.
25646 (test_main): Use it.
25647 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25648 Support strcasecmp and strncasecmp.
25649
25650 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25651
25652 [BZ #12194]
25653 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25654 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25655
25656 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25657
25658 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25659 IFUNC support.
25660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25661 memset-x86-64.
25662 * sysdeps/x86_64/multiarch/bzero.S: New file.
25663 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25664 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25665 * sysdeps/x86_64/multiarch/memset.S: New file.
25666 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25668 Set bit_Prefer_SSE_for_memop for Intel processors.
25669 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25670 Define.
25671 (index_Prefer_SSE_for_memop): Define.
25672 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25673
25674 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25675
25676 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25678
25679 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25680
25681 [BZ #12191]
25682 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25683 (__x86_64_raw_data_cache_size_half): Likewise.
25684 (__x86_64_raw_shared_cache_size): Likewise.
25685 (__x86_64_raw_shared_cache_size_half): Likewise.
25686
25687 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25688 (__x86_64_raw_data_cache_size_half): Likewise.
25689 (__x86_64_raw_shared_cache_size): Likewise.
25690 (__x86_64_raw_shared_cache_size_half): Likewise.
25691 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25692 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25693 and __x86_64_raw_shared_cache_size_half. Round
25694 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25695 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25696 to multiple of 256 bytes.
25697
25698 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25699
25700 [BZ #12167]
25701 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25702 of inacessible symlinks. Verify result of symlink before returning it.
25703 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25704 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25705
25706 2010-10-28 Erich Ritz <erichritz@gmail.com>
25707
25708 * math/math.h (isinf): Fix typo in comment.
25709
25710 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25711
25712 * po/da.po: Update from translation team.
25713
25714 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25715
25716 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25717 is added to the list.
25718
25719 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25720 Ulrich Drepper <drepper@gmail.com>
25721
25722 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25723 the global list here. Move code to...
25724 (_dl_add_to_namespace_list): ...here. New function.
25725 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25726 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25727 * elf/dl-load.c (lose): Don't remove the element from the list.
25728 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25729 (_dl_map_object): Likewise.
25730
25731 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25732
25733 [BZ #12159]
25734 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25735 into all bytes of SSE register.
25736 Patch by Richard Li <richardpku@gmail.com>.
25737
25738 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25739
25740 [BZ #12140]
25741 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25742 perturbing.
25743
25744 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25745
25746 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25747 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25748 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25749 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25751 submachine.
25752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25753
25754 2010-10-22 Andreas Schwab <schwab@redhat.com>
25755
25756 * include/dlfcn.h (__RTLD_SECURE): Define.
25757 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25758 mode & __RTLD_SECURE instead.
25759 (open_path): Rename preloaded parameter to secure.
25760 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25761 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25762 * elf/dl-deps.c (openaux): Likewise.
25763 * elf/rtld.c (struct map_args): Remove is_preloaded.
25764 (map_doit): Don't use it.
25765 (dl_main): Likewise.
25766 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25767 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25768
25769 2010-09-09 Andreas Schwab <schwab@redhat.com>
25770
25771 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25772 (sysd-rules-targets): Remove duplicates.
25773 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25774 rtld-%.$o dependency.
25775
25776 2010-10-18 Andreas Schwab <schwab@redhat.com>
25777
25778 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25779 _dl_map_object do it.
25780
25781 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25782
25783 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25784 fast fma builtins, define the macros in the C99 standard.
25785 (FP_FAST_FMAF): Likewise.
25786 (FP_FAST_FMAL): Likewise.
25787 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25788
25789 * bits/mathdef.h: Update copyright year.
25790 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25791
25792 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25793
25794 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25795 builtins, define the macros in the C99 standard.
25796 (FP_FAST_FMAF): Likewise.
25797 (FP_FAST_FMAL): Likewise.
25798 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25799 multiply/add.
25800 (FP_FAST_FMAF): Likewise.
25801
25802 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25803
25804 [BZ #3268]
25805 * math/libm-test.inc (fma_test): Some new testcases.
25806 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25807 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25808 y and infinite z. Do multiplication by C already in long double.
25809 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25811 y and infinite z. Do bitwise or of inexact bit into u.d.
25812 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25813 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25814 * sysdeps/i386/fpu/s_fma.S: Removed.
25815 * sysdeps/i386/fpu/s_fmal.S: Removed.
25816
25817 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25818
25819 [BZ #3268]
25820 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25822 computation is not scheduled after fetestexcept. Fix value
25823 of minimum denormal long double.
25824
25825 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25826
25827 [BZ #3268]
25828 * math/libm-test.inc (fma_test): Add some more tests.
25829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25830 correctly.
25831
25832 2010-10-15 Andreas Schwab <schwab@redhat.com>
25833
25834 * scripts/data/localplt-s390-linux-gnu.data: New file.
25835 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25836
25837 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25838
25839 [BZ #3268]
25840 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25841 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25842 instead of dbl-64.
25843 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25844 inlines.
25845 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25847 if one of x and y is very large and the other is subnormal.
25848 * sysdeps/s390/fpu/s_fmaf.c: New file.
25849 * sysdeps/s390/fpu/s_fma.c: New file.
25850 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25851 * sysdeps/powerpc/fpu/s_fma.S: New file.
25852 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25853 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25854 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25855
25856 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25857
25858 [BZ #3268]
25859 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25860 fma tests.
25861 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25862 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25863 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25864 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25865 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25866 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25868
25869 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25870
25871 [BZ #12078]
25872 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25873 * posix/bug-regex31.input: Add test case.
25874
25875 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25876
25877 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25878 * posix/bug-regex31.input: New file.
25879
25880 [BZ #12078]
25881 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25882 (parse_sub_exp): Fix last change, use postorder.
25883
25884 * posix/bug-regex31.c: New file.
25885 * posix/Makefile: Add rules to build and run bug-regex31.
25886
25887 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25888
25889 [BZ #12078]
25890 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25891
25892 [BZ #12108]
25893 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25894 to have entries in sys_siglist.
25895
25896 [BZ #12093]
25897 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25898 be NULL.
25899
25900 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25901
25902 [BZ #3268]
25903 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25904 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25905 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25906 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25907 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25908 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25909 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25910 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25911 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25912 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25913 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25914 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25915 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25916 * math/ftestexcept.c (fetestexcept): Likewise.
25917 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25918 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25919 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25920 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25921 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25922 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25923 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25924
25925 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25926
25927 [BZ #12107]
25928 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25929 newline.
25930
25931 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25932
25933 * string/bug-strstr1.c: New file.
25934 * string/Makefile: Add rules to build and run bug-strstr1.
25935
25936 2010-10-05 Eric Blake <eblake@redhat.com>
25937
25938 [BZ #12092]
25939 * string/str-two-way.h (two_way_long_needle): Always clear memory
25940 when skipping input due to the shift table.
25941
25942 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25943
25944 [BZ #12005]
25945 * malloc/mcheck.c: Handle large requests.
25946
25947 [BZ #12077]
25948 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25949 for strncmp and strncasecmp.
25950 * string/stratcliff.c: Add tests for strcmp and strncmp.
25951 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25952
25953 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25954
25955 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25956 __set_fpscr.
25957
25958 2010-09-30 Andreas Jaeger <aj@suse.de>
25959
25960 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25961 (CGROUP_SUPER_MAGIC): Define.
25962 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25963 Handle btrfs and cgroup file systems.
25964 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25965 Likewise.
25966
25967 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25968
25969 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25970 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25971
25972 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25973
25974 [BZ #12067]
25975 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25976 trying to locate the ELF header.
25977
25978 2010-09-27 Andreas Schwab <schwab@redhat.com>
25979
25980 [BZ #11611]
25981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25982 Mask out sign-bit copies when constructing f_fsid.
25983
25984 2010-09-24 Petr Baudis <pasky@suse.cz>
25985
25986 * debug/stack_chk_fail_local.c: Add missing licence exception.
25987 * debug/warning-nop.c: Likewise.
25988
25989 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25990
25991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25992 implementing getdents64 using getdents syscall, set d_type if
25993 __ASSUME_GETDENTS32_D_TYPE.
25994
25995 2010-09-16 Andreas Schwab <schwab@redhat.com>
25996
25997 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25998 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25999
26000 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26001
26002 [BZ #12037]
26003 * posix/unistd.h: Undo change of feature selection for ftruncate from
26004 2010-01-11.
26005
26006 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26007
26008 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26009 detection.
26010
26011 2010-09-20 Andreas Schwab <schwab@redhat.com>
26012
26013 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26014 fanotify_mark.
26015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26016
26017 2010-09-14 Andreas Schwab <schwab@redhat.com>
26018
26019 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26020 variables after CHECK_SP call.
26021 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26022
26023 2010-09-13 Andreas Schwab <schwab@redhat.com>
26024 Ulrich Drepper <drepper@redhat.com>
26025
26026 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26027 re-relocationg ld.so.
26028 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26029 _dl_init_paths call.
26030 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26031 here anymore.
26032
26033 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26034
26035 * resolv/res_init.c (__res_vinit): Count the default server we added.
26036
26037 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26038 Ulrich Drepper <drepper@redhat.com>
26039
26040 [BZ #11968]
26041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26042 (____longjmp_chk): Use %ebx for saving value across system call.
26043 Add unwind info.
26044
26045 2010-09-06 Andreas Schwab <schwab@redhat.com>
26046
26047 * manual/Makefile: Don't mix pattern rules with normal rules.
26048
26049 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26050
26051 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26052 operation.
26053 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26054 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26055 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26056 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26058 Likewise.
26059
26060 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26061
26062 [BZ #11979]
26063 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26064 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26065
26066 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26067
26068 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26069 * sysdeps/x86_64/addmul_1.S: Likewise.
26070 * sysdeps/x86_64/lshift.S: Likewise.
26071 * sysdeps/x86_64/mul_1.S: Likewise.
26072 * sysdeps/x86_64/rshift.S: Likewise.
26073 * sysdeps/x86_64/sub_n.S: Likewise.
26074 * sysdeps/x86_64/submul_1.S: Likewise.
26075
26076 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26077
26078 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26079 Define __sched_param instead of SCHED_* and sched_param when
26080 <bits/sched.h> is included with __need_schedparam defined.
26081 * bits/sched.h [__need_schedparam]
26082 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26083 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26084 (__defined_schedparam): Define to 1.
26085 (__sched_param): New structure, identical to sched_param.
26086 (__need_schedparam): Undefine.
26087
26088 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26089
26090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26091 (epoll_create1): Declare.
26092
26093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26094
26095 2010-08-31 Andreas Schwab <schwab@redhat.com>
26096
26097 [BZ #7066]
26098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26099 shifting retval into place.
26100
26101 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26102
26103 * nis/rpcsvc/nis.h: Update copyright notice.
26104 * nis/rpcsvc/nis.x: Likewise.
26105 * nis/rpcsvc/nis_callback.h: Likewise.
26106 * nis/rpcsvc/nis_callback.x: Likewise.
26107 * nis/rpcsvc/nis_object.x: Likewise.
26108 * nis/rpcsvc/nis_tags.h: Likewise.
26109 * nis/rpcsvc/yp.h: Likewise.
26110 * nis/rpcsvc/yp.x: Likewise.
26111 * nis/rpcsvc/ypupd.h: Likewise.
26112 * nis/yp_xdr.c: Likewise.
26113 * nis/ypupdate_xdr.c: Likewise.
26114
26115 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26116 mainly the body of pmap_getport. Add parameters to specify timeouts.
26117 (pmap_getport): Use __libc_rpc_getport.
26118 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26119 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26120 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26121
26122 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26123
26124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26125 fanotify_mark.
26126
26127 2010-08-27 Roland McGrath <roland@redhat.com>
26128
26129 * sysdeps/i386/i686/multiarch/Makefile
26130 (CFLAGS-varshift.c): New variable.
26131
26132 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26133
26134 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26135 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26136
26137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26138
26139 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26140
26141 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26142
26143 * sysdeps/x86_64/strlen.S: Unroll the loop.
26144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26145 strlen-sse2 strlen-sse2-bsf.
26146 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26147 __strlen_no_bsf if bit_Slow_BSF is set.
26148 (__strlen_sse42): Removed.
26149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26150 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26151
26152 2010-08-25 Roland McGrath <roland@redhat.com>
26153
26154 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26155 * sysdeps/x86_64/multiarch/varshift.c: New file.
26156 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26157 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26158 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26159 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26160
26161 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26162
26163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26164 strlen-sse2 strlen-sse2-bsf.
26165 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26166 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26167 (__strlen_sse2): Removed.
26168 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26171 bit_Slow_BSF for Atom.
26172 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26173 (index_Slow_BSF): Define.
26174 (HAS_SLOW_BSF): Define.
26175
26176 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26177
26178 [BZ #10851]
26179 * resolv/res_init.c (__res_vinit): When no server address at all
26180 is given default to loopback.
26181
26182 2010-08-24 Roland McGrath <roland@redhat.com>
26183
26184 * configure.in: Remove config-name.h generation.
26185 * configure: Regenerated.
26186 * config-name.in: File removed.
26187 * scripts/config-uname.sh: New file.
26188 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26189 ($(objdir)config-name.h): New target.
26190
26191 * sunrpc/rpc_parse.h: Avoid nested comment.
26192
26193 2010-08-24 Richard Henderson <rth@redhat.com>
26194 Ulrich Drepper <drepper@redhat.com>
26195 H.J. Lu <hongjiu.lu@intel.com>
26196
26197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26199 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26200 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26201 _mm_alignr_epi8 with _mm_loadu_si128.
26202 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26203 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26204 (__m128i_shift_right): Removed.
26205 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26206 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26207 * sysdeps/x86_64/multiarch/varshift.h: New file.
26208 * sysdeps/x86_64/multiarch/varshift.S: New file.
26209
26210 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26211
26212 * configure.in: Move assembler checks to before sysdep dir checking.
26213
26214 2010-08-20 Petr Baudis <pasky@suse.cz>
26215
26216 * LICENSES: Sync the sunrpc license.
26217
26218 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26219
26220 * sunrpc/auth_des.c: Update copyright notice once again.
26221 * sunrpc/auth_none.c: Likewise.
26222 * sunrpc/auth_unix.c: Likewise.
26223 * sunrpc/authdes_prot.c: Likewise.
26224 * sunrpc/authuxprot.c: Likewise.
26225 * sunrpc/bindrsvprt.c: Likewise.
26226 * sunrpc/clnt_gen.c: Likewise.
26227 * sunrpc/clnt_perr.c: Likewise.
26228 * sunrpc/clnt_raw.c: Likewise.
26229 * sunrpc/clnt_simp.c: Likewise.
26230 * sunrpc/clnt_tcp.c: Likewise.
26231 * sunrpc/clnt_udp.c: Likewise.
26232 * sunrpc/clnt_unix.c: Likewise.
26233 * sunrpc/des_crypt.c: Likewise.
26234 * sunrpc/des_soft.c: Likewise.
26235 * sunrpc/get_myaddr.c: Likewise.
26236 * sunrpc/getrpcport.c: Likewise.
26237 * sunrpc/key_call.c: Likewise.
26238 * sunrpc/key_prot.c: Likewise.
26239 * sunrpc/openchild.c: Likewise.
26240 * sunrpc/pm_getmaps.c: Likewise.
26241 * sunrpc/pm_getport.c: Likewise.
26242 * sunrpc/pmap_clnt.c: Likewise.
26243 * sunrpc/pmap_prot.c: Likewise.
26244 * sunrpc/pmap_prot2.c: Likewise.
26245 * sunrpc/pmap_rmt.c: Likewise.
26246 * sunrpc/rpc/auth.h: Likewise.
26247 * sunrpc/rpc/auth_unix.h: Likewise.
26248 * sunrpc/rpc/clnt.h: Likewise.
26249 * sunrpc/rpc/des_crypt.h: Likewise.
26250 * sunrpc/rpc/key_prot.h: Likewise.
26251 * sunrpc/rpc/netdb.h: Likewise.
26252 * sunrpc/rpc/pmap_clnt.h: Likewise.
26253 * sunrpc/rpc/pmap_prot.h: Likewise.
26254 * sunrpc/rpc/pmap_rmt.h: Likewise.
26255 * sunrpc/rpc/rpc.h: Likewise.
26256 * sunrpc/rpc/rpc_des.h: Likewise.
26257 * sunrpc/rpc/rpc_msg.h: Likewise.
26258 * sunrpc/rpc/svc.h: Likewise.
26259 * sunrpc/rpc/svc_auth.h: Likewise.
26260 * sunrpc/rpc/types.h: Likewise.
26261 * sunrpc/rpc/xdr.h: Likewise.
26262 * sunrpc/rpc_clntout.c: Likewise.
26263 * sunrpc/rpc_cmsg.c: Likewise.
26264 * sunrpc/rpc_common.c: Likewise.
26265 * sunrpc/rpc_cout.c: Likewise.
26266 * sunrpc/rpc_dtable.c: Likewise.
26267 * sunrpc/rpc_hout.c: Likewise.
26268 * sunrpc/rpc_main.c: Likewise.
26269 * sunrpc/rpc_parse.c: Likewise.
26270 * sunrpc/rpc_parse.h: Likewise.
26271 * sunrpc/rpc_prot.c: Likewise.
26272 * sunrpc/rpc_sample.c: Likewise.
26273 * sunrpc/rpc_scan.c: Likewise.
26274 * sunrpc/rpc_scan.h: Likewise.
26275 * sunrpc/rpc_svcout.c: Likewise.
26276 * sunrpc/rpc_tblout.c: Likewise.
26277 * sunrpc/rpc_util.c: Likewise.
26278 * sunrpc/rpc_util.h: Likewise.
26279 * sunrpc/rpcinfo.c: Likewise.
26280 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26281 * sunrpc/rpcsvc/key_prot.x: Likewise.
26282 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26283 * sunrpc/rpcsvc/mount.x: Likewise.
26284 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26285 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26286 * sunrpc/rpcsvc/rex.x: Likewise.
26287 * sunrpc/rpcsvc/rstat.x: Likewise.
26288 * sunrpc/rpcsvc/rusers.x: Likewise.
26289 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26290 * sunrpc/rpcsvc/spray.x: Likewise.
26291 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26292 * sunrpc/rtime.c: Likewise.
26293 * sunrpc/svc.c: Likewise.
26294 * sunrpc/svc_auth.c: Likewise.
26295 * sunrpc/svc_authux.c: Likewise.
26296 * sunrpc/svc_raw.c: Likewise.
26297 * sunrpc/svc_run.c: Likewise.
26298 * sunrpc/svc_simple.c: Likewise.
26299 * sunrpc/svc_tcp.c: Likewise.
26300 * sunrpc/svc_udp.c: Likewise.
26301 * sunrpc/svc_unix.c: Likewise.
26302 * sunrpc/svcauth_des.c: Likewise.
26303 * sunrpc/xcrypt.c: Likewise.
26304 * sunrpc/xdr.c: Likewise.
26305 * sunrpc/xdr_array.c: Likewise.
26306 * sunrpc/xdr_float.c: Likewise.
26307 * sunrpc/xdr_mem.c: Likewise.
26308 * sunrpc/xdr_rec.c: Likewise.
26309 * sunrpc/xdr_ref.c: Likewise.
26310 * sunrpc/xdr_sizeof.c: Likewise.
26311 * sunrpc/xdr_stdio.c: Likewise.
26312
26313 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26314 handling.
26315
26316 2010-08-19 Andreas Schwab <schwab@redhat.com>
26317
26318 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26319
26320 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26321
26322 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26323 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26324 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26325 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26326 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26327 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26328 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26329 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26330 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26331 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26332 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26333 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26334 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26335 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26336
26337 2010-07-26 Anton Blanchard <anton@samba.org>
26338
26339 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26340 * malloc/arena.c (heap_trim): Likewise.
26341
26342 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26343
26344 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26345 here. Not...
26346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26347 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26348
26349 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26350
26351 * sysdeps/i386/elf/Makefile: New file.
26352
26353 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26354
26355 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26356 from fanotify_init.
26357 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26359
26360 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26361
26362 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26363 of strncasecmp_l.
26364 * sysdeps/multiarch/strcmp.S: Likewise.
26365
26366 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26367
26368 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26369 strncase_l-nonascii.
26370 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26371 Add strncase_l-ssse3.
26372 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26373 * sysdeps/x86_64/strcmp.S: Likewise.
26374 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26375 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26376 * sysdeps/x86_64/strncase.S: New file.
26377 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26378 * sysdeps/x86_64/strncase_l.S: New file.
26379 * string/Makefile (strop-tests): Add strncasecmp.
26380 * string/test-strncasecmp.c: New file.
26381
26382 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26383 warning.
26384
26385 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26386 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26387
26388 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26389
26390 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26391
26392 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26393
26394 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26395 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26396 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26397
26398 2010-05-01 Alan Modra <amodra@gmail.com>
26399
26400 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26401 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26402 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26403 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26404 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26405 tidying. Don't tail-call __sigjmp_save for static lib.
26406 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26407 save location.
26408 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26409 (CALL_MCOUNT): Add eh info, and nop after bl.
26410 (TAIL_CALL_SYSCALL_ERROR): New macro.
26411 (PSEUDO_RET): Use it.
26412 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26413 Correct save location of integer regs and cr.
26414 (_dl_profile_resolve): Correct cr save location. Delete nops
26415 after bl when SHARED. Reduce cfi size a little by better
26416 placement of cfi directives.
26417 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26418 make a stack frame. Instead use parm save area as a temp.
26419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26420 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26422 Don't make a stack frame for parent, use parm save area.
26423 Increase child stack frame to 112 bytes. Don't save unused reg,
26424 and adjust reg usage. Set up cfi on error recovery and
26425 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26427 (__makecontext): Add dummy nop after jump to exit.
26428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26429 Use correct parm save area and cr save, reduce stack frame.
26430 Correct cfi for possible PSEUDO_RET frame setup.
26431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26432 Branch to local label emitted by PSEUDO_RET rather than
26433 __syscall_error.
26434
26435 2010-08-12 Andreas Schwab <schwab@redhat.com>
26436
26437 [BZ #11904]
26438 * locale/programs/locale.c (print_assignment): New function.
26439 (show_locale_vars): Use it.
26440
26441 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26442
26443 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26444 field.
26445 (struct statfs64): Likewise.
26446 (_STATFS_F_FLAGS): Define.
26447 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26449 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26450 (ST_VALID): Define locally.
26451 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26452 __statvfs_getflags, use the provided value.
26453 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26454 __ASSUME_STATFS_F_FLAGS.
26455
26456 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26457
26458 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26459 Add sys/fanotify.h.
26460 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26461 fanotify_mask for GLIBC_2.13.
26462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26463 fanotify_init and fanotify_mark.
26464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26465 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26466
26467 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26468 Add prlimit.
26469 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26470 prlimit64 for GLIBC_2.13.
26471 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26472 prlimit64.
26473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26474 syscall.
26475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26476 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26477 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26478 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26480 add prlimit alias.
26481 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26482
26483 [BZ #11903]
26484 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26485 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26486
26487 * nss/Makefile: Add rules to build and run tst-nss-test1.
26488 * shlib-versions: Add entry for libnss_test1.
26489 * nss/nss_test1.c: New file.
26490 * nss/tst-nss-test1.c: New file.
26491
26492 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26493 (__nss_configure_lookup): Set appropriate entry in
26494 __nss_configure_lookup to true.
26495 * nss/nsswitch.h: Define enum with indeces of databases in
26496 databases and __nss_database_custom arrays. Declare
26497 __nss_database_custom.
26498 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26499 to avoid using nscd when custom rules are installed.
26500 * nss/getXXbyYY_r.c: Likewise.
26501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26502
26503 * nss/nss_files/files-parse.c: Whitespace fixes.
26504
26505 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26506
26507 [BZ #11883]
26508 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26509 * posix/fnmatch_loop.c: Likewise.
26510
26511 2010-07-17 Andi Kleen <ak@linux.intel.com>
26512
26513 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26514 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26515 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26516 * Versions.def [GLIBC_2.13]: Add.
26517
26518 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26519
26520 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26521 Also fail if tpwd after pwuid call is NULL.
26522
26523 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26524
26525 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26526 when converting to ms.
26527
26528 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26529
26530 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26531 EOPNOTSUPP errors with ENOTTY.
26532 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26533 EOPNOTSUPP errors with ENOTTY.
26534
26535 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26536
26537 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26538 Add strcasecmp_l-ssse3.
26539 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26540 strcasecmp.
26541 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26542 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26543 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26544
26545 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26546
26547 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26548
26549 * string/Makefile (strop-tests): Add strcasecmp.
26550 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26551 strcasecmp_l-nonascii.
26552 (gen-as-const-headers): Add locale-defines.sym.
26553 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26554 * sysdeps/x86_64/strcasecmp.S: New file.
26555 * sysdeps/x86_64/strcasecmp_l.S: New file.
26556 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26557 * sysdeps/x86_64/locale-defines.sym: New file.
26558 * string/test-strcasecmp.c: New file.
26559
26560 * string/test-strcasestr.c: Test both ends of the range of characters.
26561 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26562
26563 2010-07-29 Roland McGrath <roland@redhat.com>
26564
26565 [BZ #11856]
26566 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26567
26568 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26569
26570 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26571 for ld.so.
26572
26573 2010-07-27 Andreas Schwab <schwab@redhat.com>
26574
26575 * manual/memory.texi (Malloc Tunable Parameters): Document
26576 M_PERTURB.
26577
26578 2010-07-26 Roland McGrath <roland@redhat.com>
26579
26580 [BZ #11840]
26581 * configure.in (-fgnu89-inline check): Set and substitute
26582 gnu89_inline, not libc_cv_gnu89_inline.
26583 * configure: Regenerated.
26584 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26585
26586 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26587
26588 * string/test-strnlen.c: New file.
26589 * string/Makefile (strop-tests): Add strnlen.
26590 * string/tester.c (test_strnlen): Add a few more test cases.
26591 * string/tst-strlen.c: Better error reporting.
26592
26593 * sysdeps/x86_64/strnlen.S: New file.
26594
26595 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26596
26597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26598 lower-latency instructions.
26599
26600 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26601
26602 * string/test-strcasestr.c: New file.
26603 * string/test-strstr.c: New file.
26604 * string/Makefile (strop-tests): Add strstr and strcasestr.
26605 * string/str-two-way.h: Don't undefine MAX.
26606 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26607
26608 2010-07-21 Andreas Schwab <schwab@redhat.com>
26609
26610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26611 strcasestr-nonascii.
26612 (CFLAGS-strcasestr-nonascii.c): Define.
26613 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26615 Remove unused attribute.
26616
26617 2010-07-20 Roland McGrath <roland@redhat.com>
26618
26619 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26620 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26621 ld.so.cache was broken. With it, there is no way to disable dsocaps
26622 like LD_HWCAP_MASK can disable hwcaps.
26623
26624 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26625
26626 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26627
26628 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26629
26630 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26631 call in strcasestr.
26632 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26633 __strcasestr_sse42_nonascii.
26634 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26635 strcasestr-nonascii.c.
26636 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26637
26638 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26639
26640 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26642 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26643 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26644
26645 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26646
26647 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26648 fcntl.
26649
26650 2010-07-06 Andreas Schwab <schwab@redhat.com>
26651
26652 [BZ #11577]
26653 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26654 dl_signal_cerror.
26655
26656 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26657
26658 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26659 _PC_PIPE_BUF using F_GETPIPE_SZ.
26660
26661 2010-07-05 Roland McGrath <roland@redhat.com>
26662
26663 * manual/arith.texi (Rounding Functions): Fix rint description
26664 implicit in round description.
26665
26666 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26667
26668 * elf/Makefile: Fix linking for a few tests to make recent linker
26669 happy.
26670
26671 2010-06-30 Andreas Schwab <schwab@redhat.com>
26672
26673 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26674 $(common-objpfx)libc_nonshared.a.
26675
26676 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26677
26678 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26679 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26680 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26681 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26682 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26683 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26684 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26685 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26700 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26701 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26702 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26703 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26704 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26705 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26706 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26707 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26708 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26709 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26710 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26711 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26726
26727 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26728
26729 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26730 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26731 * string/memmove.c (memmove): Renamed to ...
26732 (MEMMOVE): ...this. Default to memmove.
26733 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26734 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26735 (END_CHK): Define.
26736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26737 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26738 mempcpy-ssse3-back memmove-ssse3-back.
26739 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26742 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26743 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26744 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26745 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26746 * sysdeps/x86_64/multiarch/memmove.c: New file.
26747 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26748 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26749 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26750 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26751 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26753 Define.
26754 (index_Fast_Copy_Backward): Define.
26755 (HAS_ARCH_FEATURE): Define.
26756 (HAS_FAST_REP_STRING): Define.
26757 (HAS_FAST_COPY_BACKWARD): Define.
26758
26759 2010-06-21 Andreas Schwab <schwab@redhat.com>
26760
26761 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26762 Restore proper fallback handling.
26763
26764 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26765
26766 [BZ #11701]
26767 * posix/group_member.c (__group_member): Correct checking loop.
26768
26769 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26770 OOM in getpwuid_r correctly. Return error number when the caller
26771 should return, otherwise -1.
26772 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26773 call returning > 0 value.
26774 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26775
26776 2010-06-07 Andreas Schwab <schwab@redhat.com>
26777
26778 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26779 libc_nonshared.a from targets in modules-names.
26780
26781 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26782
26783 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26784 requires it.
26785
26786 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26787
26788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26789 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26790 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26792
26793 2010-06-02 Andreas Schwab <schwab@redhat.com>
26794
26795 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26796
26797 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26798
26799 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26800 and F_GETPIPE_SZ.
26801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26802 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26806 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26807
26808 2010-06-14 Roland McGrath <roland@redhat.com>
26809
26810 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26811
26812 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26813
26814 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26815 __REDIRECT followed by __THROW.
26816 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26817 * posix/getopt.h (getopt): Likewise.
26818
26819 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26820
26821 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26822 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26823 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26824 in AT_FLAGS.
26825 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26826 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26827
26828 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26829
26830 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26831
26832 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26833
26834 [BZ #11640]
26835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26836 Properly check family and model.
26837
26838 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26839
26840 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26841
26842 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26843
26844 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26845
26846 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26847
26848 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26849 symbol reference.
26850
26851 2010-05-19 Andreas Schwab <schwab@redhat.com>
26852
26853 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26854 symbol reference.
26855
26856 2010-05-21 Andreas Schwab <schwab@redhat.com>
26857
26858 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26859 and internal_recvmmsg.
26860 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26861 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26862 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26863 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26864
26865 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26866 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26867 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26868
26869 2010-05-20 Andreas Schwab <schwab@redhat.com>
26870
26871 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26872
26873 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26874
26875 POWER7 optimizations.
26876 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26877 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26878
26879 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26880
26881 * version.h: Update for 2.13 development version.
26882
26883 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26884
26885 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26886 exceptions. Return 0.
26887
26888 2010-05-07 Roland McGrath <roland@redhat.com>
26889
26890 * elf/ldconfig.c (main): Add a const.
26891
26892 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26893
26894 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26895 (args_options): Add no-idn option.
26896 (ahosts_keys_int): Add idn_flags to ai_flags.
26897 (parse_option): Handle 'i' option to clear idn_flags.
26898
26899 * malloc/malloc.c (_int_free): Possible race in the most recently
26900 added check. Only act on the data if no current modification
26901 happened.
26902
26903 See ChangeLog.17 for earlier changes.