]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Sync with Linux 3.8
[thirdparty/glibc.git] / ChangeLog
1 2013-03-06 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4 (MAP_HUGE_MASK): Define.
5
6 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7 Define.
8 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10 Define.
11 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13 Define.
14 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16 Define.
17 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18
19 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25
26 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27 Handle f2fs.
28
29 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30 Handle f2fs and efivarfs.
31
32 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33 f2fs.
34
35 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36 (EFIVARFS_MAGIC): Add.
37 (F2FS_LINK_MAX): Add.
38
39 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40
41 * stdio-common/vfprintf.c: Replace __builtin_expect with
42 __glibc_unlikely.
43
44 2013-03-06 Joseph Myers <joseph@codesourcery.com>
45
46 [BZ #13550]
47 * sysdeps/generic/bp-sym.h: Remove file.
48 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50 <bp-sym.h> and <bp-asm.h>.
51 (__longjmp): Don't use BP_SYM.
52 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53 and <bp-asm.h>.
54 (memcpy): Don't use BP_SYM.
55 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56 <bp-sym.h> and <bp-asm.h>.
57 (memcpy): Don't use BP_SYM.
58 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59 <bp-asm.h>.
60 (memcpy): Don't use BP_SYM.
61 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62 <bp-asm.h>.
63 (memset): Don't use BP_SYM.
64 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66 (__bzero): Don't use BP_SYM.
67 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
70 <bp-sym.h> and <bp-asm.h>.
71 (memcmp): Don't use BP_SYM. Remove comment about bounded
72 pointers.
73 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
74 <bp-sym.h> and <bp-asm.h>.
75 (memcpy): Don't use BP_SYM.
76 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
77 <bp-sym.h> and <bp-asm.h>.
78 (memset): Don't use BP_SYM.
79 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
80 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
81 (__bzero): Don't use BP_SYM.
82 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
83 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
84 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
85 <bp-sym.h> and <bp-asm.h>.
86 (strncmp): Don't use BP_SYM. Remove comment about bounded
87 pointers.
88 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
89 <bp-sym.h> and <bp-asm.h>.
90 (memcpy): Don't use BP_SYM.
91 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
92 <bp-sym.h> and <bp-asm.h>.
93 (memset): Don't use BP_SYM.
94 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
95 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
96 (__bzero): Don't use BP_SYM.
97 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
98 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
99 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
100 <bp-sym.h> and <bp-asm.h>.
101 (__memchr): Don't use BP_SYM.
102 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
103 <bp-sym.h> and <bp-asm.h>.
104 (memcmp): Don't use BP_SYM. Remove comment about bounded
105 pointers.
106 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
107 <bp-sym.h> and <bp-asm.h>.
108 (memcpy): Don't use BP_SYM.
109 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
110 <bp-sym.h> and <bp-asm.h>.
111 (__mempcpy): Don't use BP_SYM.
112 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
113 <bp-sym.h> and <bp-asm.h>.
114 (__memrchr): Don't use BP_SYM.
115 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
116 <bp-sym.h> and <bp-asm.h>.
117 (memset): Don't use BP_SYM.
118 (__bzero): Likewise.
119 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
120 <bp-sym.h> and <bp-asm.h>.
121 (__rawmemchr): Don't use BP_SYM.
122 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
123 <bp-sym.h> and <bp-asm.h>.
124 (__STRCMP): Don't use BP_SYM.
125 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
126 <bp-sym.h> and <bp-asm.h>.
127 (strchr): Don't use BP_SYM.
128 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
129 <bp-sym.h> and <bp-asm.h>.
130 (__strchrnul): Don't use BP_SYM.
131 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
132 <bp-sym.h> and <bp-asm.h>.
133 (strlen): Don't use BP_SYM.
134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (strncmp): Don't use BP_SYM. Remove comment about bounded
137 pointers.
138 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
139 <bp-sym.h> and <bp-asm.h>.
140 (__strnlen): Don't use BP_SYM.
141 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
142 <bp-sym.h> and <bp-asm.h>.
143 (__GI__setjmp): Don't use BP_SYM.
144 (_setjmp): Likewise.
145 (__sigsetjmp): Likewise.
146 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
147 (L(start_addresses)): Don't use BP_SYM.
148 (_start): Likewise.
149 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
150 <bp-asm.h>.
151 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
152 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
153 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
154 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
155 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
156 <bp-asm.h>.
157 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
158 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
159 about bounded pointers.
160 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
161 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
162 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
163 <bp-asm.h>.
164 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
165 about bounded pointers. Remove GKM FIXME comments.
166 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
167 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
168 <bp-asm.h>.
169 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
170 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
171 Remove GKM FIXME comments.
172 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
173 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
174 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
175 <bp-asm.h>.
176 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
177 about bounded pointers. Remove GKM FIXME comment.
178 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
179 and <bp-asm.h>.
180 (strncmp): Don't use BP_SYM. Remove comment about bounded
181 pointers.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
183 <bp-sym.h> and <bp-asm.h>.
184 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
186 <bp-sym.h> and <bp-asm.h>.
187 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
188 comment.
189
190 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
191
192 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
193 call free(NULL).
194
195 2013-03-05 David S. Miller <davem@davemloft.net>
196
197 * po/es.po: Update from translation team.
198
199 2013-03-05 Andreas Jaeger <aj@suse.de>
200
201 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
202 <bits/mman-linux.h>.
203 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
204 is fine.
205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
206 <bits/mman-linux.h> to end of file.
207 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
208 is fine.
209 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
210 <bits/mman-linux.h> to end of file.
211 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
212 is fine.
213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
214 <bits/mman-linux.h> to end of file.
215
216 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
217 (MCL_CURRENT, MCL_FUTURE): Define here.
218
219 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
220
221 [BZ #15232]
222 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
223 attribute_hidden.
224 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
225
226 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
227
228 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
229 fourth parameter needed for rt_sigprocmask syscall.
230 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
231 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
232 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
233 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
234 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
235 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
236
237 2013-03-04 Joseph Myers <joseph@codesourcery.com>
238
239 [BZ #13550]
240 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
241 comment about bounded pointers.
242 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
243 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
244
245 2013-03-04 Andreas Jaeger <aj@suse.de>
246
247 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
248 common definitions.
249
250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
251 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
252 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
254 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
256
257 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
258
259 [BZ #15055]
260 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
261 __ieee754_sqrl instead of __sqrl.
262
263 2013-03-01 Joseph Myers <joseph@codesourcery.com>
264
265 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
266 * sysdeps/powerpc/fpu_control.h: ... here.
267 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
268 * sysdeps/powerpc/bits/fenvinline.h: ... here.
269 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
270 * sysdeps/powerpc/bits/mathinline.h: ... here.
271
272 2013-03-01 Roland McGrath <roland@hack.frob.com>
273
274 * elf/dl-hwcaps.c (_dl_important_hwcaps):
275 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
276 to just [NEED_DL_SYSINFO_DSO].
277 * elf/dl-support.c: Likewise.
278 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
279 * elf/rtld.c (dl_main): Likewise.
280 * elf/setup-vdso.h (setup_vdso): Likewise.
281 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
282 * sysdeps/unix/sysv/linux/dl-sysdep.c
283 (_dl_discover_osversion): Likewise.
284
285 2013-03-01 Carlos O'Donell <carlos@redhat.com>
286
287 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
288 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
289
290 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
291
292 * NEWS: Mention libm performance improvements and non-x86 PI
293 futex support.
294
295 * csu/libc-start.c (__pthread_initialize_minimal): Change
296 function arguments.
297 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
298
299 2013-02-28 Joseph Myers <joseph@codesourcery.com>
300
301 [BZ #13550]
302 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
303 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
304 <bp-sym.h> and <bp-asm.h>.
305 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
306 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
307 and <bp-asm.h>.
308 (memcpy): Don't use BP_SYM.
309 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
310 <bp-asm.h>.
311 (__mpn_add_n): Don't use BP_SYM.
312 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
313 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
314 and <bp-asm.h>.
315 (__mpn_addmul_1): Don't use BP_SYM.
316 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
317 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
318 <bp-sym.h>.
319 (_setjmp): Don't use BP_SYM.
320 (__novmx_setjmp): Likewise.
321 (__GI__setjmp): Likewise.
322 (__vmx_setjmp): Likewise.
323 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
324 <bp-sym.h>.
325 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
326 (__bzero): Don't use BP_SYM.
327 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
328 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
329 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
330 <bp-sym.h> and <bp-asm.h>.
331 (memcpy): Don't use BP_SYM.
332 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
333 <bp-sym.h> and <bp-asm.h>.
334 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
335 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
336 <bp-sym.h> and <bp-asm.h>.
337 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
338 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
339 <bp-asm.h>.
340 (__mpn_lshift): Don't use BP_SYM.
341 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
342 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
343 <bp-asm.h>.
344 (memset): Don't use BP_SYM.
345 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
346 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
347 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
348 <bp-asm.h>.
349 (__mpn_mul_1): Don't use BP_SYM.
350 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
352 <bp-sym.h> and <bp-asm.h>.
353 (memcmp): Don't use BP_SYM.
354 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
355 <bp-sym.h> and <bp-asm.h>.
356 (memcpy): Don't use BP_SYM.
357 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
358 <bp-sym.h> and <bp-asm.h>.
359 (memset): Don't use BP_SYM.
360 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
361 <bp-sym.h> and <bp-asm.h>.
362 (strncmp): Don't use BP_SYM.
363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
364 <bp-sym.h> and <bp-asm.h>.
365 (memcpy): Don't use BP_SYM.
366 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
367 <bp-sym.h> and <bp-asm.h>.
368 (memset): Don't use BP_SYM.
369 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
370 <bp-sym.h> and <bp-asm.h>.
371 (__memchr): Don't use BP_SYM.
372 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
373 <bp-sym.h> and <bp-asm.h>.
374 (memcmp): Don't use BP_SYM.
375 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
376 <bp-sym.h> and <bp-asm.h>.
377 (memcpy): Don't use BP_SYM.
378 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
379 <bp-sym.h> and <bp-asm.h>.
380 (__mempcpy): Don't use BP_SYM.
381 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
382 <bp-sym.h> and <bp-asm.h>.
383 (__memrchr): Don't use BP_SYM.
384 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
385 <bp-sym.h> and <bp-asm.h>.
386 (memset): Don't use BP_SYM.
387 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
388 <bp-sym.h> and <bp-asm.h>.
389 (__rawmemchr): Don't use BP_SYM.
390 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
391 <bp-sym.h> and <bp-asm.h>.
392 (__STRCMP): Don't use BP_SYM.
393 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
394 <bp-sym.h> and <bp-asm.h>.
395 (strchr): Don't use BP_SYM.
396 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
397 <bp-sym.h> and <bp-asm.h>.
398 (__strchrnul): Don't use BP_SYM.
399 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
400 <bp-sym.h> and <bp-asm.h>.
401 (strlen): Don't use BP_SYM.
402 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
403 <bp-sym.h> and <bp-asm.h>.
404 (strncmp): Don't use BP_SYM.
405 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
406 <bp-sym.h> and <bp-asm.h>.
407 (__strnlen): Don't use BP_SYM.
408 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
409 <bp-asm.h>.
410 (__mpn_rshift): Don't use BP_SYM.
411 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
412 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
413 <bp-sym.h> and <bp-asm.h>.
414 (__sigsetjmp): Don't use BP_SYM.
415 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
416 (L(start_addresses)): Don't use BP_SYM.
417 (_start): Likewise.
418 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
419 <bp-asm.h>.
420 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
421 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
422 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
423 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
424 <bp-asm.h>.
425 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
426 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
427 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
428 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
429 <bp-asm.h>.
430 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
431 comments.
432 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
433 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
434 <bp-asm.h>.
435 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
436 FIXME comments.
437 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
438 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
439 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
440 <bp-asm.h>.
441 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
442 comment.
443 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
444 and <bp-asm.h>.
445 (strncmp): Don't use BP_SYM,
446 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
447 <bp-asm.h>.
448 (__mpn_sub_n): Don't use BP_SYM.
449 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
450 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
451 and <bp-asm.h>.
452 (__mpn_submul_1): Don't use BP_SYM.
453 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
455 <bp-sym.h> and <bp-asm.h>.
456 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
458 <bp-sym.h> and <bp-asm.h>.
459 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
460 comment.
461
462 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
463
464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
465 Use ZK to minimize writes to Z.
466 (sub_magnitudes): Simplify code a bit.
467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
468 Use ZK to minimize writes to Z.
469 (sub_magnitudes): Simplify code a bit.
470
471 2013-02-27 Roland McGrath <roland@hack.frob.com>
472
473 * csu/gmon-start.c: Add special exception to license text.
474
475 2013-02-27 Richard Henderson <rth@redhat.com>
476
477 * scripts/config.guess: Update from config.git.
478 * scripts/config.sub: Likewise.
479
480 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
481
482 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
483
484 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
485
486 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
487
488 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
489
490 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
491
492 2013-02-26 Roland McGrath <roland@hack.frob.com>
493
494 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
495 [$(build-shared = yes].
496
497 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
498
499 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
500 (__mul): Reduce iterations for calculating mantissa.
501
502 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
503 MPTWO.
504 (__mpranred): Likewise.
505
506 [BZ #15160]
507 * malloc/memusagestat.c (main): Draw graphs for heap and stack
508 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
509
510 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
511
512 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
513 Define __attribute__.
514
515 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
516
517 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
518 unused.
519 * posix/regex_internal.h (__attribute): Remove.
520 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
521 (re_string_context_at): Likewise.
522 (bitset_not): Use __attribute__ and mark function as possibly
523 unused.
524 (bitset_merge): Likewise.
525 (bitset_mask): Likewise.
526 (re_string_char_size_at): Likewise.
527 (re_string_wchar_at): Likewise.
528 (re_string_elem_size_at): Likewise.
529
530 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
531
532 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
533 code.
534 (cc32): Likewise.
535
536 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
537 (__acr): Likewise.
538 (__cpy): Likewise.
539 (norm): Likewise.
540 (denorm): Likewise.
541 (__dbl_mp): Likewise.
542 (add_magnitudes): Likewise.
543 (sub_magnitudes): Likewise.
544 (__mul): Likewise.
545 (__inv): Likewise.
546
547 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
548 style.
549
550 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
551 style.
552
553 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
554 code.
555
556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
557 up changes with default code.
558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
559 Likewise.
560
561 2013-02-24 Allan McRae <allan@archlinux.org>
562
563 * manual/socket.texi (The Internet Namespace): Order menu items
564 to match that in the file.
565
566 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
567 node listing of the info page menu.
568
569 2013-02-21 Joseph Myers <joseph@codesourcery.com>
570
571 [BZ #13550]
572 * sysdeps/i386/bp-asm.h: Remove file.
573 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
574 (PARMS): Do not use macros from bp-asm.h.
575 (S1): Likewise.
576 (S2): Likewise.
577 (SIZE): Likewise.
578 (__mpn_add_n): Do not use BP_SYM
579 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
580 "bp-asm.h".
581 (PARMS): Do not use macros from bp-asm.h.
582 (S1): Likewise.
583 (SIZE): Likewise.
584 (__mpn_addmul_1): Do not use BP_SYM
585 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
586 "bp-asm.h".
587 (PARMS): Do not use macros from bp-asm.h.
588 (SIGMSK): Likewise.
589 (_setjmp): Likewise. Do not use BP_SYM.
590 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
591 "bp-asm.h".
592 (PARMS): Do not use macros from bp-asm.h.
593 (SIGMSK): Likewise.
594 (setjmp): Likewise. Do not use BP_SYM.
595 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
596 "bp-asm.h".
597 (PARMS): Do not use macros from bp-asm.h.
598 (__frexp): Do not use BP_SYM.
599 (frexp): Likewise.
600 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
601 "bp-asm.h".
602 (PARMS): Do not use macros from bp-asm.h.
603 (__frexpf): Do not use BP_SYM.
604 (frexpf): Likewise.
605 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
606 "bp-asm.h".
607 (PARMS): Do not use macros from bp-asm.h.
608 (__frexpl): Do not use BP_SYM.
609 (frexpl): Likewise.
610 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
611 "bp-asm.h".
612 (PARMS): Do not use macros from bp-asm.h.
613 (__remquo): Do not use BP_SYM.
614 (remquo): Likewise.
615 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
616 "bp-asm.h".
617 (PARMS): Do not use macros from bp-asm.h.
618 (__remquof): Do not use BP_SYM.
619 (remquof): Likewise.
620 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
621 "bp-asm.h".
622 (PARMS): Do not use macros from bp-asm.h.
623 (__remquol): Do not use BP_SYM.
624 (remquol): Likewise.
625 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
626 "bp-asm.h".
627 (PARMS): Do not use macros from bp-asm.h.
628 (DEST): Likewise.
629 (SRC): Likewise.
630 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
631 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
632 "bp-asm.h".
633 (PARMS): Do not use macros from bp-asm.h.
634 (strlen): Do not use BP_SYM.
635 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
636 "bp-asm.h".
637 (PARMS): Do not use macros from bp-asm.h.
638 (S1): Likewise.
639 (S2): Likewise.
640 (SIZE): Likewise.
641 (__mpn_add_n): Do not use BP_SYM.
642 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
643 "bp-asm.h".
644 (PARMS): Do not use macros from bp-asm.h.
645 (S1): Likewise.
646 (SIZE): Likewise.
647 (__mpn_addmul_1): Do not use BP_SYM.
648 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
649 weak_alias.
650 (bzero): Likewise.
651 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
652 "bp-asm.h".
653 (PARMS): Do not use macros from bp-asm.h.
654 (S): Likewise.
655 (SIZE): Likewise.
656 (__mpn_lshift): Do not use BP_SYM.
657 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
658 "bp-asm.h".
659 (PARMS): Do not use macros from bp-asm.h.
660 (DEST): Likewise.
661 (SRC): Likewise.
662 (LEN): Likewise.
663 (memcpy): Likewise. Do not use BP_SYM.
664 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
665 libc_hidden_def and weak_alias.
666 (mempcpy): Do not use BP_SYM in weak_alias.
667 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
668 "bp-asm.h".
669 (PARMS): Do not use macros from bp-asm.h.
670 (DEST): Likewise.
671 (LEN): Likewise.
672 [!BZERO_P] (CHR): Likewise.
673 (memset): Likewise. Do not use BP_SYM.
674 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
675 "bp-asm.h".
676 (PARMS): Do not use macros from bp-asm.h.
677 (S1): Likewise.
678 (SIZE): Likewise.
679 (__mpn_mul_1): Do not use BP_SYM.
680 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
681 "bp-asm.h".
682 (PARMS): Do not use macros from bp-asm.h.
683 (S): Likewise.
684 (SIZE): Likewise.
685 (__mpn_rshift): Do not use BP_SYM.
686 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
687 "bp-asm.h".
688 (PARMS): Do not use macros from bp-asm.h.
689 (STR): Likewise.
690 (CHR): Likewise.
691 (strchr): Likewise. Do not use BP_SYM.
692 (index): Do not use BP_SYM in weak_alias.
693 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
694 "bp-asm.h".
695 (PARMS): Do not use macros from bp-asm.h.
696 (DEST): Likewise.
697 (SRC): Likewise.
698 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
699 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
700 "bp-asm.h".
701 (PARMS): Do not use macros from bp-asm.h.
702 (strlen): Do not use BP_SYM.
703 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
704 "bp-asm.h".
705 (PARMS): Do not use macros from bp-asm.h.
706 (S1): Likewise.
707 (S2): Likewise.
708 (SIZE): Likewise.
709 (__mpn_sub_n): Do not use BP_SYM.
710 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
711 "bp-asm.h".
712 (PARMS): Do not use macros from bp-asm.h.
713 (S1): Likewise.
714 (SIZE): Likewise.
715 (__mpn_submul_1): Do not use BP_SYM.
716 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
717 "bp-asm.h".
718 (PARMS): Do not use macros from bp-asm.h.
719 (S1): Likewise.
720 (S2): Likewise.
721 (SIZE): Likewise.
722 (__mpn_add_n): Do not use BP_SYM.
723 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
724 weak_alias.
725 (bzero): Likewise.
726 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
727 "bp-asm.h".
728 (PARMS): Do not use macros from bp-asm.h.
729 (BLK2): Likewise.
730 (LEN): Likewise.
731 (memcmp): Do not use BP_SYM.
732 (bcmp): Do not use BP_SYM in weak_alias.
733 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
734 "bp-asm.h".
735 (PARMS): Do not use macros from bp-asm.h.
736 (DEST): Likewise.
737 (SRC): Likewise.
738 (LEN): Likewise.
739 (memcpy): Likewise. Do not use BP_SYM.
740 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
741 "bp-asm.h".
742 (PARMS): Do not use macros from bp-asm.h.
743 (DEST): Likewise.
744 (SRC): Likewise.
745 (LEN): Likewise.
746 (memmove): Likewise. Do not use BP_SYM.
747 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
748 "bp-asm.h".
749 (PARMS): Do not use macros from bp-asm.h.
750 (DEST): Likewise.
751 (SRC): Likewise.
752 (LEN): Likewise.
753 (__mempcpy): Likewise. Do not use BP_SYM.
754 (mempcpy): Do not use BP_SYM in weak_alias.
755 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
756 "bp-asm.h".
757 (PARMS): Do not use macros from bp-asm.h.
758 (DEST): Likewise.
759 (LEN): Likewise.
760 [!BZERO_P] (CHR): Likewise.
761 (memset): Likewise. Do not use BP_SYM.
762 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
763 "bp-asm.h".
764 (PARMS): Do not use macros from bp-asm.h.
765 (STR2): Likewise.
766 (strcmp): Do not use BP_SYM.
767 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
768 "bp-asm.h".
769 (PARMS): Do not use macros from bp-asm.h.
770 (STR): Likewise.
771 (DELIM): Likewise.
772 [USE_AS_STRTOK_R] (SAVE): Likewise.
773 (FUNCTION): Likewise. Do not use BP_SYM.
774 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
775 aliases.
776 (strtok_r): Likewise.
777 (__GI___strtok_r): Likewise.
778 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
779 (PARMS): Do not use macros from bp-asm.h.
780 (S): Likewise.
781 (SIZE): Likewise.
782 (__mpn_lshift): Do not use BP_SYM.
783 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
784 (PARMS): Do not use macros from bp-asm.h.
785 (STR): Likewise.
786 (CHR): Likewise.
787 (__memchr): Do not use BP_SYM.
788 (memchr): Do not use BP_SYM in weak_alias.
789 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
790 (PARMS): Do not use macros from bp-asm.h.
791 (BLK2): Likewise.
792 (LEN): Likewise.
793 (memcmp): Do not use BP_SYM.
794 (bcmp): Do not use BP_SYM in weak_alias.
795 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
796 (PARMS): Do not use macros from bp-asm.h.
797 (S1): Likewise.
798 (SIZE): Likewise.
799 (__mpn_mul_1): Do not use BP_SYM.
800 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
801 "bp-asm.h".
802 (PARMS): Do not use macros from bp-asm.h.
803 (STR): Likewise.
804 (CHR): Likewise.
805 (__rawmemchr): Do not use BP_SYM.
806 (rawmemchr): Do not use BP_SYM in weak_alias.
807 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
808 (PARMS): Do not use macros from bp-asm.h.
809 (S): Likewise.
810 (SIZE): Likewise.
811 (__mpn_rshift): Do not use BP_SYM.
812 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
813 (PARMS): Do not use macros from bp-asm.h.
814 (SIGMSK): Likewise.
815 (__sigsetjmp): Likewise. Do not use BP_SYM.
816 * sysdeps/i386/start.S: Do not include "bp-sym.h".
817 (_start): Do not use BP_SYM.
818 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
819 (PARMS): Do not use macros from bp-asm.h.
820 (DEST): Likewise.
821 (SRC): Likewise.
822 (__stpcpy): Likewise. Do not use BP_SYM.
823 (stpcpy): Do not use BP_SYM in weak_alias.
824 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
825 "bp-asm.h".
826 (PARMS): Do not use macros from bp-asm.h.
827 (DEST): Likewise.
828 (SRC): Likewise.
829 (LEN): Likewise.
830 (__stpncpy): Likewise. Do not use BP_SYM.
831 (stpncpy): Do not use BP_SYM in weak_alias.
832 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
833 (PARMS): Do not use macros from bp-asm.h.
834 (STR): Likewise.
835 (CHR): Likewise.
836 (strchr): Likewise. Do not use BP_SYM.
837 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
838 "bp-asm.h".
839 (PARMS): Do not use macros from bp-asm.h.
840 (STR): Likewise.
841 (CHR): Likewise.
842 (__strchrnul): Likewise. Do not use BP_SYM.
843 (strchrnul): Do not use BP_SYM in weak_alias.
844 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
845 "bp-asm.h".
846 (PARMS): Do not use macros from bp-asm.h.
847 (STOP): Likewise.
848 (strcspn): Do not use BP_SYM.
849 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
850 "bp-asm.h".
851 (PARMS): Do not use macros from bp-asm.h.
852 (STR): Likewise.
853 (STOP): Likewise.
854 (strpbrk): Likewise. Do not use BP_SYM.
855 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
856 "bp-asm.h".
857 (PARMS): Do not use macros from bp-asm.h.
858 (STR): Likewise.
859 (CHR): Likewise.
860 (strrchr): Likewise. Do not use BP_SYM.
861 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
862 (PARMS): Do not use macros from bp-asm.h.
863 (SKIP): Likewise.
864 (strspn): Do not use BP_SYM.
865 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
866 (PARMS): Do not use macros from bp-asm.h.
867 (STR): Likewise.
868 (DELIM): Likewise.
869 (SAVE): Likewise.
870 (FUNCTION): Likewise. Do not use BP_SYM.
871 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
872 aliases.
873 (strtok_r): Likewise.
874 (__GI___strtok_r): Likewise.
875 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
876 (PARMS): Do not use macros from bp-asm.h.
877 (S1): Likewise.
878 (S2): Likewise.
879 (SIZE): Likewise.
880 (__mpn_sub_n): Do not use BP_SYM.
881 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
882 "bp-asm.h".
883 (PARMS): Do not use macros from bp-asm.h.
884 (S1): Likewise.
885 (SIZE): Likewise.
886 (__mpn_submul_1): Do not use BP_SYM.
887 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
888 <bp-sym.h>.
889 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
890 and <bp-asm.h>.
891 (PARMS): Do not use macros from bp-asm.h.
892 (FLAGS): Likewise.
893 (PTID): Likewise.
894 (TLS): Likewise.
895 (CTID): Likewise.
896 (__clone): Do not use BP_SYM.
897 (clone): Do not use BP_SYM in weak_alias.
898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
899 and <bp-asm.h>.
900 (PARMS): Do not use macros from bp-asm.h.
901 (LEN): Likewise.
902 (__mmap64): Do not use BP_SYM.
903 (mmap64): Do not use BP_SYM in weak_alias.
904 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
905 <bp-sym.h> and <bp-asm.h>.
906 (PARMS): Do not use macros from bp-asm.h.
907 (__posix_fadvise64_l64): Do not use BP_SYM.
908 * sysdeps/unix/sysv/linux/i386/semtimedop.S
909 (PARMS): Do not use macros from bp-asm.h.
910 (NSOPS): Likewise.
911 (semtimedop): Do not use BP_SYM.
912 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
913 and <bp-asm.h>.
914
915 2013-02-21 Allan McRae <allan@archlinux.org>
916
917 * manual/message.texi (Charset conversion in gettext):
918 Move @end statement to beginning of line.
919
920 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
921
922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
923 static.
924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
925 Likewise.
926
927 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
928 (denorm): Likewise.
929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
931
932 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
933
934 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
935 tail-call to the resolved function if pltexit isn't needed.
936
937 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
938
939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
940 or Y being zero as being unlikely.
941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
942 Likewise.
943
944 2013-02-20 Carlos O'Donell <carlos@redhat.com>
945
946 * manual/nss.texi (System Databases and Name Service Switch):
947 Remove frobnicate @pxref.
948
949 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
950
951 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
952 __attribute__ ((unused)) to __attribute__ ((__unused__)).
953
954 2013-02-20 Petr Machata <pmachata@redhat.com>
955
956 * elf/elf.h (R_ARM_TARGET1): New macro.
957 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
958 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
959 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
960 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
961 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
962 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
963 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
964 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
965 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
966 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
967 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
968 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
969 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
970 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
971 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
972 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
973 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
974 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
975 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
976 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
977 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
978 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
979 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
980 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
981 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
982 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
983 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
984 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
985 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
986 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
987 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
988 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
989 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
990 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
991 (R_ARM_THM_GOT_BREL12): Likewise.
992 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
993 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
994 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
995 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
996 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
997 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
998 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
999 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1000 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1001
1002 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1003
1004 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1005 __attribute_used__ to __attribute__ ((unused)).
1006
1007 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
1009 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1010 powerpc mpa.c.
1011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1012 comment formatting.
1013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1014
1015 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1016
1017 [BZ #13550]
1018 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1019 Remove macro.
1020 (ENTER): Remove both macro definitions.
1021 (LEAVE): Likewise.
1022 (CHECK_BOUNDS_LOW): Likewise.
1023 (CHECK_BOUNDS_HIGH): Likewise.
1024 (CHECK_BOUNDS_BOTH): Likewise.
1025 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1026 (RETURN_BOUNDED_POINTER): Likewise.
1027 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1028 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1029 (POP_ERRNO_LOCATION_RETURN): Likewise.
1030 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1031 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1032 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1033 macros.
1034 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1035 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1036 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1037 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1038 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1039 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1040 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1041 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1042 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1043 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1044 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1045 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1046 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1047 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1048 removed macros.
1049 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1050 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1051 macros.
1052 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1053 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1054 * sysdeps/i386/i586/memset.S (memset): Likewise.
1055 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1056 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1057 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1058 macros.
1059 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1060 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1061 Change uses of L(2) to L(out).
1062 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1063 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1064 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1065 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1066 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1067 removed macros.
1068 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1069 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1070 macros.
1071 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1072 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1073 (RETURN): Do not use macro LEAVE.
1074 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1075 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1076 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1077 * sysdeps/i386/i686/memset.S (memset): Likewise.
1078 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1079 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1080 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1081 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1082 Likewise.
1083 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1084 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1085 L(1_2) and L(1_3) into L(1).
1086 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1087 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1088 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1089 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1090 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1091 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1092 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1093 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1094 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1095 macros.
1096 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1097 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1098 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1099 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1100 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1101 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1102 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1103 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1104 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1105 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1106 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1107 * sysdeps/i386/strspn.S (strspn): Likewise.
1108 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1109 conditional code.
1110 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1111 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1112 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1113 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1114 L(1_3) into L(1_1).
1115 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1116 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1117 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1118 macros.
1119 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1120
1121 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1122
1123 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1124 macro.
1125
1126 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1127
1128 * math/atest-exp.c (exp_mpn): Remove ROUND.
1129 * math/atest-exp2.c (exp_mpn): Likewise.
1130 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1131
1132 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1133 * stdlib/tst-tls-atexit-lib.c: Likewise.
1134 * stdlib/tst-tls-atexit.c: Likewise.
1135
1136 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1137
1138 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1139 and __attribute_alloc_size__.
1140
1141 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1142
1143 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1144 __attribute_alloc_size__.
1145 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1146 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1147
1148 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1149
1150 * include/programs/xmalloc.h: New file.
1151 * catgets/gencat.c: Include it.
1152 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1153 * elf/pldd.c: Likewise.
1154 * iconv/iconv_charmap.c: Likewise.
1155 * iconv/iconvconfig.c: Likewise.
1156 * iconv/strtab.c: Likewise.
1157 * locale/programs/locale.c: Likewise.
1158 * locale/programs/localedef.h: Likewise.
1159 * locale/programs/simple-hash.c: Likewise.
1160 * nscd/nscd.h: Likewise.
1161 * nss/makedb.c: Likewise.
1162 * sysdeps/generic/ldconfig.h: Likewise.
1163
1164 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1165
1166 * Versions.def: Add GLIBC_2.18.
1167 * include/link.h (struct link_map): New member l_tls_dtor_count.
1168 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1169 (__call_tls_dtors): Likewise.
1170 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1171 __cxa_thread_atexit_impl.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1173 Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1175 Likewise.
1176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1177 Likewise.
1178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1179 Likewise.
1180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1182 Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1184 Likewise.
1185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1187 Likewise.
1188 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1189 (tests): Add test case tst-tls-atexit.
1190 (modules-names): Add shared library for tst-tls-atexit.
1191 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1192 (GLIBC_PRIVATE): Add __call_tls_dtors.
1193 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1194 for libstdc++.
1195 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1196 * stdlib/tst-tls-atexit.c: New test case.
1197 * stdlib/tst-tls-atexit-lib.c: New test case.
1198
1199 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1200
1201 * elf/Versions (ld): Add _dl_find_dso_for_object.
1202 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1203 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1204 (dl_open_worker): Use _dl_find_dso_for_object.
1205 * elf/dl-sym.c (do_sym): Likewise.
1206 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1207
1208 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1209
1210 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1211 Syntactic changes only.
1212 (_dl_runtime_profile): Do a tail-call to the resolved function.
1213
1214 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1215
1216 [BZ #13550]
1217 * sysdeps/x86_64/bp-asm.h: Remove file.
1218 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1219 <bp-sym.h> and <bp-asm.h>.
1220 (__clone): Do not use BP_SYM.
1221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1222 <bp-sym.h> and <bp-asm.h>.
1223 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1224 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1225 "bp-asm.h".
1226 (_setjmp): Do not use BP_SYM.
1227 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1228 "bp-asm.h".
1229 (setjmp): Do not use BP_SYM.
1230 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1231 libc_hidden_def.
1232 (mempcpy): Do not use BP_SYM in weak_alias.
1233 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1234 "bp-asm.h".
1235 (strchr): Do not use BP_SYM.
1236 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1237 "bp-asm.h".
1238 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1239 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1240 (_start): Do not use BP_SYM.
1241 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1242 "bp-asm.h".
1243 (strcat): Do not use BP_SYM.
1244 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1245 "bp-asm.h".
1246 (STRCMP): Do not use BP_SYM.
1247 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1248 "bp-asm.h".
1249 (STRCPY): Do not use BP_SYM.
1250 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1251 "bp-asm.h".
1252 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1253 "bp-asm.h".
1254 (FUNCTION): Do not use BP_SYM.
1255 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1256 weak_alias.
1257 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1258
1259 2013-02-17 Andreas Jaeger <aj@suse.de>
1260
1261 * time/Versions: Sort entries.
1262 * string/Versions: Likewise.
1263 * resolv/Versions: Likewise.
1264 * posix/Versions: Likewise.
1265 * iconv/Versions: Likewise.
1266 * elf/Versions: Likewise.
1267 * wcsmbs/Versions: Likewise.
1268
1269 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1270
1271 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1272 loop termination condition.
1273
1274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1275 variable to calculate EZ.
1276 (__sqr): Likewise.
1277
1278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1279 the lower precision input.
1280
1281 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1282
1283 [BZ #13550]
1284 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1285 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1286 (run-via-rtld-prefix): Do not handle %-bp tests.
1287 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1288 (all-object-suffixes): Remove .ob.
1289 (bppfx): Remove variable.
1290 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1291 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1292 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1293 [$(build-bounded) = yes] (libtype.ob): Likewise.
1294 * Makerules (elide-routines.ob): Remove variable.
1295 (do-tests-clean): Do not handle *-bp.out.
1296 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1297 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1298 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1299 (tests): Do not include $(tests-bp.out).
1300 (xtests): Do not include $(xtests-bp.out).
1301 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1302 [$(build-bounded) = yes] ($(addprefix
1303 $(objpfx),$(binaries-bounded))): Remove rule.
1304 ($(objpfx)%-bp.out): Remove rule.
1305 * config.make.in (build-bounded): Remove variable.
1306 * crypt/Makefile [$(build-bounded) = yes]
1307 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1308 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1309 append to variable.
1310 [$(build-bounded) = yes] (install-lib): Likewise.
1311 [$(build-bounded) = yes] (generated): Likewise.
1312 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1313 Remove rule.
1314 * intl/Makefile [$(build-bounded) = yes]
1315 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1316 * math/Makefile [$(build-bounded) = yes]
1317 ($(tests:%=$(objpfx)%-bp): Likewise.
1318 * misc/Makefile [$(build-bounded) = yes]
1319 ($(objpfx)tst-tsearch-bp): Likewise.
1320 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1321 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1322 Remove dependency.
1323 * string/Makefile (o-objects.ob): Remove variable.
1324 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1325 (CFLAGS-.ob): Remove variable.
1326 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1327 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1328 both definitions of variable.
1329 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1330 (ASFLAGS-.ob): Remove variable.
1331
1332 2013-02-14 Joseph Myers <joseph@codesourcery.com>
1333
1334 [BZ #13550]
1335 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1336 Remove __BOUNDED_POINTERS__ from condition.
1337 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1338 * string/bits/string2.h [!__NO_STRING_INLINES &&
1339 !__BOUNDED_POINTERS__]: Likewise.
1340 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1341 Likewise.
1342 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1343 Remove conditional code.
1344 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1345 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1346 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1347 condition.
1348
1349 [BZ #13550]
1350 * csu/libc-start.c: Do not include <bp-sym.h>.
1351 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1352 * elf/dl-open.c: Do not include <bp-sym.h>.
1353 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1354 * math/fegetenv.c: Do not include <bp-sym.h>.
1355 (fegetenv): Do not use BP_SYM in versioned symbols.
1356 * nptl/sysdeps/pthread/bits/libc-lockP.h
1357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1358 <bp-sym.h>.
1359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1360 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1362 (__pthread_mutex_destroy): Likewise.
1363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1364 (__pthread_mutex_lock): Likewise.
1365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1366 (__pthread_mutex_trylock): Likewise.
1367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1368 (__pthread_mutex_unlock): Likewise.
1369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1370 (__pthread_mutexattr_init): Likewise.
1371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1372 (__pthread_mutexattr_destroy): Likewise.
1373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1374 (__pthread_mutexattr_settype): Likewise.
1375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1376 (__pthread_rwlock_init): Likewise.
1377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1378 (__pthread_rwlock_destroy): Likewise.
1379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1380 (__pthread_rwlock_rdlock): Likewise.
1381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1382 (__pthread_rwlock_tryrdlock): Likewise.
1383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1384 (__pthread_rwlock_wrlock): Likewise.
1385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1386 (__pthread_rwlock_trywrlock): Likewise.
1387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1388 (__pthread_rwlock_unlock): Likewise.
1389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1390 (__pthread_key_create): Likewise.
1391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1392 (__pthread_setspecific): Likewise.
1393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1394 (__pthread_getspecific): Likewise.
1395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1396 Likewise.
1397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1398 (_pthread_cleanup_push_defer): Likewise.
1399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1400 (_pthread_cleanup_pop_restore): Likewise.
1401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1402 (pthread_setcancelstate): Likewise.
1403 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1404 <bp-sym.h>.
1405 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1406 (memchr): Do not use BP_SYM in weak_alias.
1407 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1408 (fegetenv): Do not use BP_SYM in versioned symbols.
1409 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1410 (fesetenv): Do not use BP_SYM in versioned symbols.
1411 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1412 (feupdateenv): Do not use BP_SYM in versioned symbols.
1413 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1414 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1415 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1416 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1417 (open64): Do not use BP_SYM in weak_alias.
1418 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1419 (fegetenv): Do not use BP_SYM in versioned symbols.
1420 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1421 (fesetenv): Do not use BP_SYM in versioned symbols.
1422 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1423 (feupdateenv): Do not use BP_SYM in versioned symbols.
1424 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1425 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1426 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1427 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1428 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1429 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1430 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1431 <bp-sym.h>.
1432 (__libc_start_main): Do not use BP_SYM.
1433
1434 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1435
1436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1437 redundant return line.
1438 (norm): Likewise.
1439 (denorm): Likewise.
1440 (dbl_mp): Likewise.
1441 (sub_magnitudes): Likewise.
1442 (__add): Likewise.
1443 (__sub): Likewise.
1444 (__mul): Likewise.
1445 (__inv): Likewise.
1446 (__dvd): Likewise.
1447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1448 (norm): Likewise.
1449 (denorm): Likewise.
1450 (dbl_mp): Likewise.
1451 (sub_magnitudes): Likewise.
1452 (__add): Likewise.
1453 (__sub): Likewise.
1454 (__mul): Likewise.
1455 (__inv): Likewise.
1456 (__dvd): Likewise.
1457
1458 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1459 instead of __mul.
1460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1461 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1462 (cc32): Likewise.
1463
1464 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1465 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1466 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1467 of __mul for squares.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1469 function
1470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1471 Likewise.
1472 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1473 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1474
1475 2013-02-13 Joseph Myers <joseph@codesourcery.com>
1476
1477 [BZ #13550]
1478 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1479 code.
1480 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1481 prototype or function definition. Rename ubp_* variables and
1482 parameters. Remove argv definitions conditional on
1483 [__BOUNDED_POINTERS__].
1484 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1485 * elf/dl-runtime.c (_dl_fixup): Likewise.
1486 * include/set-hooks.h (RUN_HOOK): Likewise.
1487 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1488 definition.
1489 * string/strcpy.c (strcpy): Do not use __unbounded.
1490 * sysdeps/generic/frame.h (struct layout): Likewise.
1491 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1492 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1493 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1494 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1495 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1496 (__backtrace): Likewise.
1497 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1498 use __ptrvalue.
1499 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1500 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1501 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1502 Likewise.
1503 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1504 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1505 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1506 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1507 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1508 Do not use __unbounded.
1509 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1510 Rename __unboundedrlimits parameter to rlimits in prototype.
1511 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1512 Do not use __unbounded.
1513 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1514 not use __ptrvalue.
1515 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1516 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1517 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1518 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1519 __ptrvalue or __unbounded.
1520 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1521 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1522 use __unbounded.
1523 (__new_msgctl): Do not use __ptrvalue.
1524 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1525 __unbounded.
1526 (__libc_msgrcv): Do not use __ptrvalue.
1527 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1528 startup_info): Do not use __unbounded.
1529 (__libc_start_main): Likewise. Rename ubp_* variables and
1530 parameters. Remove argv definitions conditional on
1531 [__BOUNDED_POINTERS__].
1532 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1533 __ptrvalue.
1534 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1535 use __unbounded.
1536 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1537 or __ptrvalue.
1538 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1539 use __unbounded.
1540 (__new_shmctl): Do not use __ptrvalue.
1541 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1542 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1543 Likewise.
1544 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1545 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1546 (__libc_sigaction): Likewise.
1547 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1548 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1551
1552 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
1553
1554 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1555
1556 * string/mempcpy.c: Implement by calling memcpy.
1557
1558 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1559
1560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1561
1562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1563 evaluation.
1564
1565 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1566 values in the mantissa.
1567
1568 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1569 minimize writes to Z.
1570 (sub_magnitudes): Simplify code a bit.
1571
1572 2013-02-12 Roland McGrath <roland@hack.frob.com>
1573
1574 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1575 from the message. The linker prefixes all warnings with that already.
1576
1577 2013-02-12 Andreas Schwab <schwab@suse.de>
1578
1579 [BZ #15078]
1580 * posix/regexec.c (extend_buffers): Add parameter min_len.
1581 (check_matching): Pass minimum needed length.
1582 (clean_state_log_if_needed): Likewise.
1583 (get_subexp): Likewise.
1584 * posix/Makefile (tests): Add bug-regex34.
1585 (bug-regex34-ENV): Define.
1586 * posix/bug-regex34.c: New file.
1587
1588 [BZ #11561]
1589 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1590 elements compare against the byte sequence of it, not its name.
1591 * posix/Makefile (tests): Add bug-regex35.
1592 (bug-regex35-ENV): Define.
1593 * posix/bug-regex35.c: New file.
1594
1595 2013-02-11 Tom de Vries <tom@codesourcery.com>
1596
1597 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1598 comment.
1599 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1600 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1601 (CHECK_EOL): Add undef.
1602
1603 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
1604
1605 * bits/stdlib-bsearch.h: New file.
1606 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1607 * stdlib/stdlib.h: Likewise.
1608
1609 2013-02-11 Roland McGrath <roland@hack.frob.com>
1610
1611 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1612 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1613 declaration.
1614 * manual/search.texi (Array Search Function): Add missing const in
1615 lfind prototype.
1616 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1617 declaration to use rlim_t.
1618 (Basic Scheduling Functions): Remove erroneous const from
1619 sched_getparam prototype. Remove erroneous * from
1620 sched_get_priority_max and sched_get_priority_min prototypes.
1621 (Resource Usage): Fix summary @comment on vtimes to refer to
1622 sys/vtimes.h rather than vtimes.h.
1623 Add missing *s in vtimes prototype.
1624 (Limits on Resources): Fix ulimit prototype to return long int.
1625 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1626 prototypes to use long int rather than double.
1627 (BSD Random): Fix initstate and setstate to use char *, not void *.
1628 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1629 prototype to make second argument 'struct aiocb64 *const[]'.
1630 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1631 (Status of AIO Operations): Remove erroneous const in aio_return and
1632 aio_return64 prototypes.
1633 (Synchronizing I/O): Fix sync prototype to return void.
1634 * manual/startup.texi (Suboptions): Remove an erroneous const in
1635 getsubopt prototype.
1636 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1637 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1638 use size_t rather than int.
1639 (Scanning All Users): Likewise for getpwent_r.
1640 (Setting Groups): Add missing const to setgroups prototype.
1641 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1642 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1643 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1644 'const void *' rather than 'const char *'.
1645 (Host Address Functions): Likewise for inet_ntop.
1646 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1647 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1648 ssize_t for return value.
1649 (Sending Data): Likewise for send, sendto, sendmsg.
1650 (Socket Option Functions): Add a missing const in setsockopt prototype.
1651 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1652 use wchar_t for the argument.
1653 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1654 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1655 take no arguments.
1656 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1657 double/float/long double for second argument.
1658 Fix return types of significand, significandf, significandl.
1659 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1660 argument in fchmod prototype.
1661 (File Owner): Use uid_t and gid_t in fchown prototype.
1662 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1663 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1664 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1665 use 'const struct dirent **' as argument types to CMP function pointer
1666 argument.
1667 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1668 (File Times): Fix summary magic @comment for struct utimbuf and utime
1669 to refer to utime.h, not time.h.
1670 * manual/string.texi (Argz Functions): Add missing const in
1671 argz_extract and argz_next prototypes.
1672 (Finding Tokens in a String): Likewise for basename.
1673 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1674 (Copying and Concatenation): Fix typo in wmemmove prototype.
1675 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1676 (Signal Stack): Remove erroneous const in sigstack prototype.
1677 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1678 prototype.
1679 (Simple Calendar Time): Likewise for stime.
1680 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1681 prototype.
1682 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1683 say sys/sysctl.h instead.
1684 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1685 and vsyslog prototypes.
1686
1687 2013-02-11 Tom de Vries <tom@codesourcery.com>
1688
1689 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1690 Remove.
1691
1692 2013-02-11 Roland McGrath <roland@hack.frob.com>
1693
1694 * misc/sys/mman.h: Fix typo in mremap comment.
1695
1696 2013-02-08 Roland McGrath <roland@hack.frob.com>
1697
1698 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1699 the '\0' terminator.
1700
1701 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1702
1703 [BZ #13550]
1704 * debug/segfault.c: Don't include <bp-checks.h>.
1705 * sysdeps/generic/bp-checks.h: Remove file.
1706 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1707 (__GETDENTS): Don't use CHECK_N.
1708 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1709 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1710 (__getgroups): Don't use CHECK_N.
1711 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1712 (setgroups): Don't use CHECK_N.
1713 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1714 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1715 (__libc_msgrcv): Don't use CHECK_N.
1716 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1717 (__libc_msgsnd): Don't use CHECK_N.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1719 <bp-checks.h>.
1720 (__libc_pread): Don't use CHECK_N.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1722 include <bp-checks.h>.
1723 (__libc_pread64): Don't use CHECK_N.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1725 include <bp-checks.h>.
1726 (__libc_pwrite): Don't use CHECK_N.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1728 include <bp-checks.h>.
1729 (__libc_pwrite64): Don't use CHECK_N.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1731 <bp-checks.h>.
1732 (__libc_pread): Don't use CHECK_N.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1734 include <bp-checks.h>.
1735 (__libc_pread64): Don't use CHECK_N.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1737 include <bp-checks.h>.
1738 (__libc_pwrite): Don't use CHECK_N.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1740 include <bp-checks.h>.
1741 (__libc_pwrite64): Don't use CHECK_N.
1742 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1743 (do_pread): Don't use CHECK_N.
1744 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1745 (do_pread64): Don't use CHECK_N.
1746 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1747 (do_pwrite): Don't use CHECK_N.
1748 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1749 (do_pwrite64): Don't use CHECK_N.
1750 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1751 (__libc_readv): Don't use CHECK_N.
1752 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1753 (semop): Don't use CHECK_N.
1754 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1755 <bp-checks.h>.
1756 (semtimedop): Don't use CHECK_N.
1757 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1758 (__libc_pread): Don't use CHECK_N.
1759 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1760 <bp-checks.h>.
1761 (__libc_pread64): Don't use CHECK_N.
1762 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1763 <bp-checks.h>.
1764 (__libc_pwrite): Don't use CHECK_N.
1765 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1766 <bp-checks.h>.
1767 (__libc_pwrite64): Don't use CHECK_N.
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1769 <bp-checks.h>.
1770 (__libc_msgrcv): Don't use CHECK_N.
1771 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1772 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1773 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1774 (__libc_writev): Don't use CHECK_N.
1775
1776 2013-02-08 Roland McGrath <roland@hack.frob.com>
1777
1778 * string/strcpy.c: Removed unused variable.
1779
1780 * Makeconfig (+sysdep-includes): Define with := rather than =.
1781 Use an existing include/ subdir of each sysdeps dir before it.
1782
1783 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1784
1785 * nscd/connection.c (register_traced_file): Comment function.
1786 [HAVE_INOTIFY] (union __inev): Define.
1787 [HAVE_INOTIFY] (inotify_check_files): New function.
1788 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1789 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1790 clear_db_cache.
1791 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1792
1793 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1794
1795 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1796 loaded if not already and that a failure is permanent.
1797
1798 2013-02-08 Carlos O'Donell <carlos@redhat.com>
1799
1800 [BZ #15006]
1801 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1802 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1803
1804 2013-02-08 Joseph Myers <joseph@codesourcery.com>
1805
1806 [BZ #13550]
1807 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1808 (CHECK_1_NULL_OK): Likewise.
1809 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1810 (__fxstat): Do not use CHECK_1.
1811 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1812 <bp-checks.h>.
1813 (___fxstat64): Do not use CHECK_1.
1814 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1815 <bp-checks.h>.
1816 (__fxstatat): Do not use CHECK_1.
1817 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1818 <bp-checks.h>.
1819 (__fxstatat64): Do not use CHECK_1.
1820 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1821 <bp-checks.h>.
1822 (__fxstat): Do not use CHECK_1.
1823 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1824 <bp-checks.h>.
1825 (__fxstatat): Do not use CHECK_1.
1826 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1827 <bp-checks.h>.
1828 (__getresgid): Do not use CHECK_1.
1829 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1830 <bp-checks.h>.
1831 (__getresuid): Do not use CHECK_1.
1832 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1833 <bp-checks.h>.
1834 (__lxstat): Do not use CHECK_1.
1835 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1836 <bp-checks.h>.
1837 (__old_msgctl): Do not use CHECK_1.
1838 (__new_msgctl): Likewise.
1839 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1840 <bp-checks.h>.
1841 (__new_setrlimit): Do not use CHECK_1.
1842 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1843 <bp-checks.h>.
1844 (__old_shmctl): Do not use CHECK_1.
1845 (__new_shmctl): Likewise.
1846 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1847 <bp-checks.h>.
1848 (__xstat): Do not use CHECK_1.
1849 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1850 (__lxstat): Do not use CHECK_1.
1851 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1852 <bp-checks.h>.
1853 (___lxstat64): Do not use CHECK_1.
1854 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1855 (__old_msgctl): Do not use CHECK_1.
1856 (__new_msgctl): Likewise.
1857 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1858 <bp-checks.h>.
1859 (__gettimeofday): Do not use CHECK_1.
1860 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1861 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1862 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1863 <bp-checks.h>.
1864 (__gettimeofday): Do not use CHECK_1.
1865 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1866 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1867 (__new_shmctl): Do not use CHECK_1.
1868 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1869 <bp-checks.h>.
1870 (do_sigtimedwait): Do not use CHECK_1.
1871 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1872 <bp-checks.h>.
1873 (do_sigwaitinfo): Do not use CHECK_1.
1874 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1875 <bp-checks.h>.
1876 (msgctl): Do not use CHECK_1.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1878 <bp-checks.h>.
1879 (shmctl): Do not use CHECK_1.
1880 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1881 (ustat): Do not use CHECK_1.
1882 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1883 <bp-checks.h>.
1884 (__fxstat): Do not use CHECK_1.
1885 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1886 <bp-checks.h>.
1887 (__fxstatat): Do not use CHECK_1.
1888 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1889 <bp-checks.h>.
1890 (__lxstat): Do not use CHECK_1.
1891 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1892 <bp-checks.h>.
1893 (__xstat): Do not use CHECK_1.
1894 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1895 (__xstat): Do not use CHECK_1.
1896 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1897 (___xstat64): Do not use CHECK_1.
1898
1899 [BZ #13550]
1900 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1901 definitions.
1902 (CHECK_BOUNDS_HIGH): Likewise.
1903 * string/strcpy.c: Do not include <bp-checks.h>.
1904 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1905
1906 2013-02-07 Roland McGrath <roland@hack.frob.com>
1907
1908 * nscd/nscd-client.h (__nscd_drop_map_ref):
1909 Add __attribute__ ((unused)).
1910 * nis/nss-nisplus.h (niserr2nss): Likewise.
1911
1912 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1913 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1914
1915 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1916 Remove inline keyword.
1917 * include/rounding-mode.h (round_away): Likewise.
1918 * libio/wfileops.c (adjust_wide_data): Likewise.
1919 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1920 (__m128i_strloadu_tolower): Likewise.
1921 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1922 (__m128i_strloadu_tolower): Likewise.
1923 * time/mktime.c (ydhms_diff): Likewise.
1924 * locale/elem-hash.h (elem_hash): Likewise.
1925 * locale/setlocale.c (setdata): Likewise.
1926 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1927 (re_string_wchar_at): Likewise.
1928 (bitset_not, bitset_merge, bitset_mask): Likewise.
1929 [!(__GNUC__ > 3)] (inline): Remove macro.
1930 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1931 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1932 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1933 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1934 * string/memcmp.c (memcmp_bytes): Likewise.
1935 * locale/programs/locarchive.c (compute_hashval): Likewise.
1936 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1937 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1938 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1939 * nss/getent.c (print_rpc, print_protocols): Likewise.
1940 (print_passwd, print_group, print_aliases): Likewise.
1941 * nis/nss-nisplus.h (niserr2nss): Likewise.
1942 * nscd/connections.c (restart_p): Likewise.
1943 Change return type to bool.
1944
1945 2013-02-05 Roland McGrath <roland@hack.frob.com>
1946
1947 * Makeconfig (all-Depend-files): Add existing
1948 $(sorted-subdirs:=/Depend) files.
1949 (all-subdirs): Remove nss.
1950 * sysdeps/unix/inet/Subdirs: Add it here instead.
1951 * hesiod/Depend: New file.
1952
1953 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1954 instead of calling alloca.
1955
1956 * io/lseek.c (__lseek): Rename to __libc_lseek.
1957 Define __lseek as an alias.
1958
1959 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1960
1961 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1962
1963 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1964 else clause and remove check for non-standard endianness.
1965
1966 2013-02-04 David S. Miller <davem@davemloft.net>
1967
1968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1969
1970 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1971
1972 [BZ #13550]
1973 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1974 (__ubp_memchr): Remove prototype.
1975 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1976 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1977 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1978 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1979 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1980 Remove alias.
1981 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1982 (__ubp_memchr): Likewise.
1983 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1984 (__ubp_memchr): Likewise.
1985 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1986 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1987 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1988 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1989 CHECK_STRING.
1990 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1991 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1992 (__getcwd): Do not use CHECK_STRING.
1993 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1994 <bp-checks.h>.
1995 (__real_chown): Do not use CHECK_STRING.
1996 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1997 <bp-checks.h>.
1998 (fchownat): Do not use CHECK_STRING.
1999 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2000 CHECK_STRING.
2001 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2002 <bp-checks.h>.
2003 (__lchown): Do not use CHECK_STRING.
2004 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2005 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2006 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2007 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2009 include <bp-checks.h>.
2010 (truncate64): Do not use CHECK_STRING.
2011 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2012 <bp-checks.h>.
2013 (__real_chown): Do not use CHECK_STRING.
2014 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2015 <bp-checks.h>.
2016 (__lchown): Do not use CHECK_STRING.
2017 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2018 <bp-checks.h>.
2019 (__chown): Do not use CHECK_STRING.
2020 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2021 <bp-checks.h>.
2022 (truncate64): Do not use CHECK_STRING.
2023 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2024 Likewise.
2025 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2026 (__xmknod): Do not use CHECK_STRING.
2027 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2028 <bp-checks.h>.
2029 (__xmknodat): Do not use CHECK_STRING.
2030 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2031 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2032
2033 2013-02-04 Andreas Schwab <schwab@suse.de>
2034
2035 [BZ #14142]
2036 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2037 * include/netdb.h: Likewise for h_errno.
2038 * elf/tst-stackguard1.c: Include <tls.h>.
2039
2040 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 * elf/link.h (struct link_map): Extend the l_addr comment.
2043 * include/link.h (struct link_map): Likewise.
2044
2045 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2046
2047 [BZ #13550]
2048 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2049 (BOUNDED_1): Remove macro.
2050 * debug/backtrace.c: Don't include <bp-checks.h>.
2051 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2052 (__backtrace): Likewise.
2053 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2054 <bp-checks.h>.
2055 (__backtrace): Don't use BOUNDED_1.
2056 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2057 <bp-checks.h>.
2058 (__backtrace): Don't use BOUNDED_1.
2059 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2060 (__backtrace): Don't use BOUNDED_1.
2061 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2062 (shmat): Don't use BOUNDED_N.
2063
2064 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2065
2066 [BZ #13550]
2067 * sysdeps/generic/bp-start.h: Remove file.
2068 * csu/libc-start.c: Don't include <bp-start.h>.
2069 (LIBC_START_MAIN): Set up __environ directly instead of using
2070 INIT_ARGV_and_ENVIRON.
2071 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2072 <bp-start.h>.
2073
2074 [BZ #13550]
2075 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2076 definitions.
2077 (CHECK_FCNTL): Likewise.
2078 (CHECK_N_PAGES): Likewise.
2079
2080 [BZ #13550]
2081 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2082 definitions.
2083 (CHECK_SIGSET_NULL_OK): Likewise.
2084 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2085 <bp-checks.h>.
2086 (sigpending): Don't use CHECK_SIGSET.
2087 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2088 <bp-checks.h>.
2089 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2090 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2091 <bp-checks.h>.
2092 (do_sigsuspend): Don't use CHECK_SIGSET.
2093 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2094 use CHECK_SIGSET.
2095 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2096 (do_sigwait): Don't use CHECK_SIGSET.
2097 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2098 use CHECK_SIGSET.
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2100 include <bp-checks.h>.
2101 (sigpending): Don't use CHECK_SIGSET.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2103 include <bp-checks.h>.
2104 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2105 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2106 <bp-checks.h>.
2107 (sigpending): Don't use CHECK_SIGSET.
2108 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2109 <bp-checks.h>.
2110 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2111
2112 [BZ #13550]
2113 * sysdeps/generic/bp-semctl.h: Remove file.
2114 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2115 <bp-checks.h> and <bp-semctl.h>.
2116 (__old_semctl): Don't use CHECK_SEMCTL.
2117 (__new_semctl): Likewise.
2118 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2119 and <bp-semctl.h>.
2120 (__old_semctl): Don't use CHECK_SEMCTL.
2121 (__new_semctl): Likewise.
2122 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2123 <bp-checks.h> and <bp-semctl.h>.
2124 (__old_semctl): Don't use CHECK_SEMCTL.
2125 (__new_semctl): Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2127 <bp-checks.h> and <bp-semctl.h>.
2128 (semctl): Don't use CHECK_SEMCTL.
2129
2130 [BZ #13550]
2131 * Makerules (elide-bp-thunks): Remove variable.
2132 (elide-routines.oS): Don't use $(elide-bp-thunks).
2133 (elide-routines.os): Likewise.
2134 (elide-routines.o): Likewise.
2135 (elide-routines.op): Likewise.
2136 (elide-routines.og): Likewise.
2137 (objects): Don't use $(bp-thunks).
2138 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2139 include.
2140 (common-generated): Do not add s-proto-bp.d.
2141 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2142 (int): Likewise.
2143 (typ): Likewise.
2144 Do not generate makefile rules for bounded-pointer thunks.
2145 * sysdeps/generic/bp-thunks.h: Remove file.
2146 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2147 * sysdeps/unix/s-proto-bp.S: Likewise.
2148
2149 [BZ #15062]
2150 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2151 parts of result separately when argument is not close to line from
2152 -i to i and one part of argument is small.
2153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2155 * math/libm-test.inc (cacos_test): Add more tests.
2156 (casin_test): Likewise.
2157 (casinh_test): Likewise.
2158 * sysdeps/i386/fpu/libm-test-ulps: Update.
2159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2160
2161 2013-01-31 David S. Miller <davem@davemloft.net>
2162
2163 * po/de.po: Update from translation team.
2164
2165 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2166
2167 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2168
2169 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2170
2171 * configure.in (_AC_PROG_CC_C89): New definition.
2172 * configure: Regenerate.
2173
2174 * configure.in (AC_PROG_CPP): New definition.
2175 * configure: Regenerate.
2176
2177 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2178
2179 * debug/tst-backtrace.h: New file.
2180 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2181 (ret): Remove variable.
2182 (x): Likewise.
2183 (FAIL): Remove macro.
2184 (NO_INLINE): Likewise.
2185 (fn1): Use match function instead of strstr.
2186 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2187 (ret): Remove variable.
2188 (x): Likewise.
2189 (FAIL): Remove macro.
2190 (NO_INLINE): Likewise.
2191 (fn): Use match function instead of strstr.
2192 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2193 (ret): Remove variable.
2194 (x): Likewise.
2195 (FAIL): Remove macro.
2196 (NO_INLINE): Likewise.
2197 (handle_signal): Use match function instead of strstr.
2198 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2199 (ret): Remove variable.
2200 (x): Likewise.
2201 (FAIL): Remove macro.
2202 (NO_INLINE): Likewise.
2203 (handle_signal): Use match function instead of strstr.
2204
2205 2013-01-23 Roland McGrath <roland@hack.frob.com>
2206
2207 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2208
2209 2013-01-23 David S. Miller <davem@davemloft.net>
2210
2211 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2212 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2213 argument of CAS if possible.
2214 * sysdeps/sparc/sparc64/bits/atomic.h
2215 (__arch_compare_and_exchange_val_32_acq): Likewise.
2216 (__arch_compare_and_exchange_val_64_acq): Likewise.
2217
2218 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2219
2220 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2221 * sysdeps/posix/ulimit.c: ... this.
2222 Include <limits.h>.
2223 * sysdeps/unix/bsd/ulimit.c: Remove file.
2224
2225 2013-01-23 Adam Conrad <adconrad@0c3.net>
2226
2227 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2228 (LDFLAGS-tst-array5): Likewise.
2229
2230 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2231
2232 [BZ #15036]
2233 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2234 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2235 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2236 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2237
2238 2013-01-21 David S. Miller <davem@davemloft.net>
2239
2240 * sysdeps/sparc/backtrace.c: New file.
2241 * sysdeps/sparc/sparc32/backtrace.h: New file.
2242 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2243 * sysdeps/sparc/sparc64/backtrace.h: New file.
2244 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2245 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2246 -funwind-tables.
2247
2248 2013-01-21 Andreas Schwab <schwab@suse.de>
2249
2250 [BZ #15020]
2251 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2252 closed its stdout.
2253
2254 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2255
2256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2257 "mpa2.h".
2258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2259
2260 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2261 Mark Mitchell <mark@codesourcery.com>
2262 Tom de Vries <tom@codesourcery.com>
2263 Paul Pluzhnikov <ppluzhnikov@google.com>
2264
2265 * debug/tst-backtrace2.c: New file.
2266 * debug/tst-backtrace3.c: Likewise.
2267 * debug/tst-backtrace4.c: Likewise.
2268 * debug/tst-backtrace5.c: Likewise.
2269 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2270 (CFLAGS-tst-backtrace3.c): Likewise.
2271 (CFLAGS-tst-backtrace4.c): Likewise.
2272 (CFLAGS-tst-backtrace5.c): Likewise.
2273 (LDFLAGS-tst-backtrace2): Likewise.
2274 (LDFLAGS-tst-backtrace3): Likewise.
2275 (LDFLAGS-tst-backtrace4): Likewise.
2276 (LDFLAGS-tst-backtrace5): Likewise.
2277 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2278 tst-backtrace4 and tst-backtrace5.
2279
2280 2013-01-18 Anton Blanchard <anton@samba.org>
2281 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2282
2283 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2284 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2285 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2286 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2288 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2289 "+r" and remove output regs list as redundant. Add explicit inline
2290 asm to specify register of return val to work around compiler codegen
2291 bug. Remove (int) cast on return value. Add return type parameter to
2292 use in macro so that this macro does not truncate return value for
2293 64-bit values.
2294 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2295 pass to INTERNAL_VSYSCALL_NCS.
2296 (INLINE_VSYSCALL): Add 'long int' as return type to
2297 INTERNAL_VSYSCALL_NCS macro invocation.
2298 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2299 INTERNAL_VSYSCALL_NCS macro invocation.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2301
2302 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2303
2304 [BZ #14496]
2305 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2306 Fix application of SIMD FP exception mask.
2307
2308 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2309 mp_no from a power of two.
2310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2311 __mpexp_twomm1. Use __pow_mp.
2312
2313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2314 multiplication.
2315
2316 2013-01-17 David S. Miller <davem@davemloft.net>
2317
2318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2319
2320 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2321
2322 [BZ #15023]
2323 * include/complex.h: Condition contents on [!_COMPLEX_H].
2324 (__kernel_casinhf): New prototype.
2325 (__kernel_casinh): Likewise.
2326 (__kernel_casinhl): Likewise.
2327 * math/Makefile (libm_calls): Add k_casinh.
2328 * math/k_casinh.c: New file.
2329 * math/k_casinhf.c: Likewise.
2330 * math/k_casinhl.c: Likewise.
2331 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2332 finite nonzero arguments.
2333 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2334 finite nonzero arguments.
2335 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2336 finite nonzero arguments.
2337 * math/s_casinh.c: Do not include <float.h>.
2338 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2339 * math/s_casinhf.c: Do not include <float.h>.
2340 (__casinhf): Move code for finite nonzero arguments to
2341 k_casinhf.c.
2342 * math/s_casinhl.c: Do not include <float.h>.
2343 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2344 redefine.
2345 (__casinhl): Move code for finite nonzero arguments to
2346 k_casinhl.c.
2347 * math/libm-test.inc (cacos_test): Add more tests.
2348 * sysdeps/i386/fpu/libm-test-ulps: Update.
2349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2350
2351 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2352
2353 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2354 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2355 [!HAVE_MREMAP]: Remove [defined linux] case.
2356 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2357
2358 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2359
2360 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2361
2362 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
2363
2364 * elf/elf.h (R_386_SIZE32): New relocation.
2365 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2366 R_386_SIZE32.
2367 (elf_machine_rela): Likewise.
2368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2369 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2370
2371 2013-01-17 Joseph Myers <joseph@codesourcery.com>
2372
2373 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2374 (FP_FAST_FMA): Do not define.
2375 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2376 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2377 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2378 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2379 !_SOFT_FLOAT]: Likewise.
2380 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2381 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2382 value.
2383 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2384 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2385 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2386 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2387 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2388 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2389 file.
2390
2391 2013-01-16 Andreas Schwab <schwab@suse.de>
2392
2393 [BZ #14327]
2394 * include/stdlib.h (__mktemp): Add declaration.
2395 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2396 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2397
2398 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2399
2400 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2401 definitions.
2402 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2403 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2404 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2405 definitions here.
2406 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2407 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2408 definitions.
2409 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2410 and ONE.
2411 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2412 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2413 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2414 definitions.
2415 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2416 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2417 definitions.
2418 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2419
2420 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2421
2422 2013-01-15 David S. Miller <davem@davemloft.net>
2423
2424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2425 trunc{,f} to libm-sysdep_routes.
2426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2428 file.
2429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2431 file.
2432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2433 file.
2434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2436 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2437 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2438 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2439 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2440 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2441 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2442
2443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2444 nearbyint{,f} to libm-sysdep_routes.
2445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2447 New file.
2448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2449 file.
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2451 New file.
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2453 file.
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2456 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2457 file.
2458 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2459 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2460 file.
2461 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2462 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2463 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2464
2465 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2466 libc_feholdexcept and libc_fesetenv.
2467
2468 2013-01-15 Mike Frysinger <vapier@gentoo.org>
2469
2470 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2471
2472 2013-01-14 David S. Miller <davem@davemloft.net>
2473
2474 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2475 (SPARC_ASM_VIS2_IFUNC): Likewise.
2476 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2478 use of 'siam' instruction.
2479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2480 Likewise.
2481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2482 Likewise.
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2484 Likewise.
2485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2490 file.
2491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2492 file.
2493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2494 file.
2495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2496 file.
2497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2502 new VIS2 routines.
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2506 Likewise.
2507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2512 routines to libm-sysdep_routines.
2513 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2514
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2516 fdim/fdimf to libm-sysdep_routines.
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2518 file.
2519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2521 file.
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2525 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2526 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2527 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2528 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2529
2530 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2531
2532 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2533 to optimize copies.
2534
2535 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2538
2539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2540 local variable MPTWO.
2541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2542 Likewise.
2543
2544 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2545
2546 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2547 GLOB_NOESCAPE.
2548
2549 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2550
2551 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2552
2553 2013-01-13 Mike Frysinger <vapier@gentoo.org>
2554
2555 * manual/pattern.texi (glob_t): Document gl_flags.
2556 (glob64_t): Likewise.
2557
2558 2013-01-11 David S. Miller <davem@davemloft.net>
2559
2560 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2561 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2562 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
2563 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2564 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2565 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2566 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2567 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2568 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2569 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2570 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2571 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2572 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2573
2574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2575 sparc V9 rather than using V8 code.
2576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2578
2579 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2580 Move to...
2581 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2582 Here.
2583
2584 2013-01-11 Roland McGrath <roland@hack.frob.com>
2585
2586 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2587 not in the main loop.
2588 * configure: Regenerated.
2589
2590 2013-01-11 Joseph Myers <joseph@codesourcery.com>
2591
2592 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2593 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2594 to just #else.
2595 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2596 [!__GLIBC_HAVE_LONG_LONG] case.
2597 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2598 condition to just #else.
2599 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2600 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2601 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2602 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2603 unconditional.
2604 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2605 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2606 #elif condition to just #else.
2607 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2608 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2609 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2610 #elif condition to just #else.
2611
2612 2013-01-11 Steve Ellcey <sellcey@mips.com>
2613
2614 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2615 (EF_MIPS_ARCH_64): Fix value.
2616 (EF_MIPS_ARCH_32R2): New.
2617 (EF_MIPS_ARCH_64R2): New.
2618
2619 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2620
2621 * Makeconfig (+link-pie-before-libc): New.
2622 (+link-pie-after-libc): Likewise.
2623 (+link-pie-tests): Likewise.
2624 (+link-pie): Rewritten.
2625 (link-before-libc): Remove $(config-LDFLAGS).
2626 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2627 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2628 (config-LDFLAGS): Renamed to ...
2629 (rtld-LDFLAGS): This.
2630 (rtld-tests-LDFLAGS): New macro.
2631 (link-libc-rpath-link): Likewise.
2632 (link-libc-tests-rpath-link): Likewise.
2633 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2634 (link-libc): Prepand $(link-libc-rpath-link).
2635 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2636 (test-program-prefix): New macro.
2637 (test-via-rtld-prefix): Likewise.
2638 (test-program-cmd): Likewise.
2639 (host-test-program-cmd): Likewise.
2640 * Makefile ($(common-objpfx)testrun.sh): Replace
2641 $(run-program-prefix) with $(test-program-prefix).
2642 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2643 $(rtld-LDFLAGS).
2644 ($(common-objpfx)shlib.lds): Likewise.
2645 (build-module-helper): Likewise.
2646 ($(common-objpfx)format.lds): Likewise.
2647 * Rules (binaries-pie-tests): New.
2648 (binaries-pie-notests): Likewise.
2649 (binaries-pie): Rewritten.
2650 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2651 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2652 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2653 (make-test-out): Replace $(host-built-program-cmd) with
2654 $(host-test-program-cmd).
2655 * config.make.in (build-hardcoded-path-in-tests): New variable.
2656 * configure.in (--enable-hardcoded-path-in-tests): New configure
2657 option.
2658 (hardcoded_path_in_tests): New AC_SUBST.
2659 * configure: Regenerated.
2660 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2661 $(built-program-cmd) with $(test-program-cmd).
2662 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2663 (test_program_cmd): This.
2664 * elf/Makefile ($(objpfx)order.out): Run test with
2665 $(test-program-prefix).
2666 ($(objpfx)order2.out): Likewise.
2667 ($(objpfx)tst-initorder.out): Likewise.
2668 ($(objpfx)tst-initorder2.out): Likewise.
2669 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2670 $(test-program-cmd).
2671 ($(objpfx)tst-array1-static.out): Likewise.
2672 ($(objpfx)tst-array2.out): Likewise.
2673 ($(objpfx)tst-array3.out): Likewise.
2674 ($(objpfx)tst-array4.out): Likewise.
2675 ($(objpfx)tst-array5.out): Likewise.
2676 ($(objpfx)tst-array5-static.out): Likewise.
2677 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2678 $(test-program-cmd).
2679 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2680 $(run-program-prefix) with $(test-program-prefix).
2681 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2682 (test_program_prefix): This.
2683 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2684 $(run-program-prefix) with $(test-program-prefix).
2685 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2686 (test_program_prefix): This.
2687 * iconvdata/tst-tables.sh: Likewise.
2688 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2689 $(run-program-prefix) with $(test-program-prefix).
2690 ($(objpfx)tst-translit.out): Likewise.
2691 ($(objpfx)tst-gettext2.out): Likewise.
2692 ($(objpfx)tst-gettext4.out): Likewise.
2693 ($(objpfx)tst-gettext6.out): Likewise.
2694 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2695 (test_program_prefix): This.
2696 * intl/tst-gettext2.sh: Likewise.
2697 * intl/tst-gettext4.sh Likewise.
2698 * intl/tst-gettext6.sh: Likewise.
2699 * intl/tst-translit.sh: Likewise.
2700 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2701 with $(test-program-cmd).
2702 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2703 $(run-program-prefix) with $(test-program-prefix).
2704 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2705 (test_program_prefix): This.
2706 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2707 $(run-program-prefix) with $(test-program-prefix).
2708 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2709 (test_program_prefix): This.
2710 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2711 * posix/Makefile ($(objpfx)globtest.out): Replace
2712 $(run-via-rtld-prefix) and $(test-wrapper) with
2713 $(test-program-prefix) and $(test-via-rtld-prefix).
2714 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2715 $(test-program-prefix).
2716 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2717 $(host-test-program-cmd).
2718 (tst-spawn-ARGS): Likewise.
2719 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2720 $(test-program-prefix).
2721 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2722 (test_via_rtld_prefix): This.
2723 (test_wrapper): Renamed to ...
2724 (test_program_prefix): This.
2725 (run_program_prefix): Replaced by test_program_prefix.
2726 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2727 (test_program_prefix): This.
2728 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2729 with $(host-test-program-cmd).
2730 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2731 $(run-program-prefix) with $(test-program-prefix).
2732 ($(objpfx)tst-printf.out): Likewise.
2733 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2734 $(test-program-cmd).
2735 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2736 (test_program_prefix): This.
2737 * stdio-common/tst-unbputc.sh: Likewise.
2738 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2739 $(run-program-prefix) with $(test-program-prefix).
2740 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2741 (test_program_prefix): This.
2742 * string/Makefile ($(objpfx)tst-svc.out): Replace
2743 $(built-program-cmd) with $(test-program-cmd).
2744
2745 2013-01-11 Andreas Jaeger <aj@suse.de>
2746
2747 [BZ #15003]
2748 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2749 value. Sync with Linux 3.7.
2750
2751 2013-01-10 David S. Miller <davem@davemloft.net>
2752
2753 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2754 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2755 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2756
2757 2013-01-10 Roland McGrath <roland@hack.frob.com>
2758
2759 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2760 never set.
2761 * configure: Regenerated.
2762
2763 2013-01-10 David S. Miller <davem@davemloft.net>
2764
2765 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2766 sparc V9 rather than using V8 code.
2767 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2768 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2769
2770 2013-01-10 Roland McGrath <roland@hack.frob.com>
2771
2772 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2773 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2774 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2775 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2776 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2777 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2778 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2779 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2780 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2781 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2782 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2783 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2784 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2785 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2786 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2787 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2788 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2789 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2790 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2791 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2792 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2793 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2794 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2795 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2796 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2797 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2798 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2799
2800 2013-01-10 David S. Miller <davem@davemloft.net>
2801
2802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2803
2804 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 * posix/Makefile (tests-static): New variable.
2807 (tests): Add $(tests-static).
2808 (tst-exec-static-ARGS): New variable.
2809 (tst-spawn-static-ARGS): Likewise.
2810 * posix/tst-exec-static.c: New file.
2811 * posix/tst-spawn-static.c: Likewise.
2812 * posix/tst-exec.c: Support run directly.
2813 * posix/tst-spawn.c: Likewise.
2814
2815 2013-01-10 Joseph Myers <joseph@codesourcery.com>
2816
2817 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2818 long.
2819 * math/bits/mathcalls.h (llrint): Likewise.
2820 (llround): Likewise.
2821 * stdlib/stdlib.h (struct drand48_data): Likewise.
2822 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2823 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2824 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2825 Likewise.
2826 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2827 Likewise.
2828 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2829 (elf_greg_t): Likewise.
2830 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2831 (__jmp_buf): Likewise.
2832 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2833 definitions.
2834 (llrint): Likewise, for all definitions.
2835 (llrintl): Likewise.
2836
2837 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2838 Remove [__GNUC__] condition.
2839 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2840 condition to just [__USE_ISOC99].
2841 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2842
2843 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2844
2845 [BZ #14200]
2846 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2847 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2848 defined.
2849 (_POSIX_V6_ILP32_OFF32): Likewise.
2850 (_XBS5_ILP32_OFF32): Likewise.
2851 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2852 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2853
2854 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2855
2856 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2857
2858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2859 doubles __mpexp_twomm1. Adjust usage.
2860 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2861 Remove.
2862
2863 2013-01-10 Andreas Schwab <schwab@suse.de>
2864
2865 [BZ #14964]
2866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2867 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2868
2869 2013-01-09 David S. Miller <davem@davemloft.net>
2870
2871 [BZ #15003]
2872 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2873 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2874 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2875 TCP_FASTOPEN): Define.
2876 (tcp_repair_opt): New structure.
2877 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2878 enum values.
2879 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2880 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2881 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2882 (tcp_cookie_transactions): New structure.
2883
2884 2013-01-09 Anton Blanchard <anton@samba.org>
2885
2886 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2887 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2888 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2889 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2890
2891 2013-01-09 Joseph Myers <joseph@codesourcery.com>
2892
2893 * include/features.h (__USE_ANSI): Remove.
2894
2895 2013-01-09 Roland McGrath <roland@hack.frob.com>
2896
2897 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2898
2899 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2900
2901 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2902
2903 * sysdeps/s390/fpu/libm-test-ulps: Update.
2904
2905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2906
2907 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2908 (__acr): Likewise.
2909 (__cpy): Likewise.
2910 (norm): Likewise.
2911 (denorm): Likewise.
2912 (__mp_dbl): Likewise.
2913 (__dbl_mp): Likewise.
2914 (add_magnitudes): Likewise.
2915 (sub_magnitudes): Likewise.
2916 (__add): Likewise.
2917 (__sub): Likewise.
2918 (__mul): Likewise.
2919 (__inv): Likewise.
2920 (__dvd): Likewise.
2921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2922 (__acr): Likewise.
2923 (__cpy): Likewise.
2924 (norm): Likewise.
2925 (denorm): Likewise.
2926 (__mp_dbl): Likewise.
2927 (__dbl_mp): Likewise.
2928 (add_magnitudes): Likewise.
2929 (sub_magnitudes): Likewise.
2930 (__add): Likewise.
2931 (__sub): Likewise.
2932 (__mul): Likewise.
2933 (__inv): Likewise.
2934 (__dvd): Likewise.
2935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2936 (__acr): Likewise.
2937 (__cpy): Likewise.
2938 (norm): Likewise.
2939 (denorm): Likewise.
2940 (__mp_dbl): Likewise.
2941 (__dbl_mp): Likewise.
2942 (add_magnitudes): Likewise.
2943 (sub_magnitudes): Likewise.
2944 (__add): Likewise.
2945 (__sub): Likewise.
2946 (__mul): Likewise.
2947 (__inv): Likewise.
2948 (__dvd): Likewise.
2949
2950 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2951
2952 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2953 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2954 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2955 2 && __USE_EXTERN_INLINES]: Likewise.
2956
2957 2013-01-08 Andreas Jaeger <aj@suse.de>
2958
2959 [BZ# 14985]
2960 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2961 Remove.
2962 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2963 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2964
2965 2013-01-07 Anton Blanchard <anton@samba.org>
2966
2967 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2968 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2969 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2970 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2971 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2972 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2973 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2974 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2976 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2977 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2978 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2979 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2980 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2981 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2982 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2983 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2985 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2986 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2987 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2988 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2990 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2991 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2992 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2993 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2994 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2995 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2996 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2997 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2999 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3000 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3001 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3002 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3003 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3004 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3005 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3006 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3007 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3009 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3010
3011 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3012
3013 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3014 (__MALLOC_PMT): Likewise.
3015 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3016 [__GNUC__], only on [_LIBC].
3017 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3018 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3019 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3020 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3021 forward declaration.
3022 (realloc_hook_ini): Likewise.
3023 (memalign_hook_ini): Likewise.
3024 (__libc_memalign): Do not use __MALLOC_PMT in variable
3025 declaration.
3026 (__libc_valloc): Likewise.
3027 (__libc_pvalloc): Likewise.
3028 (__libc_calloc): Likewise.
3029 (__posix_memalign): Likewise.
3030
3031 [BZ #14996]
3032 * math/s_casinh.c: Include <float.h>.
3033 (__casinh): Do not do computation with squaring and square root
3034 for large arguments.
3035 * math/s_casinhf.c: Include <float.h>.
3036 (__casinhf): Do not do computation with squaring and square root
3037 for large arguments.
3038 * math/s_casinhl.c: Include <float.h>.
3039 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3040 (__casinhl): Do not do computation with squaring and square root
3041 for large arguments.
3042 * math/libm-test.inc (casin_test): Add more tests.
3043 (casinh_test): Likewise.
3044 * sysdeps/i386/fpu/libm-test-ulps: Update.
3045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3046
3047 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3050 (__x86_64_raw_data_cache_size): Likewise.
3051 (__x86_64_data_cache_size_half): Likewise.
3052 (__x86_64_raw_data_cache_size_half): Likewise.
3053 (__x86_64_shared_cache_size): Likewise.
3054 (__x86_64_raw_shared_cache_size): Likewise.
3055 (__x86_64_shared_cache_size_half): Likewise.
3056 (__x86_64_raw_shared_cache_size_half): Likewise.
3057 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3058 to ...
3059 (__x86_data_cache_size): This.
3060 (__x86_64_raw_data_cache_size): Renamed to ...
3061 (__x86_raw_data_cache_size): This.
3062 (__x86_64_data_cache_size_half): Renamed to ...
3063 (__x86_data_cache_size_half): This.
3064 (__x86_64_raw_data_cache_size_half): Renamed to ...
3065 (__x86_raw_data_cache_size_half): This.
3066 (__x86_64_shared_cache_size): Renamed to ...
3067 (__x86_shared_cache_size): This.
3068 (__x86_64_raw_shared_cache_size): Renamed to ...
3069 (__x86_raw_shared_cache_size): This.
3070 (__x86_64_shared_cache_size_half): Renamed to ...
3071 (__x86_shared_cache_size_half): This.
3072 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3073 (__x86_raw_shared_cache_size_half): This.
3074 * sysdeps/x86_64/memcpy.S: Updated.
3075 * sysdeps/x86_64/memset.S: Likewise.
3076 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3078 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3079
3080 2013-01-04 David S. Miller <davem@davemloft.net>
3081
3082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3083
3084 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3085
3086 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3087 1 to avoid redefinition warning.
3088 (__USE_GNU): Don't define.
3089 (init_signaling_nan): Protoize.
3090
3091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3092
3093 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3094
3095 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3097 (__cpymn): Likewise.
3098 (norm): Remove commented code.
3099 (denorm): Likewise.
3100 (__mp_dbl): Likewise.
3101 (__inv): Likewise.
3102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3103 (__cpymn): Likewise.
3104 (norm): Remove commented code.
3105 (denorm): Likewise.
3106 (__mp_dbl): Likewise.
3107 (__inv): Likewise.
3108
3109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3110 mp_no value for 1.0 and 2.0.
3111 (norm): Use RADIXI instead of radixi.d.
3112 (denorm): Likewise.
3113 (__mul): Use 0.0 instead of zero.d.
3114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3115 mp_no value for 1.0 and 2.0.
3116 (norm): Use RADIXI instead of radixi.d.
3117 (denorm): Likewise.
3118 (__mul): Use 0.0 instead of zero.d.
3119
3120 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3121
3122 [BZ #14994]
3123 * math/s_casinh.c (__casinh): Reduce finite argument to first
3124 quadrant then set signs of results at the end.
3125 * math/s_casinhf.c (__casinhf): Likewise.
3126 * math/s_casinhl.c (__casinhl): Likewise.
3127 * math/libm-test.inc (casin_test): Add more tests.
3128 (casinh_test): Likewise.
3129 * sysdeps/i386/fpu/libm-test-ulps: Update.
3130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3131
3132 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3133
3134 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3135
3136 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3137
3138 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3139 declarations.
3140 (denorm): Likewise.
3141 (__mp_dbl): Likewise.
3142 (__inv): Likewise.
3143
3144 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3145 and adjust the header comment.
3146
3147 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3148 variable name from declaration.
3149
3150 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3153 Initialize COMMON_CPUID_INDEX_7 element.
3154 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3155 (CPUID_RTM): Likewise.
3156 (HAS_RTM): Likewise.
3157 (COMMON_CPUID_INDEX_7): New enum.
3158
3159 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3160
3161 [BZ #14981]
3162 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3163 size is zero, record memory as freed.
3164
3165 2013-01-03 Andreas Jaeger <aj@suse.de>
3166
3167 * po/ia.po: Add new Interlingua translation.
3168
3169 2012-01-03 Allan McRae <allan@archlinux.org>
3170
3171 * locale/programs/localedef.c: Fix description of '--posix' flag.
3172
3173 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3174
3175 * NEWS: Update dates in second copyright notice.
3176 * README: Update copyright dates in example.
3177 * manual/libc.texinfo: Update copyright dates.
3178 * scripts/test-installation.pl: Update copyright date in --version
3179 output.
3180
3181 * hurd/ctty-input.c: Fix copyright notice formatting.
3182 * hurd/ctty-output.c: Likewise.
3183 * hurd/dtable.c: Likewise.
3184 * hurd/hurd-raise.c: Likewise.
3185 * hurd/hurdprio.c: Likewise.
3186 * hurd/msgportdemux.c: Likewise.
3187 * misc/sys/file.h: Likewise.
3188 * misc/sys/ioctl.h: Likewise.
3189 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3190 * sysdeps/mach/hurd/chdir.c: Likewise.
3191 * sysdeps/mach/hurd/fchdir.c: Likewise.
3192 * sysdeps/mach/hurd/rename.c: Likewise.
3193 * sysdeps/mach/hurd/rmdir.c: Likewise.
3194 * sysdeps/mach/hurd/seekdir.c: Likewise.
3195 * sysdeps/mach/hurd/setsid.c: Likewise.
3196 * sysdeps/posix/wait3.c: Likewise.
3197
3198 * All files with FSF copyright notices: Update copyright dates
3199 using scripts/update-copyrights.
3200 * intl/plural.c: Regenerated.
3201 * locale/programs/charmap-kw.h: Likewise.
3202 * locale/programs/locfile-kw.h: Likewise.
3203
3204 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3205
3206 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3207 four values.
3208
3209 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3210 calculation loop and add branch prediction.
3211
3212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3213 check access beyond bounds of m1np.
3214
3215 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3216 MPTWO.
3217 (__inv): Remove local variable MPTWO to use the global
3218 constant.
3219 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3220 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3221 variable MPTWO.
3222 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3223 MP3HALFS static const.
3224
3225 2013-01-01 David S. Miller <davem@davemloft.net>
3226
3227 * po/ca.po: Update from translation team.
3228
3229 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3230
3231 * scripts/update-copyrights: New file.
3232 * Makeconfig: Reformat copyright notice.
3233 * ctype/ctype.h: Likewise.
3234 * debug/swprintf_chk.c: Likewise.
3235 * elf/dl-cache.c: Likewise.
3236 * elf/dl-debug.c: Likewise.
3237 * elf/dl-object.c: Likewise.
3238 * grp/initgroups.c: Likewise.
3239 * hurd/Makefile: Likewise.
3240 * hurd/hurd/signal.h: Likewise.
3241 * hurd/hurdfault.c: Likewise.
3242 * hurd/hurdioctl.c: Likewise.
3243 * hurd/hurdlookup.c: Likewise.
3244 * hurd/intr-msg.c: Likewise.
3245 * iconv/gconv_open.c: Likewise.
3246 * libio/swprintf.c: Likewise.
3247 * locale/lc-ctype.c: Likewise.
3248 * locale/nl_langinfo.c: Likewise.
3249 * mach/Machrules: Likewise.
3250 * mach/Makefile: Likewise.
3251 * malloc/obstack.h: Likewise.
3252 * manual/Makefile: Likewise.
3253 * manual/tsort.awk: Likewise.
3254 * misc/bits/stab.def: Likewise.
3255 * nis/nis_print_group_entry.c: Likewise.
3256 * nis/nis_table.c: Likewise.
3257 * nis/nss_compat/compat-pwd.c: Likewise.
3258 * nis/nss_compat/compat-spwd.c: Likewise.
3259 * po/Makefile: Likewise.
3260 * posix/fnmatch.c: Likewise.
3261 * posix/regex.h: Likewise.
3262 * resolv/Makefile: Likewise.
3263 * resolv/nss_dns/dns-network.c: Likewise.
3264 * resolv/res_hconf.c: Likewise.
3265 * scripts/gen-sorted.awk: Likewise.
3266 * soft-fp/soft-fp.h: Likewise.
3267 * stdio-common/printf.h: Likewise.
3268 * stdlib/monetary.h: Likewise.
3269 * stdlib/random.c: Likewise.
3270 * stdlib/random_r.c: Likewise.
3271 * sysdeps/generic/Makefile: Likewise.
3272 * sysdeps/gnu/Makefile: Likewise.
3273 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3281 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3296 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3297 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3298 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3299 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3300 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3301 * sysdeps/mach/hurd/errnos.awk: Likewise.
3302 * sysdeps/mach/hurd/fork.c: Likewise.
3303 * sysdeps/mach/hurd/getcwd.c: Likewise.
3304 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3305 * sysdeps/mach/hurd/mmap.c: Likewise.
3306 * sysdeps/mach/hurd/utimes.c: Likewise.
3307 * sysdeps/mach/hurd/xmknod.c: Likewise.
3308 * sysdeps/posix/profil.c: Likewise.
3309 * sysdeps/posix/readdir_r.c: Likewise.
3310 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3311 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3312 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3313 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3315 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3316 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3317 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3319 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3320 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3321 * sysdeps/pthread/lio_listio.c: Likewise.
3322 * sysdeps/sparc/dl-procinfo.h: Likewise.
3323 * sysdeps/unix/i386/sysdep.S: Likewise.
3324 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3325 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3326 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3327 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3329 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3330 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3331 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3332 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3333 * sysdeps/wordsize-32/divdi3.c: Likewise.
3334 * time/sys/time.h: Likewise.
3335 * wcsmbs/Makefile: Likewise.
3336
3337 2013-01-01 David S. Miller <davem@davemloft.net>
3338
3339 * po/fr.po: Update from translation team.
3340
3341 * catgets/gencat.c: Update copyright year.
3342 * csu/version.c: Likewise.
3343 * debug/catchsegv.sh: Likewise.
3344 * debug/pcprofiledump.c: Likewise.
3345 * debug/xtrace.sh: Likewise.
3346 * elf/ldconfig.c: Likewise.
3347 * elf/ldd.bash.in: Likewise.
3348 * elf/pldd.c: Likewise.
3349 * elf/sotruss.ksh: Likewise.
3350 * elf/sprof.c: Likewise.
3351 * iconv/iconv_prog.c: Likewise.
3352 * iconv/iconvconfig.c: Likewise.
3353 * locale/programs/locale.c: Likewise.
3354 * locale/programs/localedef.c: Likewise.
3355 * login/programs/pt_chown.c: Likewise.
3356 * malloc/memusage.sh: Likewise.
3357 * malloc/memusagestat.c: Likewise.
3358 * malloc/mtrace.pl: Likewise.
3359 * nscd/nscd.c: Likewise.
3360 * nss/getent.c: Likewise.
3361 * nss/makedb.c: Likewise.
3362 * posix/getconf.c: Likewise.
3363
3364 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3365
3366 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3367 numbers.
3368
3369 2012-12-30 Mike Frysinger <vapier@gentoo.org>
3370
3371 * math/bits/mathcalls.h (modf): Use __nonnull.
3372
3373 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3374
3375 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3376 (split): Use macro CN instead of the bare value.
3377 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3378 could be used.
3379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3380 instead of the bare value.
3381 (power1): Likewise.
3382
3383 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3384
3385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3386 __ATAN_TWOM.
3387 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3388
3389 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3390 their values.
3391 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3392 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3393 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3394 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3395
3396 2012-12-28 Andreas Jaeger <aj@suse.de>
3397
3398 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3399 values are from Linux 3.7.
3400
3401 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3402 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3403
3404 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3405
3406 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3407 TRUE case.
3408
3409 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3410 (norm): Likewise.
3411 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3412 variables with preprocessor constants.
3413 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3414 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3415 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3416
3417 2012-12-27 Bruno Haible <bruno@clisp.org>
3418
3419 [BZ #14317]
3420 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3421 only if needed.
3422
3423 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3424
3425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3426 and use variable directly.
3427 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3428
3429 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3430 MPONE.
3431 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3432 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3433 variable MPONE.
3434 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3436 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3437 include directive. Remove local variable MPONE.
3438 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3439 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3440 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3441
3442 2012-12-25 David S. Miller <davem@davemloft.net>
3443
3444 * version.h (RELEASE): Set to "development".
3445 (VERSION): Set to "2.17.90".
3446 * NEWS: Add 2.18 section.
3447
3448 2012-12-21 David S. Miller <davem@davemloft.net>
3449
3450 * po/hr.po: Update from translation team.
3451
3452 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3453
3454 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3455
3456 2012-12-19 Steve Ellcey <sellcey@mips.com>
3457
3458 * NEWS: Mention new memcpy for MIPS.
3459
3460 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3461
3462 * manual/contrib.texi (Contributors): Spelling correction.
3463
3464 2012-12-15 David S. Miller <davem@davemloft.net>
3465
3466 * po/ru.po: Update from translation team.
3467
3468 2012-12-13 David S. Miller <davem@davemloft.net>
3469
3470 * NEWS: Mention IFUNC testsuite enhancements.
3471
3472 * po/pl.po: Update from translation team.
3473 * po/bg.po: Likewise.
3474
3475 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3476 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3477
3478 2012-12-11 David S. Miller <davem@davemloft.net>
3479
3480 * po/sv.po: Update from translation team.
3481
3482 * po/vi.po: Update from translation team.
3483
3484 * po/cs.po: Update from translation team.
3485
3486 * po/de.po: Update from translation team.
3487 * po/eo.po: Likewise.
3488 * po/nl.po: Likewise.
3489
3490 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3491
3492 [BZ #14246]
3493 * manual/argp.texi (Argp Helper Functions): Move node to follow
3494 Argp Parsing State.
3495
3496 [BZ #14872]
3497 * manual/conf.texi (Limits on File System Capacity): Mention if
3498 terminating null is included in the max size.
3499
3500 2012-12-10 Andreas Jaeger <aj@suse.de>
3501
3502 * po/cs.po: Update from translation team.
3503
3504 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3505
3506 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3507 void pointer and cast to uintptr_t.
3508 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3509 path.
3510 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3511 * sysdeps/s390/s390-64/memset.S: Likewise.
3512
3513 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
3514
3515 [BZ #14833]
3516 * menual/message.texi (Message Translation): Fix typos.
3517 (Helper programs for gettext): Likewise.
3518
3519 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3520
3521 [BZ #14898]
3522 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3523 Change to -1.
3524
3525 2012-12-07 David S. Miller <davem@davemloft.net>
3526
3527 * po/libc.pot: Update.
3528
3529 2012-12-07 Richard Henderson <rth@redhat.com>
3530
3531 [BZ #10114]
3532 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3533 normal/normal case to before the switch.
3534 (_FP_DIV): Likewise.
3535
3536 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3537 Mike Frysinger <vapier@gentoo.org>
3538
3539 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3540 check for __NR_fadvise64_64.
3541
3542 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3543
3544 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3545 0, not just to plain "0" as a statement.
3546 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3547 with cw.
3548
3549 2012-12-06 Joseph Myers <joseph@codesourcery.com>
3550
3551 * NEWS: Use sourceware.org in Bugzilla URL.
3552
3553 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3554
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3556 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3557
3558 * stdio-common/tst-put-error.c (do_test): Add newline to the
3559 padded test to ensure flush.
3560
3561 2012-12-05 Jeff Law <law@redhat.com>
3562
3563 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3564
3565 2012-12-05 Joseph Myers <joseph@codesourcery.com>
3566
3567 * README: Don't refer to ports add-on as distributed separately.
3568 Mention AArch64 in list of systems supported in the ports add-on.
3569
3570 * LICENSES: Add more non-FSF copyright and license notices.
3571
3572 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3573 ((unused)).
3574
3575 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3576
3577 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3578 10000 as width of padded output.
3579
3580 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3581
3582 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3583
3584 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3585 variable LX with __attribute__ ((unused)).
3586 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3587 Likewise.
3588 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3591 with __attribute__ ((unused)).
3592
3593 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
3594
3595 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3596
3597 2012-12-04 Joseph Myers <joseph@codesourcery.com>
3598
3599 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3600 (CFLAGS-nldbl-acos.c): New variable.
3601 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3602 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3603 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3604 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3605 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3606 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3607 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3608 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3609 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3610 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3611 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3612 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3613 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3614 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3615 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3616 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3617 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3618 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3619 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3620 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3621 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3622 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3623 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3624 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3625 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3626 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3627 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3628 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3629 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3630 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3631 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3632 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3633 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3634 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3635 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3636 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3637 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3638 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3639 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3640 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3641 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3642 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3643 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3644 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3645 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3646 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3647 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3648 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3649 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3650 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3651 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3652 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3653 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3654 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3655 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3656 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3657 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3658 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3659 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3660 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3661 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3662 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3663 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3664 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3665 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3666 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3667 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3668 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3669 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3670 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3671 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3672 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3673 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3674 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3675 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3676 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3677 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3678 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3679 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3680 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3681 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3682 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3683 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3684 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3685 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3686 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3687 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3688 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3689 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3690 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3691 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3692 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3693 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3694 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3695 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3696 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3697 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3698
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3700 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3701
3702 [BZ #14914]
3703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3704 whole low double instead of just low 47 bits when splitting values
3705 into two parts.
3706
3707 2012-12-03 Allan McRae <allan@archlinux.org>
3708
3709 * manual/stdio.texi (Predefined Printf Handlers): Remove
3710 @hsep and @vsep usage.
3711
3712 2012-12-03 Mike Frysinger <vapier@gentoo.org>
3713
3714 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3715 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3716
3717 2012-12-03 Jeff Law <law@redhat.com>
3718
3719 * time/sys/time.h (settimeofday): Do not mark TV argument
3720 as __nonnull.
3721
3722 2012-12-01 Mike Frysinger <vapier@gentoo.org>
3723
3724 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3725 when currently writing and seek to current position when not.
3726 * libio/Makefile (tests): Remove bug-fclose1.
3727 * libio/bug-fclose1.c: Delete.
3728
3729 2012-12-01 Joseph Myers <joseph@codesourcery.com>
3730
3731 * manual/arith.texi (feenableexcept): Fix typo.
3732 (fedisableexcept): Likewise.
3733
3734 2012-11-30 Roland McGrath <roland@hack.frob.com>
3735
3736 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3737 second, differently-typed declaration, rather than a cast.
3738
3739 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3740
3741 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3742 * include/rpc/svc.h: ... here.
3743
3744 2012-11-30 Aurelien Jarno <aurel32@debian.org>
3745
3746 [BZ #13013]
3747 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3748 depending n and resplen2 to catch cases where answer
3749 equals answerp2.
3750
3751 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3752
3753 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3754 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3755
3756 2012-11-29 Mike Frysinger <vapier@gentoo.org>
3757
3758 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3759
3760 2012-11-29 Roland McGrath <roland@hack.frob.com>
3761
3762 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3763
3764 2012-11-28 Jeff Law <law@redhat.com>
3765
3766 [BZ #13761]
3767 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3768 dataset_temporary. Track alloca usage into alloca_used.
3769 If dataset is large allocate and release it via malloc/free.
3770
3771 2012-06-04 Florian Weimer <fweimer@redhat.com>
3772
3773 [BZ #14197]
3774 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3775
3776 2012-11-28 David S. Miller <davem@davemloft.net>
3777
3778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3779
3780 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3781
3782 [BZ #14803]
3783 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3784 of pi/2 rounded to nearest to 64 bits.
3785 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3786 nearest to 64 bits.
3787 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3788 bits.
3789
3790 2012-11-28 Jeff Law <law@redhat.com>
3791 Martin Osvald <mosvald@redhat.com>
3792
3793 [BZ #14889]
3794 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3795 * sunrpc/svc.c: Include time.h.
3796 (__svc_accept_failed): New function.
3797 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3798 any reason other than EINTR, call __svc_accept_failed.
3799 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3800 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3801
3802 2012-11-28 Andreas Schwab <schwab@suse.de>
3803
3804 * scripts/abilist.awk: Also handle indirect functions in .opd
3805 section.
3806
3807 2012-11-28 Joseph Myers <joseph@codesourcery.com>
3808
3809 [BZ #13881]
3810 * sysdeps/x86/fpu/powl_helper.c: New file.
3811 * sysdeps/x86/fpu/Makefile: Likewise.
3812 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3813 (p3): New object.
3814 (__ieee754_powl): Use __powl_helper for finite arguments except
3815 integer exponents below 8.
3816 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3817 (p3): New object.
3818 (__ieee754_powl): Use __powl_helper for finite arguments except
3819 integer exponents below 8.
3820 * math/libm-test.inc (pow_test): Add more tests and enable some
3821 previously disabled tests.
3822 * sysdeps/i386/fpu/libm-test-ulps: Update.
3823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3824
3825 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3826 Carlos O'Donell <carlos_odonell@mentor.com>
3827
3828 * nss/makedb.c (is_prime): Assert that input is odd and greater
3829 than 4. Note that fact in a comment too.
3830 (next_prime): Add 4 to input.
3831
3832 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3833
3834 [BZ #11741]
3835 * libio/Makefile (tests): Add test case tst-fwrite-error.
3836 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3837 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3838 * libio/tst-fwrite-error.c: New test case.
3839
3840 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3841
3842 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3843 before casting to void *.
3844 * include/libc-internal.h (__pointer_type): New macro.
3845 (__integer_if_pointer_type_sub): Likewise.
3846 (__integer_if_pointer_type): Likewise.
3847 (cast_to_integer): Likewise.
3848 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3849 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3850 before casting to atomic64_t.
3851 (atomic_exchange_acq): Likewise.
3852 (__arch_exchange_and_add_body): Likewise.
3853 (__arch_add_body): Likewise.
3854 (atomic_add_negative): Likewise.
3855 (atomic_add_zero): Likewise.
3856
3857 2012-11-26 Joseph Myers <joseph@codesourcery.com>
3858
3859 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3860 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3861 (add_fdes): Likewise.
3862 (linear_search_fdes): Likewise.
3863 (binary_search_unencoded_fdes): Likewise.
3864
3865 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3866
3867 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3868
3869 2012-11-24 Adam Conrad <adconrad@0c3.net>
3870
3871 * configure.in: Autodetect C++ header directories.
3872 * configure: Regenerated.
3873
3874 2012-11-23 Mike Frysinger <vapier@gentoo.org>
3875
3876 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3877
3878 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3879
3880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3881
3882 2012-11-22 Joseph Myers <joseph@codesourcery.com>
3883
3884 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3885 LDBL_MANT_DIG == 106]: Disable some tests.
3886 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3887 Likewise.
3888 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3889 Likewise.
3890
3891 [BZ #14871]
3892 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3893 input for small inputs. Return +/- pi/2 for large inputs.
3894 * math/libm-test.inc (atan_test): Add more tests.
3895
3896 * sysdeps/generic/unwind-dw2-fde-glibc.c
3897 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3898 __attribute__ ((unused)).
3899
3900 [BZ #14645]
3901 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3902 x * y if x and y are nonzero and z is zero.
3903
3904 [BZ #14811]
3905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3906 nonzero exponents with absolute value below 0x1p-117 to +/-
3907 0x1p-117.
3908
3909 [BZ #14869]
3910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3911 up arguments below 2**-450, not just those below 2**-500.
3912 * math/libm-test.inc (hypot_test): Add another test.
3913
3914 [BZ #14868]
3915 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3916 Return a+b for ratio over 2**120, not 2**60.
3917 * math/libm-test.inc (hypot_test): Add another test.
3918
3919 * math/libm-test.inc (clog_test): Use
3920 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3921 (clog10_test): Likewise.
3922
3923 [BZ #6778]
3924 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3925
3926 2012-11-22 Andreas Schwab <schwab@suse.de>
3927
3928 * sysdeps/i386/fpu/libm-test-ulps: Update.
3929
3930 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3931
3932 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3933 printf output with newline.
3934
3935 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3936
3937 [BZ #14865]
3938 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3939 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3940 -z nodlopen, -z initfirst and -z execstack support.
3941 * configure: Regenerated.
3942
3943 * elf/elf.h (DF_1_NODIRECT): New macro.
3944 (DF_1_IGNMULDEF): Likewise.
3945 (DF_1_NOKSYMS): Likewise.
3946 (DF_1_NOHDR): Likewise.
3947 (DF_1_EDITED): Likewise.
3948 (DF_1_NORELOC): Likewise.
3949 (DF_1_SYMINTPOSE): Likewise.
3950 (DF_1_GLOBAUDIT): Likewise.
3951 (DF_1_SINGLETON): Likewise.
3952 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3953 DT_1_SUPPORTED_MASK bits.
3954 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3955
3956 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3957
3958 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3959
3960 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3961
3962 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3963 macro.
3964
3965 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3966 (sendmmsg): Move declarations...
3967 * socket/sys/socket.h: ... here.
3968 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3969 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3970 include it from...
3971 * socket/recvmmsg.c: ... this new file.
3972 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3973 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3974 definition of __sendmmsg hidden.
3975 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3976 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3977 Move ENOSYS stub into and include it from...
3978 * socket/sendmmsg.c: ... this new file.
3979 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3980 (sysdep_routines): Move recvmmsg and sendmmsg...
3981 * socket/Makefile (routines): ... here.
3982 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3983 (GLIBC_PRIVATE): Add __sendmmsg.
3984 * include/sys/socket.h (__sendmmsg): Add declarations.
3985 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3986 sendmmsg.
3987
3988 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3989
3990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3991 variable I1 with __attribute__ ((unused)).
3992 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3993
3994 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3995
3996 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3997 DUMMY variables with __attribute__ ((unused)).
3998
3999 * bits/byteswap.h: Include <bits/types.h>.
4000 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4001
4002 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4003
4004 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4005 string_t. Do not manually set errno.
4006 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4007 length with __strnlen. Make sure to both set errno and return it on
4008 failure.
4009
4010 2012-11-19 David S. Miller <davem@davemloft.net>
4011
4012 With help from Joseph Myers.
4013 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4014 very large arguments properly.
4015 * math/libm-test.inc (atan_test): New tests.
4016 (atan2_test): New tests.
4017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4019
4020 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4021
4022 [BZ #14856]
4023 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4024 Define to 3.
4025
4026 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4027 [POSIX] (EADDRNOTAVAIL): Likewise.
4028 [POSIX] (EAFNOSUPPORT): Likewise.
4029 [POSIX] (EALREADY): Likewise.
4030 [POSIX] (ECONNABORTED): Likewise.
4031 [POSIX] (ECONNREFUSED): Likewise.
4032 [POSIX] (ECONNRESET): Likewise.
4033 [POSIX] (EDESTADDRREQ): Likewise.
4034 [POSIX] (EDQUOT): Likewise.
4035 [POSIX] (EHOSTUNREACH): Likewise.
4036 [POSIX] (EIDRM): Likewise.
4037 [POSIX] (EISCONN): Likewise.
4038 [POSIX] (ELOOP): Likewise.
4039 [POSIX] (EMULTIHOP): Likewise.
4040 [POSIX] (ENETDOWN): Likewise.
4041 [POSIX] (ENETUNREACH): Likewise.
4042 [POSIX] (ENOBUFS): Likewise.
4043 [POSIX] (ENODATA): Likewise.
4044 [POSIX] (ENOLINK): Likewise.
4045 [POSIX] (ENOMSG): Likewise.
4046 [POSIX] (ENOPROTOOPT): Likewise.
4047 [POSIX] (ENOSR): Likewise.
4048 [POSIX] (ENOSTR): Likewise.
4049 [POSIX] (ENOTCONN): Likewise.
4050 [POSIX] (ENOTSOCK): Likewise.
4051 [POSIX] (EOPNOTSUPP): Likewise.
4052 [POSIX] (EOVERFLOW): Likewise.
4053 [POSIX] (EPROTO): Likewise.
4054 [POSIX] (EPROTONOSUPPORT): Likewise.
4055 [POSIX] (EPROTOTYPE): Likewise.
4056 [POSIX] (ESTALE): Likewise.
4057 [POSIX] (ETIME): Likewise.
4058 [POSIX] (ETXTBSY): Likewise.
4059 [POSIX] (EWOULDBLOCK): Likewise.
4060 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4061 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4062 [POSIX] (SEEK_CUR): Likewise.
4063 [POSIX] (SEEK_END): Likewise.
4064 [POSIX || UNIX98] (mode_t): Do not require.
4065 [POSIX] (off_t): Likewise.
4066 [POSIX] (pid_t): Likewise.
4067 [POSIX] (sys/stat.h): Do not allow header.
4068 [POSIX] (unistd.h): Likewise.
4069 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4070 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4071 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4072 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4073 require.
4074 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4075 sigevent): Specify elements.
4076 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4077 entry.
4078 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4079 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4080
4081 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4082 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4083 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4084 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4085 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4086 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4087 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4088 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4089 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4090 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4091 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4092 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4093 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4094 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4095 Likewise.
4096 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4097 Likewise.
4098 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4099 Likewise.
4100 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4101 Likewise.
4102 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4103 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4104 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4105 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4106 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4107 Specify lower bound on value.
4108 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4109 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4110 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4111 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4112 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4113 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4114 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4115 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4116 value.
4117 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4118 as optional.
4119 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4120 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4121 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4122 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4123 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4124 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4125 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4126 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4127 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4128 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4130 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4131 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4132 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4133 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4134 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4135 entry.
4136 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4137 optional.
4138 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4139 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4140 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4141 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4142 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4143 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4144 Likewise.
4145 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4146 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4147 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4148 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4149 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4150 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4151 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4152 as optional.
4153 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4154 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4155 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4156 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4157 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4158 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4159 specify as optional.
4160 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4161 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4162 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4163 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4164 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4165 [XPG3] (NL_LANGMAX): Likewise.
4166 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4167 [POSIX || XPG3] (NL_NMAX): Likewise.
4168 [POSIX || XPG3] (NL_SETMAX): Likewise.
4169 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4170 [XPG3] (NZERO): Likewise.
4171 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4172 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4173 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4174 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4175 (REG_ERANGE): Expect.
4176 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4177 optional-constant.
4178 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4179 Use (void) in prototype.
4180 [POSIX] (*_t): Allow.
4181 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4182 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4183 (WRDE_BADVAL): Expect.
4184
4185 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4186 expect.
4187 [XPG3 || XPG4] (O_RSYNC): Likewise.
4188 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4189 Likewise.
4190 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4191 [XPG3 || XPG4] (sigqueue): Likewise.
4192 [XPG3 || XPG4] (sigtimedwait): Likewise.
4193 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4194 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4195 [XPG3 || XPG4] (vsnprintf): Likewise.
4196 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4197 Likewise.
4198 [XPG3 || XPG4] (blksize_t): Likewise.
4199 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4200 Likewise.
4201 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4202 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4203 [XPG3 || XPG4] (struct itimerspec): Likewise.
4204 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4205 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4206 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4207 [XPG3 || XPG4] (clockid_t): Likewise.
4208 [XPG3 || XPG4] (timer_t): Likewise.
4209 [XPG3 || XPG4] (clock_getres): Likewise.
4210 [XPG3 || XPG4] (clock_gettime): Likewise.
4211 [XPG3 || XPG4] (clock_settime): Likewise.
4212 [XPG3 || XPG4] (nanosleep): Likewise.
4213 [XPG3 || XPG4] (timer_create): Likewise.
4214 [XPG3 || XPG4] (timer_delete): Likewise.
4215 [XPG3 || XPG4] (timer_gettime): Likewise.
4216 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4217 [XPG3 || XPG4] (timer_settime): Likewise.
4218 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4219 [XPG3 || XPG4] (getlogin_r): Likewise.
4220 [XPG3 || XPG4] (pread): Likewise.
4221 [XPG3 || XPG4] (pthread_atfork): Likewise.
4222 [XPG3 || XPG4] (pwrite): Likewise.
4223
4224 [BZ #14835]
4225 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4226 <bits/siginfo.h>.
4227
4228 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4229
4230 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4231 finalizing MALLSTREAM.
4232
4233 * sysdeps/mach/hurd/syncfs.c: New file.
4234
4235 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4236
4237 [BZ #14719]
4238 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4239 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4240 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4241 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4242 (_nss_dns_gethostbyname4_r): Likewise.
4243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4244 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4245
4246 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4247
4248 [BZ #13763]
4249 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4250
4251 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4252
4253 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4254 * elf/cache.c (print_entry): Print ",AArch64" for
4255 FLAG_AARCH64_LIB64
4256
4257 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4258 * elf/cache.c (print_entry): Print ",hard-float" for
4259 FLAG_ARM_LIBHF.
4260
4261 2012-11-18 David S. Miller <davem@davemloft.net>
4262
4263 With help from Joseph Myers.
4264 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4265 cutoff to 2**-13.
4266 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4267 cutoff to 2**-25.
4268 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4269 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4270 small.
4271 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4272 * math/libm-test.inc (y0_test): New tests.
4273 (y1_test): New tests.
4274 * sysdeps/i386/fpu/libm-test-ulps: Update.
4275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4277
4278 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4279
4280 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4281 64-bit targets.
4282 * configure: Regenerated.
4283
4284 2012-11-17 David S. Miller <davem@davemloft.net>
4285
4286 [BZ #14811]
4287 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4288 nonzero exponents with absolute value below 0x1p-128 to +/-
4289 0x1p-128.
4290
4291 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4292
4293 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4294
4295 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4296
4297 * posix/getconf-speclist.c: New file.
4298 * posix/posix-envs.def: Likewise.
4299 * posix/confstr.c (START_ENV_GROUP): New macro.
4300 (END_ENV_GROUP): Likewise.
4301 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4302 (KNOWN_PRESENT_ENV_STRING): Likewise.
4303 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4304 (UNKNOWN_ENVIRONMENT): Likewise.
4305 (confstr): Include posix-envs.def instead of handling
4306 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4307 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4308 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4309 (END_ENV_GROUP): Likewise.
4310 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4311 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4312 (UNKNOWN_ENVIRONMENT): Likewise.
4313 (__sysconf): Include posix-envs.def instead of handling associated
4314 cases directly here.
4315 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4316 preprocessing getconf-speclist.c rather than running getconf or
4317 generating empty file.
4318
4319 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4320
4321 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4322
4323 2012-11-16 Andrej Lajovic <natrij@gmail.com>
4324
4325 [BZ #14672]
4326 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4327
4328 2012-11-16 David S. Miller <davem@davemloft.net>
4329
4330 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4331 smaller than LDBL_EPSILON/2.0L, just return xm1.
4332
4333 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4334
4335 * elf/tst-array1.c (init): Set constructor priority to 1000.
4336 (fini): Set destructor priority to 1000.
4337 * elf/tst-array2dep.c: Likewise.
4338
4339 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4340
4341 [BZ #11741]
4342 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4343 (_IO_new_file_xsputn): Also return EOF if none of the input
4344 data was written when overflow failed.
4345 * libio/iopadn.c (_IO_padn): Likewise.
4346 * libio/iowpadn.c (_IO_wpadn): Likewise.
4347 * stdio-common/tst-put-error.c: Add copyright notice.
4348 (do_test): Add case for printing padded string.
4349 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4350 _IO_padn returned error.
4351 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4352 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4353 return EOF.
4354
4355 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4356
4357 * libio/libioP.h: Add comment note that the references to C++
4358 bits are now obsolete.
4359
4360 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4361
4362 * math/libm-test.inc (check_complex): Use asprintf.
4363
4364 2012-11-14 Joseph Myers <joseph@codesourcery.com>
4365
4366 * debug/pcprofiledump.c (print_version): Update copyright year.
4367 * malloc/memusagestat.c (print_version): Likewise.
4368
4369 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4370
4371 [BZ #14831]
4372 * elf/Makefile (tests): Add tst-audit8.
4373 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4374 ($(objpfx)tst-audit8.out): New target.
4375 (tst-audit8-ENV): New variable.
4376 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4377 audit if l_reloc_result is NULL.
4378 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4379 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4380 * elf/tst-audit8.c: New file.
4381
4382 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4383
4384 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4385 * misc/Makefile (CFLAGS-select.c): Define.
4386 * posix/Makefile (CFLAGS-pause.c): Define.
4387
4388 2012-11-13 David S. Miller <davem@davemloft.net>
4389
4390 * crypt/Makefile: Move test targets after toplevel Rules
4391 inclusion. Grab any necessary sysdep routines when linking.
4392 * crypt/md5.c (md5_process_block): Remove define, we will always
4393 name it __md5_process_block.
4394 (md5_finish_ctx): Update md5_process_block call.
4395 (md5_stream): Likewise.
4396 (md5_process_bytes): Likewise.
4397 (md5_process_block): Rename to __md5_process_block and move to ...
4398 * crypt/md5-block.c: ... here.
4399 * crypt/sha256.c (sha256_process_block): Move to ...
4400 * crypt/sha256-block.c: ... here.
4401 * crypt/sha512.c (sha512_process_block): Move to ...
4402 * crypt/sha512-block.c: ... here.
4403 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4404 path.
4405 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4406 * sysdeps/sparc/sparc64/multiarch/Makefile
4407 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4408 crypt subdir.
4409 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4410 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4411 multiarch changes.
4412 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4413 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4414 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4415 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4416 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4417 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4418 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4419 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4420 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4421 file.
4422 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4423 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4424 file.
4425 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4426
4427 2012-11-13 Joseph Myers <joseph@codesourcery.com>
4428
4429 * timezone/tzselect.ksh: Update from tzcode git revision
4430 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4431 * timezone/zdump.c: Likewise.
4432 * timezone/zic.c: Likewise.
4433 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4434 in TZVERSION setting, not $(PKGVERSION).
4435 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4436 REPORT_BUGS_TO settings.
4437
4438 [BZ #14838]
4439 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4440 macro.
4441
4442 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4443
4444 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4445 detection to immediately after _FP_ROUND().
4446 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4447 bits are 0.
4448
4449 2012-11-11 David S. Miller <davem@davemloft.net>
4450
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4452 inttypes.h
4453 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4454 __close rather than their public counterparts.
4455
4456 2012-11-10 Joseph Myers <joseph@codesourcery.com>
4457
4458 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4459 file.
4460 [UNIX98] (sem_timedwait): Do not expect.
4461 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4462 [XPG4 || UNIX98] (sockatmark): Do not expect.
4463 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4464 (clock_getcpuclockid): Do not expect.
4465 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4466 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4467 Do not expect.
4468 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4469 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4470 [UNIX98] (vwscanf): Likewise.
4471 [UNIX98] (vswscanf): Likewise.
4472
4473 2012-11-09 Joseph Myers <joseph@codesourcery.com>
4474
4475 * timezone/version.h: Remove file.
4476 * timezone/README: Do not refer to version.h.
4477 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4478 $(objpfx)version.h.
4479 ($(objpfx)zdump.o): Likewise.
4480 ($(objpfx)version.h): New target.
4481
4482 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4483 2012i.
4484 * timezone/README: Don't mention modification to tzselect.ksh.
4485 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4486 work on unmodified tzselect.ksh. Substitute version numbers in
4487 tzselect.ksh.
4488
4489 * Makefile (format-me): Remove.
4490 (INSTALL): Adjust indentation. Use commands directly instead of
4491 using $(format-me).
4492
4493 * aclocal.m4 (ACX_PKGVERSION): New macro.
4494 (ACX_BUGURL): Likewise.
4495 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4496 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4497 (REPORT_BUGS_TO): Likewise.
4498 * configure: Regenerated.
4499 * config.h.in (PKGVERSION): New macro.
4500 (REPORT_BUGS_TO): Likewise.
4501 * config.make.in (PKGVERSION): New variable.
4502 (PKGVERSION_TEXI): Likewise.
4503 (REPORT_BUGS_TO): Likewise.
4504 (REPORT_BUGS_TEXI): Likewise.
4505 * Makefile (format-me): Use -I$(common-objpfx)manual.
4506 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4507 ($(common-objpfx)manual/%): New target.
4508 (manual/%): Remove target.
4509 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4510 (print_version): Use PKGVERSION.
4511 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4512 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4513 and REPORT_BUGS_TO.
4514 ($(objpfx)xtrace): Likewise.
4515 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4516 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4517 (print_version): Use PKGVERSION.
4518 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4519 (do_version): Use PKGVERSION.
4520 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4521 REPORT_BUGS_TO.
4522 (common-ldd-rewrite): Likewise.
4523 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4524 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4525 (print_version): Use PKGVERSION.
4526 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4527 * elf/pldd.c (argp_program_bug_address): Remove variable.
4528 (more_help): New function.
4529 (argp): Use more_help.
4530 (print_version): Use PKGVERSION.
4531 * elf/sln.c (main): Use PKGVERSION.
4532 (usage): Use REPORT_BUGS_TO.
4533 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4534 (top level): Use PKGVERSION.
4535 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4536 (print_version): Use PKGVERSION.
4537 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4538 (print_version): Use PKGVERSION.
4539 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4540 (print_version): Use PKGVERSION.
4541 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4542 (print_version): Use PKGVERSION.
4543 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4544 (print_version): Use PKGVERSION.
4545 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4546 (print_version): Use PKGVERSION.
4547 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4548 and BUGURL.
4549 ($(objpfx)memusage): Likewise.
4550 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4551 (do_version): Use PKGVERSION.
4552 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4553 (print_version): Use PKGVERSION.
4554 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4555 ($PKGVERSION): New variable.
4556 ($REPORT_BUGS_TO): Likewise.
4557 (usage): Use $REPORT_BUGS_TO.
4558 (top level): Use $PKGVERSION.
4559 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4560 ($(objpfx)pkgvers.texi): New rule.
4561 ($(objpfx)stamp-pkgvers): Likewise.
4562 * manual/install.texi: Include pkgvers.texi.
4563 (--with-pkgversion): Document new configure option.
4564 (--with-bugurl): Likewise.
4565 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4566 than necessarily for this particular distribution. Use
4567 REPORT_BUGS_TO for where to report bugs.
4568 * INSTALL: Regenerated.
4569 * manual/libc.texinfo: Include pkgvers.texi.
4570 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4571 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4572 (print_version): Use PKGVERSION.
4573 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4574 (print_version): Use PKGVERSION.
4575 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4576 (print_version): Use PKGVERSION.
4577 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4578 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4579 macro.
4580 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4581 (print_version): Use PKGVERSION.
4582 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4583 (print_version): Use PKGVERSION.
4584 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4585 and PKGVERSION.
4586
4587 * timezone/checktab.awk: Update from tzcode 2012i.
4588 * timezone/ialloc.c: Likewise.
4589 * timezone/private.h: Likewise.
4590 * timezone/scheck.c: Likewise.
4591 * timezone/tzfile.h: Likewise.
4592 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4593 (TZVERSION): Hardcode tzcode version number.
4594 * timezone/zdump.c: Update from tzcode 2012i.
4595 * timezone/zic.c: Likewise.
4596 * timezone/version.h: New file.
4597 * timezone/README: Describe version.h. Update upstream location.
4598
4599 [BZ #14824]
4600 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4601 (mktemp): Enable declaration.
4602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4604 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4606 Likewise.
4607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4608 Likewise.
4609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4610 Likewise.
4611 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4612 Likewise.
4613 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4614 Likewise.
4615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4616 Likewise.
4617
4618 [BZ #14821]
4619 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4620 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4621 for copies of such integer values.
4622 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4623 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4624
4625 2012-11-09 Andreas Jaeger <aj@suse.de>
4626
4627 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4628 definitions and declarations that are provided by
4629 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4630
4631 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4632
4633 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4634 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4635 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4636 definition.
4637
4638 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4639
4640 * elf/elf.h: Update comment before AArch64 relocations.
4641
4642 2012-11-07 David S. Miller <davem@davemloft.net>
4643
4644 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4645 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4646 (__start_context): Declare.
4647 (__makecontext_ret): Delete.
4648 (__makecontext): Hook up __start_context instead of
4649 __makecontext_ret.
4650 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4651 (sysdep_routines): Add __start_context when in stdlib.
4652
4653 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4654
4655 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4656 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4657 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4658 hardcoded "nm".
4659 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4660 (READELF): New variable. Use it instead of hardcoded "readelf".
4661
4662 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4663
4664 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4665 * sysdeps/x86/Makefile: Here.
4666 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4667 * sysdeps/x86/tst-xmmymm.sh: This.
4668
4669 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4670
4671 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4672 expectations.
4673 [UNIX98] (pthread_barrier_t): Do not expect.
4674 [UNIX98] (pthread_barrierattr_t): Likewise.
4675 [UNIX98] (pthread_spinlock_t): Likewise.
4676 [UNIX98] (pthread_barrier_destroy): Likewise.
4677 [UNIX98] (pthread_barrier_init): Likewise.
4678 [UNIX98] (pthread_barrier_wait): Likewise.
4679 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4680 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4681 [UNIX98] (pthread_barrierattr_init): Likewise.
4682 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4683 [UNIX98] (pthread_getcpuclockid): Likewise.
4684 [UNIX98] (pthread_mutex_timedlock): Likewise.
4685 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4686 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4687 [UNIX98] (pthread_sigmask): Likewise.
4688 [UNIX98] (pthread_spin_destroy): Likewise.
4689 [UNIX98] (pthread_spin_init): Likewise.
4690 [UNIX98] (pthread_spin_lock): Likewise.
4691 [UNIX98] (pthread_spin_trylock): Likewise.
4692 [UNIX98] (pthread_spin_unlock): Likewise.
4693 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4694 Do not expect.
4695 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4696 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4697 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4698 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4699 [XPG3 || XPG4] (pthread_key_t): Likewise.
4700 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4701 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4702 [XPG3 || XPG4] (pthread_once_t): Likewise.
4703 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4704 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4705 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4706 [XPG3 || XPG4] (pthread_t): Likewise.
4707
4708 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4709 not expect.
4710 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4711
4712 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4713 Change function return type to int.
4714
4715 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4716 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4717 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4718 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4719 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4720 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4721 [!POSIX] (posix_madvise): Likewise.
4722 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4723 && !UNIX98].
4724 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4725 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4726 (mode_t): Likewise.
4727 (posix_mem_offset): Likewise.
4728 (posix_typed_mem_get_info): Likewise.
4729 (posix_typed_mem_open): Likewise.
4730
4731 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4732 Change condition to [XOPEN2K8].
4733
4734 * conform/conformtest.pl: Preprocess allow-header data with -x c
4735 instead of from stdin.
4736 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4737 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4738 [C99-based standards] (cerfc): Likewise.
4739 [C99-based standards] (cexp2): Likewise.
4740 [C99-based standards] (cexpm1): Likewise.
4741 [C99-based standards] (clog10): Likewise.
4742 [C99-based standards] (clog1p): Likewise.
4743 [C99-based standards] (clog2): Likewise.
4744 [C99-based standards] (clgamma): Likewise.
4745 [C99-based standards] (ctgamma): Likewise.
4746 [C99-based standards] (cerff): Likewise.
4747 [C99-based standards] (cerfcf): Likewise.
4748 [C99-based standards] (cexp2f): Likewise.
4749 [C99-based standards] (cexpm1f): Likewise.
4750 [C99-based standards] (clog10f): Likewise.
4751 [C99-based standards] (clog1pf): Likewise.
4752 [C99-based standards] (clog2f): Likewise.
4753 [C99-based standards] (clgammaf): Likewise.
4754 [C99-based standards] (ctgammaf): Likewise.
4755 [C99-based standards] (cerfl): Likewise.
4756 [C99-based standards] (cerfcl): Likewise.
4757 [C99-based standards] (cexp2l): Likewise.
4758 [C99-based standards] (cexpm1l): Likewise.
4759 [C99-based standards] (clog10l): Likewise.
4760 [C99-based standards] (clog1pl): Likewise.
4761 [C99-based standards] (clog2l): Likewise.
4762 [C99-based standards] (clgammal): Likewise.
4763 [C99-based standards] (ctgammal): Likewise.
4764 * conform/data/inttypes.h-data [C99-based standards]: Include
4765 stdint.h-data. Remove all expectations for stdint.h contents.
4766 [C99-based standards] (PRI*): Do not allow.
4767 [C99-based standards] (SCN*): Likewise.
4768 [C99-based standards] (*_t): Likewise.
4769 [C99-based-standards] (PRId8): Expect macro.
4770 [C99-based-standards] (PRIi8): Likewise.
4771 [C99-based-standards] (PRIo8): Likewise.
4772 [C99-based-standards] (PRIu8): Likewise.
4773 [C99-based-standards] (PRIx8): Likewise.
4774 [C99-based-standards] (PRIX8): Likewise.
4775 [C99-based-standards] (SCNd8): Likewise.
4776 [C99-based-standards] (SCNi8): Likewise.
4777 [C99-based-standards] (SCNo8): Likewise.
4778 [C99-based-standards] (SCNu8): Likewise.
4779 [C99-based-standards] (SCNx8): Likewise.
4780 [C99-based-standards] (PRIdLEAST8): Likewise.
4781 [C99-based-standards] (PRIiLEAST8): Likewise.
4782 [C99-based-standards] (PRIoLEAST8): Likewise.
4783 [C99-based-standards] (PRIuLEAST8): Likewise.
4784 [C99-based-standards] (PRIxLEAST8): Likewise.
4785 [C99-based-standards] (PRIXLEAST8): Likewise.
4786 [C99-based-standards] (SCNdLEAST8): Likewise.
4787 [C99-based-standards] (SCNiLEAST8): Likewise.
4788 [C99-based-standards] (SCNoLEAST8): Likewise.
4789 [C99-based-standards] (SCNuLEAST8): Likewise.
4790 [C99-based-standards] (SCNxLEAST8): Likewise.
4791 [C99-based-standards] (PRIdFAST8): Likewise.
4792 [C99-based-standards] (PRIiFAST8): Likewise.
4793 [C99-based-standards] (PRIoFAST8): Likewise.
4794 [C99-based-standards] (PRIuFAST8): Likewise.
4795 [C99-based-standards] (PRIxFAST8): Likewise.
4796 [C99-based-standards] (PRIXFAST8): Likewise.
4797 [C99-based-standards] (SCNdFAST8): Likewise.
4798 [C99-based-standards] (SCNiFAST8): Likewise.
4799 [C99-based-standards] (SCNoFAST8): Likewise.
4800 [C99-based-standards] (SCNuFAST8): Likewise.
4801 [C99-based-standards] (SCNxFAST8): Likewise.
4802 [C99-based-standards] (PRId16): Likewise.
4803 [C99-based-standards] (PRIi16): Likewise.
4804 [C99-based-standards] (PRIo16): Likewise.
4805 [C99-based-standards] (PRIu16): Likewise.
4806 [C99-based-standards] (PRIx16): Likewise.
4807 [C99-based-standards] (PRIX16): Likewise.
4808 [C99-based-standards] (SCNd16): Likewise.
4809 [C99-based-standards] (SCNi16): Likewise.
4810 [C99-based-standards] (SCNo16): Likewise.
4811 [C99-based-standards] (SCNu16): Likewise.
4812 [C99-based-standards] (SCNx16): Likewise.
4813 [C99-based-standards] (PRIdLEAST16): Likewise.
4814 [C99-based-standards] (PRIiLEAST16): Likewise.
4815 [C99-based-standards] (PRIoLEAST16): Likewise.
4816 [C99-based-standards] (PRIuLEAST16): Likewise.
4817 [C99-based-standards] (PRIxLEAST16): Likewise.
4818 [C99-based-standards] (PRIXLEAST16): Likewise.
4819 [C99-based-standards] (SCNdLEAST16): Likewise.
4820 [C99-based-standards] (SCNiLEAST16): Likewise.
4821 [C99-based-standards] (SCNoLEAST16): Likewise.
4822 [C99-based-standards] (SCNuLEAST16): Likewise.
4823 [C99-based-standards] (SCNxLEAST16): Likewise.
4824 [C99-based-standards] (PRIdFAST16): Likewise.
4825 [C99-based-standards] (PRIiFAST16): Likewise.
4826 [C99-based-standards] (PRIoFAST16): Likewise.
4827 [C99-based-standards] (PRIuFAST16): Likewise.
4828 [C99-based-standards] (PRIxFAST16): Likewise.
4829 [C99-based-standards] (PRIXFAST16): Likewise.
4830 [C99-based-standards] (SCNdFAST16): Likewise.
4831 [C99-based-standards] (SCNiFAST16): Likewise.
4832 [C99-based-standards] (SCNoFAST16): Likewise.
4833 [C99-based-standards] (SCNuFAST16): Likewise.
4834 [C99-based-standards] (SCNxFAST16): Likewise.
4835 [C99-based-standards] (PRId32): Likewise.
4836 [C99-based-standards] (PRIi32): Likewise.
4837 [C99-based-standards] (PRIo32): Likewise.
4838 [C99-based-standards] (PRIu32): Likewise.
4839 [C99-based-standards] (PRIx32): Likewise.
4840 [C99-based-standards] (PRIX32): Likewise.
4841 [C99-based-standards] (SCNd32): Likewise.
4842 [C99-based-standards] (SCNi32): Likewise.
4843 [C99-based-standards] (SCNo32): Likewise.
4844 [C99-based-standards] (SCNu32): Likewise.
4845 [C99-based-standards] (SCNx32): Likewise.
4846 [C99-based-standards] (PRIdLEAST32): Likewise.
4847 [C99-based-standards] (PRIiLEAST32): Likewise.
4848 [C99-based-standards] (PRIoLEAST32): Likewise.
4849 [C99-based-standards] (PRIuLEAST32): Likewise.
4850 [C99-based-standards] (PRIxLEAST32): Likewise.
4851 [C99-based-standards] (PRIXLEAST32): Likewise.
4852 [C99-based-standards] (SCNdLEAST32): Likewise.
4853 [C99-based-standards] (SCNiLEAST32): Likewise.
4854 [C99-based-standards] (SCNoLEAST32): Likewise.
4855 [C99-based-standards] (SCNuLEAST32): Likewise.
4856 [C99-based-standards] (SCNxLEAST32): Likewise.
4857 [C99-based-standards] (PRIdFAST32): Likewise.
4858 [C99-based-standards] (PRIiFAST32): Likewise.
4859 [C99-based-standards] (PRIoFAST32): Likewise.
4860 [C99-based-standards] (PRIuFAST32): Likewise.
4861 [C99-based-standards] (PRIxFAST32): Likewise.
4862 [C99-based-standards] (PRIXFAST32): Likewise.
4863 [C99-based-standards] (SCNdFAST32): Likewise.
4864 [C99-based-standards] (SCNiFAST32): Likewise.
4865 [C99-based-standards] (SCNoFAST32): Likewise.
4866 [C99-based-standards] (SCNuFAST32): Likewise.
4867 [C99-based-standards] (SCNxFAST32): Likewise.
4868 [C99-based-standards] (PRId64): Likewise.
4869 [C99-based-standards] (PRIi64): Likewise.
4870 [C99-based-standards] (PRIo64): Likewise.
4871 [C99-based-standards] (PRIu64): Likewise.
4872 [C99-based-standards] (PRIx64): Likewise.
4873 [C99-based-standards] (PRIX64): Likewise.
4874 [C99-based-standards] (SCNd64): Likewise.
4875 [C99-based-standards] (SCNi64): Likewise.
4876 [C99-based-standards] (SCNo64): Likewise.
4877 [C99-based-standards] (SCNu64): Likewise.
4878 [C99-based-standards] (SCNx64): Likewise.
4879 [C99-based-standards] (PRIdLEAST64): Likewise.
4880 [C99-based-standards] (PRIiLEAST64): Likewise.
4881 [C99-based-standards] (PRIoLEAST64): Likewise.
4882 [C99-based-standards] (PRIuLEAST64): Likewise.
4883 [C99-based-standards] (PRIxLEAST64): Likewise.
4884 [C99-based-standards] (PRIXLEAST64): Likewise.
4885 [C99-based-standards] (SCNdLEAST64): Likewise.
4886 [C99-based-standards] (SCNiLEAST64): Likewise.
4887 [C99-based-standards] (SCNoLEAST64): Likewise.
4888 [C99-based-standards] (SCNuLEAST64): Likewise.
4889 [C99-based-standards] (SCNxLEAST64): Likewise.
4890 [C99-based-standards] (PRIdFAST64): Likewise.
4891 [C99-based-standards] (PRIiFAST64): Likewise.
4892 [C99-based-standards] (PRIoFAST64): Likewise.
4893 [C99-based-standards] (PRIuFAST64): Likewise.
4894 [C99-based-standards] (PRIxFAST64): Likewise.
4895 [C99-based-standards] (PRIXFAST64): Likewise.
4896 [C99-based-standards] (SCNdFAST64): Likewise.
4897 [C99-based-standards] (SCNiFAST64): Likewise.
4898 [C99-based-standards] (SCNoFAST64): Likewise.
4899 [C99-based-standards] (SCNuFAST64): Likewise.
4900 [C99-based-standards] (SCNxFAST64): Likewise.
4901 [C99-based-standards] (PRIdMAX): Likewise.
4902 [C99-based-standards] (PRIiMAX): Likewise.
4903 [C99-based-standards] (PRIoMAX): Likewise.
4904 [C99-based-standards] (PRIuMAX): Likewise.
4905 [C99-based-standards] (PRIxMAX): Likewise.
4906 [C99-based-standards] (PRIXMAX): Likewise.
4907 [C99-based-standards] (SCNdMAX): Likewise.
4908 [C99-based-standards] (SCNiMAX): Likewise.
4909 [C99-based-standards] (SCNoMAX): Likewise.
4910 [C99-based-standards] (SCNuMAX): Likewise.
4911 [C99-based-standards] (SCNxMAX): Likewise.
4912 [C99-based-standards] (PRIdPTR): Likewise.
4913 [C99-based-standards] (PRIiPTR): Likewise.
4914 [C99-based-standards] (PRIoPTR): Likewise.
4915 [C99-based-standards] (PRIuPTR): Likewise.
4916 [C99-based-standards] (PRIxPTR): Likewise.
4917 [C99-based-standards] (PRIXPTR): Likewise.
4918 [C99-based-standards] (SCNdPTR): Likewise.
4919 [C99-based-standards] (SCNiPTR): Likewise.
4920 [C99-based-standards] (SCNoPTR): Likewise.
4921 [C99-based-standards] (SCNuPTR): Likewise.
4922 [C99-based-standards] (SCNxPTR): Likewise.
4923 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4924 allow.
4925 * conform/data/stdint.h-data: Update comments to clarify
4926 requirements.
4927 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4928 type.
4929 [C99-based standards] (INT8_MAX): Likewise.
4930 [C99-based standards] (INT16_MIN): Likewise.
4931 [C99-based standards] (INT16_MAX): Likewise.
4932 [C99-based standards] (INT32_MIN): Likewise.
4933 [C99-based standards] (INT32_MAX): Likewise.
4934 [C99-based standards] (INT64_MIN): Likewise.
4935 [C99-based standards] (INT64_MAX): Likewise.
4936 [C99-based standards] (UINT8_MAX): Likewise.
4937 [C99-based standards] (UINT16_MAX): Likewise.
4938 [C99-based standards] (UINT32_MAX): Likewise.
4939 [C99-based standards] (UINT64_MAX): Likewise.
4940 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4941 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4942 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4943 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4944 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4945 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4946 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4947 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4948 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4949 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4950 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4951 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4952 [C99-based standards] (INT_FAST8_MIN): Likewise.
4953 [C99-based standards] (INT_FAST8_MAX): Likewise.
4954 [C99-based standards] (INT_FAST16_MIN): Likewise.
4955 [C99-based standards] (INT_FAST16_MAX): Likewise.
4956 [C99-based standards] (INT_FAST32_MIN): Likewise.
4957 [C99-based standards] (INT_FAST32_MAX): Likewise.
4958 [C99-based standards] (INT_FAST64_MIN): Likewise.
4959 [C99-based standards] (INT_FAST64_MAX): Likewise.
4960 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4961 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4962 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4963 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4964 [C99-based standards] (INTPTR_MIN): Likewise.
4965 [C99-based standards] (INTPTR_MAX): Likewise.
4966 [C99-based standards] (UINTPTR_MAX): Likewise.
4967 [C99-based standards] (INTMAX_MIN): Likewise.
4968 [C99-based standards] (INTMAX_MAX): Likewise.
4969 [C99-based standards] (UINTMAX_MAX): Likewise.
4970 [C99-based standards] (PTRDIFF_MIN): Likewise.
4971 [C99-based standards] (PTRDIFF_MAX): Likewise.
4972 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4973 [C99-based standards] (SIZE_MAX): Likewise.
4974 [C99-based standards] (WCHAR_MAX): Likewise.
4975 [C99-based standards] (WINT_MAX): Likewise.
4976 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4977 constraint on value.
4978 [C99-based standards] (WCHAR_MIN): Likewise.
4979 [C99-based standards] (WINT_MIN): Likewise.
4980 [C99-based standards] (*_t): Allow.
4981 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4982 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4983 Include math.h-data and complex.h-data. Remove all expectations
4984 of math.h and complex.h contents.
4985 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4986 at end of line.
4987 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4988 (struct tm): Expect tag.
4989 [C99-based-standards] (wcstof): Expect function.
4990 [C99-based-standards] (wcstold): Likewise.
4991 [C99-based-standards] (wcstoll): Likewise.
4992 [C99-based-standards] (wcstoull): Likewise.
4993 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4994 macro-int-constant. Specify type.
4995 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4996 constraint on value.
4997 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4998 Specify type.
4999 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5000 Specify value.
5001 [ISO C standards]: Do not allow headers.
5002 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5003 wcs[abcdefghijklmnopqrstuvwxyz]*.
5004 [ISO C standards] (*_t): Do not allow.
5005 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5006 Expect function.
5007 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5008 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5009 Specify type.
5010 [ISO C standards]: Do not allow headers.
5011 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5012 is[abcdefghijklmnopqrstuvwxyz]*.
5013 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5014 to[abcdefghijklmnopqrstuvwxyz]*.
5015 [ISO C standards] (*_t): Do not allow.
5016 * conform/data/stdalign.h-data: New file.
5017 * conform/data/stdbool.h-data: Likewise.
5018 * conform/data/stdnoreturn.h-data: Likewise.
5019
5020 2012-11-07 Roland McGrath <roland@hack.frob.com>
5021
5022 [BZ #14815]
5023 * manual/filesys.texi (Directory Entries): Typo fix.
5024 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5025
5026 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5027
5028 * elf/elf.h (EM_AARCH64): New macro.
5029 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5030 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5031 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5032 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5033 (R_AARCH64_TLSDESC): Likewise.
5034 (NT_ARM_TLS): Likewise.
5035 (NT_ARM_HW_BREAK): Likewise.
5036 (NT_ARM_HW_WATCH): Likewise.
5037
5038 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5039
5040 [BZ #14811]
5041 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5042 (__ieee754_powl): Saturate nonzero exponents with absolute value
5043 below 0x1p-79 to +/- 0x1p-79.
5044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5045 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5046 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5047 nonzero exponents with absolute value below 0x1p-32 to +/-
5048 0x1p-32.
5049 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5050 (__ieee754_powl): Saturate nonzero exponents with absolute value
5051 below 0x1p-79 to +/- 0x1p-79.
5052 * math/libm-test.inc (pow_test): Add more tests.
5053
5054 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5055
5056 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5057 _dl_s390_cap_flags with kernel. Increase string length.
5058 (_dl_s390_platforms): Add z196 and zEC12.
5059
5060 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5061
5062 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5063 Change XOPEN21K to XOPEN2K.
5064
5065 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5066
5067 * string/memmove.c: Use memcpy when possible.
5068
5069 2012-11-06 Andreas Jaeger <aj@suse.de>
5070
5071 * po/eo.po: Update from translation team.
5072
5073 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5074
5075 [BZ #14793]
5076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5077 exponent and small x and y exponents, scale x or y up. Increase
5078 by 2 the exponent used in scaling up.
5079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5081 * math/libm-test.inc (fma_test): Add more tests.
5082 (fma_test_towardzero): Likewise.
5083 (fma_test_downward): Likewise.
5084 (fma_test_upward): Likewise.
5085
5086 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5087
5088 [BZ #14805]
5089 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5090 fenv_t *.
5091
5092 [BZ #14801]
5093 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5094 namespace for names of struct fields.
5095 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5096 fenv_t fields.
5097 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5098 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5099
5100 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5101
5102 [BZ #3665]
5103 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5104
5105 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5106
5107 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5108 PTR_DEMANGLE.
5109
5110 [BZ #5246]
5111 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5112 PTR_DEMANGLE.
5113
5114 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5115
5116 [BZ #14797]
5117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5118 definitely overflow as x * y not x * y + z.
5119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5121 * math/libm-test.inc (fma_test): Add more tests.
5122 (fma_test_towardzero): Likewise.
5123 (fma_test_downward): Likewise.
5124 (fma_test_upward): Likewise.
5125
5126 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5127
5128 [BZ #157]
5129
5130 * include/stub-tag.h: Remove file.
5131 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5132 '#include' of it.
5133 * manual/maint.texi (Porting): Don't reference it.
5134 * Makerules ($(objpfx)stubs): Likewise.
5135 * dirent/closedir.c: Don't include <stub-tag.h>.
5136 * dirent/dirfd.c: Likewise.
5137 * dirent/fdopendir.c: Likewise.
5138 * dirent/getdents.c: Likewise.
5139 * dirent/getdents64.c: Likewise.
5140 * dirent/opendir.c: Likewise.
5141 * dirent/readdir.c: Likewise.
5142 * dirent/readdir64.c: Likewise.
5143 * dirent/readdir64_r.c: Likewise.
5144 * dirent/readdir_r.c: Likewise.
5145 * dirent/rewinddir.c: Likewise.
5146 * dirent/seekdir.c: Likewise.
5147 * dirent/telldir.c: Likewise.
5148 * gmon/profil.c: Likewise.
5149 * grp/setgroups.c: Likewise.
5150 * inet/if_index.c: Likewise.
5151 * io/access.c: Likewise.
5152 * io/chdir.c: Likewise.
5153 * io/chmod.c: Likewise.
5154 * io/chown.c: Likewise.
5155 * io/close.c: Likewise.
5156 * io/dup.c: Likewise.
5157 * io/dup2.c: Likewise.
5158 * io/dup3.c: Likewise.
5159 * io/euidaccess.c: Likewise.
5160 * io/faccessat.c: Likewise.
5161 * io/fchdir.c: Likewise.
5162 * io/fchmod.c: Likewise.
5163 * io/fchmodat.c: Likewise.
5164 * io/fchown.c: Likewise.
5165 * io/fchownat.c: Likewise.
5166 * io/fcntl.c: Likewise.
5167 * io/flock.c: Likewise.
5168 * io/fstatfs.c: Likewise.
5169 * io/fstatfs64.c: Likewise.
5170 * io/fstatvfs.c: Likewise.
5171 * io/fstatvfs64.c: Likewise.
5172 * io/futimens.c: Likewise.
5173 * io/fxstat.c: Likewise.
5174 * io/fxstat64.c: Likewise.
5175 * io/fxstatat.c: Likewise.
5176 * io/fxstatat64.c: Likewise.
5177 * io/getcwd.c: Likewise.
5178 * io/isatty.c: Likewise.
5179 * io/lchmod.c: Likewise.
5180 * io/lchown.c: Likewise.
5181 * io/link.c: Likewise.
5182 * io/linkat.c: Likewise.
5183 * io/lseek.c: Likewise.
5184 * io/lseek64.c: Likewise.
5185 * io/lxstat64.c: Likewise.
5186 * io/mkdir.c: Likewise.
5187 * io/mkdirat.c: Likewise.
5188 * io/mkfifo.c: Likewise.
5189 * io/mkfifoat.c: Likewise.
5190 * io/open.c: Likewise.
5191 * io/open64.c: Likewise.
5192 * io/openat.c: Likewise.
5193 * io/openat64.c: Likewise.
5194 * io/pipe.c: Likewise.
5195 * io/pipe2.c: Likewise.
5196 * io/poll.c: Likewise.
5197 * io/posix_fadvise.c: Likewise.
5198 * io/posix_fadvise64.c: Likewise.
5199 * io/posix_fallocate.c: Likewise.
5200 * io/posix_fallocate64.c: Likewise.
5201 * io/read.c: Likewise.
5202 * io/readlink.c: Likewise.
5203 * io/readlinkat.c: Likewise.
5204 * io/rmdir.c: Likewise.
5205 * io/sendfile.c: Likewise.
5206 * io/sendfile64.c: Likewise.
5207 * io/statfs.c: Likewise.
5208 * io/statfs64.c: Likewise.
5209 * io/statvfs.c: Likewise.
5210 * io/statvfs64.c: Likewise.
5211 * io/symlink.c: Likewise.
5212 * io/symlinkat.c: Likewise.
5213 * io/ttyname.c: Likewise.
5214 * io/ttyname_r.c: Likewise.
5215 * io/umask.c: Likewise.
5216 * io/unlink.c: Likewise.
5217 * io/unlinkat.c: Likewise.
5218 * io/utime.c: Likewise.
5219 * io/utimensat.c: Likewise.
5220 * io/write.c: Likewise.
5221 * io/xmknod.c: Likewise.
5222 * io/xmknodat.c: Likewise.
5223 * io/xstat.c: Likewise.
5224 * io/xstat64.c: Likewise.
5225 * login/getpt.c: Likewise.
5226 * login/grantpt.c: Likewise.
5227 * login/unlockpt.c: Likewise.
5228 * math/e_acoshl.c: Likewise.
5229 * math/e_acosl.c: Likewise.
5230 * math/e_asinl.c: Likewise.
5231 * math/e_atan2l.c: Likewise.
5232 * math/e_atanhl.c: Likewise.
5233 * math/e_coshl.c: Likewise.
5234 * math/e_expl.c: Likewise.
5235 * math/e_fmodl.c: Likewise.
5236 * math/e_gammal_r.c: Likewise.
5237 * math/e_hypotl.c: Likewise.
5238 * math/e_j0l.c: Likewise.
5239 * math/e_j1l.c: Likewise.
5240 * math/e_jnl.c: Likewise.
5241 * math/e_lgammal_r.c: Likewise.
5242 * math/e_log10l.c: Likewise.
5243 * math/e_log2l.c: Likewise.
5244 * math/e_logl.c: Likewise.
5245 * math/e_powl.c: Likewise.
5246 * math/e_rem_pio2l.c: Likewise.
5247 * math/e_sinhl.c: Likewise.
5248 * math/e_sqrtl.c: Likewise.
5249 * math/fclrexcpt.c: Likewise.
5250 * math/fedisblxcpt.c: Likewise.
5251 * math/feenablxcpt.c: Likewise.
5252 * math/fegetenv.c: Likewise.
5253 * math/fegetexcept.c: Likewise.
5254 * math/fegetround.c: Likewise.
5255 * math/feholdexcpt.c: Likewise.
5256 * math/fesetenv.c: Likewise.
5257 * math/fesetround.c: Likewise.
5258 * math/feupdateenv.c: Likewise.
5259 * math/fgetexcptflg.c: Likewise.
5260 * math/fraiseexcpt.c: Likewise.
5261 * math/fsetexcptflg.c: Likewise.
5262 * math/ftestexcept.c: Likewise.
5263 * math/k_cosl.c: Likewise.
5264 * math/k_rem_pio2l.c: Likewise.
5265 * math/k_sinl.c: Likewise.
5266 * math/k_tanl.c: Likewise.
5267 * math/s_asinhl.c: Likewise.
5268 * math/s_atanl.c: Likewise.
5269 * math/s_cbrtl.c: Likewise.
5270 * math/s_erfl.c: Likewise.
5271 * math/s_expm1l.c: Likewise.
5272 * math/s_log1pl.c: Likewise.
5273 * math/s_tanhl.c: Likewise.
5274 * misc/acct.c: Likewise.
5275 * misc/brk.c: Likewise.
5276 * misc/chflags.c: Likewise.
5277 * misc/chroot.c: Likewise.
5278 * misc/fchflags.c: Likewise.
5279 * misc/fgetxattr.c: Likewise.
5280 * misc/flistxattr.c: Likewise.
5281 * misc/fremovexattr.c: Likewise.
5282 * misc/fsetxattr.c: Likewise.
5283 * misc/fsync.c: Likewise.
5284 * misc/ftruncate.c: Likewise.
5285 * misc/futimes.c: Likewise.
5286 * misc/futimesat.c: Likewise.
5287 * misc/getdomain.c: Likewise.
5288 * misc/getdtsz.c: Likewise.
5289 * misc/gethostid.c: Likewise.
5290 * misc/gethostname.c: Likewise.
5291 * misc/getloadavg.c: Likewise.
5292 * misc/getpagesize.c: Likewise.
5293 * misc/getsysstats.c: Likewise.
5294 * misc/getxattr.c: Likewise.
5295 * misc/gtty.c: Likewise.
5296 * misc/ioctl.c: Likewise.
5297 * misc/lgetxattr.c: Likewise.
5298 * misc/listxattr.c: Likewise.
5299 * misc/llistxattr.c: Likewise.
5300 * misc/lremovexattr.c: Likewise.
5301 * misc/lsetxattr.c: Likewise.
5302 * misc/lutimes.c: Likewise.
5303 * misc/madvise.c: Likewise.
5304 * misc/mincore.c: Likewise.
5305 * misc/mlock.c: Likewise.
5306 * misc/mlockall.c: Likewise.
5307 * misc/mmap.c: Likewise.
5308 * misc/mprotect.c: Likewise.
5309 * misc/msync.c: Likewise.
5310 * misc/munlock.c: Likewise.
5311 * misc/munlockall.c: Likewise.
5312 * misc/munmap.c: Likewise.
5313 * misc/preadv.c: Likewise.
5314 * misc/preadv64.c: Likewise.
5315 * misc/ptrace.c: Likewise.
5316 * misc/pwritev.c: Likewise.
5317 * misc/pwritev64.c: Likewise.
5318 * misc/readv.c: Likewise.
5319 * misc/reboot.c: Likewise.
5320 * misc/remap_file_pages.c: Likewise.
5321 * misc/removexattr.c: Likewise.
5322 * misc/revoke.c: Likewise.
5323 * misc/select.c: Likewise.
5324 * misc/setdomain.c: Likewise.
5325 * misc/setegid.c: Likewise.
5326 * misc/seteuid.c: Likewise.
5327 * misc/sethostid.c: Likewise.
5328 * misc/sethostname.c: Likewise.
5329 * misc/setregid.c: Likewise.
5330 * misc/setreuid.c: Likewise.
5331 * misc/setxattr.c: Likewise.
5332 * misc/sstk.c: Likewise.
5333 * misc/stty.c: Likewise.
5334 * misc/swapoff.c: Likewise.
5335 * misc/swapon.c: Likewise.
5336 * misc/sync.c: Likewise.
5337 * misc/syncfs.c: Likewise.
5338 * misc/syscall.c: Likewise.
5339 * misc/truncate.c: Likewise.
5340 * misc/ualarm.c: Likewise.
5341 * misc/usleep.c: Likewise.
5342 * misc/ustat.c: Likewise.
5343 * misc/utimes.c: Likewise.
5344 * misc/vhangup.c: Likewise.
5345 * misc/writev.c: Likewise.
5346 * posix/_exit.c: Likewise.
5347 * posix/alarm.c: Likewise.
5348 * posix/execve.c: Likewise.
5349 * posix/fexecve.c: Likewise.
5350 * posix/fork.c: Likewise.
5351 * posix/fpathconf.c: Likewise.
5352 * posix/getaddrinfo.c: Likewise.
5353 * posix/getegid.c: Likewise.
5354 * posix/geteuid.c: Likewise.
5355 * posix/getgid.c: Likewise.
5356 * posix/getgroups.c: Likewise.
5357 * posix/getlogin.c: Likewise.
5358 * posix/getlogin_r.c: Likewise.
5359 * posix/getpgid.c: Likewise.
5360 * posix/getpid.c: Likewise.
5361 * posix/getppid.c: Likewise.
5362 * posix/getresgid.c: Likewise.
5363 * posix/getresuid.c: Likewise.
5364 * posix/getsid.c: Likewise.
5365 * posix/getuid.c: Likewise.
5366 * posix/glob64.c: Likewise.
5367 * posix/nanosleep.c: Likewise.
5368 * posix/pathconf.c: Likewise.
5369 * posix/pause.c: Likewise.
5370 * posix/posix_madvise.c: Likewise.
5371 * posix/pread.c: Likewise.
5372 * posix/pread64.c: Likewise.
5373 * posix/pwrite.c: Likewise.
5374 * posix/pwrite64.c: Likewise.
5375 * posix/sched_getaffinity.c: Likewise.
5376 * posix/sched_getp.c: Likewise.
5377 * posix/sched_gets.c: Likewise.
5378 * posix/sched_primax.c: Likewise.
5379 * posix/sched_primin.c: Likewise.
5380 * posix/sched_rr_gi.c: Likewise.
5381 * posix/sched_setaffinity.c: Likewise.
5382 * posix/sched_setp.c: Likewise.
5383 * posix/sched_sets.c: Likewise.
5384 * posix/sched_yield.c: Likewise.
5385 * posix/setgid.c: Likewise.
5386 * posix/setlogin.c: Likewise.
5387 * posix/setpgid.c: Likewise.
5388 * posix/setresgid.c: Likewise.
5389 * posix/setresuid.c: Likewise.
5390 * posix/setsid.c: Likewise.
5391 * posix/setuid.c: Likewise.
5392 * posix/sleep.c: Likewise.
5393 * posix/spawni.c: Likewise.
5394 * posix/sysconf.c: Likewise.
5395 * posix/times.c: Likewise.
5396 * posix/wait.c: Likewise.
5397 * posix/wait3.c: Likewise.
5398 * posix/wait4.c: Likewise.
5399 * posix/waitpid.c: Likewise.
5400 * resolv/gai_sigqueue.c: Likewise.
5401 * resource/getpriority.c: Likewise.
5402 * resource/getrlimit.c: Likewise.
5403 * resource/getrusage.c: Likewise.
5404 * resource/nice.c: Likewise.
5405 * resource/setpriority.c: Likewise.
5406 * resource/setrlimit.c: Likewise.
5407 * resource/ulimit.c: Likewise.
5408 * rt/aio_cancel.c: Likewise.
5409 * rt/aio_fsync.c: Likewise.
5410 * rt/aio_read.c: Likewise.
5411 * rt/aio_sigqueue.c: Likewise.
5412 * rt/aio_suspend.c: Likewise.
5413 * rt/aio_write.c: Likewise.
5414 * rt/clock_getres.c: Likewise.
5415 * rt/clock_gettime.c: Likewise.
5416 * rt/clock_nanosleep.c: Likewise.
5417 * rt/clock_settime.c: Likewise.
5418 * rt/lio_listio.c: Likewise.
5419 * rt/mq_close.c: Likewise.
5420 * rt/mq_getattr.c: Likewise.
5421 * rt/mq_notify.c: Likewise.
5422 * rt/mq_open.c: Likewise.
5423 * rt/mq_receive.c: Likewise.
5424 * rt/mq_send.c: Likewise.
5425 * rt/mq_setattr.c: Likewise.
5426 * rt/mq_timedreceive.c: Likewise.
5427 * rt/mq_timedsend.c: Likewise.
5428 * rt/mq_unlink.c: Likewise.
5429 * rt/shm_open.c: Likewise.
5430 * rt/shm_unlink.c: Likewise.
5431 * rt/timer_create.c: Likewise.
5432 * rt/timer_delete.c: Likewise.
5433 * rt/timer_getoverr.c: Likewise.
5434 * rt/timer_gettime.c: Likewise.
5435 * rt/timer_settime.c: Likewise.
5436 * setjmp/__longjmp.c: Likewise.
5437 * setjmp/setjmp.c: Likewise.
5438 * signal/kill.c: Likewise.
5439 * signal/killpg.c: Likewise.
5440 * signal/raise.c: Likewise.
5441 * signal/sigaction.c: Likewise.
5442 * signal/sigaltstack.c: Likewise.
5443 * signal/sigblock.c: Likewise.
5444 * signal/sigignore.c: Likewise.
5445 * signal/sigintr.c: Likewise.
5446 * signal/signal.c: Likewise.
5447 * signal/sigpause.c: Likewise.
5448 * signal/sigpending.c: Likewise.
5449 * signal/sigqueue.c: Likewise.
5450 * signal/sigreturn.c: Likewise.
5451 * signal/sigset.c: Likewise.
5452 * signal/sigsetmask.c: Likewise.
5453 * signal/sigstack.c: Likewise.
5454 * signal/sigsuspend.c: Likewise.
5455 * signal/sigtimedwait.c: Likewise.
5456 * signal/sigvec.c: Likewise.
5457 * signal/sigwait.c: Likewise.
5458 * signal/sigwaitinfo.c: Likewise.
5459 * signal/sysv_signal.c: Likewise.
5460 * socket/accept.c: Likewise.
5461 * socket/accept4.c: Likewise.
5462 * socket/bind.c: Likewise.
5463 * socket/connect.c: Likewise.
5464 * socket/getpeername.c: Likewise.
5465 * socket/getsockname.c: Likewise.
5466 * socket/getsockopt.c: Likewise.
5467 * socket/isfdtype.c: Likewise.
5468 * socket/listen.c: Likewise.
5469 * socket/recv.c: Likewise.
5470 * socket/recvfrom.c: Likewise.
5471 * socket/recvmsg.c: Likewise.
5472 * socket/send.c: Likewise.
5473 * socket/sendmsg.c: Likewise.
5474 * socket/sendto.c: Likewise.
5475 * socket/setsockopt.c: Likewise.
5476 * socket/shutdown.c: Likewise.
5477 * socket/sockatmark.c: Likewise.
5478 * socket/socket.c: Likewise.
5479 * socket/socketpair.c: Likewise.
5480 * stdio-common/ctermid.c: Likewise.
5481 * stdio-common/cuserid.c: Likewise.
5482 * stdio-common/remove.c: Likewise.
5483 * stdio-common/rename.c: Likewise.
5484 * stdio-common/renameat.c: Likewise.
5485 * stdio-common/tempname.c: Likewise.
5486 * stdlib/getcontext.c: Likewise.
5487 * stdlib/makecontext.c: Likewise.
5488 * stdlib/setcontext.c: Likewise.
5489 * stdlib/swapcontext.c: Likewise.
5490 * stdlib/system.c: Likewise.
5491 * streams/fattach.c: Likewise.
5492 * streams/fdetach.c: Likewise.
5493 * streams/getmsg.c: Likewise.
5494 * streams/getpmsg.c: Likewise.
5495 * streams/putmsg.c: Likewise.
5496 * streams/putpmsg.c: Likewise.
5497 * sysdeps/unix/bsd/getpt.c: Likewise.
5498 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5499 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5500 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5502 Likewise.
5503 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5504 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5505 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5506 * sysvipc/msgctl.c: Likewise.
5507 * sysvipc/msgget.c: Likewise.
5508 * sysvipc/msgrcv.c: Likewise.
5509 * sysvipc/msgsnd.c: Likewise.
5510 * sysvipc/semctl.c: Likewise.
5511 * sysvipc/semget.c: Likewise.
5512 * sysvipc/semop.c: Likewise.
5513 * sysvipc/semtimedop.c: Likewise.
5514 * sysvipc/shmat.c: Likewise.
5515 * sysvipc/shmctl.c: Likewise.
5516 * sysvipc/shmdt.c: Likewise.
5517 * sysvipc/shmget.c: Likewise.
5518 * termios/tcdrain.c: Likewise.
5519 * termios/tcflow.c: Likewise.
5520 * termios/tcflush.c: Likewise.
5521 * termios/tcgetattr.c: Likewise.
5522 * termios/tcgetpgrp.c: Likewise.
5523 * termios/tcsendbrk.c: Likewise.
5524 * termios/tcsetattr.c: Likewise.
5525 * termios/tcsetpgrp.c: Likewise.
5526 * time/adjtime.c: Likewise.
5527 * time/clock.c: Likewise.
5528 * time/getitimer.c: Likewise.
5529 * time/gettimeofday.c: Likewise.
5530 * time/setitimer.c: Likewise.
5531 * time/settimeofday.c: Likewise.
5532 * time/stime.c: Likewise.
5533 * time/time.c: Likewise.
5534
5535 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
5536
5537 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5538 /usr/old/bin.
5539
5540 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5541 instead of spaces.
5542 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5543
5544 2012-11-03 Joseph Myers <joseph@codesourcery.com>
5545
5546 [BZ #14796]
5547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5548 FE_TONEAREST before applying Dekker multiplication and Knuth
5549 addition. Clear inexact exceptions and check for exact zero
5550 results afterwards.
5551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5554 * math/libm-test.inc (fma_test): Add more tests.
5555 (fma_test_towardzero): Likewise.
5556 (fma_test_downward): Likewise.
5557 (fma_test_upward): Likewise.
5558 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5559 function.
5560 (libc_fesetround): New macro.
5561 (libc_fesetroundf): Likewise.
5562 (libc_fesetroundl): Likewise.
5563 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5564 function.
5565 (libc_fesetround_387): Likewise.
5566 (libc_fesetroundf): New macro.
5567 (libc_fesetround): Likewise.
5568 (libc_fesetroundl): Likewise.
5569 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5570 function.
5571 (libc_fesetroundf): New macro.
5572 (libc_fesetround): Likewise.
5573 (libc_fesetroundl): Likewise.
5574 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5575 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5576 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5577 libm_hidden_ver.
5578 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5579 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5580 libm_hidden_def.
5581 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5582 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5583 libm_hidden_ver.
5584 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5585 libm_hidden_def.
5586
5587 [BZ #3439]
5588 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5589 integer constant usable in #if and use that to give value to enum
5590 constant.
5591 (FE_DIVBYZERO): Likewise.
5592 (FE_UNDERFLOW): Likewise.
5593 (FE_OVERFLOW): Likewise.
5594 (FE_INVALID): Likewise.
5595 (FE_INVALID_SNAN): Likewise.
5596 (FE_INVALID_ISI): Likewise.
5597 (FE_INVALID_IDI): Likewise.
5598 (FE_INVALID_ZDZ): Likewise.
5599 (FE_INVALID_IMZ): Likewise.
5600 (FE_INVALID_COMPARE): Likewise.
5601 (FE_INVALID_SOFTWARE): Likewise.
5602 (FE_INVALID_SQRT): Likewise.
5603 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5604 (FE_TONEAREST): Likewise.
5605 (FE_TOWARDZERO): Likewise.
5606 (FE_UPWARD): Likewise.
5607 (FE_DOWNWARD): Likewise.
5608 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5609 (FE_DIVBYZERO): Likewise.
5610 (FE_OVERFLOW): Likewise.
5611 (FE_UNDERFLOW): Likewise.
5612 (FE_INEXACT): Likewise.
5613 (FE_TONEAREST): Likewise.
5614 (FE_DOWNWARD): Likewise.
5615 (FE_UPWARD): Likewise.
5616 (FE_TOWARDZERO): Likewise.
5617 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5618 (FE_UNDERFLOW): Likewise.
5619 (FE_OVERFLOW): Likewise.
5620 (FE_DIVBYZERO): Likewise.
5621 (FE_INVALID): Likewise.
5622 (FE_TONEAREST): Likewise.
5623 (FE_TOWARDZERO): Likewise.
5624 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5625 (FE_OVERFLOW): Likewise.
5626 (FE_UNDERFLOW): Likewise.
5627 (FE_DIVBYZERO): Likewise.
5628 (FE_INEXACT): Likewise.
5629 (FE_TONEAREST): Likewise.
5630 (FE_TOWARDZERO): Likewise.
5631 (FE_UPWARD): Likewise.
5632 (FE_DOWNWARD): Likewise.
5633 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5634 (FE_DIVBYZERO): Likewise.
5635 (FE_OVERFLOW): Likewise.
5636 (FE_UNDERFLOW): Likewise.
5637 (FE_INEXACT): Likewise.
5638 (FE_TONEAREST): Likewise.
5639 (FE_DOWNWARD): Likewise.
5640 (FE_UPWARD): Likewise.
5641 (FE_TOWARDZERO): Likewise.
5642
5643 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5644
5645 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5646
5647 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5648
5649 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5650 commands. Quote $PWD.
5651 (blacklist_exports): Don't use remove_newlines. Replace "declare
5652 -x" by "export".
5653 (remove_newlines): Remove.
5654
5655 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5656
5657 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5658 * stdlib/stdlib.h (atof): Moved to ...
5659 * include/bits/stdlib-float.h: Here. New file.
5660 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5661 * stdlib/bits/stdlib-float.h: New file.
5662 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5663 -mno-sse -mno-mmx.
5664 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5665 <xmmintrin.h>.
5666
5667 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5668
5669 * conform/conformtest.pl (@headers): Add fenv.h.
5670 * conform/data/fenv.h-data: New file.
5671 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5672 include of <math/fenv.h>.
5673
5674 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5675 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5676 && !UNIX98]. Enables tests for XOPEN2K8.
5677 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5678 POSIX2008]: Likewise.
5679
5680 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5681 (struct rusage): Do not expect type or its members.
5682
5683 [BZ #3439]
5684 * math/math.h (FP_NAN): Define macro to integer constant usable in
5685 #if and use that to give value to enum constant.
5686 (FP_INFINITE): Likewise.
5687 (FP_ZERO): Likewise.
5688 (FP_SUBNORMAL): Likewise.
5689 (FP_NORMAL): Likewise.
5690
5691 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5692
5693 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5694 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5695 arguments.
5696
5697 2012-11-02 Roland McGrath <roland@hack.frob.com>
5698
5699 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5700 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5701 autoconf-time if not.
5702 * configure.in: Remove AC_PREREQ.
5703
5704 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5705
5706 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5707 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5708 of the internal implementation.
5709
5710 2012-11-02 Joseph Myers <joseph@codesourcery.com>
5711
5712 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5713 except include of <misc/sys/syslog.h>.
5714
5715 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5716
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5718 function returns with a NULL context exit with zero.
5719
5720 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5721
5722 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5723
5724 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5725
5726 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5727 (run_program_cmd): This.
5728 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5729 (tst_langinfo): New variable. Use it.
5730
5731 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5732
5733 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5734 floating point opcodes.
5735
5736 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5737
5738 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5739 variable.
5740
5741 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5742
5743 * sysdeps/mach/hurd/powerpc: Remove directory.
5744 * sysdeps/mach/powerpc: Likewise.
5745
5746 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5747
5748 * scripts/check-local-headers.sh: Ignore c++ headers.
5749
5750 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5751
5752 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5753 __libc_cleanup_region_start argument.
5754
5755 2012-11-01 Joseph Myers <joseph@codesourcery.com>
5756
5757 [BZ #14784]
5758 [BZ #14785]
5759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5760 x * y using scaling, not as x * y + z.
5761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5762 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5763 * math/libm-test.inc (fma_test): Add more tests.
5764 (fma_test_towardzero): Likewise.
5765 (fma_test_downward): Likewise.
5766 (fma_test_upward): Likewise.
5767
5768 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5769
5770 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5771
5772 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5773
5774 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5775 New variable.
5776
5777 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5778
5779 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5780
5781 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5782
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5784 Fix sort order.
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5786 Likewise.
5787
5788 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5789
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5791 Fix the order of the list for glibc 2.17.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5793 Likewise.
5794
5795 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5796
5797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5798
5799 2012-10-31 Joseph Myers <joseph@codesourcery.com>
5800
5801 [BZ #14610]
5802 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5803 for low part of x being zero before using __atanl (y).
5804 * math/libm-test.inc (atan2_test): Add another test.
5805
5806 * manual/install.texi (Configuring and compiling): Document
5807 general use of test-wrapper and test-wrapper-env.
5808 * INSTALL: Regenerated.
5809
5810 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5811 (__fma): Do not extract and scale down low bits on after-rounding
5812 systems when result rounded to normal precision would have normal
5813 exponent.
5814 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5815 (__fmal): Do not extract and scale down low bits on after-rounding
5816 systems when result rounded to normal precision would have normal
5817 exponent.
5818 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5819 (__fmal): Do not extract and scale down low bits on after-rounding
5820 systems when result rounded to normal precision would have normal
5821 exponent.
5822 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5823 macro.
5824 (fma_test): Add more tests.
5825 (fma_test_towardzero): Likewise.
5826 (fma_test_downward): Likewise.
5827 (fma_test_upward): Likewise.
5828
5829 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5830
5831 * sysdeps/i386/tininess.h: Renamed to ...
5832 * sysdeps/x86/tininess.h: This.
5833 * sysdeps/x86_64/tininess.h: Removed.
5834
5835 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5836
5837 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5838 input. Use $(build-program-cmd).
5839 ($(objpfx)tst-array1-static.out): Likewise.
5840 ($(objpfx)tst-array2.out): Likewise.
5841 ($(objpfx)tst-array3.out): Likewise.
5842 ($(objpfx)tst-array4.out): Likewise.
5843 ($(objpfx)tst-array5.out): Likewise.
5844 ($(objpfx)tst-array5-static.out): Likewise.
5845
5846 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5847
5848 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5849 if defined.
5850
5851 * nss/nsswitch.h (nss_interface_function): Provide new
5852 macro for use with NSS functions.
5853 * grp/initgroups.c: Use new macro.
5854 * nss/getXXbyYY.c: Likewise.
5855 * nss/getXXbyYY_r.c: Likewise.
5856 * nss/getXXent.c: Likewise.
5857 * nss/getXXent_r.c: Likewise.
5858 * sysdeps/posix/getaddrinfo.c: Likewise.
5859
5860 2012-10-30 Andreas Jaeger <aj@suse.de>
5861
5862 * po/ru.po: Update Russion translation from translation project.
5863
5864 2012-10-30 Joseph Myers <joseph@codesourcery.com>
5865
5866 [BZ #14152]
5867 [BZ #14783]
5868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5869 result and shift together with sticky bit instead of replicating
5870 round-to-nearest rounding.
5871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5873 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5874 missing underflow exceptions.
5875 (fma_test_towardzero): Add more tests.
5876 (fma_test_downward): Likewise.
5877 (fma_test_upward): Likewise.
5878
5879 [BZ #14047]
5880 * sysdeps/generic/tininess.h: New file.
5881 * sysdeps/i386/tininess.h: Likewise.
5882 * sysdeps/sh/tininess.h: Likewise.
5883 * sysdeps/x86_64/tininess.h: Likewise.
5884 * stdlib/tst-strtod-underflow.c: Likewise.
5885 * stdlib/tst-tininess.c: Likewise.
5886 * stdlib/strtod_l.c: Include <tininess.h>.
5887 (round_and_return): Do not set errno for exact underflow cases.
5888 Force an underflow exception when setting errno for underflow.
5889 Determine underflow based on rounding to normal precision if
5890 TININESS_AFTER_ROUNDING.
5891 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5892 ERANGE for exact underflow cases.
5893 * stdlib/Makefile (tests): Add tst-tininess and
5894 tst-strtod-underflow.
5895 ($(objpfx)tst-tininess): Use $(link-libm).
5896 ($(objpfx)tst-strtod-underflow): Likewise.
5897
5898 2012-10-30 Andreas Jaeger <aj@suse.de>
5899
5900 [BZ#14767]
5901 * elf/Makefile (tests): Remove conditional for have-initfini-array
5902 since this is now always required and the variable does not exist
5903 anymore.
5904 (tests-static): Likewise.
5905 (modules-names): Likewise.
5906
5907 * po/eo.po: Add Esperanto translation from translation project.
5908
5909 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5910 merged with constructor/destructor.
5911 (init_array): Likewise.
5912 * elf/tst-array2dep.c (fini_array): Likewise.
5913 (init_array): Likewise.
5914
5915 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5916
5917 * manual/message.texi: Delete @cartouche tags.
5918
5919 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5920
5921 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5922 EOPNOTSUPP.
5923 * sysdeps/mach/hurd/fsync.c: Likewise.
5924
5925 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5926 [_POSIX_REALTIME_SIGNALS]: Change condition to
5927 [_POSIX_REALTIME_SIGNALS > 0].
5928
5929 2012-10-27 Andreas Jaeger <aj@suse.de>
5930
5931 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5932 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5934 [__WORDSIZE != 64]: Likewise.
5935
5936 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5937
5938 * iconvdata/tst-table.sh: Remove ${SHELL}.
5939 * iconvdata/tst-tables.sh: Likewise.
5940
5941 2012-10-25 David S. Miller <davem@davemloft.net>
5942
5943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5944 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5945 of strtoull.
5946
5947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5948 ifunc-impl-list.c
5949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5950 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5951 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5952 file.
5953
5954 2012-10-25 Roland McGrath <roland@hack.frob.com>
5955
5956 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5957 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5958 __getdirentries.
5959
5960 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5961 Jim Blandy <jimb@codesourcery.com>
5962
5963 * scripts/cross-test-ssh.sh: New file.
5964 * manual/install.texi (Configuring and compiling): Document use of
5965 cross-test-ssh.sh.
5966 * INSTALL: Regenerated.
5967
5968 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5969
5970 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5971 EOPNOTSUPP.
5972
5973 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5974
5975 * Makeconfig (run-program-prefix): Fix comment.
5976
5977 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5978 Jim Blandy <jimb@codesourcery.com>
5979
5980 * Makeconfig (test-wrapper): New variable,
5981 (test-wrapper-env): Likewise.
5982 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5983 (run-built-tests): Define to yes.
5984 (run-program-prefix): Use $(test-wrapper).
5985 (built-program-cmd): Likewise.
5986 * Rules (make-test-out): Use $(test-wrapper-env) and
5987 $(host-built-program-cmd).
5988 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5989 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5990 tst-pathopt.sh.
5991 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5992 $(test-wrapper-env) to tst-rtld-load-self.sh.
5993 ($(objpfx)order2.out): Use $(test-wrapper).
5994 ($(objpfx)tst-initorder.out): Likewise.
5995 ($(objpfx)tst-initorder2.out): Likewise.
5996 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5997 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5998 (test_wrapper_env): New variable. Use it to run ld.so.
5999 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6000 Use it to run ld.so.
6001 (test_wrapper_env): Likewise.
6002 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6003 $(test-wrapper) to run-iconv-test.sh.
6004 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6005 (ICONV): Use $test_wrapper.
6006 * posix/Makefile ($(objpfx)globtest.out): Pass
6007 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6008 globtest.sh, not $(run-program-prefix).
6009 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6010 (test_wrapper): Likewise.
6011 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6012 set together with run_via_rtld_prefix.
6013 (run_program_prefix): Define in terms of test_wrapper and
6014 run_via_rtld_prefix.
6015
6016 2012-10-24 Roland McGrath <roland@hack.frob.com>
6017
6018 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6019 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6020 Targets removed.
6021
6022 [BZ #14743]
6023 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6024 Declare __clock_getres, __clock_gettime, __clock_settime,
6025 __clock_nanosleep, and __clock_getcpuclockid.
6026 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6027 Remove librt_hidden_def (clock_gettime).
6028 * sysdeps/unix/clock_gettime.c: Likewise.
6029 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6030 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6031 * rt/clock_getres.c: Define __clock_getres as an alias.
6032 * sysdeps/posix/clock_getres.c: Likewise.
6033 * rt/clock_settime.c: Define __clock_settime as an alias.
6034 * sysdeps/unix/clock_settime.c: Likewise.
6035 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6036 * sysdeps/unix/clock_nanosleep.c: Likewise.
6037 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6038 * rt/clock-compat.c: New file.
6039 * rt/Makefile (librt-routines): Add clock-compat and move
6040 $(clock-routines) to ...
6041 (routines): ... here, new variable.
6042 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6043 Don't add get_clockfreq here.
6044 * rt/Versions (libc: GLIBC_2.17): New version set.
6045 Add clock_* symbols here.
6046 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6048 (GLIBC_2.17): Add clock_* symbols.
6049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6053 Likewise.
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6055 Likewise.
6056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6060 * NEWS: Mention the move.
6061
6062 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6063 Use __open, __read, __close rather than their public counterparts.
6064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6065 (__get_clockfreq_via_cpuinfo): Likewise.
6066 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6067 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6068
6069 * config.h.in (HAVE_IFUNC): New #undef.
6070 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6071 was successful.
6072 * configure: Regenerated.
6073
6074 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6075
6076 * configure.in: Move READELF check to start of file.
6077 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6078 libc_cv_asm_gnu_indirect_function in the process.
6079 * configure: Regenerated.
6080
6081 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6082
6083 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6084 send the output to /dev/null.
6085 (libc_cv_cc_with_libunwind): Likewise.
6086 (libc_cv_as_noexecstack): Likewise.
6087 * configure: Regenerate.
6088
6089 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6090
6091 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6092
6093 * posix/globtest.sh (TMPDIR): Do not set.
6094 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6095 (testout): Likewise.
6096
6097 2012-10-24 Andreas Jaeger <aj@suse.de>
6098
6099 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6100 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6101 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6102 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6103 posix_fadvise64, posix_fallocate64.
6104
6105 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6106 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6107 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6108 Likewise.
6109 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6110 Likewise.
6111 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6112
6113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6114 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6115 <bits/fcntl-linux.h>.
6116 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6117
6118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6119 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6120 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6121 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6122 [__WORDSIZE != 64]: Likewise.
6123
6124 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6125
6126 * Makeconfig (run-built-tests): New variable.
6127 * Rules [$(cross-compiling) = yes]: Change condition to
6128 [$(run-built-tests) = no].
6129 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6130 to [$(run-built-tests) = yes].
6131 * elf/Makefile [$(cross-compiling) = no]: Likewise
6132 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6133 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6134 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6135 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6136 * io/Makefile [$(cross-compiling) = no]: Likewise.
6137 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6138 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6139 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6140 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6141 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6142 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6143 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6144 * string/Makefile [$(cross-compiling) = no]: Likewise.
6145
6146 * posix/Makefile ($(objpfx)globtest.out): Pass
6147 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6148 $(rtld-installed-name).
6149 * posix/globtest.sh (elf_objpfx): Remove variable.
6150 (rtld_installed_name): Likewise.
6151 (library_path): Likewise.
6152 (run_program_prefix): New variable. Use for running globtest
6153 binary.
6154
6155 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6156 Joseph Myers <joseph@codesourcery.com>
6157
6158 * Makeconfig (host-built-program-cmd): New variable.
6159 * elf/Makefile (tst-stackguard1-ARGS): Use
6160 $(host-built-program-cmd).
6161 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6162 (tst-spawn-ARGS): Likewise.
6163 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6164
6165 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6166 Jim Blandy <jimb@codesourcery.com>
6167
6168 * Makeconfig (run-via-rtld-prefix): New variable.
6169 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6170 (built-program-cmd): Likewise.
6171
6172 2012-10-22 Andreas Jaeger <aj@suse.de>
6173
6174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6175 __O_RSYNC if it exists, otherwise to O_SYNC.
6176
6177 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6178 Joseph Myers <joseph@codesourcery.com>
6179
6180 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6181 /dev/null.
6182 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6183 from /dev/null
6184 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6185 /dev/null.
6186
6187 2012-10-22 Andreas Jaeger <aj@suse.de>
6188
6189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6190 Define always.
6191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6192
6193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6194 bits/fcntl-linux.h.
6195
6196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6197 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6198
6199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6200 to __O_LARGEFILE.
6201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6202 to __O_LARGEFILE.
6203
6204 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6205 Joseph Myers <joseph@codesourcery.com>
6206
6207 * config.make.in (NM): New variable.
6208
6209 2012-10-21 Andreas Jaeger <aj@suse.de>
6210
6211 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6212 definitions and declarations that are provided by
6213 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6214
6215 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6216
6217 [BZ #14683]
6218 * elf/Makefile (tests-static): Add tst-leaks1-static.
6219 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6220 ($(objpfx)tst-leaks1-static): New rule.
6221 ($(objpfx)tst-leaks1-static-mem): Likewise.
6222 (tst-leaks1-static-ENV): New macro.
6223 * elf/dl-open.c (dl_open_worker): Check the main application
6224 only if SHARED is defined.
6225 * elf/tst-leaks1-static.c: New file.
6226
6227 2012-10-20 Andreas Jaeger <aj@suse.de>
6228
6229 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6230 generic values for Linux.
6231 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6232 and declarations that are provided by <bits/fcntl-linux.h> and
6233 include <bits/fcntl-linux.h>.
6234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6236
6237 2012-10-20 Roland McGrath <roland@hack.frob.com>
6238
6239 * io/fcntl.h: Move include of <bits/types.h> to the top and
6240 include it unconditionally.
6241
6242 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6243
6244 * wcsmbs/Makefile (tests-ifunc): New variable.
6245 (tests): Add $(tests-ifunc).
6246 * wcsmbs/test-wcschr-ifunc.c: New file.
6247 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6248 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6249 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6250 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6251 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6252
6253 * string/Makefile (tests-ifunc): New variable.
6254 (tests): Add $(tests-ifunc).
6255 * string/test-memccpy.c (TEST_NAME): New macro.
6256 * string/test-memchr.c (TEST_NAME): Likewise.
6257 * string/test-memcmp.c (TEST_NAME): Likewise.
6258 * string/test-memcpy.c (TEST_NAME): Likewise.
6259 * string/test-memmem.c (TEST_NAME): Likewise.
6260 * string/test-memmove.c (TEST_NAME): Likewise.
6261 * string/test-memset.c (TEST_NAME): Likewise.
6262 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6263 * string/test-stpcpy.c (TEST_NAME): Likewise.
6264 * string/test-stpncpy.c (TEST_NAME): Likewise.
6265 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6266 * string/test-strcasestr.c (TEST_NAME): Likewise.
6267 * string/test-strcat.c (TEST_NAME): Likewise.
6268 * string/test-strchr.c (TEST_NAME): Likewise.
6269 * string/test-strcmp.c(TEST_NAME): Likewise.
6270 * string/test-strcpy.c (TEST_NAME): Likewise.
6271 * string/test-strcspn.c (TEST_NAME): Likewise.
6272 * string/test-strlen.c (TEST_NAME): Likewise.
6273 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6274 * string/test-strncmp.c (TEST_NAME): Likewise.
6275 * string/test-strncpy.c (TEST_NAME): Likewise.
6276 * string/test-strnlen.c (TEST_NAME): Likewise.
6277 * string/test-strpbrk.c (TEST_NAME): Likewise.
6278 * string/test-strrchr.c (TEST_NAME): Likewise.
6279 * string/test-strspn.c (TEST_NAME): Likewise.
6280 * string/test-strstr.c (TEST_NAME): Likewise.
6281 * string/test-bcopy-ifunc.c: New file.
6282 * string/test-bzero-ifunc.c: Likewise.
6283 * string/test-memccpy-ifunc.c: Likewise.
6284 * string/test-memchr-ifunc.c: Likewise.
6285 * string/test-memcmp-ifunc.c: Likewise.
6286 * string/test-memcpy-ifunc.c: Likewise.
6287 * string/test-memmem-ifunc.c: Likewise.
6288 * string/test-memmove-ifunc.c: Likewise.
6289 * string/test-mempcpy-ifunc.c: Likewise.
6290 * string/test-memset-ifunc.c: Likewise.
6291 * string/test-rawmemchr-ifunc.c: Likewise.
6292 * string/test-stpcpy-ifunc.c: Likewise.
6293 * string/test-stpncpy-ifunc.c: Likewise.
6294 * string/test-strcasecmp-ifunc.c: Likewise.
6295 * string/test-strcasestr-ifunc.c: Likewise.
6296 * string/test-strcat-ifunc.c: Likewise.
6297 * string/test-strchr-ifunc.c: Likewise.
6298 * string/test-strchrnul-ifunc.c: Likewise.
6299 * string/test-strcmp-ifunc.c: Likewise.
6300 * string/test-strcpy-ifunc.c: Likewise.
6301 * string/test-strcspn-ifunc.c: Likewise.
6302 * string/test-strlen-ifunc.c: Likewise.
6303 * string/test-strncasecmp-ifunc.c: Likewise.
6304 * string/test-strncat-ifunc.c: Likewise.
6305 * string/test-strncmp-ifunc.c: Likewise.
6306 * string/test-strncpy-ifunc.c: Likewise.
6307 * string/test-strnlen-ifunc.c: Likewise.
6308 * string/test-strpbrk-ifunc.c: Likewise.
6309 * string/test-strrchr-ifunc.c: Likewise.
6310 * string/test-strspn-ifunc.c: Likewise.
6311 * string/test-strstr-ifunc.c: Likewise.
6312
6313 * debug/Makefile (tests-ifunc): New variable.
6314 (tests): Add $(tests-ifunc).
6315 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6316 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6317 * debug/test-stpcpy_chk-ifunc.c: New file.
6318 * debug/test-strcpy_chk-ifunc.c: Likewise.
6319
6320 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6321
6322 [BZ #13601]
6323 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6324 header is not read in.
6325
6326 2012-10-19 Joseph Myers <joseph@codesourcery.com>
6327
6328 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6329 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6330 directly. Pass built executable to script as
6331 $(built-program-cmd).
6332 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6333 $testprogram without using LD_LIBRARY_PATH and $ldso.
6334
6335 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6336 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6337 $(rtld-installed-name).
6338 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6339 (rtld_installed_name): Likewise.
6340 (library_path): Likewise.
6341 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6342 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6343 $(run-program-prefix) to tst-tables.sh.
6344 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6345 it to run tst-table-from and tst-table-to.
6346 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6347 Pass it to tst-table.sh.
6348 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6349 $(run-program-prefix) to tst-gettext.sh.
6350 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6351 tst-translit.sh.
6352 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6353 tst-gettext2.sh.
6354 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6355 to run tst-gettext.
6356 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6357 to run tst-gettext2.
6358 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6359 to run tst-translit.
6360 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6361 $(run-program-prefix) to tst-mtrace.sh.
6362 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6363 to run tst-mtrace.
6364 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6365 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6366 $(rtld-installed-name).
6367 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6368 (rtld_installed_name): Likewise.
6369 (run_program_prefix): New variable. Use it to run wordexp-test.
6370
6371 * Makeconfig (ARCH): Remove all definitions.
6372 (machine): Likewise.
6373 [ARCH]: Remove conditional code.
6374 [!objdir]: Give error.
6375 [!objdir] (objpfx): Remove.
6376 [!objdir] (common-objpfx): Likewise.
6377 [!objdir] (common-objdir): Likewise.
6378 * configure.in (config_makefile): Remove. Hardcode Makefile in
6379 AC_CONFIG_FILES call.
6380 * configure: Regenerated.
6381
6382 [BZ #13888]
6383 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6384 or TMPDIR.
6385 (testout): Likewise.
6386
6387 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6388 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6389 $(rtld-installed-name).
6390 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6391 (rtld_installed_name): Likwise.
6392 (runit): Remove function.
6393 (run_getconf): New variable, Use it for running getconf binary.
6394
6395 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6396
6397 [BZ #14716]
6398 * string/test-memmem.c (check_result): New function.
6399 (do_one_test): Use it.
6400 (check1): New function.
6401 (test_main): Use it.
6402
6403 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6404
6405 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6406
6407 2012-10-18 Joseph Myers <joseph@codesourcery.com>
6408
6409 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6410 (_G_LSEEK64): Likewise.
6411 (_G_MMAP64): Likewise.
6412 (_G_FSTAT64): Likewise.
6413 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6414 (_G_LSEEK64): Likewise.
6415 (_G_MMAP64): Likewise.
6416 (_G_FSTAT64): Likewise.
6417 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6418 unconditional. Call __mmap64 directly.
6419 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6420 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6421 __lseek64 directly.
6422 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6423 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6424 __mmap64 directly.
6425 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6426 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6427 __lseek64 directly.
6428 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6429 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6430 __lseek64 directly.
6431 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6432 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6433 __lseek64 directly.
6434 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6435 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6436 __fxstat64 directly.
6437 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6438 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6439 unconditional.
6440 (freopen64) [!_G_OPEN64]: Remove conditional code.
6441 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6442 unconditional.
6443 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6444 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6445 unconditional.
6446 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6447 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6448 unconditional.
6449 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6450 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6451 unconditional.
6452 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6453 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6454 unconditional.
6455 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6456 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6457 unconditional.
6458 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6459 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6460 unconditional.
6461 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6462
6463 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6464
6465 [BZ #12140]
6466 * manual/memory.texi (Malloc Tunable Parameters): Add note
6467 about free list pointers overwriting some perturb bytes.
6468 Wording suggested by Roland McGrath.
6469
6470 2012-10-17 Joseph Myers <joseph@codesourcery.com>
6471
6472 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6473 (lgamma_test): Likewise.
6474 (tgamma_test): Likewise.
6475
6476 2012-10-16 Florian Weimer <fweimer@redhat.com>
6477
6478 [BZ #14700]
6479 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6480 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6481
6482 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6483
6484 * NEWS: Mention BZ #14716.
6485 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6486 when removing AVAILABLE1_USES_J macro.
6487
6488 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6491 (__bswap_64): __uint64_t for unsigned 64-bit int.
6492
6493 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6494
6495 * include/string.h (memmem): Declare libc hidden alias.
6496 * string/memmem.c (memmem): Define libc hidden alias.
6497 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6498 __read, __close instead of open, read, close.
6499
6500 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6501
6502 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6503 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6504 global and hidden.
6505 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6506 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6507 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6508 Likewise.
6509 (__rawmemchr_sse2): Likewise.
6510 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6511 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6512 (__strchr_sse2): Likewise.
6513 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6514 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6515 (__strcasecmp_sse2): Likewise.
6516 (__strncasecmp_sse2): Likewise.
6517 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6518 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6519 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6520 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6521 (__strrchr_sse2): Likewise.
6522 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6523 ifunc-impl-list.c.
6524 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6525 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6526 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6527 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6528 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6529 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6530 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6531 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6532 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6533 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6534 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6535 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6536 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6537 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6538 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6539 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6540 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6541 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6542 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6543 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6544 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6545 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6546 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6547 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6548 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6549 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6550 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6551 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6552 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6553 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6554
6555 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6556 global and hidden.
6557 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6558 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6559 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6560 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6561 Likewise.
6562 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6563 Likewise.
6564 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6565 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6566 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6567 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6568 ifunc-impl-list.c.
6569 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6570 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6571 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6572 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6573 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6574 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6575 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6576 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6577 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6578 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6579 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6580 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6586 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6587 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6588 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6590 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6591 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6592 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6593 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6594 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6595 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6596 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6597 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6598 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6599 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6600 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6601 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6602 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6603 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6604 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6605 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6606 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6607 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6608 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6609 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6610
6611 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6612 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6613 * include/ifunc-impl-list.h: New file.
6614 * misc/ifunc-impl-list.c: Likewise.
6615 * misc/Makefile (routines): Add ifunc-impl-list.
6616 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6617 * string/test-string.h: Include <ifunc-impl-list.h>.
6618 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6619 impl_array): New variables.
6620 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6621 are defined.
6622 (test_init): Call __libc_ifunc_impl_list to initialize
6623 func_list if TEST_IFUNC and TEST_NAME are defined.
6624
6625 * string/Makefile (strop-tests): Add bcopy and bzero.
6626 * string/test-bcopy.c: New file.
6627 * string/test-bzero.c: Likewise.
6628 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6629 defined.
6630 * string/test-memset.c: Support bzero test if TEST_BZERO is
6631 defined.
6632 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6633 __libc_memmove.
6634 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6635 __libc_memset.
6636 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6637 of memset.
6638
6639 2012-10-10 Joseph Myers <joseph@codesourcery.com>
6640
6641 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6642 * configure: Regenerated.
6643
6644 * Makeconfig (+link-static-before-libc): Don't include
6645 $(link-static-libc).
6646
6647 * libio/libio.h (_IO_pos_t): Remove.
6648
6649 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6650
6651 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6652 McGrath.
6653
6654 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6655
6656 * crypt/crypt-entry.c: Include fips-private.h.
6657 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6658 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6659 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6660 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6661
6662 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
6663
6664 * crypt/crypt-private.h: Include stdbool.h.
6665 (_ufc_setup_salt_r): Return bool.
6666 * crypt/crypt-entry.c: Include errno.h.
6667 (__crypt_r): Return NULL with EINVAL for bad salt.
6668 * crypt/crypt_util.c (bad_for_salt): New.
6669 (_ufc_setup_salt_r): Check that salt is long enough and within
6670 the specified alphabet.
6671 * crypt/badsalttest.c: New file.
6672 * crypt/Makefile (tests): Add it.
6673 ($(objpfx)badsalttest): New.
6674
6675 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6676
6677 * NEWS: Add entry for BZ #14602.
6678
6679 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6680
6681 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6682 type-generic.
6683 * math/libm-test.inc: Update comment listing what functions and
6684 macros are tested.
6685 (isgreater_test): New function.
6686 (isgreaterequal_test): Likewise.
6687 (isless_test): Likewise.
6688 (islessequal_test): Likewise.
6689 (islessgreater_test): Likewise.
6690 (isunordered_test): Likewise.
6691 (main): Call the new functions.
6692
6693 2012-10-09 Roland McGrath <roland@hack.frob.com>
6694
6695 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6696 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6697 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6698 * sysdeps/i386/configure: Regenerated.
6699 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6700 * sysdeps/mach/configure: Regenerated.
6701 * sysdeps/mach/hurd/configure: Regenerated.
6702 * sysdeps/powerpc/configure: Regenerated.
6703 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6704 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6705 * sysdeps/s390/s390-32/configure: Regenerated.
6706 * sysdeps/s390/s390-64/configure: Regenerated.
6707 * sysdeps/sh/configure: Regenerated.
6708 * sysdeps/sparc/configure: Regenerated.
6709 * sysdeps/unix/sysv/linux/configure: Regenerated.
6710 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6711 * sysdeps/x86_64/configure: Regenerated.
6712
6713 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6714 defined. Don't check if MAP is NULL.
6715
6716 2012-10-09 Joseph Myers <joseph@codesourcery.com>
6717
6718 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6719 (_G_stat64): Likewise.
6720 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6721 (_G_stat64): Likewise.
6722 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6723 instead of struct _G_stat64.
6724 * libio/fileops.c (mmap_remap_check): Likewise.
6725 (decide_maybe_mmap): Likewise.
6726 (_IO_new_file_seekoff): Likewise.
6727 (_IO_file_stat): Likewise.
6728 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6729 _G_off64_t.
6730 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6731 instead of struct _G_stat64.
6732 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6733
6734 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6735
6736 [BZ #14602]
6737 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6738 Replace with ...
6739 (CHECK_EOL): New macro.
6740 (two_way_short_needle): Check beginning of haystack for EOL. Use
6741 CHECK_EOL.
6742 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6743 Replace with CHECK_EOL.
6744 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6745 Replace with CHECK_EOL.
6746
6747 2012-10-08 Joseph Myers <joseph@codesourcery.com>
6748
6749 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6750 type-generic.
6751 * math/libm-test.inc: Update comment listing what functions and
6752 macros are tested.
6753 (finite_test): New function.
6754 (isinf_test): Likewise.
6755 (isnan_test): Likewise.
6756 (fpclassify_test): Test subnormal input.
6757 (isfinite_test): Likewise.
6758 (isnormal_test): Likewise.
6759 (main): Call the new functions.
6760
6761 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6762
6763 [BZ #14660]
6764 * Makerules (%.dynsym): Force C locale when running
6765 $(OBJDUMP) --dynamic-syms.
6766
6767 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6768
6769 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6770 <stdint.h>.
6771
6772 2012-10-06 David S. Miller <davem@davemloft.net>
6773
6774 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6775 upper 32-bits of the length value in %o2 since we use branch-on-register
6776 tests which consider the entire 64-bit register.
6777
6778 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6779
6780 * string/test-strstr.c (check2): Add a test for page boundary.
6781
6782 2012-10-05 David S. Miller <davem@davemloft.net>
6783
6784 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6785 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6786 file.
6787 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6788 sysdep_routines.
6789 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6790 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6791 and bzero when HWCAP_SPARC_CRYPTO is present.
6792
6793 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6794
6795 [BZ #14602]
6796 * string/test-strstr.c (check2): New function.
6797 (test_main): Call check2.
6798
6799 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6800 and bug-strchr1.
6801 * string/bug-strcasestr1.c (do_test): Moved to ...
6802 * string/test-strcasestr.c (check1): Here. New function.
6803 (do_one_test): Break out result checking code into ...
6804 (check_result): This. New function.
6805 (do_one_test): Call check_result.
6806 (test_main): Call check1.
6807 * string/bug-strchr1.c (do_test): Moved to ...
6808 * string/test-strchr.c (check1): Here. New function.
6809 (do_one_test): Break out result checking code into ...
6810 (check_result): This. New function.
6811 (do_one_test): Call check_result.
6812 (test_main): Call check1.
6813 * string/bug-strstr1.c (main): Moved to ...
6814 * string/test-strstr.c (check1): Here. New function.
6815 (do_one_test): Break out result checking code into ...
6816 (check_result): This. New function.
6817 (do_one_test): Call check_result.
6818 (test_main): Call check1.
6819 * string/bug-strcasestr1.c: Removed.
6820 * string/bug-strchr1.c: Likewise.
6821 * string/bug-strstr1.c: Likewise.
6822
6823 * elf/Makefile (dl-routines): Add hwcaps.
6824 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6825 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6826 (_dl_important_hwcaps): Moved to ...
6827 * elf/dl-hwcaps.c: Here. New file.
6828 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6829
6830 [BZ #14557]
6831 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6832 if IS_IN_rtld isn't defined.
6833
6834 * elf/dl-support.c (_dl_sysinfo_map): New.
6835 Include "get-dynamic-info.h" and "setup-vdso.h".
6836 (_dl_non_dynamic_init): Call setup_vdso.
6837 * elf/dynamic-link.h: Don't include <assert.h>.
6838 (elf_get_dynamic_info): Moved to ...
6839 * elf/get-dynamic-info.h: Here. New file.
6840 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6841 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6842 * elf/setup-vdso.h: Here. New file.
6843 * elf/rtld.c: Include "setup-vdso.h".
6844 (dl_main): Call setup_vdso.
6845
6846 2012-10-05 Joseph Myers <joseph@codesourcery.com>
6847
6848 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6849 creal in comment listing functions tested. List finite, isinf,
6850 isnan, isless, islessequal, isgreater, isgreaterequal,
6851 islessgreater, isunordered, lgamma_r and pow10 as functions and
6852 macros not tested. Mention which functions not tested are aliases
6853 for other functions. Fix typo. Note that signs of NaNs are not
6854 tested.
6855
6856 * scripts/config.guess: Update from config.git.
6857 * scripts/config.sub: Likewise.
6858
6859 2012-10-04 Roland McGrath <roland@hack.frob.com>
6860
6861 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6862 * misc/madvise.c (madvise): Renamed to __madvise.
6863 Make madvise a weak alias.
6864 * include/sys/mman.h: Declare __madvise.
6865 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6866 * sysdeps/unix/syscalls.list
6867 (madvise): Make __madvise the strong name, and madvise a weak alias.
6868 * sysdeps/unix/sysv/linux/syscalls.list
6869 (madvise, mmap): Remove redundant entries.
6870 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6871 * malloc/malloc.c (mtrim): Likewise.
6872 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6873
6874 2012-10-03 Roland McGrath <roland@hack.frob.com>
6875
6876 * sysdeps/mach/hurd/dl-cache.c: File removed.
6877 * config.h.in (USE_LDCONFIG): New #undef.
6878 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6879 * configure: Regenerated.
6880 * elf/Makefile (dl-routines): Add dl-cache only under
6881 [$(use-ldconfig) = yes].
6882 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6883 cache on [USE_LDCONFIG].
6884 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6885 [USE_LDCONFIG].
6886 * elf/rtld.c (dl_main): Likewise.
6887
6888 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6889
6890 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6891 _SC_LEVEL4_CACHE_LINESIZE.
6892
6893 2012-10-03 Roland McGrath <roland@hack.frob.com>
6894
6895 * sysdeps/unix/bsd/confstr.h: File removed.
6896
6897 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
6898
6899 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6900 sys/sdt-config.h.
6901
6902 2012-10-02 Roland McGrath <roland@hack.frob.com>
6903
6904 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6905 Make 'mapoff' field ElfW(Off) rather than off_t.
6906
6907 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6908
6909 * nscd/Makefile: Remove nscd-cflags and all its users.
6910 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6911 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6912
6913 [BZ #10631]
6914 * malloc.c (malloc_printerr): Clarify error message.
6915
6916 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6917
6918 [BZ #14648]
6919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6920 Set bit_FMA_Usable if FMA is supported.
6921 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6922 macro.
6923 (bit_FMA4_Usable): Updated.
6924 (index_FMA_Usable): New macro.
6925 (CPUID_FMA): Likewise
6926 (HAS_FMA): Defined with bit_FMA_Usable.
6927
6928 2012-10-01 Roland McGrath <roland@hack.frob.com>
6929
6930 * bits/types.h (__swblk_t): Type removed.
6931 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6932 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6934 (__SWBLK_T_TYPE): Likewise.
6935 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6936 (__SWBLK_T_TYPE): Likewise.
6937 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6938 (__SWBLK_T_TYPE): Likewise.
6939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6940 (__SWBLK_T_TYPE): Likewise.
6941
6942 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6943 Honza Horak <hhorak@redhat.com>
6944
6945 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6946 (xdr_mapname): Use YPMAXMAP as maxsize.
6947 (xdr_peername): Use YPMAXPEER as maxsize.
6948 (xdr_keydat): Use YPAXRECORD as maxsize.
6949 (xdr_valdat): Use YPMAXRECORD as maxsize.
6950
6951 2012-10-01 Roland McGrath <roland@hack.frob.com>
6952
6953 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6954
6955 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6956 * csu/init-first.c: ... here.
6957 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6958 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6959 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6960 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6961 * sysdeps/i386/init-first.c: File removed.
6962 * sysdeps/sh/init-first.c: File removed.
6963
6964 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6965
6966 [BZ #14645]
6967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6968 if x * y might underflow to zero and z is zero.
6969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6970 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6971 * math/libm-test.inc (min_subnorm_value): New variable.
6972 (fma_test): Add more tests.
6973 (fma_test_towardzero): Likewise.
6974 (fma_test_downward): Likewise
6975 (fma_test_upward): Likewise.
6976 (initialize): Set min_subnorm_value.
6977
6978 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6979
6980 [BZ #14638]
6981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6982 0 + 0.
6983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6984 mode for addition resulting in exact zero.
6985 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6987 exact 0 + 0.
6988 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6990 * math/libm-test.inc (fma_test): Add more tests.
6991 (fma_test_towardzero): New function.
6992 (fma_test_downward): Likewise.
6993 (fma_test_upward): Likewise.
6994 (main): Call the new functions.
6995
6996 2012-09-28 David S. Miller <davem@davemloft.net>
6997
6998 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6999
7000 2012-09-28 Roland McGrath <roland@hack.frob.com>
7001
7002 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7003 instead of SIGALRM.
7004
7005 * sysdeps/gnu/_G_config.h: Moved to ...
7006 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7007 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7008 * sysdeps/generic/_G_config.h: ... here.
7009
7010 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7011
7012 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7013
7014 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7015 Conditionalize target on [libnss_test1.so-version].
7016
7017 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7018
7019 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7020 (elfobjdir): Move out of conditionals.
7021
7022 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7023 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7024 (__nss_lookup_function): Conditionalize label remove_from_tree on
7025 [!DO_STATIC_NSS || SHARED], matching its only use.
7026
7027 2012-09-28 David S. Miller <davem@davemloft.net>
7028
7029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7031 file.
7032 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7033 sysdep_routines.
7034 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7036 when HWCAP_SPARC_CRYPTO is present.
7037
7038 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7039
7040 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7041
7042 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7043
7044 [BZ #6530]
7045 * stdio-common/vfprintf.c (process_string_arg): Revert
7046 2000-07-22 change.
7047
7048 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7049
7050 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7051 for testcase.
7052 * stdio-common/tst-sprintf.c: Include <locale.h>
7053 (main): Test sprintf's handling of incomplete multibyte
7054 characters.
7055
7056 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7057
7058 * elf/dl-runtime.c (VERSYMIDX): Removed.
7059 * elf/dl-version.c (VERSYMIDX): Likewise.
7060 * elf/do-rel.h (VERSYMIDX): Likewise.
7061 (VALIDX): Likewise.
7062 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7063 * elf/rtld.c (VALIDX): Likewise.
7064 (ADDRIDX): Likewise.
7065 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7066 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7067 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7068 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7069 (VALIDX): Likewise.
7070 (ADDRIDX): Likewise.
7071
7072 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7073
7074 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7075
7076 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7077
7078 [BZ #11438]
7079 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7080 to global scope.
7081 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7082 addresses are in the same scope as 192.0.2/24.
7083 * posix/gai.conf: Document new scope table defaults.
7084
7085 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7086
7087 [BZ #5298]
7088 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7089 for ftell. Compute offsets from write pointers instead.
7090 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7091
7092 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7093
7094 [BZ #14543]
7095 * libio/Makefile (tests): New test case tst-fseek.
7096 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7097 combination works in wide mode.
7098 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7099 state when the external buffer state changes.
7100
7101 2012-09-27 David S. Miller <davem@davemloft.net>
7102
7103 [BZ #14376]
7104 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7105 pass reloc->r_addend in as the 'high' argument to
7106 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7107
7108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7109
7110 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7111
7112 * rt/tst-aio2.c: Include <pthread.h>.
7113 * rt/tst-aio3.c: Likewise.
7114
7115 2012-09-27 Steve Ellcey <sellcey@mips.com>
7116
7117 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7118
7119 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7120
7121 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7122 contents on [SHARED].
7123
7124 2012-09-26 Marek Polacek <polacek@redhat.com>
7125
7126 [BZ #14530]
7127 [BZ #13741]
7128 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7129 for C++ and GCC <4.3 as well as for non GCC compilers.
7130
7131 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7132
7133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7134
7135 2012-09-25 Roland McGrath <roland@hack.frob.com>
7136
7137 * Makefile.in (all, install): Declare with .PHONY.
7138 Reported by Michael Hope <michael.hope@linaro.org>.
7139
7140 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7141
7142 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7143 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7144 system header.
7145 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7146 Likewise.
7147 (sydep_routines): Add the new and the internal functions.
7148 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7149 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7151 (GLIBC_2.17): Add the new function.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7153 (GLIBC_2.17): Likewise.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7155 (GLIBC_2.17): Likewise.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7157 (GLIBC_2.17): Likewise.
7158 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7159
7160 2012-09-25 Alan Modra <amodra@gmail.com>
7161
7162 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7163 Add release barrier before setting once_control to say
7164 initialisation is done. Add hints on lwarx. Use macro in
7165 place of isync.
7166 (clear_once_control): Add release barrier.
7167
7168 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7169
7170 [BZ #13629]
7171 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7172 specially.
7173 * math/s_clog10.c (__clog10): Likewise.
7174 * math/s_clog10f.c (__clog10f): Likewise.
7175 * math/s_clog10l.c (__clog10l): Likewise.
7176 * math/s_clogf.c (__clogf): Likewise.
7177 * math/s_clogl.c (__clogl): Likewise.
7178 * math/Makefile (libm-calls): Add x2y2m1.
7179 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7180 (__x2y2m1): Likewise.
7181 (__x2y2m1l): Likewise.
7182 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7183 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7186 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7187 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7188 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7189 * sysdeps/i386/fpu/libm-test-ulps: Update.
7190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7191
7192 [BZ #14621]
7193 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7194 int as type of variable DEPTH.
7195 (glob): Use size_t instead of int as type of variables NEWCOUNT
7196 and OLD_PATHC.
7197
7198 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7199
7200 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7201 Add s_sincosf-sse2.
7202 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7203 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7204 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7205 macros for using routine as __sincosf_ia32.
7206 Use macro for function declaration and weak_alias.
7207 * sysdeps/i386/fpu/libm-test-ulps: Update.
7208
7209 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7211
7212 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7213 subnormal argument.
7214 * math/s_cexpf.c (__cexpf): Likewise.
7215 * math/s_csinf.c (__csinf): Likewise.
7216 * math/s_csinhf.c (__csinhf): Likewise.
7217 * math/s_ctanf.c (__ctanf): Likewise.
7218 * math/s_ctanhf.c (__ctanhf): Likewise.
7219 * math/s_ccosh.c (__ccoshf): Likewise.
7220 * math/s_cexp.c (__cexpl): Likewise.
7221 * math/s_csin.c (__csin): Likewise.
7222 * math/s_csinh.c (__csinh): Likewise.
7223 * math/s_ctan.c (__ctan): Likewise.
7224 * math/s_ctanh.c (ctanh): Likewise.
7225 * math/s_ccoshl.c (__ccoshl): Likewise.
7226 * math/s_cexpl.c (__cexpl): Likewise.
7227 * math/s_csinl.c (__csinl): Likewise.
7228 * math/s_csinhl.c (__csinhl): Likewise.
7229 * math/s_ctanl.c (__ctanl): Likewise.
7230 * math/s_ctanhl.c (__ctanhl): Likewise.
7231
7232 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7233
7234 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7235 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7236 (_IO_off_t): Define to __off_t, not _G_off_t.
7237 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7238 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7239 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7240 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7241 type of __dummy and __dummy2 fields.
7242 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7243 (_G_ssize_t): Likewise.
7244 (_G_off_t): Likewise.
7245 (_G_pid_t): Likewise.
7246 (_G_uid_t): Likewise.
7247 (_G_wchar_t): Likewise.
7248 (_G_wint_t): Likewise.
7249 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7250 (_G_ssize_t): Likewise.
7251 (_G_off_t): Likewise.
7252 (_G_pid_t): Likewise.
7253 (_G_uid_t): Likewise.
7254 (_G_wchar_t): Likewise.
7255 (_G_wint_t): Likewise.
7256 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7257 (_G_ssize_t): Likewise.
7258 (_G_off_t): Likewise.
7259 (_G_pid_t): Likewise.
7260 (_G_uid_t): Likewise.
7261 (_G_wchar_t): Likewise.
7262 (_G_wint_t): Likewise.
7263
7264 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7265
7266 * malloc/arena.c: Include malloc-sysdep.h.
7267 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7268 is sufficient to shrink the heap or an unmap is needed.
7269 * sysdeps/generic/malloc-sysdep.h: New file. Define
7270 new function check_may_shrink_heap.
7271 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7272 new function check_may_shrink_heap.
7273
7274 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7275
7276 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7277 comments.
7278
7279 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7280
7281 * catgets/test-gencat.sh: Add "set -e".
7282 * elf/tst-pathopt.sh: Likewise.
7283 * grp/tst_fgetgrent.sh: Likewise.
7284 * iconvdata/run-iconv-test.sh: Likewise.
7285 * intl/tst-gettext.sh: Likewise.
7286 * intl/tst-gettext2.sh: Likewise.
7287 * intl/tst-gettext4.sh: Likewise.
7288 * intl/tst-gettext6.sh: Likewise.
7289 * intl/tst-translit.sh: Likewise.
7290 * io/ftwtest-sh: Likewise.
7291 * libio/test-freopen.sh: Likewise.
7292 * malloc/tst-mtrace.sh: Likewise.
7293 * posix/globtest.sh: Likewise.
7294 * posix/tst-getconf.sh: Likewise.
7295 * posix/wordexp-tst.sh: Likewise.
7296 * stdio-common/tst-printf.sh: Likewise.
7297 * stdio-common/tst-unbputc.sh: Likewise.
7298 * stdlib/tst-fmtmsg.sh: Likewise.
7299 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7300 * catgets/Makefile: Do not specify -e option when running
7301 testsuite shell scripts.
7302 * elf/Makefile: Likewise.
7303 * grp/Makefile: Likewise.
7304 * iconvdata/Makefile: Likewise.
7305 * intl/Makefile: Likewise.
7306 * io/Makefile: Likewise.
7307 * libio/Makefile: Likewise.
7308 * malloc/Makefile: Likewise.
7309 * posix/Makefile: Likewise.
7310 * stdio-common/Makefile: Likewise.
7311 * stdlib/Makefile: Likewise.
7312 * sysdeps/x86_64/Makefile: Likewise.
7313
7314 * io/ftwtest-sh: Add copyright header.
7315 * posix/globtest.sh: Likewise.
7316 * posix/tst-getconf.sh: Likewise.
7317 * posix/wordexp-tst.sh: Likewise.
7318 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7319
7320 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7321
7322 [BZ #13679]
7323 * Makeconfig (+link): Defined as $(+link-static) if
7324 $(build-shared) isn't yes.
7325 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7326 isn't yes.
7327 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7328
7329 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7330
7331 [BZ #14562]
7332 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7333 new chunk size with MALLOC_ALIGN_MASK.
7334
7335 2012-09-24 Joseph Myers <joseph@codesourcery.com>
7336
7337 [BZ #5044]
7338 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7339 <rounding-mode.h>.
7340 (__printf_fphex): Determine rounding using get_rounding_mode and
7341 round_away.
7342 * stdio-common/tst-printf-round.c (struct hex_test): New
7343 structure.
7344 (hex_tests): New variable.
7345 (test_hex_in_one_mode): New function.
7346 (do_test): Also run tests for hex float output.
7347
7348 2012-09-21 Joseph Myers <joseph@codesourcery.com>
7349
7350 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7351 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7352 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7353 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7354 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7355 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7356 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7357 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7358
7359 2012-09-20 Joseph Myers <joseph@codesourcery.com>
7360
7361 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7362 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7363 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7364 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7365
7366 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7367
7368 [BZ #14579]
7369 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7370 mode only.
7371 * elf/tst-rtld-load-self.sh: New test.
7372 * elf/Makefile: Run it.
7373
7374 2012-09-18 Joseph Myers <joseph@codesourcery.com>
7375
7376 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7377 (tst-writev-ENV): Remove.
7378 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7379
7380 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7381
7382 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7383
7384 2012-09-17 Joseph Myers <joseph@codesourcery.com>
7385
7386 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7387 unconditional.
7388 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7389 Likewise.
7390 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7391 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7392 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7393 Likewise.
7394
7395 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7396
7397 [BZ #14587]
7398 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7399 * config.make.in (have-cpp-asm-debuginfo): Removed.
7400 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7401 * configure: Regenerated.
7402
7403 2012-09-14 Joseph Myers <joseph@codesourcery.com>
7404
7405 [BZ #5044]
7406 * stdio-common/printf_fp.c: Include <stdbool.h> and
7407 <rounding-mode.h>.
7408 (___printf_fp): Determine rounding using get_rounding_mode and
7409 round_away.
7410 * stdio-common/tst-printf-round.c: New file.
7411 * stdio-common/Makefile (tests): Add tst-printf-round.
7412 (link-libm): New variable.
7413 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7414
7415 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7416
7417 [BZ #14576]
7418 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7419 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7420 Likewise.
7421 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7422 Likewise.
7423
7424 2012-09-13 Joseph Myers <joseph@codesourcery.com>
7425
7426 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7427 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7428 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7429 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7430
7431 2012-09-12 Joseph Myers <joseph@codesourcery.com>
7432
7433 [BZ #14518]
7434 * include/rounding-mode.h: New file.
7435 * sysdeps/generic/get-rounding-mode.h: Likewise.
7436 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7437 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7438 (MAX_VALUE): New macro.
7439 (MIN_VALUE): Likewise.
7440 (overflow_value): New function.
7441 (underflow_value): Likewise.
7442 (round_and_return): Use overflow_value and underflow_value to
7443 determine return values in overflow and underflow cases. Use
7444 round_away to determine rounding depending on rounding mode.
7445 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7446 determine return values in overflow and underflow cases.
7447 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7448 (struct test_results): New structure.
7449 (struct test): Use struct test_results to store expected results
7450 for all rounding modes.
7451 (TEST): Include expected results for all rounding modes.
7452 (test_in_one_mode): New function.
7453 (do_test): Use test_in_one_mode to compute and check results.
7454 Check results for all rounding modes.
7455 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7456 $(link-libm).
7457
7458 2012-12-09 Allan McRae <allan@archlinux.org>
7459
7460 * sysdeps/i386/fpu/libm-test-ulps: Update
7461
7462 2012-09-11 Joseph Myers <joseph@codesourcery.com>
7463
7464 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7465 (_G_int32_t): Likewise.
7466 (_G_uint16_t): Likewise.
7467 (_G_uint32_t): Likewise.
7468 (_G_HAVE_BOOL): Likewise.
7469 (_G_HAVE_ATEXIT): Likewise.
7470 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7471 (_G_HAVE_IO_FILE_OPEN): Likewise.
7472 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7473 (_G_int32_t): Likewise.
7474 (_G_uint16_t): Likewise.
7475 (_G_uint32_t): Likewise.
7476 (_G_HAVE_BOOL): Likewise.
7477 (_G_HAVE_ATEXIT): Likewise.
7478 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7479 (_G_HAVE_IO_FILE_OPEN): Likewise.
7480 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7481 (_G_int32_t): Likewise.
7482 (_G_uint16_t): Likewise.
7483 (_G_uint32_t): Likewise.
7484 (_G_HAVE_BOOL): Likewise.
7485 (_G_HAVE_ATEXIT): Likewise.
7486 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7487 (_G_HAVE_IO_FILE_OPEN): Likewise.
7488
7489 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 * csu/libc-tls.c: Update copyright years.
7492
7493 2012-09-10 Joseph Myers <joseph@codesourcery.com>
7494
7495 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7496 [!_G_USING_THUNKS]: Remove conditional code.
7497 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7498 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7499
7500 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7501 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7502 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7503 (_G_VTABLE_LABEL_PREFIX): Likewise.
7504 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7505 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7506 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7507 (_G_VTABLE_LABEL_PREFIX): Likewise.
7508 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7509 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7510 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7511 (_G_VTABLE_LABEL_PREFIX): Likewise.
7512 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7513
7514 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7515
7516 * libio/Makefile: Include ../Makeconfig before tests.
7517 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7518 only if $(build-shared) is yes.
7519
7520 * iconv/gconv_db.c: Update copyright years.
7521
7522 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7523
7524 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7525 unwind info if defined PIC. Fix special cases description.
7526 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7527
7528 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7529 DP_HI_MASK entry.
7530 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7531
7532 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7533
7534 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7535
7536 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7537 is NULL.
7538
7539 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7540 (LDLIBS-tst-chk4): This.
7541 (LDFLAGS-tst-chk5): Renamed to ...
7542 (LDLIBS-tst-chk5): This.
7543 (LDFLAGS-tst-chk6): Renamed to ...
7544 (LDLIBS-tst-chk6): This.
7545 (LDFLAGS-tst-lfschk4): Renamed to ...
7546 (LDLIBS-tst-lfschk4): This.
7547 (LDFLAGS-tst-lfschk5): Renamed to ...
7548 (LDLIBS-tst-lfschk5): This.
7549 (LDFLAGS-tst-lfschk6): Renamed to ...
7550 (LDLIBS-tst-lfschk6): This.
7551
7552 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7553 on $(common-objpfx)soversions.mk.
7554
7555 2012-09-07 Joseph Myers <joseph@codesourcery.com>
7556
7557 [BZ #10014]
7558 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7559 example host name.
7560
7561 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7562
7563 * malloc/arena.c (arena_get_retry): New function that gets
7564 another arena for the caller to try its request on.
7565 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7566 current arena cannot fulfill the request.
7567 (__libc_memalign): Likewise.
7568 (__libc_memalign): Likewise.
7569 (__libc_pvalloc): Likewise.
7570 (__libc_calloc): Likewise.
7571
7572 2012-09-05 John Tobey <john.tobey@gmail.com>
7573
7574 [BZ #13542]
7575 * manual/arith.texi (Operations on Complex): Fix description
7576 of carg branch cut.
7577
7578 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7579
7580 [BZ #10014]
7581 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7582 host name.
7583
7584 [BZ #10038]
7585 * manual/memory.texi (Memory): Make order of menu items match
7586 order of sections.
7587
7588 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7589
7590 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7591 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7592 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7593
7594 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7595
7596 * csu/libc-tls.c (static_dtv): Renamed to ...
7597 (_dl_static_dtv): This. Make it global.
7598 (_dl_initial_dtv): Removed.
7599 (__libc_setup_tls): Updated.
7600 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7601 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7602 DL_INITIAL_DTV.
7603
7604 2012-09-06 Petr Machata <pmachata@redhat.com>
7605
7606 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7607 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7608 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7609 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7610
7611 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7612
7613 [BZ #14545]
7614 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7615 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7616 freeing dtv[-1].
7617
7618 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7619
7620 [BZ #14544]
7621 * Makeconfig (link-static-before-libc): Replace $(+prector)
7622 with $(+prectorT).
7623 (link-static-after-libc): Replace $(+postctor) with
7624 $(+postctorT).
7625 (link-bounded): Replace $(+prector)/$(+postctor) with
7626 $(+prectorT)/$(+postctorT).
7627 (+prectorT): New macro.
7628 (+postctorT): Likewise.
7629
7630 2012-09-06 Joseph Myers <joseph@codesourcery.com>
7631
7632 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7633 (round_str): Handle values above the maximum for IBM long double
7634 as inexact.
7635 * stdlib/tst-strtod-round.c (tests): Regenerated.
7636
7637 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7638
7639 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7640 assembler flag.
7641 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7642 zarch_nohighgprs around the zarch optimized routines.
7643 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7644 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7645 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7646 for zarch.
7647
7648 2012-09-05 David S. Miller <davem@davemloft.net>
7649
7650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7651
7652 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7653 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7654 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7655 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7656 entries.
7657
7658 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7659
7660 * malloc/arena.c: Fold copyright years.
7661 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7662
7663 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7664
7665 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7666
7667 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7668
7669 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7670
7671 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7672
7673 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7674 change internal state upon failure.
7675
7676 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
7677
7678 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7679 * malloc/memusage.c (mmap): Likewise.
7680 (mmap64, mremap): Likewise. Adjust name in comment.
7681
7682 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7683
7684 * libio/fileops.c: Fix typos in comments.
7685 * libio/oldfileops.c: Likewise.
7686 * libio/wfileops.c: Likewise.
7687
7688 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7689
7690 [BZ #1349]
7691 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7692 (tst-malloc-usable-ENV): Set environment for test case.
7693 * malloc/hooks.c (malloc_check_get_size): New function to get
7694 requested size.
7695 * malloc/malloc.c (musable): Use malloc_check_get_size.
7696 * malloc/tst-malloc-usable.c: New test case.
7697
7698 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7699
7700 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7701
7702 2012-09-05 Allan McRae <allan@archlinux.org>
7703
7704 [BZ #13966]
7705 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7706 determine header location.
7707 * configure: Regenerated.
7708
7709 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7710
7711 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7712 float format.
7713 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7714 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7715 format.
7716 (test): Regenerate.
7717
7718 2012-09-04 David S. Miller <davem@davemloft.net>
7719
7720 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7721 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7722 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7723
7724 2012-09-04 Florian Weimer <fweimer@redhat.com>
7725
7726 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7727 failures.
7728
7729 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7730
7731 2012-09-04 Joseph Myers <joseph@codesourcery.com>
7732
7733 [BZ #9914]
7734 * libio/iogetdelim.c: Include <limits.h>.
7735 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7736 + len + 1 would overflow.
7737
7738 2012-09-03 Andreas Jaeger <aj@suse.de>
7739
7740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7741 * sysdeps/i386/fpu/libm-test-ulps: Update.
7742
7743 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7744
7745 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7746 Add s_sinf-sse2, s_conf-sse2.
7747
7748 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7749 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7750 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7751 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7752
7753 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7754 for using routine as __sinf_ia32.
7755 Use macro for function declaration and weak_alias.
7756 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7757 for using routine as __cosf_ia32.
7758 Use macro for function declaration and weak_alias.
7759
7760 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7761 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7762
7763 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7764 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7766
7767 * math/libm-test.inc (cos_test): Add more test cases.
7768 (sin_test): Likewise.
7769 (sincos_test): Likewise.
7770
7771 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7772
7773 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7774 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7775 hidden.
7776 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7777
7778 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7779
7780 [BZ #14538]
7781 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7782 first element of the GOT.
7783 (elf_machine_load_address): Return the difference between
7784 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7785
7786 2012-09-01 Allan McRae <allan@archlinux.org>
7787
7788 [BZ #13412]
7789 * configure.in (AWK): Require gawk version 3.0 or later.
7790 * configure: Regenerated.
7791
7792 2012-09-01 Joseph Myers <joseph@codesourcery.com>
7793
7794 * sysdeps/unix/sysv/linux/kernel-features.h
7795 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7796 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7797 [__NR_clock_getres]: Make code unconditional.
7798 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7799 (clock_getcpuclockid): Remove code left unreachable by removal of
7800 conditionals.
7801 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7802 code unconditional.
7803 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7804 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7805 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7806 Make code unconditional.
7807 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7808 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7809 * sysdeps/unix/sysv/linux/clock_settime.c
7810 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7811 conditional code.
7812 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7813 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7814
7815 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7816
7817 [BZ #14476]
7818 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7819 scripts/test-installation.pl.
7820
7821 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7822 and $ld_so_version if it is set.
7823
7824 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7825
7826 [BZ #14516]
7827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7828 failure if reading from procfs failed.
7829 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7830
7831 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7832
7833 * sysdeps/unix/sysv/linux/kernel-features.h
7834 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7835 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7836 Remove conditional code.
7837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7838 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7839 Remove conditional code.
7840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7841 * sysdeps/unix/sysv/linux/i386/fxstat.c
7842 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7844 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7845 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7847 * sysdeps/unix/sysv/linux/i386/lxstat.c
7848 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7850 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7851 Remove conditional code.
7852 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7853 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7854 Remove conditional code.
7855 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7856 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7857 <kernel-features.h>.
7858 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7859 Remove.
7860 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7861 Remove conditional code.
7862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7863 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7864 Remove conditional.
7865
7866 2012-08-27 Mike Frysinger <vapier@gentoo.org>
7867
7868 [BZ #5400]
7869 * NEWS: Add fixed bug number.
7870
7871 2012-08-27 Joseph Myers <joseph@codesourcery.com>
7872
7873 [BZ #14519]
7874 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7875 underflowing exponent in case of negative sign.
7876 * stdlib/tst-strtod-round-data: Add more tests.
7877 * stdlib/tst-strtod-round.c (tests): Regenerated.
7878
7879 [BZ #3479]
7880 * stdlib/strtod_l.c (NDIG): Remove.
7881 (HEXNDIG): Likewise.
7882 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7883 smallest representable value.
7884 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7885 lie within an exact representation of 1/2 ulp of the result.
7886 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7887 unconditionally.
7888 (TENS_P9_IDX): Define unconditionally.
7889 (TENS_P9_SIZE): Likewise.
7890 (TENS_P10_IDX): Likewise.
7891 (TENS_P10_SIZE): Likewise.
7892 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7893 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7894 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7895 entries for 10^2^13 and 10^2^14.
7896 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7897 (TENS_P13_IDX): Define.
7898 (TENS_P13_SIZE): Likewise.
7899 (TENS_P14_IDX): Likewise.
7900 (TENS_P14_SIZE): Likewise.
7901 (_fpioconst_pow10): Change array size to
7902 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7903 unconditional.
7904 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7905 1024]: Add entries for 10^2^13 and 10^2^14.
7906 [LAST_POW10 > _LAST_POW10]: Remove #error.
7907 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7908 (_fpioconst_pow10): Change array size to
7909 FPIOCONST_POW10_ARRAY_SIZE.
7910 * stdlib/gen-fpioconst.c: New file.
7911 * stdlib/gen-tst-strtod-round.c: Likewise.
7912 * stdlib/tst-strtod-round-data: Likewise.
7913 * stdlib/tst-strtod-round.c: Likewise.
7914 * stdlib/Makefile (tests): Add tst-strtod-round.
7915
7916 [BZ #14459]
7917 * stdlib/strtod_l.c: Include <stdint.h>.
7918 (NDEBUG): Do not define.
7919 (round_and_return): Change EXPONENT parameter to type intmax_t.
7920 Rearrange calculations to avoid internal overflow possibilities.
7921 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7922 Rearrange calculations to avoid internal overflow possibilities.
7923 Assert that number fits inside MPNSIZE limbs.
7924 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7925 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7926 calculations and add assertions to avoid internal overflow
7927 possibilities. Add casts to avoid signed/unsigned operations.
7928 * stdlib/tst-strtod-overflow.c: New file.
7929 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7930
7931 2012-08-25 Marek Polacek <polacek@redhat.com>
7932
7933 * time/time.h: Fix some typos in comments.
7934
7935 2012-08-23 Roland McGrath <roland@hack.frob.com>
7936
7937 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7938 * posix/tst-rfc3484-2.c: Likewise.
7939 * posix/tst-rfc3484-3.c: Likewise.
7940
7941 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7942
7943 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7944 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7945
7946 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7947
7948 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7949 #include of fxstatat64.c.
7950
7951 2012-08-22 Roland McGrath <roland@hack.frob.com>
7952
7953 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7954 * shadow/getspent_r.c: Likewise.
7955 * shadow/getspnam.c: Likewise.
7956 * shadow/getspnam_r.c: Likewise.
7957 * gshadow/getsgent.c: Likewise.
7958 * gshadow/getsgent_r.c: Likewise.
7959 * gshadow/getsgnam.c: Likewise.
7960 * gshadow/getsgnam_r.c: Likewise.
7961 * inet/getnetbyad.c: Likewise.
7962 * inet/getnetbyad_r.c: Likewise.
7963 * inet/getnetbynm.c: Likewise.
7964 * inet/getnetbynm_r.c: Likewise.
7965 * inet/getnetent.c: Likewise.
7966 * inet/getnetent_r.c: Likewise.
7967 * inet/getproto.c: Likewise.
7968 * inet/getproto_r.c: Likewise.
7969 * inet/getprtent.c: Likewise.
7970 * inet/getprtent_r.c: Likewise.
7971 * inet/getprtname.c: Likewise.
7972 * inet/getprtname_r.c: Likewise.
7973 * inet/getrpcbyname.c: Likewise.
7974 * inet/getrpcbyname_r.c: Likewise.
7975 * inet/getrpcbynumber.c: Likewise.
7976 * inet/getrpcbynumber_r.c: Likewise.
7977 * inet/getrpcent.c: Likewise.
7978 * inet/getrpcent_r.c: Likewise.
7979 * inet/getaliasent.c: Likewise.
7980 * inet/getaliasent_r.c: Likewise.
7981 * inet/getaliasname.c: Likewise.
7982 * inet/getaliasname_r.c: Likewise.
7983 * nscd/getgrgid_r.c: Likewise.
7984 * nscd/getgrnam_r.c: Likewise.
7985 * nscd/gethstbyad_r.c: Likewise.
7986 * nscd/gethstbynm3_r.c: Likewise.
7987 * nscd/getpwnam_r.c: Likewise.
7988 * nscd/getpwuid_r.c: Likewise.
7989 * nscd/getsrvbynm_r.c: Likewise.
7990 * nscd/getsrvbypt_r.c: Likewise.
7991 * nscd/gai.c: Likewise.
7992
7993 * configure.in (build_nscd): New substituted variable, set
7994 by --disable-build-nscd and defaults to $use_nscd.
7995 * configure: Regenerated.
7996 * config.make.in (build-nscd): New substituted variable.
7997 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7998 Change conditional to require [$(build-nscd) = yes] as well.
7999 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8000
8001 [BZ# 13696]
8002 * configure.in (use_nscd): New substituted variable, set by
8003 --disable-nscd. If enabled, define USE_NSCD.
8004 * configure: Regenerated.
8005 * config.h.in: Add USE_NSCD.
8006 * config.make.in (use-nscd): New substituted variable.
8007 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8008 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8009 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8010 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8011 (CFLAGS-getgrnam_r.c): Likewise.
8012 (CFLAGS-initgroups.c): Likewise.
8013 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8014 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8015 Variables removed.
8016 * inet/getnetgrent_r.c
8017 (nscd_setnetgrent): New function, broken out of ...
8018 (setnetgrent): ... here. Call it.
8019 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8020 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8021 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8022 * nscd/Makefile (routines, aux): Move definitions after include of
8023 Makeconfig. Conditionalize on [$(use-nscd) != no].
8024 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8025 Conditionalize on [USE_NSCD].
8026 (is_nscd, nscd_init_cb): Likewise.
8027 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8028 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8029 * nss/nss_db/db-init.c: Likewise.
8030 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8031 [USE_NSCD].
8032 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8033 (make_request): Use it.
8034 (cache_valid_p): New function.
8035 (__check_pf): Use it.
8036 * NEWS: Add item for --disable-nscd.
8037
8038 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8039
8040 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8041 to support sed >= 4.2.1-20-ga9bf076.
8042 * configure: Regenerated.
8043
8044 2012-08-22 Roland McGrath <roland@hack.frob.com>
8045
8046 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8047 Conditionalize whole body on [IREL].
8048
8049 2012-08-22 Jeff Law <law@redhat.com>
8050
8051 [BZ #14505]
8052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8053 if the family is PF_UNSPEC.
8054
8055 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8056
8057 * Makerules (lib-version): Rename from V.
8058 (install-lib-nosubdir): Change V to lib-version.
8059
8060 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8061
8062 [BZ #14252]
8063 * powerpc32/power6/wcschr.c: New file.
8064 * powerpc32/power6/wcscpy.c: New file.
8065 * powerpc32/power6/wcsrchr.c: New file.
8066 * powerpc64/power6/wcschr.c: New file.
8067 * powerpc64/power6/wcscpy.c: New file.
8068 * powerpc64/power6/wcsrchr.c: New file.
8069
8070 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8071
8072 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8073 (two_way_short_needle): Use it.
8074 * string/strstr.c (AVAILABLE1_USES_J): Define.
8075 * string/strcasestr.c: Likewise.
8076
8077 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8078 array references.
8079 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8080
8081 [BZ #11607]
8082 * NEWS: Add an entry.
8083 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8084 define their defaults.
8085 (two_way_short_needle): Detect end-of-string on-the-fly.
8086 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8087 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8088 * string/bug-strcasestr1.c: New test.
8089 * string/Makefile: Run it.
8090
8091 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8092
8093 [BZ #11607]
8094 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8095 the first character.
8096
8097 2012-08-21 Roland McGrath <roland@hack.frob.com>
8098
8099 * csu/elf-init.c (__libc_csu_irel): Function removed.
8100 * csu/libc-start.c (apply_irel): New function.
8101 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8102
8103 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8104
8105 * sysdeps/unix/sysv/linux/kernel-features.h
8106 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8107 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8108 <kernel-features.h>.
8109 [__NR_fadvise64_64]: Make code unconditional.
8110 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8111 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8112 !__NR_fadvise64_64)]: Likewise.
8113 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8114 !__NR_fadvise64_64))]: Likewise.
8115 [__NR_fadvise64]: Make code unconditional.
8116 [!__NR_fadvise64]: Remove conditional code.
8117 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8118 <kernel-features.h>.
8119 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8120 unconditional.
8121 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8122 conditional code.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8124 not include <kernel-features.h>.
8125 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8126 unconditional.
8127 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8128 conditional code.
8129 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8130 include <kernel-features.h>.
8131 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8132 unconditional.
8133 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8134 conditional code.
8135
8136 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8137
8138 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8139 slight instruction rearrangements per scrollpipe analysis.
8140 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8141
8142 2012-08-20 Roland McGrath <roland@hack.frob.com>
8143
8144 * manual/syslog.texi (syslog; vsyslog, closelog):
8145 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8146 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8147
8148 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8149 DSOCAPS to match condition on defining it.
8150
8151 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8152
8153 * sysdeps/unix/sysv/linux/kernel-features.h
8154 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8156 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8157 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8159 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8160 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8162 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8163 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8164
8165 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8166 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8167
8168 * sysdeps/unix/sysv/linux/kernel-features.h
8169 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8170 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8171 unconditional.
8172 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8173 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8174 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8175 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8176 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8177 Make code unconditional.
8178 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8179 (__mmap64) [!__NR_mmap2]: Likewise.
8180 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8181 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8182 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8183 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8184 [__NR_mmap2]: Make code unconditional.
8185 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8186 (__mmap64) [!__NR_mmap2]: Likewise.
8187
8188 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8189
8190 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8191
8192 2012-08-18 Andreas Jaeger <aj@suse.de>
8193
8194 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8195
8196 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8197
8198 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8199 * include/unistd.h (__have_sock_cloexec): Likewise.
8200 (__have_pipe2): Likewise.
8201 (__have_dup3): Likewise.
8202
8203 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8204
8205 [BZ #9685]
8206 * include/unistd.h (__have_pipe2): Change define into an extern int.
8207 (__have_dup3): Likewise.
8208 * socket/have_sock_cloexec.c: Include fcntl.h.
8209 (__have_pipe2): New variable.
8210 (__have_dup3): Likewise.
8211
8212 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8213
8214 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8215
8216 2012-08-17 Marek Polacek <polacek@redhat.com>
8217
8218 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8219 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8220
8221 2012-08-17 Roland McGrath <roland@hack.frob.com>
8222
8223 * configure.in: Add AC_SUBST for sysheaders.
8224 * configure: Regenerated.
8225 * config.make.in (sysheaders): New substituted variable.
8226
8227 * sysdeps/unix/mkfifo.c: Moved ...
8228 * sysdeps/posix/mkfifo.c: ... here.
8229 * sysdeps/unix/mkfifoat.c: Moved ...
8230 * sysdeps/posix/mkfifoat.c: ... here.
8231
8232 * sysdeps/unix/utime.c: Moved ...
8233 * sysdeps/posix/utime.c: ... here.
8234
8235 * sysdeps/unix/time.c: Moved ...
8236 * sysdeps/posix/time.c: ... here.
8237 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8238 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8239
8240 * sysdeps/unix/nice.c: Moved ...
8241 * sysdeps/posix/nice.c: ... here.
8242
8243 * sysdeps/unix/alarm.c: Moved ...
8244 * sysdeps/posix/alarm.c: ... here.
8245
8246 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8247
8248 2012-08-17 Jeff Law <law@redhat.com>
8249
8250 * intl/Makefile (codeset_mo): New variable.
8251 ($(codeset_mo)): New target.
8252 (tst-codeset.out): Depend on that. Remove explicit rule.
8253 (tst-gettext3.out, tst-gettext5.out): Likewise.
8254 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8255 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8256 * intl/tst-codeset.sh: Remove.
8257 * intl/tst-gettext3.sh: Likewise.
8258 * intl/tst-gettext5.sh: Likewise.
8259
8260 2012-08-17 Roland McGrath <roland@hack.frob.com>
8261
8262 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8263 * sysdeps/unix/syscalls.list: ... here.
8264
8265 * sysdeps/posix/getaddrinfo.c
8266 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8267 (gaiconf_init, gaiconf_reload): Use them.
8268 [!_STATBUF_ST_NSEC]
8269 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8270 Define using time_t rather than struct timespec.
8271
8272 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8273 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8274 Macros removed.
8275 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8276 [!NO_THREADS].
8277 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8278 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8279 Likewise.
8280
8281 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8282 __libc_cleanup_push argument.
8283
8284 * bits/param.h: New file.
8285 * misc/sys/param.h: New file.
8286 * include/sys/param.h: New file.
8287 * misc/Makefile (headers): Add bits/param.h.
8288 * sysdeps/generic/sys/param.h: File removed.
8289 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8290 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8291 * sysdeps/mach/hurd/bits/param.h: New file.
8292 * sysdeps/mach/hurd/sys/param.h: File removed.
8293
8294 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8295 last change.
8296
8297 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8298 [_IO_MTSAFE_IO].
8299 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8300 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8301 New macros.
8302
8303 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8304 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8305 rather than -D_IO_MTSAFE_IO conditionally.
8306 * stdio-common/Makefile (CPPFLAGS): Likewise.
8307 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8308 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8309 Use $(libio-mtsafe).
8310 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8311 of -D_IO_MTSAFE_IO.
8312 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8313 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8314 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8315 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8316 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8317 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8318 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8319 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8320 (CFLAGS-fread_u_chk.c): Likewise.
8321 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8322 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8323 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8324 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8325 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8326 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8327 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8328 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8329 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8330
8331 * libio/Makefile: Test [$(libc-reentrant) = yes]
8332 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8333
8334 * Makeconfig
8335 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8336 * sysdeps/pthread/configure: File removed.
8337 * sysdeps/pthread/Makeconfig: New file.
8338 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8339 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8340
8341 2012-08-16 Gary Benson <gbenson@redhat.com>
8342
8343 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8344 unmapping the first object in a namespace.
8345
8346 2012-08-16 Roland McGrath <roland@hack.frob.com>
8347
8348 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8349 (__internal_setnetgrent): ... this. Add internal_function to
8350 definition. Add libc_hidden_def.
8351 (setnetgrent): Update caller.
8352 (internal_endnetgrent): Renamed to ...
8353 (__internal_endnetgrent): ... this. Add internal_function to
8354 definition. Add libc_hidden_def.
8355 (endnetgrent): Update caller.
8356 (internal_getnetgrent_r): Renamed to ...
8357 (__internal_getnetgrent_r): ... this. Add internal_function to
8358 definition. Add libc_hidden_def.
8359 (__getnetgrent_r): Update caller.
8360 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8361
8362 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8363
8364 * stdlib/longlong.h: Update from GCC.
8365
8366 2012-08-16 Roland McGrath <roland@hack.frob.com>
8367
8368 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8369 on _QL, which is set by umul_ppmm but never used.
8370 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8371 variables, which are set by GMP macros but never used.
8372 * stdio-common/_itowa.c (_itowa): Likewise.
8373 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8374 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8375
8376 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8377
8378 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8379 struct La_sh_regs is not constant.
8380 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8381 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8382 and struct La_sparc64_regs are not constant.
8383
8384 2012-08-16 Joseph Myers <joseph@codesourcery.com>
8385
8386 * sysdeps/unix/sysv/linux/kernel-features.h
8387 (__ASSUME_POSIX_TIMERS): Remove.
8388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8390 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8391 Make code unconditional.
8392 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8393 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8394 Make code unconditional.
8395 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8396 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8397 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8398 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8399 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8400 Make code unconditional.
8401 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8402 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8403 (__libc_missing_posix_timers): Remove.
8404
8405 2012-08-15 Roland McGrath <roland@hack.frob.com>
8406
8407 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8408 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8409
8410 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8411
8412 * elf/dl-sym.c: Include <stdlib.h>.
8413
8414 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8415 constants, which avoids warnings in 32-bit builds.
8416
8417 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8418 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8419
8420 * misc/lseek.c: File moved to ...
8421 * io/lseek.c: ... here.
8422
8423 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8424
8425 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8426 shifting LEN more than 31 bits at once.
8427
8428 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8429
8430 [BZ #14195]
8431 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8432 segmentation fault for a case of two empty input strings.
8433 * string/test-strncasecmp.c (check1): Renamed to...
8434 (bz12205): ...this.
8435 (bz14195): Add new testcase for two empty input strings and N > 0.
8436 (test_main): Call new testcase, adapt for renamed function.
8437
8438 2012-08-15 Andreas Jaeger <aj@suse.de>
8439
8440 [BZ #14090]
8441 * crypt/md5test2.c: New test, based on test supplied by Serge
8442 Belyshev <belyshev@depni.sinp.msu.ru>.
8443 * crypt/Makefile (xtests): Add md5test-giant..
8444 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8445
8446 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8447
8448 [BZ #14090]
8449 * crypt/md5.c (md5_process_block): Don't assume the buffer
8450 length is less than 2**32.
8451 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8452 length is less than 2**64.
8453
8454 2012-08-15 Roland McGrath <roland@hack.frob.com>
8455
8456 * string/str-two-way.h: Include <sys/param.h>.
8457 (MAX): Macro removed.
8458
8459 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8460 Move #define and #undef of memmove to just before and after
8461 including <string.h>.
8462
8463 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8464 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8465 and after including <string.h>. Move declarations of
8466 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8467 to before #include "string/memmove.c".
8468
8469 * include/dirent.h: Declare __getdirentries.
8470
8471 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8472 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8473
8474 2012-08-14 Mike Frysinger <vapier@gentoo.org>
8475
8476 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8477 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8478 * sysdeps/i386/configure: Regenerated.
8479 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8480 STABS_CURRENT_FILE, and STABS_FUN.
8481 (END): Remove call to STABS_FUN_END.
8482 (STABS_CURRENT_FILE1): Delete.
8483 (STABS_CURRENT_FILE): Likewise.
8484 (STABS_FUN): Likewise.
8485 (STABS_FUN_END): Likewise.
8486 (STABS_FUN2): Likewise.
8487 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8488 * sysdeps/x86_64/configure: Regenerated.
8489
8490 2012-08-14 Roland McGrath <roland@hack.frob.com>
8491
8492 * elf/dl-open.c: Include <atomic.h>.
8493 * elf/dl-lookup.c: Likewise.
8494
8495 2012-08-14 Joseph Myers <joseph@codesourcery.com>
8496
8497 * sysdeps/unix/sysv/linux/kernel-features.h
8498 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8499 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8500 unconditionally.
8501 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8502 unconditionally.
8503 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8504 condition on __ASSUME_CLONE_THREAD_FLAGS.
8505
8506 2012-08-14 Andreas Jaeger <aj@suse.de>
8507
8508 * sysdeps/i386/fpu/libm-test-ulps: Update.
8509
8510 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8511
8512 * include/atomic.h (atomic_exchange_and_add): Split into ...
8513 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8514 New atomic macros.
8515
8516 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8517
8518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8519
8520 2012-08-13 Jeff Law <law@redhat.com>
8521
8522 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8523 null byte in the output string.
8524
8525 2012-08-10 Joseph Myers <joseph@codesourcery.com>
8526
8527 * sysdeps/unix/sysv/linux/kernel-features.h
8528 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8529 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8530 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8531 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8532 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8533 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8534 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8535
8536 2012-08-09 Jeff Law <law@redhat.com>
8537
8538 [BZ #13939]
8539 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8540 When avoid_arena is set, don't retry in the that arena. Pick the
8541 next one, whatever it might be.
8542 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8543 (arena_lock): Pass in new parameter to arena_get2.
8544 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8545 arena_get2.
8546 (__libc_malloc): Unify retrying after main arena failure with
8547 __libc_memalign version.
8548 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8549
8550 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8551
8552 [BZ #14166]
8553 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8554 to __redirect_strstr.
8555 (__strstr_sse42): Use typeof __redirect_strstr.
8556 (__strstr_ia32): Likewise.
8557 (__libc_strstr): New prototype.
8558 (strstr): Renamed to ...
8559 (__libc_strstr): This.
8560 (strstr): New strong alias of __libc_strstr.
8561 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8562 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8563 __redirect_time.
8564 Include <time.h>.
8565 (__libc_time): New prototype.
8566 (time_ifunc): Replace time with __libc_time.
8567 (time): New strong alias and hidden definition of __libc_time.
8568 (__GI_time): Remove strong alias.
8569 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8570 Include <stddef.h>.
8571 (memmove): Redefined to __redirect_memmove.
8572 (__memmove_sse2): Use typeof __redirect_memmove.
8573 (__memmove_ssse3): Likewise.
8574 (__memmove_ssse3_back): Likewise.
8575 (__libc_memmove): New prototype.
8576 (memmove): Renamed to ...
8577 (__libc_memmove): This.
8578 (memmove): New strong alias of __libc_memmove.
8579
8580 2012-08-08 Mark Salter <msalter@redhat.com>
8581
8582 * elf/elf.h
8583 (R_MN10300_TLS_GD): Define.
8584 (R_MN10300_TLS_LD): Likewise.
8585 (R_MN10300_TLS_LDO): Likewise.
8586 (R_MN10300_TLS_GOTIE): Likewise.
8587 (R_MN10300_TLS_IE): Likewise.
8588 (R_MN10300_TLS_LE): Likewise.
8589 (R_MN10300_TLS_DTPMOD): Likewise.
8590 (R_MN10300_TLS_DTPOFF): Likewise.
8591 (R_MN10300_TLS_TPOFF): Likewise.
8592 (R_MN10300_SYM_DIFF): Likewise.
8593 (R_MN10300_ALIGN): Likewise.
8594 (R_MN10300_NUM): Update.
8595
8596 2012-08-08 Joseph Myers <joseph@codesourcery.com>
8597
8598 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8599 Remove.
8600
8601 2012-08-08 Roland McGrath <roland@hack.frob.com>
8602
8603 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8604
8605 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8606 sysdeps/unix -> sysdeps/posix move.
8607 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8608
8609 2012-08-07 Allan McRae <allan@archlinux.org>
8610
8611 [BZ #14303]
8612 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8613 (SUNOS_CPP): Likewise.
8614 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8615 not found.
8616 (open_input): Call CPP using execvp.
8617
8618 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8619
8620 * sysdeps/unix/sysv/linux/kernel-features.h
8621 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8622 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8623 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8624 (__ASSUME_WAITID_SYSCALL): Likewise.
8625 * sysdeps/unix/sysv/linux/dl-execstack.c
8626 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8627 code unconditional.
8628 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8629 conditional code.
8630 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8631 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8632 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8633 code.
8634 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8635 unconditional.
8636 [__ASSUME_WAITID_SYSCALL]: Likewise.
8637 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8638
8639 2012-08-07 Roland McGrath <roland@hack.frob.com>
8640
8641 * sysdeps/unix/closedir.c: Renamed to ...
8642 * sysdeps/posix/closedir.c: ... here.
8643 * sysdeps/unix/dirfd.c: Renamed to ...
8644 * sysdeps/posix/dirfd.c: ... here.
8645 * sysdeps/unix/dirstream.h: Renamed to ...
8646 * sysdeps/posix/dirstream.h: ... here.
8647 * sysdeps/unix/fdopendir.c: Renamed to ...
8648 * sysdeps/posix/fdopendir.c: ... here.
8649 * sysdeps/unix/opendir.c: Renamed to ...
8650 * sysdeps/posix/opendir.c: ... here.
8651 * sysdeps/unix/readdir.c: Renamed to ...
8652 * sysdeps/posix/readdir.c: ... here.
8653 * sysdeps/unix/readdir_r.c: Renamed to ...
8654 * sysdeps/posix/readdir_r.c: ... here.
8655 * sysdeps/unix/rewinddir.c: Renamed to ...
8656 * sysdeps/posix/rewinddir.c: ... here.
8657 * sysdeps/unix/seekdir.c: Renamed to ...
8658 * sysdeps/posix/seekdir.c: ... here.
8659 * sysdeps/unix/telldir.c: Renamed to ...
8660 * sysdeps/posix/telldir.c: ... here.
8661 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8662 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8663 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8664 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8665
8666 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8667 * bits/fcntl.h: ... here.
8668
8669 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8670 not 0.
8671 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8672 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8673 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8674 (struct flock): Move l_start, l_len to the beginning.
8675 Use __pid_t for l_pid.
8676 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8677 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8678 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8679 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8680 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8681 [__USE_LARGEFILE64] (struct flock64): New type.
8682 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8683
8684 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8685 * bits/dirent.h: ... here.
8686
8687 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8688 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8689
8690 2012-08-07 Joseph Myers <joseph@codesourcery.com>
8691
8692 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8693 Change from 2.6.0 to 2.6.16.
8694 * sysdeps/unix/sysv/linux/configure: Regenerated.
8695 * sysdeps/unix/sysv/linux/kernel-features.h
8696 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8697 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8698 version.
8699 (__ASSUME_UTIMES): Likewise.
8700 (__ASSUME_CLONE_STOPPED): Remove.
8701 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8702 architectures, not kernel version.
8703 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8704 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8705 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8706 (__ASSUME_WAITID_SYSCALL): Likewise.
8707 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8708 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8709 * README: State 2.6.16 as minimum Linux kernel version. Do not
8710 refer to older versions.
8711
8712 2012-08-06 Roland McGrath <roland@hack.frob.com>
8713
8714 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8715 Define alphasort64 as an alias.
8716 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8717 Define versionsort64 as an alias.
8718 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8719 Define scandir64 as an alias.
8720 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8721 Define scandirat64 as an alias.
8722 * dirent/alphasort64.c (alphasort64):
8723 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8724 * dirent/versionsort64.c: Likewise.
8725 * dirent/scandir64.c: Likewise.
8726 * dirent/scandirat64.c: Likewise.
8727 * sysdeps/wordsize-64/alphasort.c: File removed.
8728 * sysdeps/wordsize-64/alphasort64.c: File removed.
8729 * sysdeps/wordsize-64/scandir.c: File removed.
8730 * sysdeps/wordsize-64/scandir64.c: File removed.
8731 * sysdeps/wordsize-64/scandirat.c: File removed.
8732 * sysdeps/wordsize-64/scandirat64.c: File removed.
8733 * sysdeps/wordsize-64/versionsort.c: File removed.
8734 * sysdeps/wordsize-64/versionsort64.c: File removed.
8735 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8736 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8737 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8738 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8739 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8740 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8741 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8742 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8743
8744 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8746 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8748 [defined __arch64__ || defined __sparcv9]
8749 (__INO_T_MATCHES_INO64_T): New macro.
8750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8751 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8752 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8753 * sysdeps/unix/sysv/linux/bits/dirent.h
8754 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8755 (_DIRENT_MATCHES_DIRENT64): New macro.
8756
8757 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8758 Define lockf64 as an alias.
8759 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8760 Define fseeko64 as an alias.
8761 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8762 Define ftello64 as an alias.
8763 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8764 Define _IO_fgetpos64 and fgetpos64 as aliases.
8765 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8766 Define _IO_fsetpos64 and fsetpos64 as aliases.
8767 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8768 Conditionalize body on this.
8769 * libio/fseeko64.c: Likewise.
8770 * libio/ftello64.c: Likewise.
8771 * libio/iofgetpos64.c: Likewise.
8772 * libio/iofsetpos64.c: Likewise.
8773 * sysdeps/wordsize-64/lockf.c: File removed.
8774 * sysdeps/wordsize-64/lockf64.c: File removed.
8775 * sysdeps/wordsize-64/fseeko.c: File removed.
8776 * sysdeps/wordsize-64/fseeko64.c: File removed.
8777 * sysdeps/wordsize-64/ftello.c: File removed.
8778 * sysdeps/wordsize-64/ftello64.c: File removed.
8779 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8780 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8781 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8782 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8785 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8786 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8787 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8788 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8789 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8791 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8792 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8793
8794 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8796 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8798 [defined __arch64__ || defined __sparcv9]
8799 (__OFF_T_MATCHES_OFF64_T): New macro.
8800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8801 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8803 (__OFF_T_MATCHES_OFF64_T): New macro.
8804
8805 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8806
8807 * stdlib/secure-getenv.c (__secure_getenv): Replace
8808 GLIBC_2_16 with GLIBC_2_17.
8809
8810 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8811
8812 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8814
8815 2012-08-03 David S. Miller <davem@davemloft.net>
8816
8817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8818
8819 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8820
8821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8822 Remove.
8823 (__ASSUME_CORRECT_SI_PID): Likewise.
8824 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8825 (__ASSUME_TMPFS_NAME): Likewise.
8826 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8827 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8828 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8829 (HAVE_AUX_SECURE): Make definition unconditional.
8830 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8831 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8832
8833 2012-08-03 Roland McGrath <roland@hack.frob.com>
8834
8835 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8836 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8837 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8838 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8839 __eloop_threshold instead of SYMLOOP_MAX.
8840
8841 * sysdeps/generic/eloop-threshold.h: New file.
8842 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8843 of MAXSYMLINKS.
8844 * elf/chroot_canon.c (chroot_canon): Likewise.
8845
8846 2012-08-03 Joseph Myers <joseph@codesourcery.com>
8847
8848 [BZ #13717]
8849 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8850 Change to 2.6.0 everywhere.
8851 * sysdeps/unix/sysv/linux/configure: Regenerated.
8852 * sysdeps/unix/sysv/linux/kernel-features.h
8853 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8854 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8855 kernel versions.
8856 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8857 (__ASSUME_FUTEX_REQUEUE): Remove.
8858 (__ASSUME_STATFS64): Define unconditionally.
8859 (__ASSUME_AT_SECURE): Likewise.
8860 (__ASSUME_CORRECT_SI_PID): Likewise.
8861 (__ASSUME_TGKILL): Define without depending on kernel version for
8862 i386.
8863 (__ASSUME_UTIMES): Likewise.
8864 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8865 kernel version.
8866 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8867 (__ASSUME_TMPFS_NAME): Likewise.
8868 * README: Update reference to Linux kernel versions.
8869
8870 2012-08-02 Marek Polacek <polacek@redhat.com>
8871
8872 [BZ# 14150]
8873 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8874 libc_cv_asm_type_prefix with %.
8875 * configure: Regenerated.
8876 * include/libc-symbols.h: Remove comment about
8877 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8878 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8879 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8880 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8881 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8882 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8883 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8884 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8885 * elf/tst-unique2mod1.c: Likewise.
8886 * elf/tst-unique1mod2.c: Likewise.
8887 * elf/tst-unique1mod1.c: Likewise.
8888 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8889 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8890 Replace ASM_TYPE_DIRECTIVE with .type.
8891 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8892 * sysdeps/i386/sysdep.h: Likewise.
8893 * sysdeps/x86_64/sysdep.h: Likewise.
8894 * sysdeps/sh/sysdep.h: Likewise.
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8896 Do not define ASM_TYPE_DIRECTIVE.
8897 * sysdeps/powerpc/sysdep.h: Likewise.
8898 * sysdeps/powerpc/powerpc32/sysdep.h:
8899 Replace ASM_TYPE_DIRECTIVE with .type.
8900 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8901 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8902 * sysdeps/i386/fpu/e_powf.S: Likewise.
8903 * sysdeps/i386/fpu/e_expl.S: Likewise.
8904 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8905 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8906 * sysdeps/i386/fpu/e_pow.S: Likewise.
8907 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8908 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8909 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8910 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8911 * sysdeps/i386/fpu/e_log2.S: Likewise.
8912 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8913 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8914 * sysdeps/i386/fpu/e_powl.S: Likewise.
8915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8916 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8917 * sysdeps/i386/fpu/e_logl.S: Likewise.
8918 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8919 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8920 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8921 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8922 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8923 * sysdeps/i386/fpu/e_log.S: Likewise.
8924 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8925 * sysdeps/i386/fpu/e_logf.S: Likewise.
8926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8927 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8928 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8929 * sysdeps/i386/fpu/e_log10.S: Likewise.
8930 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8931 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8932 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8933 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8934 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8935 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8936 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8937 * sysdeps/i386/i686/strtok.S: Likewise.
8938 * sysdeps/i386/i386-mcount.S: Likewise.
8939 * sysdeps/i386/strtok.S: Likewise.
8940 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8941 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8943 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8944 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8945 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8946 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8947 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8948 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8949 * sysdeps/x86_64/_mcount.S: Likewise.
8950 * sysdeps/x86_64/strtok.S: Likewise.
8951 * sysdeps/sh/_mcount.S: Likewise.
8952
8953 2012-08-01 Roland McGrath <roland@hack.frob.com>
8954
8955 * libio/iofopen.c: Include <fcntl.h>.
8956 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8957 (_IO_fopen64, fopen64): Define as aliases.
8958 * libio/iofopen64.c: Include <fcntl.h>.
8959 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8960 Conditionalize body on this.
8961 * sysdeps/wordsize-64/iofopen.c: File removed.
8962 * sysdeps/wordsize-64/iofopen64.c: File removed.
8963
8964 2012-08-01 Marek Polacek <polacek@redhat.com>
8965
8966 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8967 Use dlfcn directly instead of a variable.
8968 (binfmt-subdir): Do not define.
8969 (dlfcn): Likewise.
8970
8971 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8972
8973 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8974 Remove all definitions.
8975 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8976 <kernel-features.h>.
8977 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8978 (miss_F_GETOWN_EX): Remove all definitions.
8979 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8980 macro definition.
8981 [!__ASSUME_FCNTL64]: Remove conditional code.
8982 [__ASSUME_FCNTL64]: Make code unconditional.
8983 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8984 <kernel-features.h>.
8985 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8986 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8987 (lockf64) [__NR_fcntl64]: Make code unconditional.
8988 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8989
8990 * sysdeps/unix/sysv/linux/kernel-features.h
8991 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8992 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8993 Make code unconditional.
8994 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8995 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8997 [__NR_vfork]: Make code unconditional.
8998 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8999 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9001 [__NR_vfork]: Make code unconditional.
9002 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9003 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9004
9005 2012-08-01 Roland McGrath <roland@hack.frob.com>
9006
9007 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9008 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9009
9010 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9011 Define mkstemp64 as an alias.
9012 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9013 Define mkstemps64 as an alias.
9014 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9015 Define mkostemp64 as an alias.
9016 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9017 Define mkostemps64 as an alias.
9018 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9019 Conditionalize body on this.
9020 * misc/mkostemp64.c: Likewise.
9021 * misc/mkostemps64.c: Likewise.
9022 * misc/mkstemps64.c: Likewise.
9023 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9024 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9025 * sysdeps/wordsize-64/mkostemp.c: File removed.
9026 * sysdeps/wordsize-64/mkstemp.c: File removed.
9027 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9028 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9029 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9030 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9031
9032 [BZ #14138]
9033 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9034 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9035 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9036 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9037
9038 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9039 compat_symbol macros from <shlib-compat.h> rather than the underlying
9040 default_symbol_version and symbol_version macros, so that DEFAULT
9041 lines in shlib-versions are respected.
9042 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9043
9044 2012-08-01 Florian Weimer <fweimer@redhat.com>
9045
9046 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9047 Declare with warn_unused_result.
9048 (setgid, setregid, setegid, setresgid): Likewise.
9049 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9050 Likewise.
9051 * WUR-REPORT: Remove set*id functions.
9052
9053 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9054
9055 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9056
9057 2012-07-31 Roland McGrath <roland@hack.frob.com>
9058
9059 * include/sys/socket.h (__libc_accept, __libc_accept4):
9060 Add attribute_hidden.
9061 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9062
9063 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9064 use of PTR_MANGLE.
9065 * inet/getnetgrent_r.c (setup): Likewise.
9066
9067 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9068
9069 2012-07-31 David S. Miller <davem@davemloft.net>
9070
9071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9072
9073 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9074
9075 [BZ #13629]
9076 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9077 value between 1.0 and 2.0 and smaller part has absolute value less
9078 than 1.0.
9079 * math/s_clog10.c (__clog10): Likewise.
9080 * math/s_clog10f.c (__clog10f): Likewise.
9081 * math/s_clog10l.c (__clog10l): Likewise.
9082 * math/s_clogf.c (__clogf): Likewise.
9083 * math/s_clogl.c (__clogl): Likewise.
9084 * math/libm-test.inc (clog_test): Add more tests.
9085 (clog10_test): Likewise.
9086 * sysdeps/i386/fpu/libm-test-ulps: Update.
9087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9088
9089 2012-07-31 Florian Weimer <fweimer@redhat.com>
9090
9091 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9092 Exit with zero in case no suitable GID is found, and write a
9093 message to standard error.
9094
9095 2012-07-30 Roland McGrath <roland@hack.frob.com>
9096
9097 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9098 rather than to 1.
9099 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9100 (MAXPATHLEN): Removed.
9101 (NOGROUP, NODEV): New macros.
9102 (setbit, clrbit, isset, isclr): New macros.
9103 (howmany, roundup, powerof2): New macros.
9104 (DEV_BSIZE): New macro.
9105
9106 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9107 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9108
9109 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9110 definition on [!__NO_LONG_DOUBLE_MATH].
9111
9112 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9113 PTR_MANGLE and PTR_DEMANGLE.
9114
9115 * socket/accept4.c (accept4): Rename to __libc_accept4.
9116 Define accept4 as a weak alias.
9117
9118 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9119 on [_DIRENT_HAVE_D_TYPE].
9120 * io/ftw.c (ftw_dir): Likewise.
9121
9122 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9123
9124 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9125
9126 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9127 Use the BSD numbers rather than the arbitrary ones we had.
9128 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9129 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9130 (SIGXCPU, SIGXFSZ): New macros.
9131 (_NSIG): Now 32.
9132
9133 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9134 initializer on [_LIBC_REENTRANT].
9135
9136 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9137 definitions inside [_POSIX_MAPPED_FILES].
9138
9139 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9140
9141 * dirent/opendir.c: Include <fcntl.h>.
9142
9143 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9144 (__libc_getspecific): Likewise.
9145 (__libc_key_create): Likewise.
9146
9147 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9148 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9149 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9150 (tmpfile64): Define as alias.
9151 * sysdeps/wordsize-64/tmpfile.c: File removed.
9152 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9154 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9155
9156 * stdio-common/vfscanf.c: Include <stdbool.h>.
9157 * nss/makedb.c: Likewise.
9158 * stdio-common/_i18n_number.h: Likewise.
9159 * argp/argp-help.c: Likewise.
9160 * posix/wordexp.c: Likewise.
9161 * sysdeps/posix/spawni.c: Likewise.
9162 * nss/nss_files/files-initgroups.c: Likewise.
9163 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9164 * nss/nss_files/files-initgroups.c: Likewise.
9165 * nss/nss_db/db-netgrp.c: Likewise.
9166 * nss/nss_db/db-initgroups.c: Likewise.
9167 * io/fchmodat.c: Include <sys/stat.h>.
9168
9169 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9170 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9171
9172 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9173 [HAVE_MMAP].
9174
9175 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9176 Add multiple inclusion protection.
9177
9178 2012-07-27 David S. Miller <davem@davemloft.net>
9179
9180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9181
9182 2012-07-27 Gary Benson <gbenson@redhat.com>
9183
9184 [BZ #14298]
9185 * elf/rtld.c: Include <stap-probe.h>.
9186 (dl_main): Added static probes "init_start" and "init_complete".
9187 * elf/dl-load.c: Include <stap-probe.h>.
9188 (lose): Take new parameter "nsid".
9189 Added static probe "map_failed".
9190 (_dl_map_object_from_fd): Pass namespace id to lose.
9191 Added static probe "map_start".
9192 (open_verify): Pass namespace id to lose.
9193 * elf/dl-open.c: Include <stap-probe.h>.
9194 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9195 and "reloc_complete".
9196 * elf/dl-close.c: Include <stap-probe.h>.
9197 (_dl_close_worker): Added static probes "unmap_start" and
9198 "unmap_complete".
9199 * elf/rtld-debugger-interface.txt: New file documenting the above.
9200
9201 2012-07-26 Roland McGrath <roland@hack.frob.com>
9202
9203 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9204 rather than a string variable.
9205 * sunrpc/rpc_main.c (h_output): Likewise.
9206 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9207
9208 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9209
9210 * inet/check_native.c: New file.
9211
9212 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9213
9214 [BZ #13629]
9215 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9216 if larger part has absolute value 1.0.
9217 * math/s_clog10.c (__clog10): Likewise.
9218 * math/s_clog10f.c (__clog10f): Likewise.
9219 * math/s_clog10l.c (__clog10l): Likewise.
9220 * math/s_clogf.c (__clogf): Likewise.
9221 * math/s_clogl.c (__clogl): Likewise.
9222 * math/libm-test.inc (clog_test): Add more tests.
9223 (clog10_test): Likewise.
9224 * sysdeps/i386/fpu/libm-test-ulps: Update.
9225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9226
9227 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9228 (pltexit): Likewise.
9229 (La_regs): Likewise.
9230 (La_retval): Likewise.
9231 (int_retval): Likewise.
9232 Update #error for removed macros to refer only to definitions in
9233 tst-audit.h.
9234 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9235 macro.
9236 (pltexit): Likewise.
9237 (La_regs): Likewise.
9238 (La_retval): Likewise.
9239 (int_retval): Likewise.
9240 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9241 macro.
9242 (pltexit): Likewise.
9243 (La_regs): Likewise.
9244 (La_retval): Likewise.
9245 (int_retval): Likewise.
9246 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9247 macro.
9248 (pltexit): Likewise.
9249 (La_regs): Likewise.
9250 (La_retval): Likewise.
9251 (int_retval): Likewise.
9252 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9253 macro.
9254 (pltexit): Likewise.
9255 (La_regs): Likewise.
9256 (La_retval): Likewise.
9257 (int_retval): Likewise.
9258 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9259 macro.
9260 (pltexit): Likewise.
9261 (La_regs): Likewise.
9262 (La_retval): Likewise.
9263 (int_retval): Likewise.
9264 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9265 macro.
9266 (pltexit): Likewise.
9267 (La_regs): Likewise.
9268 (La_retval): Likewise.
9269 (int_retval): Likewise.
9270 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9271 macro definitions in tst-audit.h.
9272 * sysdeps/i386/tst-audit.h: New file.
9273 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9274 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9275 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9276 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9277 * sysdeps/sh/tst-audit.h: Likewise.
9278 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9279 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9280 * sysdeps/x86_64/tst-audit.h: Likewise.
9281
9282 2012-07-26 Andreas Jaeger <aj@suse.de>
9283
9284 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9285 ptrace.
9286
9287 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9288 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9289 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9290 PTRACE_O_MASK.
9291 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9292 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9293 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9294
9295 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9296 value.
9297
9298 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9299 _sigsys.
9300 (si_call_addr, si_syscall, si_arch): Define new macro.
9301 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9302 _sigsys.
9303 (si_call_addr, si_syscall, si_arch): Define new marcro.
9304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9305 _sigsys.
9306 (si_call_addr, si_syscall, si_arch): Define new macro.
9307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9308 _sigsys.
9309 (si_call_addr, si_syscall, si_arch): Define new macro.
9310
9311 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9312
9313 [BZ #13717]
9314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9315 Change to 2.4.21 where previously 2.4.1.
9316 * sysdeps/unix/sysv/linux/configure: Regenerated.
9317 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9318 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9319 Linux kernel version.
9320 (__ASSUME_STD_AUXV): Remove.
9321 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9322 kernel version.
9323 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9324 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9325 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9326 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9327 (__ASSUME_NETLINK_SUPPORT): Likewise.
9328 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9329 (__no_netlink_support): Remove conditional definition.
9330 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9331 Remove.
9332 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9333 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9334 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9335 (if_nameindex_ioctl): Remove.
9336 (if_nameindex_netlink): Do not handle __no_netlink_support.
9337 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9338 code.
9339 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9340 Remove conditional code.
9341 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9342 code.
9343 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9344 unconditional.
9345 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9346 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9347 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9348 Remove.
9349 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9350 [!__ASSUME_STD_AUXV]: Remove conditional code.
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9352 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9353 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9355 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9356 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9357 code.
9358 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9360 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9361 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9362 conditional code.
9363 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9365 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9366 code.
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9368 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9369 conditional code.
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9371 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9372 code unconditional.
9373 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9374 conditional code.
9375 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9376 unconditional.
9377 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9378 conditional code.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9380 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9381 unconditional.
9382 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9383 conditional code.
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9385 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9386 code unconditional.
9387 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9388 conditional code.
9389 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9390 unconditional.
9391 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9392 conditional code.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9394 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9395 code unconditional.
9396 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9397 conditional code.
9398 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9399 unconditional.
9400 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9401 conditional code.
9402
9403 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9404
9405 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9406 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9407 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9408 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9409 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9410 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9411 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9412 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9413 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9414 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9415 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9416 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9417 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9418 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9419 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9420 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9421 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9428
9429 2012-07-25 Florian Weimer <fweimer@redhat.com>
9430
9431 * Versions.def: Add GLIBC_2.17.
9432 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9433 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9434 Introduce __libc_secure_getenv.
9435 * stdlib/Versions (2.17): Add secure_getenv
9436 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9437 * stdlib/secure-getenv.c: Rename __secure_getenv to
9438 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9439 symbol __secure_getenv for GLIBC_2.0.
9440 * stdlib/tst-secure-getenv.c: New.
9441 * stdlib/Makefile (tests): Add testcase.
9442 * manual/startup.texi (Environment Access): Document
9443 secure_getenv.
9444 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9445 __libc_secure_getenv.
9446 * inet/ruserpass.c (ruserpass): Likewise.
9447 * malloc/mtrace.c (mtrace): Likewise.
9448 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9449 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9450 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9451 * sysdeps/posix/tempname.c: Likewise. Evaluate
9452 HAVE_SECURE_GETENV.
9453 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9454 __secure_getenv to __libc_secure_getenv.
9455 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9457 Likewise.
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9459 Likewise.
9460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9467
9468 2012-07-25 Joseph Myers <joseph@codesourcery.com>
9469
9470 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9471 (struct La_i86_retval): Likewise.
9472 (struct La_x86_64_regs): Likewise.
9473 (struct La_x86_64_retval): Likewise.
9474 (struct La_x32_regs): Likewise.
9475 (struct La_x32_retval): Likewise.
9476 (struct La_ppc32_regs): Likewise.
9477 (struct La_ppc32_retval): Likewise.
9478 (struct La_ppc64_regs): Likewise.
9479 (struct La_ppc64_retval): Likewise.
9480 (struct La_sh_regs): Likewise.
9481 (struct La_sh_retval): Likewise.
9482 (struct La_s390_32_regs): Likewise.
9483 (struct La_s390_32_retval): Likewise.
9484 (struct La_s390_64_regs): Likewise.
9485 (struct La_s390_64_retval): Likewise.
9486 (struct La_sparc32_regs): Likewise.
9487 (struct La_sparc32_retval): Likewise.
9488 (struct La_sparc64_regs): Likewise.
9489 (struct La_sparc64_retval): Likewise.
9490 (struct audit_ifaces): Remove architecture-specific pltenter and
9491 pltexit members.
9492 * sysdeps/i386/ldsodefs.h: New file.
9493 * sysdeps/powerpc/ldsodefs.h: Likewise.
9494 * sysdeps/s390/ldsodefs.h: Likewise.
9495 * sysdeps/sh/ldsodefs.h: Likewise.
9496 * sysdeps/sparc/ldsodefs.h: Likewise.
9497 * sysdeps/x86_64/ldsodefs.h: Likewise.
9498
9499 2012-07-25 Marek Polacek <polacek@redhat.com>
9500
9501 [BZ #6808]
9502 * math/libm-test.inc (yn_test): Add another test.
9503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9504 to ERANGE when the result is +-Inf.
9505 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9506 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9508 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9509
9510 2012-07-24 Joseph Myers <joseph@codesourcery.com>
9511
9512 * conform/data/time.h-data (NULL): Use macro-constant. Require
9513 equal to 0.
9514 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9515 clock_t.
9516 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9517
9518 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9519
9520 * configure.in <sysdeps resolving>: Correct printing
9521 Implies_before.
9522 * configure: Regenerate.
9523
9524 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9525
9526 * math/w_ilogb.c: Include <limits.h>.
9527 * math/w_ilogbl.c: Likewise.
9528
9529 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9530
9531 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9532 va_copy. Document allowing for unavailable va_copy only as
9533 pre-C99 compatibility.
9534 * manual/string.texi (Copying and Concatenation): Use va_copy
9535 instead of __va_copy in concat example.
9536
9537 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9538
9539 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9540 (__sendto): Use create_address_port. Initialize APORT and deallocate
9541 it if not null.
9542
9543 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9544 with O_NOLINK passed to __file_name_lookup.
9545
9546 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9547 with O_NOLINK passed to __file_name_lookup.
9548
9549 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9550 negative N or less than NGIDS.
9551
9552 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9553 type to string_t. Set ERANGE as errno and return it if NAME is not big
9554 enough. Use memcpy instead of strncpy.
9555
9556 2012-07-20 Joseph Myers <joseph@codesourcery.com>
9557
9558 * elf/Makefile (check-data): Remove.
9559 (localplt.data): New vpath directive.
9560 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9561 instead of $(check-data).
9562 * scripts/data/localplt-generic.data: Move to ...
9563 * sysdeps/generic/localplt.data: ... here.
9564 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9565 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9566 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9568 ... here.
9569 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9571 ... here.
9572 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9574 ... here.
9575 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9577 ... here.
9578 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9580 ... here.
9581 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9583 ... here.
9584
9585 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9586
9587 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9588 PPC32 and PPC64 files.
9589 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9590 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9591
9592 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9593
9594 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9595 __makecontext_ret to ...
9596 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9597 ... here and call exit if uc_link is NULL. New file.
9598 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9599 __makecontext_ret.S.
9600 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9601 __makecontext_ret to ...
9602 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9603 ... here and call exit if uc_link is NULL. New file.
9604 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9605 __makecontext_ret.S.
9606
9607 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9608
9609 * elf/elf.h (R_390_IRELATIVE): New definition.
9610 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9611 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9612 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9613 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9614 (elf_machine_lazy_rel): Likewise.
9615 * sysdeps/s390/dl-irel.h: New file.
9616 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9617 * sysdeps/s390/s390-64/memset.S: New asm code.
9618 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9619 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9620 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9621 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9622 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9623 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9624 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9625 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9626 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9627 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9628 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9629 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9630 * sysdeps/s390/s390-32/memset.S: New asm code.
9631 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9632
9633 2012-07-17 Marek Polacek <polacek@redhat.com>
9634
9635 [BZ #14349]
9636 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9637 * sysdeps/s390/s390-64/configure.in: Likewise.
9638 * sysdeps/sparc/configure.in: Likewise.
9639 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9640 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9641 * sysdeps/i386/configure.in: Likewise.
9642 * sysdeps/x86_64/configure.in: Likewise.
9643 * sysdeps/sh/configure.in: Likewise.
9644 * sysdeps/s390/s390-32/configure: Regenerated.
9645 * sysdeps/s390/s390-64/configure: Likewise.
9646 * sysdeps/x86_64/configure: Likewise.
9647 * sysdeps/sh/configure: Likewise.
9648 * sysdeps/powerpc/powerpc64/configure: Likewise.
9649 * sysdeps/powerpc/powerpc32/configure: Likewise.
9650 * sysdeps/sparc/configure: Likwise.
9651 * sysdeps/i386/configure: Likewise.
9652
9653 * elf/dl-open.c: Comment fixes.
9654
9655 2012-07-17 Joseph Myers <joseph@codesourcery.com>
9656
9657 * Makefile [CXX] (check-data): Remove.
9658 [CXX] (c++-types.data): New vpath directive.
9659 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9660 vpath. Do not allow for C++ type data being missing.
9661 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9662 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9663 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9664 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9665 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9666 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9667 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9669 ... here.
9670 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9672 ... here.
9673 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9675 ... here.
9676 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9678 ... here.
9679 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9681 ... here.
9682 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9684 ... here.
9685 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9687 ... here.
9688 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9690
9691 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9692 definitions to architecture-specific files.
9693 (TLS_IE): Likewise.
9694 (TLS_LD): Likewise.
9695 (TLS_GD): Likewise.
9696 * sysdeps/i386/tls-macros.h: New file.
9697 * sysdeps/powerpc/tls-macros.h: Likewise.
9698 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9699 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9700 * sysdeps/sh/tls-macros.h: Likewise.
9701 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9702 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9703 * sysdeps/x86_64/tls-macros.h: Likewise.
9704
9705 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9706
9707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9708 zero value for regular exit case.
9709
9710 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9711 (__start_context): Preserve zero value for regular exit case.
9712
9713 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9714 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9715
9716 * manual/setjmp.texi (setcontext): Clarify normal process
9717 termination when uc_link is the null pointer.
9718 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9719 exit call.
9720
9721 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9722
9723 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9724 preprocessor. Test for each exception mask separately.
9725
9726 2012-07-16 Andreas Jaeger <aj@suse.de>
9727
9728 * po/ru.po: Update from translation team.
9729
9730 2012-07-15 Joseph Myers <joseph@codesourcery.com>
9731
9732 * conform/data/string.h-data (NULL): Use macro-constant. Require
9733 equal to 0.
9734 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9735 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9736 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9737 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9739
9740 2012-07-13 Andreas Jaeger <aj@suse.de>
9741
9742 * po/fr.po: Update from translation team.
9743
9744 2012-07-12 Marek Polacek <polacek@redhat.com>
9745
9746 [BZ #14173]
9747 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9748 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9749 loop condition.
9750
9751 2012-07-12 Joseph Myers <joseph@codesourcery.com>
9752
9753 [BZ #13717]
9754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9755 Change to 2.4.1 where previously 2.4.0.
9756 * sysdeps/unix/sysv/linux/configure: Regenerated.
9757 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9758 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9759 version.
9760 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9761 (__ASSUME_AT_CLKTCK): Remove.
9762 (__ASSUME_AT_PAGESIZE): Likewise.
9763 (__ASSUME_AT_XID): Likewise.
9764 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9765 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9766 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9767 unconditionally.
9768 (HAVE_AUX_PAGESIZE): Likewise.
9769 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9770 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9771 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9772
9773 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9774
9775 [BZ #14307]
9776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9777 the temporary buffer used to invoke __gethostbyname2_r,
9778 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9779 host_data / struct gaih_addrtuple.
9780 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9781 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9782 header file nss/nsswitch.h.
9783 * nss/nsswitch.h (global scope): Add definition of implementation
9784 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9785 resolv/nss_dns/dns-host.c).
9786
9787 2012-07-11 Andreas Jaeger <aj@suse.de>
9788
9789 * po/fr.po: Update from translation team.
9790
9791 * po/sv.po: Update from translation team
9792 * po/fr.po: Another update from translation team.
9793
9794 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9795
9796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9797 for subnormals or multiply small sinh result by itself.
9798 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9800
9801 2012-07-11 David S. Miller <davem@davemloft.net>
9802
9803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9804
9805 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9806
9807 [BZ #14347]
9808 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9809 (INTERNAL_MARK): Shift it here.
9810
9811 2012-07-10 Marek Polacek <polacek@redhat.com>
9812
9813 [BZ #14151]
9814 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9815 libc_cv_asm_global_directive with .globl.
9816 * configure: Regenerated.
9817 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9818 with .globl.
9819 * sysdeps/i386/configure: Regenerated.
9820 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9821 with .globl.
9822 * sysdeps/x86_64/configure: Regenerated.
9823 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9824 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9825 * elf/tst-unique2mod2.c: Likewise.
9826 * elf/tst-unique2mod1.c: Likewise.
9827 * elf/tst-unique1mod2.c: Likewise.
9828 * elf/tst-unique1mod1.c: Likewise.
9829 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9830 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9831 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9832 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9833 * sysdeps/mach/sysdep.h: Likewise.
9834 * sysdeps/i386/sysdep.h: Likewise.
9835 * sysdeps/i386/i386-mcount.S: Likewise.
9836 * sysdeps/x86_64/_mcount.S: Likewise.
9837 * sysdeps/x86_64/sysdep.h: Likewise.
9838 * sysdeps/sh/_mcount.S: Likewise.
9839 * sysdeps/sh/sysdep.h: Likewise.
9840 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9841 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9842 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9844 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9845 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9846 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9847 * locale/localeinfo.h: Likewise.
9848 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9849 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9850
9851 2012-07-09 Roland McGrath <roland@hack.frob.com>
9852
9853 [BZ #14336]
9854 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9855 system".
9856 * manual/message.texi (The Uniforum approach): Likewise.
9857 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9858 (glibc iconv Implementation): Likewise.
9859
9860 2012-07-09 Joseph Myers <joseph@codesourcery.com>
9861
9862 [BZ #14337]
9863 * math/s_clog.c (__clog): Avoid scaling a value down where that
9864 could result in underflow.
9865 * math/s_clog10.c (__clog10): Likewise.
9866 * math/s_clog10f.c (__clog10f): Likewise.
9867 * math/s_clog10l.c (__clog10l): Likewise.
9868 * math/s_clogf.c (__clogf): Likewise.
9869 * math/s_clogl.c (__clogl): Likewise.
9870 * math/libm-test.inc (clog_test): Add more tests.
9871 (clog10_test): Likewise.
9872 * sysdeps/i386/fpu/libm-test-ulps: Update.
9873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9874
9875 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9876
9877 [BZ #14283]
9878 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9879 by 7 not 8 to examine high bit of fractional part.
9880
9881 [BZ #14042]
9882 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9883 for call to __mcount_internal.
9884 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9885 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9886 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9887
9888 2012-07-06 Joseph Myers <joseph@codesourcery.com>
9889
9890 [BZ #14154]
9891 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9892 approximation for values within 0x1p-13f of an odd multiple of
9893 pi/4.
9894 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9895 exception. Add more tests.
9896 * sysdeps/i386/fpu/libm-test-ulps: Update.
9897
9898 [BZ #6778]
9899 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9900 inputs and return -1 for them. Do not check for +Inf in case not
9901 reachable for +Inf.
9902 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9903 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9904 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9905 and return -1 for them. Do not check for +Inf in case not
9906 reachable for +Inf.
9907 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9908 define.
9909 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9910 and return -1 for them. Do not check for +Inf in case not
9911 reachable for +Inf.
9912 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9913 spurious underflow.
9914 * sysdeps/i386/fpu/libm-test-ulps: Update.
9915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9916
9917 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9918
9919 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9920
9921 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9922
9923 [BZ #14157]
9924 [BZ #14331]
9925 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9926 could result in spurious underflow. Scale down values above
9927 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9928 * math/s_csqrtf.c (__csqrtf): Likewise.
9929 * math/s_csqrtl.c (__csqrtl): Likewise.
9930 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9931 spurious underflow.
9932 * sysdeps/i386/fpu/libm-test-ulps: Update.
9933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9934
9935 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9936
9937 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9938 xopen-msg.sed.
9939 * catgets/xopen-msg.awk: New file.
9940 * catgets/xopen-msg.sed: Removed.
9941
9942 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9943 po2text.sed.
9944 * intl/po2test.awk: New file.
9945 * intl/po2test.sed: Removed.
9946
9947 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9948
9949 [BZ #14328]
9950 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9951 or multiply small sinh result by itself.
9952 * math/s_ctanf.c (__ctanf): Likewise.
9953 * math/s_ctanh.c (__ctanh): Likewise.
9954 * math/s_ctanhf.c (__ctanhf): Likewise.
9955 * math/s_ctanhl.c (__ctanhl): Likewise.
9956 * math/s_ctanl.c (__ctanl): Likewise.
9957 * math/libm-test.inc (ctan_test_tonearest): New function.
9958 (ctan_test_towardzero): Likewise.
9959 (ctan_test_downward): Likewise.
9960 (ctan_test_upward): Likewise.
9961 (ctanh_test_tonearest): Likewise.
9962 (ctanh_test_towardzero): Likewise.
9963 (ctanh_test_downward): Likewise.
9964 (ctanh_test_upward): Likewise.
9965 (main): Call these new functions.
9966 * sysdeps/i386/fpu/libm-test-ulps: Update.
9967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9968
9969 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9970
9971 * .gitignore: Delete /ports entry.
9972
9973 2012-07-03 Andreas Jaeger <aj@suse.de>
9974
9975 * po/bg.po: Update from translation team.
9976 * po/cs.po: Likewise.
9977 * po/de.po: Likewise.
9978 * po/hr.po: Likewise.
9979 * po/nl.pl: Likewise.
9980 * po/pl.po: Likewise.
9981 * po/vi.po: Likewise.
9982
9983 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9984
9985 * Makeconfig [!+link] (+link-before-libc): New variable.
9986 [!+link] (+link-after-libc): Likewise.
9987 [!+link] (+link-tests): Likewise.
9988 [!+link] (+link): Define in terms of $(+link-before-libc) and
9989 $(+link-after-libc).
9990 [!+link-static] (+link-static-before-libc): New variable.
9991 [!+link-static] (+link-static-after-libc): Likewise.
9992 [!+link-static] (+link-static-tests): Likewise.
9993 [!+link-static] (+link-static): Define in terms of
9994 $(+link-static-before-libc) and $(+link-static-after-libc).
9995 [build-shared] (link-libc-before-gnulib): New variable.
9996 [build-shared] (link-libc-tests): Likewise.
9997 [build-shared] (link-libc): Define in terms of
9998 $(link-libc-before-gnulib).
9999 [!build-shared] (link-libc-tests): New variable.
10000 (link-libc-static-tests): New variable.
10001 [!gnulib] (gnulib-arch): New variable.
10002 [!gnulib] (gnulib-tests): Likewise.
10003 [!gnulib] (static-gnulib-arch): Likewise.
10004 [!gnulib] (static-gnulib-tests): Likewise.
10005 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10006 Define with "=" instead of ":=".
10007 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10008 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10009 * Rules (binaries-all-notests): New variable.
10010 (binaries-all-tests): Likewise.
10011 (binaries-static-notests): Likewise.
10012 (binaries-static-tests): Likewise.
10013 (binaries-all): Define using $(binaries-all-notests) and
10014 $(binaries-all-tests).
10015 (binaries-static): Define using $(binaries-static-notests) and
10016 $(binaries-static-tests).
10017 (binaries-shared-tests): New variable.
10018 (binaries-shared-notests): Likewise.
10019 (binaries-shared): Remove variable.
10020 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10021 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10022 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10023 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10024 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10025 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10026 * elf/Makefile (sln-modules): New variable.
10027 (extra-objs): Add $(sln-modules:=.o).
10028 (ldconfig-modules): Add static-stubs.
10029 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10030 * elf/static-stubs.c: New file.
10031
10032 [BZ #14283]
10033 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10034 by 7 not 8 to examine high bit of fractional part. Use volatile
10035 variables when splitting into final array of floats if
10036 __FLT_EVAL_METHOD__ != 0.
10037 * math/libm-test.inc (cos_test): Add another test.
10038 (sin_test): Likewise.
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040
10041 [BZ #14273]
10042 * math/libm-test.inc (cosh_test): Add more tests.
10043
10044 * version.h (RELEASE): Set to "development".
10045 (VERSION): Set to "2.16.90".
10046
10047 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10048
10049 * NEWS: Update copyright. Remove last-updated date.
10050 Mention math library bug fixes and timezone data changes.
10051 * README: Mention GNU/Hurd, x32, and HPPA support status.
10052
10053 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10054
10055 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10056
10057 2012-06-27 Andreas Jaeger <aj@suse.de>
10058
10059 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10060
10061 2012-06-25 Andreas Jaeger <aj@suse.de>
10062
10063 * sysdeps/s390/fpu/libm-test-ulps: Update.
10064
10065 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10066 Thomas Schwinge <thomas@codesourcery.com>
10067
10068 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10069 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10071 fanotify_mark.
10072
10073 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10074
10075 * sysdeps/mach/start.c: Remove file.
10076 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10077 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10078 * sysdeps/sh/init-first.c: Likewise.
10079
10080 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10081 registers for frame unwinding purposes, add CFI directives.
10082 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10083 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10084 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10085 Likewise.
10086
10087 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10088 __fortify_fail returning.
10089 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10090
10091 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10092 sysdeps/sh/____longjmp_chk.S.
10093 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10094 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10095 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10096 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10097
10098 * sysdeps/sh/abort-instr.h: New file.
10099 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10100 process in case exit returns.
10101
10102 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10103 initialize the GOT register before use.
10104
10105 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10106 calculation of ARGC > 4.
10107
10108 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10109 meaningful names to some local labels.
10110
10111 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10112 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10113
10114 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10115 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10116 (__arch_compare_and_exchange_val_16_acq): Likewise.
10117 (__arch_compare_and_exchange_val_32_acq): Likewise.
10118 (atomic_exchange_and_add): Fix gUSA sequence.
10119 (atomic_add): Likewise.
10120 (atomic_add_negative): Likewise.
10121 (atomic_add_zero): Likewise.
10122 (atomic_bit_test_set): Likewise.
10123
10124 2012-06-22 Andreas Schwab <schwab@redhat.com>
10125
10126 [BZ #13579]
10127 * include/link.h (struct link_map): Add l_free_initfini.
10128 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10129 l_initfini.
10130 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10131 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10132 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10133 set.
10134
10135 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10136
10137 * configure.in: Use AC_LANG_SOURCE.
10138 * configure: Regenerate.
10139
10140 2012-06-22 Roland McGrath <roland@hack.frob.com>
10141
10142 * configure.in (libc_cv_localstatedir): New substituted variable.
10143 * configure: Regenerated.
10144 * config.make.in (localstatedir): New variable, substituted from
10145 libc_cv_localstatedir.
10146 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10147 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10148 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10149 * sysdeps/gnu/configure: Regenerated.
10150
10151 2012-06-21 Jeff Law <law@redhat.com>
10152
10153 [BZ #14277]
10154 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10155 free. Simplify list management for _LIBC case.
10156
10157 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10158
10159 [BZ #14273]
10160 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10161 Clear sign bit of 64-bit integer value before comparing against
10162 overflow value.
10163
10164 * sysdeps/mach/configure: Regenerated.
10165
10166 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10167
10168 [BZ #14278]
10169 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10170
10171 2012-06-21 Jeff Law <law@redhat.com>
10172
10173 [BZ #13882]
10174 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10175 uint16_t for elements in the "seen" array to avoid char overflows.
10176 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10177 * elf/dl-open.c (dl_open_worker): Likewise.
10178
10179 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10180
10181 * scripts/list-sources.sh: Scan PORTS for translations.
10182 * po/libc.pot: Regenerated.
10183
10184 2012-06-21 Andreas Jaeger <aj@suse.de>
10185
10186 [BZ #12194]
10187 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10188 warning.
10189 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10190 * bits/byteswap-16.h (__bswap_16): Likewise.
10191 * bits/byteswap.h (__bswap_constant_16): Likewise.
10192
10193 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10194
10195 [BZ #14117]
10196 * sysdeps/i386/fpu_control.h: Removed.
10197 * sysdeps/x86_64/fpu_control.h: Moved to ...
10198 * sysdeps/x86/fpu_control.h: Here.
10199
10200 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10201 (_FPU_SETCW): Likewise.
10202
10203 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10204
10205 [BZ #14117]
10206 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10207 * sysdeps/x86/fpu/bits/mathinline.h: This.
10208 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10209
10210 [BZ #14050]
10211 [BZ #14117]
10212 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10213 functions if __x86_64__ is defined.
10214
10215 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10216
10217 * string/endian.h: Add !__ASSEMBLER__ condition for including
10218 conversion interfaces.
10219
10220 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10221
10222 [BZ #14241]
10223 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10224 of ABS(x) in calculating zero to negative powers other than odd
10225 integers.
10226 * math/libm-test.inc (pow_test): Add more tests.
10227
10228 2012-06-15 Andreas Jaeger <aj@suse.de>
10229
10230 * manual/contrib.texi (Contributors): Update entry of Liubov
10231 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10232 Machado Filho.
10233
10234 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10235
10236 * string/string.h: Add __wur to GNU version of strerror_r.
10237
10238 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10239
10240 [BZ #14229]
10241 * string/Makefile (tests): Add tst-strtok_r.
10242 * string/tst-strtok_r.c: New file.
10243 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10244 RAX_LP/RDX_LP on SAVE_PTR.
10245
10246 2012-06-14 Roland McGrath <roland@hack.frob.com>
10247
10248 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10249
10250 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10251
10252 * libm_test.inc (csqrt_test): Allow more spurious underflow
10253 exceptions.
10254 (j0_test): Likewise.
10255 (j1_test): Likewise.
10256 (y0_test): Likewise.
10257 (y1_test): Likewise.
10258
10259 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10260
10261 * po/Makefile (libc.pot): Use UTF-8 charset.
10262
10263 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10264
10265 [BZ #14210]
10266 Suppress sign-conversion warning from FD_SET.
10267 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10268 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10269 not unsigned long int.
10270 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10271
10272 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10273
10274 [BZ #14050]
10275 [BZ #14117]
10276 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10277 __extern_always_inline instead of __extern_inline.
10278 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10279 (__signbit): Likewise.
10280 (__signbitl): Support C++ namespace.
10281 (lrintf): New inline function.
10282 (lrint): Likewise.
10283 (llrintf): Likewise.
10284 (llrint): Likewise.
10285 (fmaxf): Likewise.
10286 (fmax): Likewise.
10287 (fminf): Likewise.
10288 (fmin): Likewise.
10289 (rint): Likewise.
10290 (rintf): Likewise.
10291 (ceil): Likewise.
10292 (ceilf): Likewise.
10293 (floor): Likewise.
10294 (floorf): Likewise.
10295 (nearbyint): Likewise.
10296 (nearbyintf): Likewise.
10297
10298 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10299
10300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10301 non-default versions.
10302
10303 2012-06-11 Roland McGrath <roland@hack.frob.com>
10304
10305 [BZ #14218]
10306 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10307
10308 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10309
10310 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10311 (FE_UPWARD, FE_DOWNWARD): Don't define.
10312 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10313 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10314
10315 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10316 reading it.
10317 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10318 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10319
10320 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10321
10322 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10324 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10325 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10326
10327 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10328
10329 [BZ #14117]
10330 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10331 * sysdeps/i386/fpu/Implies: New file.
10332 * sysdeps/x86_64/fpu/Implies: Likewise.
10333 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10334 * sysdeps/x86/fpu/bits/fenv.h: This.
10335
10336 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10337 __SSE_MATH__.
10338
10339 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10340
10341 [BZ #14134]
10342 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10343 character 0xffff that matches the last element of the
10344 conversion table.
10345
10346 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10347
10348 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10349 fmodl commit.
10350
10351 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10352
10353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10354 values higher than 25.6283.
10355
10356 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10357
10358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10359 subnormal exponent extraction and add some __builtin_expect.
10360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10361 Fix for subnormal mantissa calculation.
10362
10363 2012-06-04 Mike Frysinger <vapier@gentoo.org>
10364
10365 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10366 cpu2 is -1 and errno is not ENOSYS.
10367
10368 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10369
10370 [BZ #14117]
10371 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10372 * sysdeps/x86/bits/string.h: This.
10373 * sysdeps/x86_64/bits/string.h: Removed.
10374
10375 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10376 if not compiling for x86-64, but compiling for >= i486.
10377
10378 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10379 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10380
10381 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10382 New macro from Linux kernel 3.4.0.
10383 (FP_XSTATE_MAGIC2): Likewise.
10384 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10385 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10386 (struct _fpx_sw_bytes): New struct.
10387 (struct _xsave_hdr): Likewise.
10388 (struct _ymmh_state): Likewise.
10389 (struct _xstate): Likewise.
10390
10391 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10392 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10393 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10394 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10395 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10396 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10397
10398 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10399 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10400 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10401 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10402 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10403 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10404
10405 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10406
10407 [BZ #13743]
10408 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10409 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10410 (sysdep_headers): Include sys/platform/ppc.h.
10411 * sysdeps/powerpc/test-gettimebase.c: Test for
10412 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10413 * manual/Makefile (appendices): Include platform.texi.
10414 * manual/contrib.texi (Contributors): Update @node pointers.
10415 * manual/maint.texi (Maintenance): Likewise.
10416 (Platform): New node.
10417 * manual/platform.texi: New file. Document the new features.
10418
10419 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 Jakub Jelinek <jakub@redhat.com>
10421
10422 [BZ #14188]
10423 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10424 where __builtin_expect is unavailable.
10425
10426 2012-06-03 David S. Miller <davem@davemloft.net>
10427
10428 * stdlib/longlong.h: Updated from GCC.
10429
10430 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10431
10432 [BZ #14042]
10433 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10434 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10435 __mcount_internal.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10437 (GLIBC_2.16): Likewise.
10438
10439 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10440
10441 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10442
10443 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10444
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10446 (default-abi): New variable.
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10448 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10449 variable.
10450 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10451 Likewise.
10452 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10453 Likewise.
10454 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10455 Likewise.
10456
10457 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10458 definition. Document in comment.
10459
10460 2012-06-01 David S. Miller <davem@davemloft.net>
10461
10462 * stdlib/longlong.h: Updated from GCC.
10463
10464 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10465
10466 [BZ #14117]
10467 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10468 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10469 sys/debugreg.h sys/io.h here.
10470 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10471 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10472 sys/io.h.
10473 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10474 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10475 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10476 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10477 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10478 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10479
10480 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10481 Define only if __x86_64__ is defined.
10482
10483 2012-06-01 Joseph Myers <joseph@codesourcery.com>
10484
10485 [BZ #14048]
10486 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10487 Use int64_t for variable i.
10488 * math/libm-test.inc (fmod_test): Add more tests.
10489
10490 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10491 z computation is not scheduled after fetestexcept.
10492 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10493 Use math_force_eval instead of asm to ensure calculation scheduled
10494 before exception test.
10495 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10496 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10497
10498 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10499
10500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10501 computation is not scheduled after fetestexcept.
10502
10503 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10504
10505 [BZ #14117]
10506 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10507 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10508
10509 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510
10511 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10512 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10513
10514 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10515
10516 [BZ #14117]
10517 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10518 <bits/wordsize.h>.
10519 (__WCHAR_MIN): Support __WORDSIZE == 64.
10520 (__WCHAR_MAX): Likewise.
10521
10522 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10523 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10524
10525 [BZ #14183]
10526 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10527 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10528
10529 [BZ #14117]
10530 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10531 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10532
10533 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10534 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10535
10536 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10537 Defined to 1 if __x86_64__ isn't defined.
10538 (_STAT_VER_LINUX_OLD): New.
10539 (st_atime): Remove duplicate.
10540 (st_mtime): Likewise.
10541 (st_ctime): Likewise.
10542
10543 2012-05-31 David S. Miller <davem@davemloft.net>
10544
10545 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10546 entries.
10547
10548 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10549
10550 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10551 gen-libm-test.pl.
10552
10553 [BZ #14132]
10554 * elf/dl-reloc.c: Include <_itoa.h>.
10555 (_dl_reloc_bad_type): Remove use of INTUSE.
10556 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10557 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10558 * stdio-common/psiginfo.c (psiginfo): Likewise.
10559 * stdio-common/psignal.c (psignal): Likewise.
10560 * string/strsignal.c (strsignal): Likewise.
10561 * include/signal.h (_sys_siglist): Declare hidden proto.
10562 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10563 INTVARDEF with libc_hidden_data_def.
10564 * stdio-common/itoa-udigits.c: Likewise.
10565 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10566 (_itoa_lower_digits_internal): Remove declaration.
10567 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10568 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10569 (_sys_sigabbrev_internal): Remove aliases.
10570 (_sys_siglist): Define hidden alias.
10571
10572 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10573
10574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10575 bits/sysctl.h.
10576
10577 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10578
10579 [BZ #14117]
10580 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10581 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10582
10583 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10584 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10585 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10586 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10588 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10589
10590 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10591 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10592 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10593
10594 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10595 with __addr.
10596 (insw): Likewise.
10597 (insl): Likewise.
10598 (outsb): Likewise.
10599 (outsw): Likewise.
10600 (outsl): Likewise.
10601
10602 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10603 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10604 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10605
10606 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10607 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10608 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10609 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10610 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10611 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10612
10613 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10614 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10615
10616 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10617 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10618
10619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10621 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10622
10623 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10624 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10625 to ...
10626 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10627
10628 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10629 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10630 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10631
10632 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10633 for x86-64.
10634 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10635
10636 2012-05-31 Joseph Myers <joseph@codesourcery.com>
10637
10638 * math/math.h (M_El): Use two more decimal places.
10639 (M_LOG2El): Likewise.
10640 (M_LOG10El): Likewise.
10641 (M_LN2l): Likewise.
10642 (M_LN10l): Likewise.
10643 (M_PIl): Likewise.
10644 (M_PI_2l): Likewise.
10645 (M_PI_4l): Likewise.
10646 (M_1_PIl): Likewise.
10647 (M_2_PIl): Likewise.
10648 (M_2_SQRTPIl): Likewise.
10649 (M_SQRT2l): Likewise.
10650 (M_SQRT1_2l): Likewise.
10651
10652 2012-05-31 David S. Miller <davem@davemloft.net>
10653
10654 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10655 values between float registers.
10656 * sysdeps/sparc/sparc64/memset.S: Likewise.
10657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10658
10659 2012-05-31 Mike Frysinger <vapier@gentoo.org>
10660
10661 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10662 -D_FORTIFY_SOURCE=1.
10663 (CPPFLAGS-tst-longjmp_chk.c): Define.
10664 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10665 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10666 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10667 CFLAGS-tst-wchar-h.c.
10668
10669 2012-05-31 Marek Polacek <polacek@redhat.com>
10670
10671 [BZ #14132]
10672 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10673 __endmntent_internal): Remove declaration.
10674 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10675 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10676 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10677
10678 2012-05-30 David S. Miller <davem@davemloft.net>
10679
10680 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10681 (___Q_simulate_exceptions): Use real FP ops rather than writing
10682 into the %fsr.
10683 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10684 Likewise.
10685
10686 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10687
10688 [BZ #14117]
10689 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10690 * sysdeps/x86/bits/xtitypes.h: This.
10691
10692 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10693 * sysdeps/x86/bits/wordsize.h: This.
10694
10695 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10696 * sysdeps/x86/bits/huge_vall.h: This.
10697
10698 * sysdeps/i386/bits/select.h: Removed.
10699 * sysdeps/x86_64/bits/select.h: Renamed to ...
10700 * sysdeps/x86/bits/select.h: This.
10701
10702 * sysdeps/i386/bits/setjmp.h: Removed.
10703 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10704 * sysdeps/x86/bits/setjmp.h: This.
10705
10706 * sysdeps/i386/bits/mathdef.h: Removed.
10707 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10708 * sysdeps/x86/bits/mathdef.h: This.
10709
10710 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10711
10712 [BZ #14132]
10713 * include/sys/socket.h (__connect_internal)
10714 (__libc_sa_len_internal): Remove declaration.
10715 (__connect, __libc_sa_len): Declare hidden_proto.
10716 (SA_LEN): Remove use of INTUSE.
10717 * socket/connect.c: Add libc_hidden_def.
10718 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10719 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10720 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10721 alias.
10722 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10723 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10724 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10725 of adding _internal alias.
10726
10727 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10728
10729 [BZ #14117]
10730 * sysdeps/i386/bits/link.h: Removed.
10731 * sysdeps/i386/bits/linkmap.h: Likewise.
10732 * sysdeps/x86_64/bits/link.h: Renamed to ...
10733 * sysdeps/x86/bits/link.h: This.
10734 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10735 * sysdeps/x86/bits/linkmap.h: This.
10736
10737 * sysdeps/i386/bits/endian.h: Removed.
10738 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10739 * sysdeps/x86/bits/endian.h: This.
10740
10741 * sysdeps/i386/bits/byteswap.h: Removed.
10742 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10743 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10744 * sysdeps/x86/bits/byteswap.h: This.
10745 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10746 * sysdeps/x86/bits/byteswap-16.h: This.
10747 * sysdeps/i386/Implies: Add x86.
10748 * sysdeps/x86_64/Implies: Likewise.
10749
10750 2012-05-30 David S. Miller <davem@davemloft.net>
10751
10752 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10753 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10754 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10755 (FP_TRAPPING_EXCEPTIONS): Define.
10756 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10757 (FP_TRAPPING_EXCEPTIONS): Define.
10758 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10759 subnormals only when inexact has been signalled or underflow
10760 exceptions are enabled.
10761 (_FP_PACK_CANONICAL): Likewise.
10762
10763 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10764
10765 [BZ #14183]
10766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10767 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10768
10769 2012-05-30 Richard Henderson <rth@twiddle.net>
10770
10771 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10772 with #ifndef NOT_IN_libc.
10773
10774 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10775 marked to avoid plt entry.
10776
10777 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10778
10779 [BZ #14112]
10780 * Makeconfig (default-abi): New macro.
10781 (abi-includes): Likewise.
10782 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10783 $(abi-$(default-abi)-lib-soname) for soname if defined.
10784 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10785 abi-variants.
10786 * Makefile (installed-stubs): Likewise.
10787 * include/stubs-biarch.h: Removed.
10788 * scripts/lib-names.awk: Only handle one library at a time.
10789 * scripts/soversions.awk: Remove WORDSIZE support.
10790 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10791 entries.
10792 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10793 Removed.
10794 (syscall-list-default-condition): Likewise.
10795 (syscall-list-default-condition): Likewise.
10796 (syscall-list-includes): Likewise.
10797 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10798 syscall-list-* with abi-*. Handle undefined abi-variants.
10799 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10800 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10801 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10802 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10803 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10804 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10805 Removed.
10806 (syscall-list-32-options): Likewise.
10807 (syscall-list-32-condition): Likewise.
10808 (syscall-list-64-options): Likewise.
10809 (syscall-list-64-condition): Likewise.
10810 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10811 macro.
10812 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10813 Renamed to ...
10814 (abi-*): This.
10815 (abi-64-ld-soname): New macro.
10816 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10817 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10818 Renamed to ...
10819 (abi-*): This.
10820 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10821 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10822
10823 2012-05-30 Joseph Myers <joseph@codesourcery.com>
10824
10825 * sysdeps/unix/sysv/linux/kernel-features.h
10826 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10827 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10828 include <kernel-features.h>.
10829 [!__NR_ftruncate64]: Remove conditional code.
10830 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10831 [__NR_ftruncate64]: Make code unconditional.
10832 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10833 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10834 include <kernel-features.h>.
10835 [!__NR_ftruncate64]: Remove conditional code.
10836 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10837 [__NR_ftruncate64]: Make code unconditional.
10838 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10840 include <kernel-features.h>.
10841 [!__NR_ftruncate64]: Remove conditional code.
10842 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10843 [__NR_ftruncate64]: Make code unconditional.
10844 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10846 include <kernel-features.h>.
10847 [!__NR_ftruncate64]: Remove conditional code.
10848 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10849 [__NR_ftruncate64]: Make code unconditional.
10850 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10851
10852 * configure.in (libc_cv_fpie): Weaken to a compile test using
10853 LIBC_TRY_CC_OPTION.
10854 * configure: Regenerated.
10855
10856 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10857
10858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10862 Refreshed.
10863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10869 Refreshed.
10870
10871 2012-05-27 David S. Miller <davem@davemloft.net>
10872
10873 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10874 (___Q_zero): New.
10875 (__Q_simulate_exceptions): Return void. Change to simulate
10876 exceptions by writing into the %fsr.
10877 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10878 (__Qp_handle_exceptions): Likewise.
10879 (numbers): Delete.
10880 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10881 __Qp_handle_exceptions.
10882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10883 __Qp_handle_exceptions.
10884 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10885 as unused and give dummy FP_RND_NEAREST initializer.
10886 (FP_INHIBIT_RESULTS): Define.
10887 (___Q_simulate_exceptions): Update declaration.
10888 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10889 formatting.
10890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10891 as unused and give dummy FP_RND_NEAREST initializer.
10892 (__Qp_handle_exceptions): Update declaration.
10893 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10894 formatting.
10895
10896 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10897
10898 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10899 the temporary FPU control word.
10900 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10901 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10902 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10903 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10904 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10905 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10906 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10907 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10908 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10909 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10910 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10911
10912 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10913
10914 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10915 fields.
10916
10917 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10918
10919 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10920 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10921 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10922 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10923 Likewise.
10924 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10925 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10926 Likewise.
10927
10928 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10929
10930 * po/h.po: Update from translation team.
10931
10932 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10933
10934 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10935
10936 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10937 handling of denormals.
10938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10939 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10940 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10941 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10945 Likewise.
10946
10947 2012-05-26 Marek Polacek <polacek@redhat.com>
10948
10949 [BZ #14152]
10950 * math/libm-test.inc (fma_test): Don't always expect underflow
10951 exception.
10952
10953 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10954
10955 [BZ #12416]
10956 * elf/tst-execstack.c: Include stackinfo.h.
10957 (do_test): Adjust test case to ensure that pthread_getattr_np
10958 behaviour remains the same after marking stack executable.
10959
10960 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10961
10962 * sysdeps/unix/sysv/linux/kernel-features.h
10963 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10964 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10965 kernel-features.h.
10966 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10967 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10968 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10969 kernel-features.h.
10970 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10971 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10972
10973 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10974
10975 * configure.in: Define the default includes to being none.
10976 * configure: Regenerated.
10977
10978 2012-05-25 Roland McGrath <roland@hack.frob.com>
10979
10980 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10981 * sysdeps/x86_64/setjmp.S: Likewise.
10982 * sysdeps/i386/bsd-setjmp.S: Likewise.
10983 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10984 * sysdeps/i386/setjmp.S: Likewise.
10985 * sysdeps/i386/__longjmp.S: Likewise.
10986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10987 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10988
10989 * include/stap-probe.h: New file.
10990 * configure.in: Handle --enable-systemtap.
10991 * configure: Regenerated.
10992 * config.h.in (USE_STAP_PROBE): New #undef.
10993 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10994 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10995 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10996
10997 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10998
10999 [BZ #13717]
11000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11001 to 2.4.0 where earlier.
11002 * sysdeps/unix/sysv/linux/configure: Regenerated.
11003 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11004 <kernel-features.h>.
11005 [__ASSUME_32BITUIDS]: Make code unconditional.
11006 [!__ASSUME_32BITUIDS]: Remove conditional code.
11007 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11008 <kernel-features.h>.
11009 [__ASSUME_32BITUIDS]: Make code unconditional.
11010 [!__ASSUME_32BITUIDS]: Remove conditional code.
11011 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11012 [__ASSUME_32BITUIDS]: Make code unconditional.
11013 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11014 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11015 <kernel-features.h>.
11016 [__ASSUME_32BITUIDS]: Make code unconditional.
11017 [!__ASSUME_32BITUIDS]: Remove conditional code.
11018 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11019 <kernel-features.h>.
11020 [__ASSUME_32BITUIDS]: Make code unconditional.
11021 [!__ASSUME_32BITUIDS]: Remove conditional code.
11022 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11023 <kernel-features.h>.
11024 [__ASSUME_32BITUIDS]: Make code unconditional.
11025 [!__ASSUME_32BITUIDS]: Remove conditional code.
11026 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11027 <kernel-features.h>.
11028 [__ASSUME_32BITUIDS]: Make code unconditional.
11029 [!__ASSUME_32BITUIDS]: Remove conditional code.
11030 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11031 <kernel-features.h>.
11032 [__ASSUME_32BITUIDS]: Make code unconditional.
11033 [!__ASSUME_32BITUIDS]: Remove conditional code.
11034 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11035 <kernel-features.h>.
11036 [__ASSUME_32BITUIDS]: Make code unconditional.
11037 [!__ASSUME_32BITUIDS]: Remove conditional code.
11038 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11039 <kernel-features.h>.
11040 [__ASSUME_32BITUIDS]: Make code unconditional.
11041 [!__ASSUME_32BITUIDS]: Remove conditional code.
11042 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11043 <kernel-features.h>.
11044 [__ASSUME_32BITUIDS]: Make code unconditional.
11045 [!__ASSUME_32BITUIDS]: Remove conditional code.
11046 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11047 <kernel-features.h>.
11048 [__ASSUME_32BITUIDS]: Make code unconditional.
11049 [!__ASSUME_32BITUIDS]: Remove conditional code.
11050 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11051 <kernel-features.h>.
11052 [__ASSUME_32BITUIDS]: Make code unconditional.
11053 [!__ASSUME_32BITUIDS]: Remove conditional code.
11054 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11055 <kernel-features.h>.
11056 [__NR_setresgid] (__setresgid): Do not declare.
11057 [__ASSUME_32BITUIDS]: Make code unconditional.
11058 [!__ASSUME_32BITUIDS]: Remove conditional code.
11059 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11060 <kernel-features.h>.
11061 [__NR_setresuid] (__setresuid): Do not declare.
11062 [__ASSUME_32BITUIDS]: Make code unconditional.
11063 [!__ASSUME_32BITUIDS]: Remove conditional code.
11064 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11065 <kernel-features.h>.
11066 [__ASSUME_32BITUIDS]: Make code unconditional.
11067 [!__ASSUME_32BITUIDS]: Remove conditional code.
11068 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11069 <kernel-features.h>.
11070 [__ASSUME_32BITUIDS]: Make code unconditional.
11071 [!__ASSUME_32BITUIDS]: Remove conditional code.
11072 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11073 <kernel-features.h>.
11074 [__ASSUME_32BITUIDS]: Make code unconditional.
11075 [!__ASSUME_32BITUIDS]: Remove conditional code.
11076 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11077 <kernel-features.h>.
11078 [__ASSUME_32BITUIDS]: Make code unconditional.
11079 [!__ASSUME_32BITUIDS]: Remove conditional code.
11080 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11081 <kernel-features.h>.
11082 [__ASSUME_32BITUIDS]: Make code unconditional.
11083 [!__ASSUME_32BITUIDS]: Remove conditional code.
11084 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11085 <kernel-features.h>.
11086 [__ASSUME_32BITUIDS]: Make code unconditional.
11087 [!__ASSUME_32BITUIDS]: Remove conditional code.
11088 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11089 <kernel-features.h>.
11090 [__ASSUME_32BITUIDS]: Make code unconditional.
11091 [!__ASSUME_32BITUIDS]: Remove conditional code.
11092 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11093 <kernel-features.h>.
11094 [__ASSUME_32BITUIDS]: Make code unconditional.
11095 [!__ASSUME_32BITUIDS]: Remove conditional code.
11096 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11097 <kernel-features.h>.
11098 [__ASSUME_32BITUIDS]: Make code unconditional.
11099 [!__ASSUME_32BITUIDS]: Remove conditional code.
11100 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11101 <kernel-features.h>.
11102 [__ASSUME_32BITUIDS]: Make code unconditional.
11103 [!__ASSUME_32BITUIDS]: Remove conditional code.
11104 * sysdeps/unix/sysv/linux/kernel-features.h
11105 (__ASSUME_SETRESUID_SYSCALL): Remove.
11106 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11107 (__ASSUME_32BITUIDS): Likewise.
11108 (__ASSUME_LDT_WORKS): Likewise.
11109 (__ASSUME_O_DIRECTORY): Likewise.
11110 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11111 architecture but not kernel version.
11112 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11113 (__ASSUME_MMAP2_SYSCALL): Likewise.
11114 (__ASSUME_STAT64_SYSCALL): Likewise.
11115 (__ASSUME_IPC64): Likewise.
11116 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11117 <kernel-features.h>.
11118 [__ASSUME_32BITUIDS]: Make code unconditional.
11119 [!__ASSUME_32BITUIDS]: Remove conditional code.
11120 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11121 <kernel-features.h>.
11122 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11123 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11124 132096]: Remove conditional code.
11125 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11126 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11127 <kernel-features.h>.
11128 [__ASSUME_32BITUIDS]: Make code unconditional.
11129 [!__ASSUME_32BITUIDS]: Remove conditional code.
11130 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11131 <kernel-features.h>.
11132 [__ASSUME_32BITUIDS]: Make code unconditional.
11133 [!__ASSUME_32BITUIDS]: Remove conditional code.
11134 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11135 <kernel-features.h>.
11136 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11137 unconditional.
11138 (__setresgid): Do not declare.
11139 [__ASSUME_32BITUIDS]: Make code unconditional.
11140 [!__ASSUME_32BITUIDS]: Remove conditional code.
11141 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11142 <kernel-features.h>.
11143 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11144 unconditional.
11145 (__setresuid): Do not declare.
11146 [__ASSUME_32BITUIDS]: Make code unconditional.
11147 [!__ASSUME_32BITUIDS]: Remove conditional code.
11148 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11149 <kernel-features.h>.
11150 [__ASSUME_32BITUIDS]: Make code unconditional.
11151 [!__ASSUME_32BITUIDS]: Remove conditional code.
11152 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11153 <kernel-features.h>.
11154 [__ASSUME_32BITUIDS]: Make code unconditional.
11155 [!__ASSUME_32BITUIDS]: Remove conditional code.
11156
11157 2012-05-25 Richard Henderson <rth@twiddle.net>
11158
11159 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11160 dl_hwcap to ifunc resolver.
11161 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11162 elf_ifunc_invoke.
11163 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11164 dl_hwcap to ifunc resolver.
11165 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11166
11167 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11168
11169 [BZ #14153]
11170 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11171 for |x| <= 2**-26, not 2**-57.
11172 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11173 exception.
11174
11175 2012-05-24 Jeff Law <law@redhat.com>
11176
11177 * stdio-common/Makefile (tests): Add bug25.
11178 * stdio-common/bug25.c: New test.
11179
11180 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11181
11182 [BZ #13576]
11183 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11184 multiple of MALLOC_ALIGNMENT in size.
11185 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11186
11187 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11188
11189 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11190 Require >= 256.
11191 (FILENAME_MAX): Use macro-int-constant.
11192 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11193 (_IOFBF): Use macro-int-constant.
11194 (_IOLBF): Likewise.
11195 (_IONBF): Likewise.
11196 (SEEK_CUR): Likewise.
11197 (SEEK_END): Likewise.
11198 (SEEK_SET): Likewise.
11199 (TMP_MAX): Likewise.
11200 (EOF): Use macro-int-constant. Require < 0.
11201 (NULL): Use macro-constant. Require == 0.
11202 (stdin): Require type to be FILE *.
11203 (stdout): Likewise.
11204 (stderr): Likewise.
11205 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11206 macro-int-constant.
11207 (EXIT_SUCCESS): Likewise.
11208 (NULL): Use macro-constant. Require == 0.
11209 (RAND_MAX): Use macro-int-constant.
11210 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11211 [C99-based standards] (strtof): Require function.
11212 [C99-based standards] (strtold): Likewise.
11213 [C99-based standards] (strtoll): Likewise.
11214 [C99-based standards] (strtoull): Likewise.
11215 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11216 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11217 [ISO || ISO99 || ISO11] (math.h): Likewise.
11218 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11219 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11221
11222 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11223
11224 [BZ #14132]
11225 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11226 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11227 * intl/dgettext.c (DCGETTEXT): Likewise.
11228 * intl/gettext.c (DCGETTEXT): Likewise.
11229 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11230 * posix/regex_internal.h (gettext): Likewise.
11231 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11232 Remove declaration.
11233 * include/argz.h (__argz_count_internal)
11234 (__argz_stringify_internal): Remove declaration.
11235 (__argz_count, __argz_stringify): Declare hidden proto.
11236 * intl/dcgettext.c: Remove use of INTDEF.
11237 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11238 * string/argz-stringify.c: Likewise.
11239 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11240 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11241 Declare hidden proto.
11242 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11243 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11244 Declare hidden proto.
11245 * include/stdio.h (__asprintf_internal): Don't declare.
11246 (__asprintf): Don't define as macro. Declare hidden proto.
11247 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11248 (__fsetlocking): Declare hidden proto.
11249 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11250 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11251 hidden proto.
11252 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11253 (_IO_setlinebuf): Remove use of INTUSE.
11254 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11255 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11256 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11257 Remove declaration.
11258 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11259 (_IO_do_flush): Remove use of INTUSE.
11260 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11261 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11262 (_IO_adjust_column, _IO_least_wmarker)
11263 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11264 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11265 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11266 (_IO_default_doallocate, _IO_wdefault_doallocate)
11267 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11268 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11269 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11270 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11271 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11272 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11273 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11274 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11275 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11276 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11277 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11278 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11279 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11280 proto.
11281 (_IO_flush_all_internal, _IO_adjust_column_internal)
11282 (_IO_default_uflow_internal, _IO_default_finish_internal)
11283 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11284 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11285 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11286 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11287 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11288 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11289 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11290 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11291 (_IO_file_close_internal, _IO_file_close_it_internal)
11292 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11293 (_IO_file_init_internal, _IO_file_attach_internal)
11294 (_IO_file_fopen_internal, _IO_file_read_internal)
11295 (_IO_file_sync_internal, _IO_file_seek_internal)
11296 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11297 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11298 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11299 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11300 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11301 (_IO_list_all_internal, _IO_link_in_internal)
11302 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11303 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11304 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11305 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11306 (_IO_do_write_internal, _IO_padn_internal)
11307 (_IO_getline_info_internal, _IO_getline_internal)
11308 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11309 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11310 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11311 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11312 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11313 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11314 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11315 with libc_hidden_ver, remove use of INTUSE.
11316 * libio/genops.c: Likewise.
11317 * libio/freopen.c: Likewise.
11318 * libio/freopen64.c: Likewise.
11319 * libio/iofclose.c: Likewise.
11320 * libio/iofdopen.c: Likewise.
11321 * libio/iofflush.c: Likewise.
11322 * libio/iofflush_u.c: Likewise.
11323 * libio/iofgets.c: Likewise.
11324 * libio/iofgets_u.c: Likewise.
11325 * libio/iofopen.c: Likewise.
11326 * libio/iofopncook.c: Likewise.
11327 * libio/iofread.c: Likewise.
11328 * libio/iofread_u.c: Likewise.
11329 * libio/ioftell.c: Likewise.
11330 * libio/iofwrite.c: Likewise.
11331 * libio/iogetline.c: Likewise.
11332 * libio/iogets.c: Likewise.
11333 * libio/iogetwline.c: Likewise.
11334 * libio/iopadn.c: Likewise.
11335 * libio/iopopen.c: Likewise.
11336 * libio/ioseekoff.c: Likewise.
11337 * libio/ioseekpos.c: Likewise.
11338 * libio/iosetbuffer.c: Likewise.
11339 * libio/iosetvbuf.c: Likewise.
11340 * libio/ioungetc.c: Likewise.
11341 * libio/ioungetwc.c: Likewise.
11342 * libio/iovdprintf.c: Likewise.
11343 * libio/iovsprintf.c: Likewise.
11344 * libio/iovsscanf.c: Likewise.
11345 * libio/memstream.c: Likewise.
11346 * libio/obprintf.c: Likewise.
11347 * libio/oldfileops.c: Likewise.
11348 * libio/oldiofclose.c: Likewise.
11349 * libio/oldiofdopen.c: Likewise.
11350 * libio/oldiofopen.c: Likewise.
11351 * libio/oldiopopen.c: Likewise.
11352 * libio/oldstdfiles.c: Likewise.
11353 * libio/putc.c: Likewise.
11354 * libio/setbuf.c: Likewise.
11355 * libio/setlinebuf.c: Likewise.
11356 * libio/stdfiles.c: Likewise.
11357 * libio/strops.c: Likewise.
11358 * libio/vasprintf.c: Likewise.
11359 * libio/vscanf.c: Likewise.
11360 * libio/vsnprintf.c: Likewise.
11361 * libio/vswprintf.c: Likewise.
11362 * libio/wfiledoalloc.c: Likewise.
11363 * libio/wfileops.c: Likewise.
11364 * libio/wgenops.c: Likewise.
11365 * libio/wmemstream.c: Likewise.
11366 * libio/wstrops.c: Likewise.
11367 * libio/__fpurge.c: Likewise.
11368 * libio/__fsetlocking.c: Likewise.
11369 * assert/assert.c: Likewise.
11370 * debug/fgets_chk.c: Likewise.
11371 * debug/fgets_u_chk.c: Likewise.
11372 * debug/fread_chk.c: Likewise.
11373 * debug/fread_u_chk.c: Likewise.
11374 * debug/gets_chk.c: Likewise.
11375 * debug/obprintf_chk.c: Likewise.
11376 * debug/vasprintf_chk.c: Likewise.
11377 * debug/vdprintf_chk.c: Likewise.
11378 * debug/vsnprintf_chk.c: Likewise.
11379 * debug/vsprintf_chk.c: Likewise.
11380 * malloc/mtrace.c: Likewise.
11381 * misc/error.c: Likewise.
11382 * misc/syslog.c: Likewise.
11383 * stdio-common/asprintf.c: Likewise.
11384 * stdio-common/fxprintf.c: Likewise.
11385 * stdio-common/getw.c: Likewise.
11386 * stdio-common/isoc99_fscanf.c: Likewise.
11387 * stdio-common/isoc99_scanf.c: Likewise.
11388 * stdio-common/isoc99_vfscanf.c: Likewise.
11389 * stdio-common/isoc99_vscanf.c: Likewise.
11390 * stdio-common/isoc99_vsscanf.c: Likewise.
11391 * stdio-common/printf-prs.c: Likewise.
11392 * stdio-common/printf_fp.c: Likewise.
11393 * stdio-common/printf_fphex.c: Likewise.
11394 * stdio-common/printf_size.c: Likewise.
11395 * stdio-common/putw.c: Likewise.
11396 * stdio-common/scanf.c: Likewise.
11397 * stdio-common/sprintf.c: Likewise.
11398 * stdio-common/tmpfile.c: Likewise.
11399 * stdio-common/vfprintf.c: Likewise.
11400 * stdio-common/vfscanf.c: Likewise.
11401 * stdlib/strfmon_l.c: Likewise.
11402 * sunrpc/openchild.c: Likewise.
11403 * sunrpc/xdr_stdio.c: Likewise.
11404 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11405 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11406
11407 2012-05-24 Roland McGrath <roland@hack.frob.com>
11408
11409 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11410
11411 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11412 in the third column, to generate for the shared library an IFUNC
11413 that uses _dl_vdso_vsym.
11414 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11415 * Makeconfig (object-suffixes-noshared): New variable.
11416
11417 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11418 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11419 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11420 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11421
11422 [BZ #14132]
11423 * include/sys/time.h (__gettimeofday): Remove macro.
11424 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11425 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11426 Remove INTDEF.
11427 (__gettimeofday): Add libc_hidden_def.
11428 (gettimeofday): Add libc_hidden_weak.
11429 * sysdeps/mach/gettimeofday.c: Likewise.
11430 * sysdeps/posix/gettimeofday.c: Likewise.
11431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11432 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11434 (__gettimeofday_internal): Remove strong_alias.
11435 (__gettimeofday): Add libc_hidden_def.
11436 (gettimeofday): Add libc_hidden_weak.
11437 * sysdeps/unix/syscalls.list (gettimeofday):
11438 Remove __gettimeofday_internal alias.
11439
11440 2012-05-24 Daniel Jacobowitz <drow@false.org>
11441 H.J. Lu <hongjiu.lu@intel.com>
11442
11443 [BZ #12495]
11444 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11445 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11446 (largebin_index_32_big): New.
11447 (largebin_index): Use it for 16-byte alignment.
11448 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11449 correction with front_misalign.
11450
11451 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11452
11453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11455 Likewise.
11456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11457 Likewise.
11458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11459 Likewise.
11460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11461 Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11463 Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11465 Likewise.
11466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11467 Likewise.
11468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11469 Likewise.
11470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11471 Likewise.
11472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11473 Likewise.
11474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11475 Likewise.
11476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11477 Likewise.
11478
11479 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11480 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11481
11482 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11483
11484 [BZ #10846]
11485 [BZ #14036]
11486 * math/libm-test.inc (exp_test): Add test from bug 14036.
11487 (pow_test): Add test from bug 10846.
11488
11489 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11490 and other flags.
11491 (special_function): Do not include flags in test name.
11492 (parse_args): Likewise.
11493 * sysdeps/i386/fpu/libm-test-ulps: Update.
11494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11495 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11496 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11498
11499 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11500 exceptions.
11501 * math/libm-test.inc ("Philosophy"): Update comment about
11502 exception testing.
11503 (UNDERFLOW_EXCEPTION): New macro.
11504 (UNDERFLOW_EXCEPTION_OK): Likewise.
11505 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11506 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11507 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11508 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11509 (INVALID_EXCEPTION_OK): Update value.
11510 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11511 (OVERFLOW_EXCEPTION_OK): Likewise.
11512 (IGNORE_ZERO_INF_SIGN): Likewise.
11513 (test_exceptions): Handle underflow exceptions.
11514 (acos_test): Update for underflow exception expectations.
11515 (cexp_test): Likewise.
11516 (clog_test): Likewise.
11517 (clog10_test): Likewise.
11518 (csqrt_test): Likewise.
11519 (ctan_test): Likewise.
11520 (ctanh_test): Likewise.
11521 (exp_test): Likewise.
11522 (exp10_test): Likewise.
11523 (exp2_test): Likewise.
11524 (expm1_test): Likewise.
11525 (fma_test): Likewise.
11526 (j0_test): Likewise.
11527 (jn_test): Likewise.
11528 (nexttoward_test): Likewise.
11529 (pow_test): Likewise.
11530 (scalbn_test): Likewise.
11531 (scalbln_test): Likewise.
11532 (tan_test): Likewise.
11533 (y1_test): Likewise.
11534 * sysdeps/i386/fpu/libm-test-ulps: Update.
11535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11536
11537 2012-05-23 David S. Miller <davem@davemloft.net>
11538
11539 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11540 (__libc_sigaction): Remove unused local variables.
11541
11542 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11543
11544 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11545
11546 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11547
11548 mktime: avoid signed integer overflow
11549 * time/mktime.c (__mktime_internal): Do not mishandle the case
11550 where diff == INT_MIN.
11551
11552 mktime: simplify computation of average
11553 * time/mktime.c (ranged_convert): Use new time_t_avg function
11554 instead of rolling our own (probably-slower) code.
11555
11556 mktime: do not assume signed right shift propagates sign bit
11557 * time/mktime.c (isdst_differ): New static function.
11558 (__mktime_internal): No need to normalize tm_isdst now.
11559 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11560 tm_isdst values.
11561
11562 mktime: merge another wrapv change from gnulib
11563 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11564 from some compilers.
11565
11566 mktime: remove incorrect attempt at unusual arithmetics
11567 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11568 The code didn't really work on such machines anyway.
11569 (TYPE_MINIMUM): Assume two's complement.
11570 (twos_complement_arithmetic): Verify that long_int and time_t
11571 are two's complement (or unsigned, in the latter case).
11572
11573 mktime: check signed shifts on long_int and time_t, too
11574 * time/mktime.c (SHR): Check that shifts work as desired
11575 on the types long_int and time_t too, as SHR is used on
11576 such types.
11577
11578 mktime: do not assume 'long' is wide enough
11579 * time/mktime.c (verify): Move decl up.
11580 (long_int): New type.
11581 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11582 to remove assumption in the code that 'long' is wide enough to
11583 store year values. This assumption is not true on x32 and on
11584 some non-glibc platforms.
11585
11586 mktime: merge wrapv change from gnulib
11587 * time/mktime.c (WRAPV): New macro.
11588 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11589 (guess_time_tm, __mktime_internal): Do not assume that signed
11590 integer overflow wraps around; modern compilers generate code
11591 where this assumption is no longer valid.
11592
11593 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11594
11595 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11596 Replace "jmp L(pseudo_end)" with "ret".
11597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11598 Likewise.
11599
11600 2012-05-23 Andreas Jaeger <aj@suse.de>
11601
11602 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11603 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11604
11605 2012-05-23 Andreas Jaeger <aj@suse.de>
11606 Maximilian Attems <max@stro.at>
11607
11608 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11609 New macros.
11610
11611 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11614 code so that pseudo_end is just ret and the stack pointer is
11615 correct also for static library in error case.
11616
11617 2012-05-23 Joseph Myers <joseph@codesourcery.com>
11618
11619 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11620 move to syscalls.list.
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11625
11626 * manual/install.texi (Running make install): Do not mention Linux
11627 kernel version for which pt_chown is not needed.
11628 (Linux): Do not mention problems with nscd with 2.0 kernels.
11629 * INSTALL: Regenerated.
11630
11631 2012-05-23 Andreas Jaeger <aj@suse.de>
11632
11633 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11634 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11635 macro.
11636 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11637 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11638 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11639 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11640 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11641 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11643 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11644 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11646 * sysdeps/unix/sysv/linux/bits/in.h
11647 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11648
11649 2012-05-22 Roland McGrath <roland@hack.frob.com>
11650
11651 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11652 (PREPARE_VERSION): Just use assert instead, it will be elided
11653 under [NDEBUG] anyway.
11654
11655 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11656
11657 * sysdeps/unix/sysv/linux/Makefile: Include
11658 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11659 (sysdep_routines): Remove sysctl.
11660 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11661 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11662 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11663 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11664 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11665
11666 2012-05-22 Andreas Jaeger <aj@suse.de>
11667
11668 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11669 that pseudo_end is just ret and the stack pointer is correct also
11670 for static library in error case.
11671
11672 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11673
11674 [BZ #14122]
11675 * nss/nsswitch.c (defconfig_entries): New variable.
11676 (__nss_database_lookup): Don't leak defconfig entries.
11677 (nss_parse_service_list): Don't leak on error paths.
11678 (free_database_entries): New function.
11679 (free_defconfig): New function.
11680 (free_mem): Move common code to free_database_entries.
11681
11682 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11683
11684 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11685 Add arch_prctl.
11686 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11687
11688 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11689 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11691 New macro.
11692 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11693 (INTERNAL_SYSCALL_TYPES): Likewise.
11694 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11695 (LOAD_REGS_TYPES_[1-6]): Likewise.
11696 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11697 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11698
11699 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11700
11701 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11702 copysignl for GLIBC_2_0.
11703 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11704 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11706 logbl for GLIBC_2_0.
11707 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11708 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11709
11710 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11711
11712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11713 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11714
11715 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11716 Use "neg %eax".
11717
11718 * time/mktime.c: Update copyright years.
11719
11720 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11721
11722 mktime: merge comment-quoting-style change from gnulib
11723 * time/mktime.c: Quote 'like this' in comments.
11724 The GNU coding standards suggest that we no longer quote `like this',
11725 as "`" and "'" are typically rendered asymmetrically nowadays.
11726 The typical gnulib style is to quote 'like this' when quoting
11727 code, and "like this" when quoting English.
11728
11729 * time/mktime.c (compile-command): Add "-I.".
11730
11731 mktime: merge mktime-internal.h change from gnulib
11732 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11733
11734 mktime: merge time_r change from gnulib
11735 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11736
11737 mktime: merge DEBUG change from gnulib
11738 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11739 case system <time.h> has a #define.
11740
11741 mktime: merge <sys/types.h> change from gnulib
11742 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11743 since <time.t> is now guaranteed to define time_t.
11744
11745 mktime: merge HAVE_CONFIG_H change from gnulib
11746 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11747
11748 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11751 Use "neg %eax".
11752
11753 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11754 __rlim_t cast.
11755 (struct rusage): Use anonymous union to pad each field to
11756 __syscall_slong_t.
11757
11758 2012-05-21 David S. Miller <davem@davemloft.net>
11759
11760 * Makefules (o-iterator): Remove .s cases.
11761 (compile-command.s): Delete.
11762 (COMPILE.s): Delete.
11763 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11764
11765 2012-05-21 Joseph Myers <joseph@codesourcery.com>
11766
11767 * configure.in (libc_cv_predef_stack_protector): Only consider
11768 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11769 * configure: Regenerated.
11770
11771 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11772
11773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11774 New macro. Use R*LP on int and pointer.
11775 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11777 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11778 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11779
11780 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11781 [__WORDSIZE_TIME64_COMPAT32] instead of
11782 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11783 (struct utmp): Likewise.
11784 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11785 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11786 Renamed to ...
11787 (__WORDSIZE_TIME64_COMPAT32): This.
11788 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11789 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11790 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11791 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11792 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11793 (__WORDSIZE_TIME64_COMPAT32): New macro.
11794
11795 2012-05-21 Andreas Jaeger <aj@suse.de>
11796
11797 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11798 only if [SHARED]. Add prototype for __wcschr_ia32.
11799
11800 2012-05-21 Roland McGrath <roland@hack.frob.com>
11801
11802 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11803 of %rbp unmolested in the jmp_buf while mangling the low bits.
11804 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11805 unmolested high bits of %rbp while demangling the low bits.
11806 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11807
11808 2012-05-21 Andreas Jaeger <aj@suse.de>
11809
11810 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11811 * sunrpc/svc_simple.c: Use it for registerrpc.
11812 * sunrpc/xcrypt.c: Use it for passwd2des.
11813
11814 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11815
11816 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11817
11818 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11819 Don't define if [__SYSCALL_WORDSIZE != 32].
11820 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11821 New macro.
11822
11823 2012-05-21 Bruno Haible <bruno@clisp.org>
11824 Andreas Jaeger <aj@suse.de>
11825
11826 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11827 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11828 inptr and inend for must_buffer_ch.
11829 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11830 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11831 * stdio-common/Makefile (tests): Remove bug15.
11832 (bug15-ENV): Remove macro.
11833 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11834 anymore.
11835
11836 2012-05-19 Andreas Jaeger <aj@suse.de>
11837 Roland McGrath <roland@hack.frob.com>
11838
11839 * manual/contrib.texi: Completely rewritten. It contains now an
11840 alphabetical list of contributors and their contributions.
11841
11842 2012-05-21 Richard Henderson <rth@twiddle.net>
11843
11844 * misc/getauxval.c (__getauxval): Use unsigned long int.
11845 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11846 (getauxval): Use unsigned long int.
11847
11848 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11849
11850 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11851
11852 2012-05-21 Roland McGrath <roland@hack.frob.com>
11853
11854 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11855 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11856 __alignof__ (long double).
11857
11858 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11859
11860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11861
11862 2012-05-20 Richard Henderson <rth@twiddle.net>
11863
11864 * misc/getauxval.c: New file.
11865 * misc/sys/auxv.h: New file.
11866 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11867 (routines): Add getauxval.
11868 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11869 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11870 * elf/dl-sysdep.c (_dl_auxv): Remove.
11871 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11872 * elf/dl-support.c (_dl_auxv): New variable.
11873 (_dl_aux_init): Initialize it.
11874 * manual/startup.texi (Auxiliary Vector): New node.
11875 * sysdeps/generic/bits/hwcap.h: New file.
11876 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11877 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11878 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11879 * sysdeps/sparc/sysdep.h: ... here. Include it.
11880 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11883 Update.
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11887 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11892
11893 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11894
11895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11896
11897 2012-05-19 David S. Miller <davem@davemloft.net>
11898
11899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11900
11901 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11902
11903 [BZ #14123]
11904 * math/s_ccosh.c: Include <float.h>
11905 (__ccosh): Avoid internal overflow calculating sinh and cosh
11906 values before multiplying by sin and cos values.
11907 * math/s_ccoshf.c: Likewise.
11908 * math/s_ccoshl.c: Likewise.
11909 * math/s_csin.c: Likewise.
11910 * math/s_csinf.c: Likewise.
11911 * math/s_csinl.c: Likewise.
11912 * math/s_csinh.c: Likewise.
11913 * math/s_csinhf.c: Likewise.
11914 * math/s_csinhl.c: Likewise.
11915 * math/libm-test.inc (ccos_test): Add more tests.
11916 (ccosh_test): Likewise.
11917 (csin_test): Likewise.
11918 (csinh_test): Likewise.
11919 * sysdeps/i386/fpu/libm-test-ulps: Update.
11920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11921
11922 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11923
11924 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11925 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11926
11927 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11928
11929 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11930
11931 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11932 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11933 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11934 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11935 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11936 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11937 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11938 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11939 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11940 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11941 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11942 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11943 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11944 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11945 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11946 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11947 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11948 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11949 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11950 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11951 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11952 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11953 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11954 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11955 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11956 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11957 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11958 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11959 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11960 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11961 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11962
11963 2012-05-18 Andreas Jaeger <aj@suse.de>
11964
11965 * csu/.gitignore: Delete.
11966
11967 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11968
11969 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11970 (timex): Use __syscall_slong_t.
11971
11972 2012-05-18 Andreas Jaeger <aj@suse.de>
11973 Carlos O'Donell <carlos_odonell@mentor.com>
11974
11975 * manual/install.texi (Configuring and compiling): Update
11976 description about files modified in the source directory.
11977 * INSTALL: Regenerated.
11978
11979 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11980
11981 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11982 value. Use "or" to set return value to -1.
11983 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11984 negate return value.
11985
11986 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11987
11988 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11989 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11990 failure if the compiler has Graphite support disabled.
11991 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11992 Likewise.
11993 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11994 CFLAGS-memmove.c): Likewise.
11995 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11996 Likewise.
11997
11998 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11999
12000 * sysdeps/x86_64/x32/_itoa.h: New file.
12001
12002 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12003 getdents system call only if kernel and user dirents have the
12004 same d_ino and d_off.
12005
12006 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12007 LLONG_MAX != LONG_MAX.
12008 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12009 (_fitoa_word): Likewise.
12010
12011 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12012 years.
12013 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12014 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12015 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12016
12017 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12018 include <bits/wordsize.h>. Check __x86_64__ instead of
12019 __WORDSIZE.
12020 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12021 if __x86_64__ is defined. Use anonymous union on fpstate.
12022
12023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12024 anonymous union.
12025
12026 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12027
12028 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12029 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12030 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12031 Refer to _rtld_local_ro instead of _rtld_global_ro.
12032 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12033 Likewise.
12034 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12035 Likewise.
12036 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12037 Likewise.
12038 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12039 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12040 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12041
12042 * sysdeps/powerpc/powerpc32/dl-machine.c
12043 (__elf_machine_runtime_setup) [PROF]: Don't reference
12044 _dl_prof_resolve.
12045
12046 2012-05-18 Andreas Jaeger <aj@suse.de>
12047
12048 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12049 function only available for GCCs before 3.4 since GCC 3.4
12050 introduced a builtin.
12051 (lrint): Likewise.
12052 (llrintf): Likewise.
12053 (llrint): Likewise.
12054 (fmaxf): Likewise.
12055 (fmax): Likewise.
12056 (fminf): Likewise.
12057 (fmin): Likewise.
12058 (rint): Likewise.
12059 (rintf): Likewise.
12060 (nearbyint): Likewise.
12061 (nearbyintf): Likewise.
12062 (ceil): Likewise.
12063 (ceilf): Likewise.
12064 (floor): Likewise.
12065 (floorf): Likewise.
12066
12067 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12068
12069 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12070 on both fields and cast pointer to __syscall_ulong_t.
12071
12072 * bits/types.h (__fsword_t): New type.
12073 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12074 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12076 (__FSWORD_T_TYPE): Likewise.
12077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12078 (__FSWORD_T_TYPE): Likewise.
12079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12080 (__FSWORD_T_TYPE): Likewise.
12081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12082 (__FSWORD_T_TYPE): Likewise.
12083 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12084 __SWORD_TYPE with __fsword_t.
12085 (statfs64): Likewise.
12086
12087 2012-05-17 David S. Miller <davem@davemloft.net>
12088
12089 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12090
12091 2012-05-17 Andreas Jaeger <aj@suse.de>
12092
12093 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12094 warning.
12095
12096 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12097
12098 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12099
12100 2012-05-17 Andreas Jaeger <aj@suse.de>
12101
12102 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12103 when it is used.
12104
12105 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12106
12107 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12108
12109 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12110
12111 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12112 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12113
12114 2012-05-17 Andreas Jaeger <aj@suse.de>
12115 Carlos O'Donell <carlos_odonell@mentor.com>
12116
12117 [BZ #14059]
12118 * sysdeps/x86_64/multiarch/init-arch.h
12119 (bit_YMM_Usable): Rename to...
12120 (bit_AVX_Usable): ... this.
12121 (bit_FMA4_Usable): New macro.
12122 (bit_XMM_state): New macro.
12123 (bit_YMM_state): New macro.
12124 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12125 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12126 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12127 (CPUID_OSXSAVE): New macro.
12128 (CPUID_AVX): New macro.
12129 (CPUID_FMA4): New macro.
12130 (index_YMM_Usable): Rename to...
12131 (index_AVX_Usable): ... this.
12132 (HAS_AVX): Use HAS_ARCH_FEATURE.
12133 (HAS_FMA4): Likewise.
12134 (HAS_YMM_USABLE): Remove.
12135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12136 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12137 are present.
12138 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12139 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12140 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12141 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12142 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12143
12144 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12145
12146 * math/libm-test.c: Support platforms without multiple rounding modes.
12147 * math/bug-nextafter.c: Support platforms without FP exceptions.
12148 * math/bug-nexttoward.c: Likewise.
12149 * math/test-fenv.c: Likewise.
12150 * math/test-misc.c: Likewise.
12151 * stdlib/bug-getcontext.c: Likewise.
12152
12153 2012-05-17 Andreas Jaeger <aj@suse.de>
12154
12155 * manual/examples/search.c (critter_cmp): Change signature to
12156 avoid warnings.
12157 * manual/string.texi (Collation Functions): Likewise.
12158
12159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12160
12161 * bits/types.h: Fold copyright years.
12162 * bits/typesizes.h: Likewise.
12163 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12167 * time/time.h: Likewise.
12168
12169 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12170
12171 [BZ #208]
12172 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12173 in instead of returning them. Return void.
12174 (__libc_mallinfo): Accumulate over all arenas.
12175 (__malloc_stats): Adjust for change in int_mallinfo interface.
12176
12177 2012-05-16 Roland McGrath <roland@hack.frob.com>
12178
12179 [BZ #10375]
12180 * configure.in (NM): Add AC_CHECK_TOOL for it.
12181 (libc_extra_cflags): New substituted variable.
12182 Check for -fstack-protector being used implicitly.
12183 * configure: Regenerated.
12184 * config.make.in (config-extra-cflags): New variable,
12185 gets @libc_extra_cflags@.
12186 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12187
12188 [BZ #10375]
12189 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12190 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12191 * configure: Regenerated.
12192 * config.make.in (CPPUNDEFS): New substituted variable.
12193 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12194 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12195 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12196
12197 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12198
12199 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12200 (mq_attr): Use __syscall_slong_t.
12201
12202 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12203
12204 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12205 Check __x86_64__ instead of __WORDSIZE.
12206 (_STAT_VER_LINUX): Likewise.
12207 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12208 __syscall_ulong_t and __syscall_slong_t.
12209 (stat64): Likewise.
12210
12211 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12212
12213 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12214
12215 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12216
12217 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12218
12219 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12222 __syscall_ulong_t.
12223
12224 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12225 include <bits/wordsize.h>. Check __x86_64__ instead of
12226 __WORDSIZE.
12227 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12228 defined.
12229 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12230
12231 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12232 include <bits/wordsize.h>. Check __x86_64__ instead of
12233 __WORDSIZE.
12234 (user_regs_struct): Use "__extension__ unsigned long long"
12235 instead of "unsigned long" if __x86_64__ is defined.
12236 (user): Likewise. Pad after pointer field if __ILP32__ is
12237 defined.
12238
12239 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12240
12241 * configure.in (makeinfo): Require version 4.5 or later. Allow
12242 versions 5 to 9.
12243 * configure: Regenerated.
12244 * manual/install.texi (texinfo): Increase version requirement to
12245 4.5 or later.
12246 * INSTALL: Regenerated.
12247
12248 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12249
12250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12251
12252 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12253
12254 * sysdeps/x86_64/x32/ffs.c: New file.
12255
12256 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12257 __syscall_ulong_t.
12258 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12259 defined. Use __syscall_ulong_t.
12260 (shminfo): Use __syscall_ulong_t.
12261 (shm_info): Likewise.
12262
12263 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12264 __syscall_ulong_t.
12265
12266 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12267 <bits/wordsize.h>.
12268 (msgqnum_t): Use __syscall_ulong_t.
12269 (msglen_t): Likewise.
12270 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12271 __syscall_ulong_t.
12272
12273 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12274 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12275
12276 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12277
12278 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12279 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12280
12281 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12282 __syscall_slong_t.
12283
12284 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12285 include <bits/wordsize.h>. Check __x86_64__ instead of
12286 __WORDSIZE.
12287
12288 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12289 "unsigned long long int" if __x86_64__ is defined.
12290 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12291
12292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12293 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12294 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12295
12296 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12297 <stdint.h>.
12298 (GET_PC): Cast to uintptr_t first.
12299 (GET_FRAME): Likewise.
12300 (GET_STACK): Likewise.
12301
12302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12303 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12305 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12307 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12308 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12312 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12314 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12316 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12318 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12320 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12321 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12323 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12324 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12325 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12326 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12327 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12328 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12329 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12330 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12331
12332 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12333
12334 * Makerules (+depfiles): Also collect depfiles from .oS in
12335 $(extra-objs).
12336 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12337 .oS, $(libnldbl-routines)).
12338
12339 * Makerules (native-compile-mkdep-flags): Define.
12340 * sunrpc/Makefile (extra-objs): Add $(addprefix
12341 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12342 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12343 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12344 calling $(make-target-directory).
12345
12346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12347
12348 * bits/types.h (__snseconds_t): Removed.
12349 * time/time.h (struct timespec): Replace __snseconds_t with
12350 __syscall_slong_t.
12351 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12352 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12353 Likewise.
12354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12355 (__SNSECONDS_T_TYPE): Likewise.
12356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12357 (__SNSECONDS_T_TYPE): Likewise.
12358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12359 (__SNSECONDS_T_TYPE): Likewise.
12360
12361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12362
12363 * sysdeps/mach/hurd/bits/typesizes.h
12364 (__SYSCALL_SLONG_TYPE): New macro.
12365 (__SYSCALL_ULONG_TYPE): Likewise.
12366
12367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 * bits/types.h (__syscall_slong_t): New type.
12370 (__syscall_ulong_t): Likewise.
12371
12372 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12373 (__SYSCALL_ULONG_TYPE): Likewise.
12374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12375 (__SYSCALL_SLONG_TYPE): Likewise.
12376 (__SYSCALL_ULONG_TYPE): Likewise.
12377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12378 (__SYSCALL_SLONG_TYPE): Likewise.
12379 (__SYSCALL_ULONG_TYPE): Likewise.
12380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12381 (__SYSCALL_SLONG_TYPE): Likewise.
12382 (__SYSCALL_ULONG_TYPE): Likewise.
12383
12384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12385
12386 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12387 Add sigaltstack-offsets.sym.
12388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12389 <sigaltstack-offsets.h>.
12390 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12391 longjmp_msg pointer.
12392 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12393 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12394 signal stack.
12395 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12396
12397 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12398
12399 * elf/stackguard-macros.h: Remove file.
12400 * sysdeps/generic/stackguard-macros.h: New file.
12401 * sysdeps/i386/stackguard-macros.h: Likewise.
12402 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12403 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12404 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12405 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12406 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12407 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12408 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12409 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12410 <elf/stackguard-macros.h>.
12411
12412 [BZ #14109]
12413 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12414 __aligned__ in attribute.
12415 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12416 (gregset_t): Likewise.
12417
12418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12419
12420 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12421 * sysdeps/x86_64/64/Implies-after: Here. New file.
12422 * sysdeps/x86_64/x32/Implies-after: New file.
12423
12424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12425
12426 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12427 and access return value for _dl_profile_fixup. Use R10_LP to
12428 load frame size.
12429
12430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12431
12432 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12433
12434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12435
12436 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12437 * sysdeps/x86_64/x32/sysdep.h: New file.
12438
12439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12440
12441 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12442 * sysdeps/x86_64/setjmp.S: Likewise.
12443
12444 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12445
12446 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12447 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12448 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12449 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12450 remove unused global constant.
12451
12452 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12453
12454 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12455 include of <not-cancel.h>.
12456
12457 2012-05-15 Roland McGrath <roland@hack.frob.com>
12458
12459 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12460
12461 2012-05-15 Jeff Law <law@redhat.com>
12462 Andreas Jaeger <aj@suse.de>
12463
12464 [BZ #13594]
12465 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12466 out from...
12467 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12468 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12469 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12470 code changing __hst_map_handle.map.
12471
12472 2012-05-15 Roland McGrath <roland@hack.frob.com>
12473
12474 * configure.in (sysnames): Look for Implies-before and Implies-after
12475 files.
12476 * configure: Regenerated.
12477
12478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12479
12480 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12481 8-byte data alignment with LP_SIZE alignment.
12482
12483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12484
12485 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12486 into R10_LP.
12487
12488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12489
12490 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12491
12492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12493
12494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12495 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12496 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12497 Likewise.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12499
12500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12501
12502 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12503 (stackinfo_sub_sp): Likewise.
12504
12505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12506
12507 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12508 RAX_LP.
12509
12510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12511
12512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12513 into R*_LP.
12514
12515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12518 sizes into R*_LP.
12519
12520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12521
12522 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12523
12524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12525
12526 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12527 into R11_LP and load __x86_64_shared_cache_size_half into
12528 R8_LP.
12529
12530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12533 R8_LP.
12534
12535 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12536
12537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12538 logb for POWER7.
12539 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12540 logbf for POWER7.
12541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12542 logbl for POWER7.
12543 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12544 powerpc32/power7/fpu/s_logb.c via #include.
12545 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12546 powerpc32/power7/fpu/s_logbf.c via #include.
12547 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12548 powerpc32/power7/fpu/s_logbl.c via #include.
12549
12550 2012-05-15 Joseph Myers <joseph@codesourcery.com>
12551
12552 * README.libm: Remove file.
12553
12554 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12555
12556 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12557 count for x32. Use R*_LP and omit operand-size suffix.
12558
12559 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12562 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12563 * sysdeps/x86_64/x32/shlib-versions: New file.
12564
12565 2012-05-14 Roland McGrath <roland@hack.frob.com>
12566
12567 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12568 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12569 Use _dl_fatal_printf instead.
12570
12571 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12572
12573 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12574 set if not set by the user. Do not allow for being unset.
12575 * sysdeps/unix/sysv/linux/configure: Regenerated.
12576
12577 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12578
12579 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12580 the `q' suffix from lea and replace .quad with ASM_ADDR.
12581
12582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12583
12584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12585 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12586 instead of $17.
12587 (PTR_DEMANGLE): Likewise.
12588
12589 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12590
12591 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12592 (LP_OP): Likewise.
12593 (ASM_ADDR): Likewise.
12594 (RAX_LP): Likewise.
12595 (RBP_LP): Likewise.
12596 (RBX_LP): Likewise.
12597 (RCX_LP): Likewise.
12598 (RDI_LP): Likewise.
12599 (RSI_LP): Likewise.
12600 (RSP_LP): Likewise.
12601 (R8_LP): Likewise.
12602 (R9_LP): Likewise.
12603 (R10_LP): Likewise.
12604 (R10_LP): Likewise.
12605 (R11_LP): Likewise.
12606 (R12_LP): Likewise.
12607 (R13_LP): Likewise.
12608 (R14_LP): Likewise.
12609 (R15_LP): Likewise.
12610
12611 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12612
12613 * sysdeps/x86_64/x32/dl-machine.h: New file.
12614
12615 2012-05-14 Andreas Jaeger <aj@suse.de>
12616
12617 * manual/Makefile (subdir): Remove export of subdir.
12618 (all): Remove target.
12619 (.PHONY): Remove all from list.
12620 (mkinstalldirs): Remove.
12621 (.PHONY): Remove installdirs from list.
12622 ($(inst_infodir)/libc.info): Use make-target-directory.
12623 (installdirs): Remove.
12624 (subdir_%): Remove.
12625 (glibc-targets): Remove.
12626 (lib): Remove.
12627 (stubs): Remove.
12628 ($(objpfx)stubs ../po/manual.pot): Remove.
12629 ($(objpfx)stamp%): Remove.
12630 (make-target-directory): Remove.
12631 (subdir_install): Remove.
12632 (routines): Remove.
12633 (aux): Remove.
12634 (sources): Remove.
12635 (objects): Remove.
12636 (headers): Remove.
12637
12638 [BZ #13750]
12639 * manual/.gitignore: Remove, it's not needed anymore.
12640 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12641 all files in it.
12642 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12643 directory.
12644 (texis): Renamed to $(objpfx)texis.
12645 (texis-path): New, contains path to generated files.
12646 (chapters.%): Use texis-path for complete path, add extra argument
12647 libc-texinfo.sh.
12648 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12649 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12650 (summary,texi, stamp-summary): Use complete path of
12651 files. Generate files in build dir.
12652 (dir-add.texi): Build in build dir.
12653 (libm-err.texi,stamp-libm-err): Likewise.
12654 (version.texi, stamp-version): Likewise.
12655 (.%c.texi): Likewise.
12656 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12657 (mostlyclean): Remove target.
12658 (realclean): Remove target.
12659 (generated): Add new variable with contents from mostlyclean and
12660 realclean, remove entries duplicated in common-mostlyclean, add
12661 stamp-libm-err and stamp-version.
12662 (generated-dirs): Add libc directory.
12663 ($(inst_infodir)/libc.info): Install files from build dir.
12664
12665 * manual/install.texi (Configuring and compiling): Adjust since
12666 the info files are not part of the tar ball anymore.
12667
12668 2012-05-14 Andreas Jaeger <aj@suse.de>
12669
12670 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12671 variable.
12672
12673 2012-05-14 Joseph Myers <joseph@codesourcery.com>
12674
12675 [BZ #13717]
12676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12677 to 2.2.0 where earlier.
12678 * sysdeps/unix/sysv/linux/configure: Regenerated.
12679 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12680 Remove conditional code.
12681 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12682 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12683 Remove conditional code.
12684 [!__NR_lchown]: Likewise.
12685 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12686 [__NR_lchown]: Likewise.
12687 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12688 comment referencing __ASSUME_LCHOWN_SYSCALL.
12689 * sysdeps/unix/sysv/linux/i386/sigaction.c
12690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12692 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12693 Remove conditional code.
12694 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12695 (__protocol_available): Remove #if 0 code.
12696 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12697 conditional code.
12698 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12699 * sysdeps/unix/sysv/linux/kernel-features.h
12700 (__ASSUME_GETCWD_SYSCALL): Don't define.
12701 (__ASSUME_REALTIME_SIGNALS): Likewise.
12702 (__ASSUME_PREAD_SYSCALL): Likewise.
12703 (__ASSUME_PWRITE_SYSCALL): Likewise.
12704 (__ASSUME_POLL_SYSCALL): Likewise.
12705 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12706 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12707 non-SPARC.
12708 (__ASSUME_SIOCGIFNAME): Don't define.
12709 (__ASSUME_MSG_NOSIGNAL): Likewise.
12710 (__ASSUME_SENDFILE): Define unconditionally.
12711 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12712 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12713 conditional code.
12714 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12715 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12716 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12717 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12718 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12719 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12720 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12722 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12734 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12740 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12745 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12746 Remove conditional code.
12747 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12748 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12749 Remove conditional code.
12750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12751 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12752 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12753 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12754 Remove conditional code.
12755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12756 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12757 Remove conditional code.
12758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12759 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12760 Remove conditional code.
12761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12762 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12763 Remove conditional code.
12764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12765 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12766 Remove conditional code.
12767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12768 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12771 * sysdeps/unix/sysv/linux/sigaction.c
12772 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12773 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12774 * sysdeps/unix/sysv/linux/sigpending.c
12775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12777 * sysdeps/unix/sysv/linux/sigprocmask.c
12778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12780 * sysdeps/unix/sysv/linux/sigsuspend.c
12781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12784 (__libc_missing_rt_sigs): Remove.
12785 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12786 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12787 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12788 Remove conditional code.
12789 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12790 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12791 return 1.
12792 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12793 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12795 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12796
12797 2012-05-14 Andreas Jaeger <aj@suse.de>
12798
12799 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12800 it's not used in glibc.
12801 (__coshm1): Likewise.
12802 (__acosh1p): Likewise.
12803 (__sgn): Likewise.
12804
12805 * manual/string.texi (Copying and Concatenation): Add missing
12806 variable in concat example.
12807 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12808
12809 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12810
12811 [BZ #14103]
12812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12813 __builtin_clzl with __builtin_clzll.
12814
12815 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12816
12817 [BZ #14104]
12818 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12819 libc_freeres_ptr.
12820
12821 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12822
12823 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12824 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12825 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12826 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12827
12828 2012-05-14 Mike Frysinger <vapier@gentoo.org>
12829
12830 * NEWS: Update ia64 info.
12831
12832 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12833
12834 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12835 used as bcopy.
12836
12837 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12838
12839 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12840 * sysdeps/unix/syscalls.list (dup3): Likewise.
12841 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12842 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12843
12844 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12845
12846 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12847 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12848
12849 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12850
12851 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12852 thread pointer.
12853 (TLS_IE): Use mov/add instead of movq/addq to load thread
12854 pointer.
12855 (TLS_GD_PREFIX): New.
12856 (TLS_GD): Use it.
12857
12858 2012-05-11 David S. Miller <davem@davemloft.net>
12859
12860 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12861 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12862 (_FPU_SETCW): Likewise.
12863
12864 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12865
12866 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12867 is 32-byte aligned.
12868
12869 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12870
12871 [BZ #11837]
12872 * iconvdata/gb18030.c: Update tables.
12873 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12874 characters specially.
12875 (BODY for TO_LOOP): Add encoding of missing ranges.
12876
12877 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12878
12879 [BZ #13673]
12880 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12881 * sysdeps/mach/hurd/dup3.c: Likewise.
12882 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12883 * sysdeps/powerpc/memmove.c:: Likewise.
12884
12885 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12888 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12889
12890 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12891
12892 * elf/elf.h (R_X86_64_RELATIVE64): New.
12893 (R_X86_64_NUM): Updated.
12894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12895 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12896 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12897 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12898 tst-quad1pie tst-quad2pie
12899 (modules-names): Add tst-quadmod1 tst-quadmod2.
12900 ($(objpfx)tst-quad1): New dependency.
12901 ($(objpfx)tst-quad2): Likewise.
12902 ($(objpfx)tst-quad1pie): Likewise.
12903 ($(objpfx)tst-quad2pie): Likewise.
12904 * sysdeps/x86_64/tst-quad1.c: New file.
12905 * sysdeps/x86_64/tst-quad1pie.c: New file.
12906 * sysdeps/x86_64/tst-quad2.c: Likewise.
12907 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12908 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12909 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12910 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12911 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12912
12913 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12914
12915 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12916 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12917 * streams/stropts.h (t_scalar_t): Define type.
12918
12919 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12920 (_PATH_PRESERVE): Set to "/var/lib".
12921 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12922
12923 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12924 instead of int.
12925
12926 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12927 if __dir_mkfile succeeded.
12928
12929 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12930 checking for _hurd_dtablesize. Unlock it right after having
12931 finished _hurd_dtable allocation.
12932
12933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12934
12935 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12936 * sysdeps/mach/hurd/configure: Regenerated.
12937 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12938 special-casing to...
12939 * sysdeps/gnu/configure.in: ... this new file.
12940 * sysdeps/unix/sysv/linux/configure: Regenerated.
12941 * sysdeps/gnu/configure: New generated file.
12942
12943 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12944 for Linux: use nsec instead of usec, as well as:
12945 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12946 members of type struct timespec.
12947 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12948 New macros.
12949 (struct stat64): Likewise.
12950 (_STATBUF_ST_NSEC): New macro.
12951 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12952
12953 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12954 __strtoul_internal rather than strtoul.
12955
12956 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12957
12958 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12959 and reject them.
12960
12961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12962
12963 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12964 which preserves existing values.
12965 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12966
12967 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12968
12969 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12970 TIMEOUT values. Return EINVAL for NFDS values either negative or
12971 greater than FD_SETSIZE.
12972
12973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12974
12975 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12976 allocated, call __vm_protect to finish enabling the existing space, and
12977 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12978 allocate the remainder.
12979
12980 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12981
12982 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12983 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12984
12985 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12986
12987 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12988 sysdeps/mach/hurd/readlink.c.
12989
12990 * posix/tst-sysconf.c (posix_options): Only use
12991 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12992 _POSIX_SYNCHRONIZED_IO when they are defined
12993 * sysdeps/mach/hurd/bits/posix_opt.h:
12994 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12995 (_XOPEN_REALTIME): Undefine macro.
12996 (_XOPEN_REALTIME_THREADS): Undefine macro.
12997 (_XOPEN_SHM): Undefine macro.
12998 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12999 macro to -1.
13000 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13001 macro to -1.
13002 (_POSIX_ASYNC_IO): Undefine macro.
13003 (_POSIX_PRIORITIZED_IO): Undefine macro.
13004 (_POSIX_SPIN_LOCKS): Define macro to -1.
13005
13006 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13007 SA_NODEFER, SA_RESETHAND.
13008 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13009 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13010 F_DUPFD_CLOEXEC.
13011
13012 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13013
13014 * elf/Makefile (pldd-modules): Define unconditionally.
13015
13016 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13017
13018 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13019
13020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13021
13022 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13023 Return ENOENT when name is empty.
13024 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13025
13026 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13027
13028 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13029
13030 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13031
13032 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13033
13034 Fix mlock in all cases except non-readable pages.
13035 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13036 instead of VM_PROT_ALL as parameter to __vm_wire function.
13037
13038 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13039 (__mkdir): When path is `/', just fail with EEXIST.
13040 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13041
13042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13043
13044 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13045 <sys/uio.h> (for writev).
13046 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13047 and <sys/param.h> (for MIN).
13048
13049 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13050
13051 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13052 REQUESTED_TIME. Properly set the remaining time and return EINTR
13053 if interrupted.
13054
13055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13056
13057 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13058 Depend on against $(link-rpcuserlibs).
13059
13060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13061
13062 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13063 (__libc_stack_end): Do not use attribute_relro.
13064 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13065 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13066 to libthread-provided value.
13067 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13068 attribute_relro.
13069
13070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13071
13072 [BZ #3748]
13073 * bits/libc-lock.h (__libc_once_get): New macro.
13074 * sysdeps/mach/bits/libc-lock.h: Likewise.
13075 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13076 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13077 instead of using implementation details.
13078
13079 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13080 * libio/freopen.c: Likewise.
13081 * libio/freopen64.c: Likewise.
13082 * misc/syslog.c: Likewise.
13083 * nscd/connections.c: Likewise.
13084 * nscd/netgroupcache.c: Likewise.
13085 * sysdeps/posix/getcwd.c: Likewise.
13086
13087 2012-05-10 Roland McGrath <roland@hack.frob.com>
13088
13089 * math/w_ilogbf.c: Add #include <limits.h>.
13090
13091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13092
13093 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13094 path instead of returning without unlocking.
13095
13096 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13097 immediate-write ioctls.
13098 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13099
13100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13101
13102 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13103 __builtin_frame_address instead of making assumptions about the
13104 location of the return address relative to DATA. Force early load of
13105 the return address.
13106 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13107 __builtin_frame_address.
13108
13109 dup3 for GNU Hurd.
13110 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13111 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13112 implement dup3 and do some further code clean-ups.
13113 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13114 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13115
13116 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13117
13118 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13119
13120 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13121 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13122 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13123 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13124 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13125 d->port.lock.
13126
13127 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13128 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13129 when handler == SIG_ERR, not when handler != SIG_ERR.
13130
13131 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13132
13133 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13134 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13135 definitions.
13136
13137 accept4 for GNU Hurd.
13138 * include/sys/socket.h (__libc_accept4): New prototype.
13139 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13140 to implement __libc_accept4.
13141 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13142 __libc_accept4.
13143 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13144
13145 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13146 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13147 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13148 signal-defines.sym.
13149
13150 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13151
13152 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13153
13154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13155
13156 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13157 assertion on O_CLOEXEC flag.
13158 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13159 * hurd/intern-fd.c: Likewise.
13160 * hurd/port2fd.c: Likewise.
13161
13162 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13163
13164 [BZ #3906]
13165 * bits/in.h (IPV6_PKTINFO): Define new macro.
13166 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13167
13168 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13169
13170 [BZ #13954]
13171 [BZ #13955]
13172 [BZ #13956]
13173 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13175 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13176 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13178 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13179 * math/libm-test.inc (logb_test) : Additional logb tests.
13180
13181 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13182 Andreas Jaeger <aj@suse.de>
13183
13184 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13185 * configure: Regenerated.
13186 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13187 * config.make.in (link-obsolete-rpc): New substituted variable.
13188 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13189 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13190 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13191 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13192 so that libc.a contains the symbols.
13193 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13194 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13195 * sunrpc/auth_none.c: Likewise.
13196 * sunrpc/auth_unix.c: Likewise.
13197 * sunrpc/authdes_prot.c: Likewise.
13198 * sunrpc/authuxprot.c: Likewise.
13199 * sunrpc/clnt_gen.c: Likewise.
13200 * sunrpc/clnt_perr.c: Likewise.
13201 * sunrpc/clnt_raw.c: Likewise.
13202 * sunrpc/clnt_simp.c: Likewise.
13203 * sunrpc/clnt_tcp.c: Likewise.
13204 * sunrpc/clnt_udp.c: Likewise.
13205 * sunrpc/clnt_unix.c: Likewise.
13206 * sunrpc/des_crypt.c: Likewise.
13207 * sunrpc/des_soft.c: Likewise.
13208 * sunrpc/get_myaddr.c: Likewise.
13209 * sunrpc/key_call.c: Likewise.
13210 * sunrpc/key_prot.c: Likewise.
13211 * sunrpc/netname.c: Likewise.
13212 * sunrpc/pm_getmaps.c: Likewise.
13213 * sunrpc/pm_getport.c: Likewise.
13214 * sunrpc/pmap_clnt.c: Likewise.
13215 * sunrpc/pmap_prot.c: Likewise.
13216 * sunrpc/pmap_prot2.c: Likewise.
13217 * sunrpc/pmap_rmt.c: Likewise.
13218 * sunrpc/publickey.c: Likewise.
13219 * sunrpc/rpc_cmsg.c: Likewise.
13220 * sunrpc/rpc_common.c: Likewise.
13221 * sunrpc/rpc_dtable.c: Likewise.
13222 * sunrpc/rpc_prot.c: Likewise.
13223 * sunrpc/rpc_thread.c: Likewise.
13224 * sunrpc/rtime.c: Likewise.
13225 * sunrpc/svc.c: Likewise.
13226 * sunrpc/svc_auth.c: Likewise.
13227 * sunrpc/svc_raw.c: Likewise.
13228 * sunrpc/svc_run.c: Likewise.
13229 * sunrpc/svc_tcp.c: Likewise.
13230 * sunrpc/svc_udp.c: Likewise.
13231 * sunrpc/svc_unix.c: Likewise.
13232 * sunrpc/svcauth_des.c: Likewise.
13233 * sunrpc/xcrypt.c: Likewise.
13234 * sunrpc/xdr.c: Likewise.
13235 * sunrpc/xdr_array.c: Likewise.
13236 * sunrpc/xdr_float.c: Likewise.
13237 * sunrpc/xdr_intXX_t.c: Likewise.
13238 * sunrpc/xdr_mem.c: Likewise.
13239 * sunrpc/xdr_rec.c: Likewise.
13240 * sunrpc/xdr_ref.c: Likewise.
13241 * sunrpc/xdr_sizeof.c: Likewise.
13242 * sunrpc/xdr_stdio.c: Likewise.
13243
13244 2012-05-10 Roland McGrath <roland@hack.frob.com>
13245
13246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13247 change. Update copyright years.
13248
13249 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13250
13251 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13252
13253 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13254 Joseph Myers <joseph@codesourcery.com>
13255 Paul Pluzhnikov <ppluzhnikov@google.com>
13256
13257 [BZ #14012]
13258 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13259 requiring rpcgen.
13260 [cross-compiling] (extra-libs): Likewise.
13261 [cross-compiling] (extra-libs-others): Likewise.
13262 [cross-compiling] (librpcsvc-routines): Likewise.
13263 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13264 [cross-compiling] (omit-deps): Likewise.
13265 (sunrpc-CPPFLAGS): New variable.
13266 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13267 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13268 (cross-rpcgen-objs): New variable.
13269 (extra-objs): Append $(cross-rpcgen-objs).
13270 ($(cross-rpcgen-objs)): New rule.
13271 ($(objpfx)cross-rpcgen): Likewise.
13272 (rpcgen-cmd): Define to use $(built-program-file). Expand
13273 comment.
13274 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13275 ($(objpfx)x%.stmp): Likewise.
13276 * sunrpc/proto.h [IS_IN_build] (_): Define.
13277 [IS_IN_build] (_libc_intl_domainname): Likewise.
13278
13279 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13280
13281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13282 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13283 and R_X86_64_TPOFF64.
13284
13285 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13286
13287 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13288 sysdeps/unix/sysv/syscalls.list.
13289 (stime): Likewise.
13290 (utime): Likewise.
13291 * sysdeps/unix/sysv/syscalls.list: Remove file.
13292
13293 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13294
13295 [BZ #3440]
13296 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13297 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13298 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13299 (__LC_IDENTIFICATION): Make these macros useful in #if
13300 expressions, as required by C99.
13301
13302 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13303
13304 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13305 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13306 after this.
13307
13308 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13309
13310 * stdlib/longlong.h: Updated from GCC.
13311
13312 2012-05-09 Andreas Jaeger <aj@suse.de>
13313
13314 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13315 default is first entry.
13316 (run_mode): Set type.
13317 (main): Remove informal message about syslog.
13318 (options): Fix typo.
13319
13320 [BZ #14053]
13321 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13322 to asm.
13323 (lrint): Likewise.
13324 (llrintf): Likewise.
13325 (llrint): Likewise.
13326 (rint): Likewise.
13327 (rintf): Likewise.
13328 (nearbyint): Likewise.
13329 (nearbyintf): Likewise.
13330
13331 2012-05-09 Andreas Jaeger <aj@suse.de>
13332 Pedro Alves <palves@redhat.com>
13333
13334 * nscd/nscd.c (run_mode): Use enum.
13335 (main): Cleanup coding style issue.
13336
13337 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
13338 Andreas Jaeger <aj@suse.de>
13339
13340 * nscd/nscd.c (go_background): Replaced with...
13341 (run_mode): ... this.
13342 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13343 (options): Add -F --foreground.
13344 (main): Implement it.
13345 (parse_opt): Parse it.
13346
13347 2012-05-09 Andreas Jaeger <aj@suse.de>
13348
13349 [BZ #14083]
13350 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13351 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13352 -Wconversion warning.
13353 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13354 Likewise.
13355
13356 2012-05-09 Joseph Myers <joseph@codesourcery.com>
13357
13358 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13359 == 0.
13360 (LC_ALL): Use macro-int-constant.
13361 (LC_COLLATE): Likewise.
13362 (LC_CTYPE): Likewise.
13363 (LC_MESSAGES): Likewise.
13364 (LC_MONETARY): Likewise.
13365 (LC_NUMERIC): Likewise.
13366 (LC_TIME): Likewise.
13367 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13368 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13370 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13371 Specify type.
13372 [C99-based standards] (float_t): Expect type.
13373 [C99-based standards] (double_t): Expect type.
13374 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13375 type.
13376 [C99-based standards] (HUGE_VALL): Likewise.
13377 [C99-based standards] (INFINITY): Likewise.
13378 [C99-based standards] (NAN): Likewise.
13379 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13380 [C99-based standards] (FP_NAN): Likewise.
13381 [C99-based standards] (FP_NORMAL): Likewise.
13382 [C99-based standards] (FP_SUBNORMAL): Likewise.
13383 [C99-based standards] (FP_ZERO): Likewise.
13384 [C99-based standards] (FP_FAST_FMA): Use
13385 optional-macro-int-constant. Specify type. Require == 1.
13386 [C99-based standards] (FP_FAST_FMAF): Likewise.
13387 [C99-based standards] (FP_FAST_FMAL): Likewise.
13388 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13389 [C99-based standards] (FP_ILOGBNAN): Likewise.
13390 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13391 Specify type.
13392 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13393 [C99-based standards] (math_errhandling): Specify type.
13394 [ISO99 || ISO11] (signgam): Do not allow.
13395 [non-C99-based standards] (copysignf): Do not allow.
13396 [non-C99-based standards] (exp2f): Likewise.
13397 [non-C99-based standards] (log2f): Likewise.
13398 [non-C99-based standards] (modff): Allow.
13399 [non-C99-based standards] (erff): Do not allow.
13400 [non-C99-based standards] (erfcf): Likewise.
13401 [non-C99-based standards] (gammaf): Likewise.
13402 [non-C99-based standards] (hypotf): Likewise.
13403 [non-C99-based standards] (j0f): Likewise.
13404 [non-C99-based standards] (j1f): Likewise.
13405 [non-C99-based standards] (jnf): Likewise.
13406 [non-C99-based standards] (lgammaf): Likewise.
13407 [non-C99-based standards] (tgammaf): Likewise.
13408 [non-C99-based standards] (y0f): Likewise.
13409 [non-C99-based standards] (y1f): Likewise.
13410 [non-C99-based standards] (ynf): Likewise.
13411 [non-C99-based standards] (isnanf): Likewise.
13412 [non-C99-based standards] (acoshf): Likewise.
13413 [non-C99-based standards] (asinhf): Likewise.
13414 [non-C99-based standards] (atanhf): Likewise.
13415 [non-C99-based standards] (cbrtf): Likewise.
13416 [non-C99-based standards] (expm1f): Likewise.
13417 [non-C99-based standards] (ilogbf): Likewise.
13418 [non-C99-based standards] (log1pf): Likewise.
13419 [non-C99-based standards] (logbf): Likewise.
13420 [non-C99-based standards] (nextafterf): Likewise.
13421 [non-C99-based standards] (remainderf): Likewise.
13422 [non-C99-based standards] (rintf): Likewise.
13423 [non-C99-based standards] (scalbf): Likewise.
13424 [non-C99-based standards] (copysignl): Likewise.
13425 [non-C99-based standards] (exp2l): Likewise.
13426 [non-C99-based standards] (log2l): Likewise.
13427 [non-C99-based standards] (modfl): Allow.
13428 [non-C99-based standards] (erfl): Do not allow.
13429 [non-C99-based standards] (erfcl): Likewise.
13430 [non-C99-based standards] (gammal): Likewise.
13431 [non-C99-based standards] (hypotl): Likewise.
13432 [non-C99-based standards] (j0l): Likewise.
13433 [non-C99-based standards] (j1l): Likewise.
13434 [non-C99-based standards] (jnl): Likewise.
13435 [non-C99-based standards] (lgammal): Likewise.
13436 [non-C99-based standards] (tgammal): Likewise.
13437 [non-C99-based standards] (y0l): Likewise.
13438 [non-C99-based standards] (y1l): Likewise.
13439 [non-C99-based standards] (ynl): Likewise.
13440 [non-C99-based standards] (isnanl): Likewise.
13441 [non-C99-based standards] (acoshl): Likewise.
13442 [non-C99-based standards] (asinhl): Likewise.
13443 [non-C99-based standards] (atanhl): Likewise.
13444 [non-C99-based standards] (cbrtl): Likewise.
13445 [non-C99-based standards] (expm1l): Likewise.
13446 [non-C99-based standards] (ilogbl): Likewise.
13447 [non-C99-based standards] (log1pl): Likewise.
13448 [non-C99-based standards] (logbl): Likewise.
13449 [non-C99-based standards] (nextafterl): Likewise.
13450 [non-C99-based standards] (remainderl): Likewise.
13451 [non-C99-based standards] (rintl): Likewise.
13452 [non-C99-based standards] (scalbl): Likewise.
13453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13454 [non-C99-based standards] (FP_*): Do not allow.
13455 [C99-based standards] (FP_*): Change to
13456 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13457 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13458 allow.
13459 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13460 (SIG_ERR): Likewise.
13461 [X/Open-based standards] (SIG_HOLD): Likewise.
13462 (SIG_IGN): Likewise.
13463 (SIGABRT): Use macro-int-constant. Specify type. Require
13464 positive value.
13465 (SIGFPE): Likewise.
13466 (SIGILL): Likewise.
13467 (SIGINT): Likewise.
13468 (SIGSEGV): Likewise.
13469 (SIGTER): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13488 [X/Open-based standards] (SIGTRAP): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13493 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13494 allow.
13495
13496 2012-05-08 Ian Wienand <ianw@vmware.com>
13497
13498 [BZ #14080]
13499 * time/tzset.c (__tzset_parse_tz): Update default rules for
13500 daylight time changes in the Energy Policy Act of 2005.
13501
13502 2012-05-09 Andreas Jaeger <aj@suse.de>
13503
13504 [BZ #13983]
13505 * elf/ldconfig.c (parse_conf): Change string to make clear that
13506 ldconfig only issued a warning if ld.so.conf does not exist.
13507
13508 2012-05-08 David S. Miller <davem@davemloft.net>
13509
13510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13511 movxtod instead of popping the value on the stack.
13512
13513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13514
13515 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13516
13517 * config.h.in: Add HAVE_ARM_PCS_VFP.
13518
13519 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
13520
13521 [BZ #13979]
13522 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13523 checking but the checks are disabled for any reason.
13524
13525 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13526
13527 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13528 and ELF64_R_TYPE with ELFW(R_TYPE).
13529
13530 2012-05-08 Joseph Myers <joseph@codesourcery.com>
13531
13532 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13533 (ulimit): Likewise.
13534
13535 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13536 (settimeofday): Likewise.
13537
13538 2012-05-08 Mike Frysinger <vapier@gentoo.org>
13539
13540 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13541 a struct th_u2 inside the union, and move tu_block/tu_code into
13542 a new th_u3 union of tu_block/tu_code inside of that. Move
13543 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13544 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13545 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13546 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13547 (th_stuff): Change to th_u1.tu_stuff.
13548 (th_data): Define.
13549 (th_msg): Change to th_u1.th_u2.tu_data.
13550
13551 2012-05-07 David S. Miller <davem@davemloft.net>
13552
13553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13554
13555 [BZ #14074]
13556 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13557 (SETUP_PIC_REG): Use it.
13558 (SETUP_PIC_REG_LEAF): Use it.
13559
13560 2012-05-07 Joseph Myers <joseph@codesourcery.com>
13561
13562 [BZ #13885]
13563 [BZ #13923]
13564 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13565 USE_AS_EXPM1L.
13566 (EXPL_FINITE): Likewise.
13567 (FLDLOG): Likewise.
13568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13569 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13570 e_expl.S.
13571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13572 USE_AS_EXPM1L.
13573 (EXPL_FINITE): Likewise.
13574 (FLDLOG): Likewise.
13575 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13576 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13577 e_expl.S.
13578 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13579 test of -max_value argument for long double.
13580 * sysdeps/i386/fpu/libm-test-ulps: Update.
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13582
13583 2012-05-06 David S. Miller <davem@davemloft.net>
13584
13585 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13586 quad soft-float symbols whose references which are compiler
13587 generated.
13588 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13589
13590 2012-05-06 Joseph Myers <joseph@codesourcery.com>
13591
13592 [BZ #13884]
13593 [BZ #13914]
13594 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13595 USE_AS_EXP10L.
13596 (EXPL_FINITE): Likewise.
13597 (FLDLOG): Likewise.
13598 (c0): Likewise.
13599 (c1): Likewise.
13600 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13601 Adjust comments for base varying.
13602 (__expl_finite): Change alias to EXPL_FINITE.
13603 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13604 e_expl.S.
13605 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13606 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13608 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13609 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13610 USE_AS_EXP10L.
13611 (EXPL_FINITE): Likewise.
13612 (FLDLOG): Likewise.
13613 (c0): Likewise.
13614 (c1): Likewise.
13615 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13616 Adjust comments for base varying.
13617 (__expl_finite): Change alias to EXPL_FINITE.
13618 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13619 tests for bugs.
13620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13621
13622 [BZ #14064]
13623 * math/libm-test.inc (check_float_internal): Correct ulp
13624 calculation for subnormal expected results.
13625
13626 2012-05-06 Andreas Jaeger <aj@suse.de>
13627
13628 * Makeconfig (+math-flags): New, set to -frounding-math.
13629 (+cflags): Add +math-flags so that all of glibc gets compiled with
13630 it.
13631
13632 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13633
13634 2012-05-05 Joseph Myers <joseph@codesourcery.com>
13635
13636 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13637 Disable one test.
13638
13639 [BZ #13787]
13640 [BZ #13922]
13641 [BZ #14036]
13642 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13643 (__ieee754_expl): Allow for and saturate large arguments.
13644 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13645 (u_threshold): Likewise.
13646 (__exp): Call __ieee754_exp before checking for overflow and
13647 underflow.
13648 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13649 (u_threshold): Likewise.
13650 (__expf): Call __ieee754_expf before checking for overflow and
13651 underflow.
13652 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13653 (u_threshold): Likewise.
13654 (__expl): Call __ieee754_expl before checking for overflow and
13655 underflow.
13656 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13657 (__ieee754_expl): Allow for and saturate large arguments.
13658 * math/libm-test.inc (exp_test): Add another test. Do not allow
13659 missing overflow exception on overflow.
13660 (expm1_test): Do not allow missing overflow exception on overflow.
13661
13662 * sysdeps/i386/fpu/e_expl.c: Move to ...
13663 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13664 rather than using inline asm.
13665 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13666 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13667 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13668
13669 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13670 (nice): Likewise.
13671 (poll): Likewise.
13672 (signal): Likewise.
13673 (time): Likewise.
13674 (times): Likewise.
13675
13676 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13677
13678 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13679 sysdeps/unix/common/syscalls.list.
13680 (fchmod): Likewise.
13681 (fchown): Likewise.
13682 (ftruncate): Likewise.
13683 (getrusage): Likewise.
13684 (gettimeofday): Likewise.
13685 (setpgid): Likewise.
13686 (setregid): Likewise.
13687 (setreuid): Likewise.
13688 (sigaction): Likewise.
13689 (truncate): Likewise.
13690 (vhangup): Likewise.
13691 * sysdeps/unix/common/syscalls.list: Remove file.
13692 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13693 * sysdeps/unix/sysv/linux/Implies: Likewise.
13694
13695 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13696
13697 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13699 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13700 Moved to ...
13701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13702 Here.
13703 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13704 to ...
13705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13706 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13707 to ...
13708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13709 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13710 to ...
13711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13712 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13713 to ...
13714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13715 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13716 to ...
13717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13718 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13719 to ...
13720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13721 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13722 to ...
13723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13724 Here.
13725 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13726 to ...
13727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13728 Here.
13729 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13730 to ...
13731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13732 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13733 Moved to ...
13734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13735 Here.
13736 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13737 to ...
13738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13739
13740 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13741
13742 * sysdeps/unix/common/bits/dirent.h: Remove file.
13743 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13744
13745 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13746 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13747 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13748 * sysdeps/unix/bsd/isatty.c: Likewise.
13749 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13750 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13751 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13752
13753 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13754
13755 [BZ #13563]
13756 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13757 long double comparison inaccuracies.
13758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13760
13761 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13762
13763 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13765
13766 2012-05-04 Joseph Myers <joseph@codesourcery.com>
13767
13768 [BZ #14049]
13769 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13770 nonzero digits before rounding a hex value.
13771 * stdlib/tst-strtod.c (tests): Add another test.
13772
13773 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13774
13775 * sysdeps/s390/fpu/libm-test-ulps: Update.
13776
13777 2012-05-03 Andreas Jaeger <aj@suse.de>
13778
13779 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13780 does not get optimized out.
13781 (malloc_opt_barrier): New.
13782
13783 2012-05-03 Andreas Jaeger <aj@suse.de>
13784 Roland McGrath <roland@hack.frob.com>
13785
13786 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13787 intermediate file deletion.
13788 (generated): Add .symlist files.
13789
13790 2012-05-03 Joseph Myers <joseph@codesourcery.com>
13791
13792 [BZ #13775]
13793 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13794 Redirect under this condition.
13795 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13796 [__USE_GNU] (__dprintf_chk): Not under this condition.
13797 [__USE_GNU] (__vdprintf_chk): Likewise.
13798 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13799 under this condition.
13800 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13801 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13802 [__USE_XOPEN2K8] (vdprintf): Likewise.
13803 [__USE_GNU] (__dprintf_chk): Not under this condition.
13804 [__USE_GNU] (__vdprintf_chk): Likewise.
13805 [__USE_GNU] (dprintf): Likewise.
13806 [__USE_GNU] (vdprintf): Likewise.
13807
13808 2012-05-03 Roland McGrath <roland@hack.frob.com>
13809
13810 * elf/Makefile (common-generated): Set this instead of generated for
13811 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13812 $(all-built-dso)-derived lists.
13813
13814 2012-05-03 Andreas Jaeger <aj@suse.de>
13815
13816 * sysdeps/i386/fpu/libm-test-ulps: Update.
13817
13818 * FAQ: Removed.
13819 * FAQ.in: Likewise.
13820 * scripts/gen-FAQ.pl: Likewise.
13821 * manual/install.texi (Installation): Point to online location of
13822 FAQ.
13823 * Makefile (files-for-dist): Remove FAQ.
13824 (FAQ): Remove.
13825
13826 2012-05-02 Allan McRae <allan@archlinux.org>
13827
13828 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13829 (LDFLAGS-reldepmod5.so): Likewise.
13830 (LDFLAGS-reldep6mod1.so): Likewise.
13831 (LDFLAGS-reldep6mod4.so): Likewise.
13832 (LDFLAGS-reldep8mod3.so): Likewise.
13833 (LDFLAGS-unload4mod1.so): Likewise.
13834 (LDFLAGS-unload4mod2.so): Likewise.
13835 (LDFLAGS-tst-initorder): Likewise.
13836 (LDFLAGS-tst-initordera2.so): Likewise.
13837 (LDFLAGS-tst-initordera3.so): Likewise.
13838 (LDFLAGS-tst-initordera4.so): Likewise.
13839 (LDFLAGS-tst-initorderb2.so): Likewise.
13840 (LDFLAGS-noload): Likewise.
13841 (LDFLAGS-next): Likewise.
13842 (LDFLAGS-order2mod1.so): Likewise.
13843 (LDFLAGS-order2mod2.so): Likewise.
13844 (LDFLAGS-tst-initorder2): Likewise.
13845 (LDFLAGS-tst-initorder2a.so): Likewise.
13846 (LDFLAGS-tst-initorder2b.so): Likewise.
13847 (LDFLAGS-tst-initorder2c.so): Likewise.
13848 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13849
13850 2012-05-02 David S. Miller <davem@davemloft.net>
13851
13852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13853
13854 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13855
13856 [BZ #14055]
13857 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13858
13859 2012-05-02 Andreas Jaeger <aj@suse.de>
13860
13861 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13862 since we manipulate rounding mode.
13863 (CPPFLAGS-test-idouble.c): Likewise.
13864 (CPPFLAGS-test-ifloat.c): Likewise.
13865 (CFLAGS-test-ldouble.c): Likewise.
13866 (CFLAGS-test-double.c): Likewise.
13867 (CFLAGS-test-float.c): Likewise.
13868 (CFLAGS-test-misc.c): Likewise.
13869 (CFLAGS-test-test-fenv.c): Likewise.
13870
13871 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13872
13873 [BZ #2550]
13874 [BZ #2570]
13875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13876 comparisons to determine direction to adjust input.
13877
13878 2012-05-01 Roland McGrath <roland@hack.frob.com>
13879
13880 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13881 output to the target.
13882
13883 * scripts/localplt.awk: New file.
13884 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13885 (check-localplt-CFLAGS): Variable removed.
13886 ($(all-built-dso:=.jmprel)): New static pattern rule.
13887 (generated): Add those targets.
13888 (localplt-built-dso): New variable.
13889 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13890
13891 * elf/check-localplt.c: File removed.
13892
13893 * scripts/check-execstack.awk: New file.
13894 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13895 (check-execstack-CFLAGS): Variable removed.
13896 ($(objpfx)check-execstack.h): Target removed.
13897 ($(objpfx)execstack-default): New target.
13898 (generated): Add that instead of check-execstack.h.
13899 ($(all-built-dso:=.phdr)): New static pattern rule.
13900 (generated): Add those targets.
13901 * elf/check-execstack.c: File removed.
13902
13903 * scripts/check-textrel.awk: New file.
13904 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13905 (check-textrel-CFLAGS): Variable removed.
13906 (all-built-dso): Use := to define.o
13907 ($(all-built-dso:=.dyn)): New static pattern rule.
13908 (generated): Add those targets.
13909 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13910 * config.make.in (READELF): New substituted variable.
13911 * elf/check-textrel.c: File removed.
13912
13913 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13914
13915 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13916 allow.
13917 * conform/data/ctype.h-data [C99-based standards] (isblank):
13918 Expect function.
13919 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13920 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13922 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13923 Specify type. Require positive value.
13924 (EILSEQ): Likewise.
13925 (ERANGE): Likewise.
13926 [ISO || POSIX] (EILSEQ): Do not expect.
13927 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13928 Specify type. Require positive value.
13929 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13930 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13931 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13932 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13933 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13934 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13935 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13936 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13937 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13938 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13939 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13940 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13941 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13942 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13943 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13944 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13945 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13946 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13947 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13948 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13949 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13950 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13951 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13952 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13953 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13954 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13955 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13956 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13957 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13958 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13959 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13960 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13961 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13962 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13963 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13964 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13965 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13966 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13967 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13968 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13969 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13970 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13971 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13972 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13973 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13974 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13975 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13976 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13977 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13978 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13979 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13980 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13981 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13982 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13983 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13984 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13985 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13986 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13987 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13988 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13989 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13990 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13991 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13992 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13993 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13994 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13995 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13996 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13997 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13998 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13999 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14000 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14001 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14002 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14003 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14004 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14005 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14006 Require >= 2.
14007 (FLT_ROUNDS): Expect as macro, not constant.
14008 (FLT_MANT_DIG): Use macro-int-constant.
14009 (DBL_MANT_DIG): Likewise.
14010 (LDBL_MANT_DIG): Likewise.
14011 (FLT_DIG): Likewise.
14012 (DBL_DIG): Likewise.
14013 (LDBL_DIG): Likewise.
14014 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14015 (DBL_MIN_EXP): Likewise.
14016 (LDBL_MIN_EXP): Likewise.
14017 (FLT_MAX_EXP): Use macro-int-constant.
14018 (DBL_MAX_EXP): Likewise.
14019 (LDBL_MAX_EXP): Likewise.
14020 (FLT_MAX_10_EXP): Likewise.
14021 (DBL_MAX_10_EXP): Likewise.
14022 (LDBL_MAX_10_EXP): Likewise.
14023 (FLT_MAX): Use macro-constant.
14024 (DBL_MAX): Likewise.
14025 (LDBL_MAX): Likewise.
14026 (FLT_EPSILON): Use macro-constant. Give upper bound.
14027 (DBL_EPSILON): Likewise.
14028 (LDBL_EPSILON): Likewise.
14029 (FLT_MIN): Likewise.
14030 (DBL_MIN): Likewise.
14031 (LDBL_MIN): Likewise.
14032 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14033 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14034 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14035 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14036 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14037 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14038 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14039 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14040 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14041 [ISO11] (FLT_TRUE_MIN): Likewise.
14042 [ISO11] (LDBL_TRUE_MIN): Likewise.
14043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14044 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14045 (SCHAR_MIN): Use macro-int-constant. Specify type.
14046 (SCHAR_MAX): Likewise.
14047 (UCHAR_MAX): Likewise.
14048 (CHAR_MIN): Likewise.
14049 (CHAR_MAX): Likewise.
14050 (MB_LEN_MAX): Use macro-int-constant.
14051 (SHRT_MIN): Use macro-int-constant. Specify type.
14052 (SHRT_MAX): Likewise.
14053 (USHRT_MAX): Likewise.
14054 (INT_MAX): Likewise.
14055 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14056 bound negative.
14057 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14058 bound with "U".
14059 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14060 bound with "L".
14061 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14062 bound negative. Suffix upper bound with "L".
14063 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14064 bound with "UL".
14065 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14066 Specify type.
14067 [C99-based standards] (LLONG_MAX): Likewise.
14068 [C99-based standards] (ULLONG_MAX): Likewise.
14069 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14070 == 0.
14071 [ISO11] (max_align_t): Require type.
14072 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14073
14074 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14075 from $CFLAGS, without defining away __attribute__ calls.
14076 (checknamespace): Use $CFLAGS_namespace.
14077
14078 * conform/conformtest.pl (@keywords): Only include C99 keywords
14079 for standards based on C99 or C11.
14080
14081 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14082 Disable tests.
14083 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14084 UNIX98]: Likewise.
14085
14086 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14087 usability of symbols in #if.
14088
14089 * conform/conformtest.pl: If macro or constant types start
14090 "promoted:", expect the symbol to be of the following type
14091 promoted by the integer promotions.
14092
14093 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14094 in one place. Also handle "macro-constant".
14095
14096 * conform/conformtest.pl: Only accept expected macro values with
14097 "==". Parse all "macro" lines in one place.
14098 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14099
14100 * conform/conformtest.pl: Handle braced types on "constant" lines
14101 instead of handling "typed-constant".
14102 * conform/data/signal.h-data: Use "constant" instead of
14103 "typed-constant".
14104
14105 * conform/conformtest.pl: Handle "optional-" at start of lines in
14106 one place rather than duplicating several cases. Handle each
14107 format of "macro" line with initial "optional-".
14108
14109 * conform/conformtest.pl: Only accept expected constant or
14110 optional-constant values with "==". Parse all "constant" lines in
14111 one place. Parse all "optional-constant" lines in one place.
14112 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14113 * conform/data/fmtmsg.h-data: Likewise.
14114 * conform/data/netinet/in.h-data: Likewise.
14115 * conform/data/tar.h-data: Likewise.
14116 * conform/data/limits.h-data: Use "==" form on "constant" and
14117 "optional-constant" lines.
14118
14119 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14120 Use -std=c99 for XOPEN2K.
14121 (@knownproblems): Remove.
14122 (newtoken): Don't check %isknown.
14123
14124 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14125 Do not expect macro.
14126 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14127 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14128 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14129 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14130 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14131 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14132 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14133 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14134 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14135 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14136 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14137 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14138 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14139 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14140 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14141 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14142 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14143 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14144 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14145 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14146 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14147 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14148 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14149 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14150 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14151 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14152 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14153 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14154 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14155 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14156 [XPG3] (acosh): Likewise.
14157 [XPG3] (asinh): Likewise.
14158 [XPG3] (atanh): Likewise.
14159 [XPG3] (cbrt): Likewise.
14160 [XPG3] (expm1): Likewise.
14161 [XPG3] (ilogb): Likewise.
14162 [XPG3] (log1p): Likewise.
14163 [XPG3] (logb): Likewise.
14164 [XPG3] (nextafter): Likewise.
14165 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14166 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14167 [XPG3] (remainder): Likewise.
14168 [XPG3] (rint): Likewise.
14169 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14170 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14171 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14172 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14173 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14174 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14175 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14176 [UNIX98 || XOPEN2K] (scalb): Expect.
14177 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14178 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14179 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14180 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14181 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14182 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14183 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14184 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14185 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14186 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14187 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14188 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14189 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14190 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14191 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14192 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14193 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14194 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14195 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14196 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14197 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14198 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14199 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14200 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14201 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14202 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14203 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14204 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14205 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14206 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14207 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14208 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14209 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14210 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14211 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14212 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14213 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14214 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14215 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14216 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14217 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14218 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14219 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14220 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14221 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14222 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14223 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14224 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14225 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14226 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14227 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14228 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14229 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14230 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14231 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14232 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14233 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14234 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14235 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14236 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14237 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14245 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14246 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14247 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14248 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14249 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14267 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14268 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14269 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14270 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14271 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14272 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14273 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14274 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14275 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14277 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14278 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14286 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14287 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14288 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14305 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14306 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14307 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14308 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14309 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14310 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14311 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14312 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14313 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14314
14315 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14316 _XOPEN_SOURCE_EXTENDED for XPG4.
14317
14318 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14319
14320 * Makeconfig (localtime): Remove variable.
14321 (inst_localtime-file): Likewise.
14322
14323 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14324
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14326 Update.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14328 Update.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14330 Update.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14332 Update.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14334 Update.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14336 Update.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14338 Update.
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14340 Update.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14342 Update.
14343
14344 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14345
14346 [BZ #2550]
14347 [BZ #2570]
14348 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14349 comparisons to determine direction to adjust input.
14350 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14351 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14353 Likewise.
14354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14355 Likewise.
14356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14357 Likewise.
14358 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14359 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14360 Likewise.
14361 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14362 Likewise.
14363 * math/libm-test.inc (nexttoward_test): Add more tests.
14364
14365 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14366
14367 [BZ #14040]
14368 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14369 in version GLIBC_2.1, not GLIBC_2.0.
14370 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14371 Likewise.
14372
14373 2012-04-30 Joseph Myers <joseph@codesourcery.com>
14374
14375 [BZ #13942]
14376 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14377 (1 - x) * (1 + x).
14378 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14379 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14380 * math/libm-test.inc (acos_test): Add more tests.
14381 (asin_test): Likewise.
14382 * sysdeps/i386/fpu/libm-test-ulps: Update.
14383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14384
14385 [BZ #14034]
14386 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14387 of square root.
14388 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14389 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14390 * math/libm-test.inc (acos_test_tonearest): New function.
14391 (acos_test_towardzero): Likewise.
14392 (acos_test_downward): Likewise.
14393 (acos_test_upward): Likewise.
14394 (asin_test_tonearest): Likewise.
14395 (asin_test_towardzero): Likewise.
14396 (asin_test_downward): Likewise.
14397 (asin_test_upward): Likewise.
14398 (main): Call the new functions.
14399 * sysdeps/i386/fpu/libm-test-ulps: Update.
14400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14401
14402 [BZ #13884]
14403 [BZ #13924]
14404 * math/e_exp10.c: Include <float.h>.
14405 (__ieee754_exp10): Handle underflow here rather than multiplying
14406 large negative argument by M_LN10.
14407 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14408 of __ieee754_expf.
14409 * math/e_exp10l.c: Include <float.h>.
14410 (__ieee754_exp10l): Handle underflow here rather than multiplying
14411 large negative argument by M_LN10l.
14412 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14413 spurious overflow exception on underflow.
14414
14415 2012-04-29 Marek Polacek <polacek@redhat.com>
14416
14417 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14418 (__fortify_function): New macro.
14419 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14420 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14421 __extern_always_inline.
14422 * libio/bits/stdio2.h: Likewise.
14423 * libio/bits/stdio.h: Likewise.
14424 * string/string.h: Likewise.
14425 * string/bits/string3.h: Likewise.
14426 * include/stdio.h: Likewise.
14427 * stdlib/bits/stdlib.h: Likewise.
14428 * stdlib/stdlib.h: Likewise.
14429 * rt/bits/mqueue2.h: Likewise.
14430 * rt/mqueue.h: Likewise.
14431 * posix/bits/unistd.h: Likewise.
14432 * posix/unistd.h: Likewise.
14433 * io/bits/poll2.h: Likewise.
14434 * io/bits/fcntl2.h: Likewise.
14435 * io/fcntl.h: Likewise.
14436 * io/sys/poll.h: Likewise.
14437 * misc/bits/syslog.h: Likewise.
14438 * misc/bits/syslog-ldbl.h: Likewise.
14439 * misc/sys/syslog.h: Likewise.
14440 * socket/bits/socket2.h: Likewise.
14441 * socket/sys/socket.h: Likewise.
14442 * debug/tst-chk1.c: Likewise.
14443 * wcsmbs/bits/wchar2.h: Likewise.
14444 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14445 * wcsmbs/wchar.h: Likewise.
14446
14447 2012-04-29 Andreas Jaeger <aj@suse.de>
14448
14449 * Makerules (tests): Remove enable-check-abi protection.
14450 (check-abi-warn): Remove.
14451 (check-abi-%): Remove check-abi-warn usage.
14452
14453 * configure.in: Remove check-abi configure option.
14454 * configure: Regenerated.
14455 * config.make.in (enable-check-abi): Remove.
14456
14457 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14458
14459 [BZ #14033]
14460 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14461 double functions to double *_finite functions.
14462
14463 [BZ #13941]
14464 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14465 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14466 LDBL_MIN_EXP.
14467 * stdio-common/Makefile (tests): Add tst-sprintf3.
14468 * stdio-common/tst-sprintf3.c: New file.
14469
14470 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14471 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14472
14473 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14474
14475 * conform/conformtest.pl: Remove duplicate typed-constant
14476 handling.
14477
14478 2012-04-28 David S. Miller <davem@davemloft.net>
14479
14480 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14481 (check-abi-%): Remove AWK script prerequisite and explicit
14482 abilist directory.
14483 (check-abi): Rewrite to just diff the symlist with the abilist.
14484 (config-tls, config-abi-config): Delete, no longer used.
14485 (update-abi-%): Remove AWK script and explicit abilist directory.
14486 (update-abi): Rewrite to simply compare and conditionally copy the
14487 symlist and the sysdep abilist file. Remove update-abi-config
14488 checks.
14489 * abilist/ld.abilist: Remove.
14490 * abilist/libBrokenLocale.abilist: Remove.
14491 * abilist/libanl.abilist: Remove.
14492 * abilist/libcrypt.abilist: Remove.
14493 * abilist/libdl.abilist: Remove.
14494 * abilist/librt.abilist: Remove.
14495 * abilist/libthread_db.abilist: Remove.
14496 * abilist/libutil.abilist: Remove.
14497 * scripts/extract-abilist.awk: Remove.
14498 * scripts/merge-abilist.awk: Remove.
14499 * sysdeps/generic/libcidn.abilist: New file.
14500 * sysdeps/generic/libnss_compat.abilist: New file.
14501 * sysdeps/generic/libnss_db.abilist: New file.
14502 * sysdeps/generic/libnss_dns.abilist: New file.
14503 * sysdeps/generic/libnss_files.abilist: New file.
14504 * sysdeps/generic/libnss_hesiod.abilist: New file.
14505 * sysdeps/generic/libnss_nis.abilist: New file.
14506 * sysdeps/generic/libnss_nisplus.abilist: New file.
14507 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14508 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14509 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14510 file.
14511 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14512 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14513 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14514 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14515 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14516 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14517 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14518 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14519 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14520 file.
14521 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14522 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14523 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14524 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14525 file.
14526 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14527 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14528 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14529 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14530 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14531 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14532 file.
14533 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14534 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14535 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14536 file.
14537 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14539 New file.
14540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14541 New file.
14542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14543 New file.
14544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14545 New file.
14546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14547 New file.
14548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14549 New file.
14550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14551 New file.
14552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14553 New file.
14554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14555 New file.
14556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14557 New file.
14558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14559 New file.
14560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14561 New file.
14562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14563 New file.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14565 file.
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14567 New file.
14568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14569 New file.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14571 file.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14573 New file.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14575 New file.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14577 file.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14579 New file.
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14581 New file.
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14583 New file.
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14585 New file.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14587 New file.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14589 New file.
14590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14592 file.
14593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14594 New file.
14595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14596 file.
14597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14598 file.
14599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14600 file.
14601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14602 file.
14603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14604 file.
14605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14606 New file.
14607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14608 file.
14609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14610 file.
14611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14612 New file.
14613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14614 file.
14615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14617 file.
14618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14619 New file.
14620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14621 file.
14622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14623 file.
14624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14625 file.
14626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14627 file.
14628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14629 file.
14630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14631 New file.
14632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14633 file.
14634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14635 file.
14636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14637 New file.
14638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14639 file.
14640 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14641 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14642 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14643 file.
14644 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14645 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14646 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14647 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14648 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14649 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14650 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14651 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14652 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14653 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14656 file.
14657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14658 New file.
14659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14660 file.
14661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14662 file.
14663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14664 file.
14665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14666 file.
14667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14668 file.
14669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14670 New file.
14671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14672 New file.
14673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14674 file.
14675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14676 New file.
14677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14678 file.
14679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14681 file.
14682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14683 New file.
14684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14685 file.
14686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14687 file.
14688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14689 file.
14690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14691 file.
14692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14693 file.
14694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14695 New file.
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14697 New file.
14698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14699 file.
14700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14701 New file.
14702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14703 file.
14704
14705 2012-04-28 Joseph Myers <joseph@codesourcery.com>
14706
14707 * conform/conformtest.pl: Fix typo in handling typed-constant from
14708 allow-header.
14709
14710 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14711
14712 * README: Cut down references to pre-2.6 Linux kernels and
14713 Linuxthreads. Update lists of configurations in libc and ports
14714 and sort alphabetically. Say "or newer" with Linux kernel version
14715 requirements.
14716
14717 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14718
14719 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14720
14721 [BZ #887]
14722 * math/libm-test.inc (logb_test_downward): New test to expose
14723 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14724 rounding mode.
14725
14726 2012-04-27 Joseph Myers <joseph@codesourcery.com>
14727
14728 [BZ #14027]
14729 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14730 to be done.
14731 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14732 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14733
14734 2012-04-26 Joseph Myers <joseph@codesourcery.com>
14735
14736 * sysdeps/unix/i386/brk.S: Remove file.
14737 * sysdeps/unix/i386/dl-brk.S: Likewise.
14738 * sysdeps/unix/i386/pipe.S: Likewise.
14739 * sysdeps/unix/i386/sigreturn.S: Likewise.
14740 * sysdeps/unix/i386/syscall.S: Likewise.
14741 * sysdeps/unix/i386/vfork.S: Likewise.
14742 * sysdeps/unix/i386/wait.S: Likewise.
14743
14744 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14745 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14746
14747 * configure.in (arm*-none*): Do not allow without
14748 --enable-hacker-mode.
14749 (netbsd*): Remove case setting base_os.
14750 (386bsd*): Likewise.
14751 (freebsd*): Likewise.
14752 (bsdi*): Likewise.
14753 (osf*): Likewise.
14754 (sunos*): Likewise.
14755 (ultrix*): Likewise.
14756 (newsos*): Likewise.
14757 (dynix*): Likewise.
14758 (*bsd*): Likewise.
14759 (sysv*): Likewise.
14760 (isc*): Likewise.
14761 (esix*): Likewise.
14762 (sco*): Likewise.
14763 (minix*): Likewise.
14764 (irix4*): Likewise.
14765 (irix6*): Likewise.
14766 (solaris[2-9]*): Likewise.
14767 (none): Likewise.
14768 * configure: Regenerated.
14769
14770 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14771
14772 [BZ #11521]
14773 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14774 overflow or cancellation in calculating denominator.
14775 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14777 down expression to avoid unexpected rounding in newer GCCs.
14778 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14779
14780 2012-04-26 David S. Miller <davem@davemloft.net>
14781
14782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14783 long-double compat symbols.
14784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14797
14798 2012-04-25 David S. Miller <davem@davemloft.net>
14799
14800 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14801 HWCAP_* values only after the memory barriers have been defined.
14802 (atomic_full_barrier): Define.
14803 (atomic_read_barrier): Define.
14804 (atomic_write_barrier): Define.
14805
14806 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14807
14808 * shlib-versions: Add libgcc_s version information.
14809 * sysdeps/generic/libgcc_s.h: Remove.
14810 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14811 libgcc_s.h.
14812 * sysdeps/gnu/unwind-resume.c: Likewise.
14813 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14814
14815 2012-04-25 David S. Miller <davem@davemloft.net>
14816
14817 * sysdeps/unix/sparc/brk.S: Delete.
14818 * sysdeps/unix/sparc/dl-brk.S: Delete.
14819 * sysdeps/unix/sparc/pipe.S: Delete.
14820 * sysdeps/unix/sparc/sysdep.S: Delete.
14821 * sysdeps/unix/sparc/sysdep.h: Delete.
14822 * sysdeps/unix/sparc/vfork.S: Delete.
14823 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14824 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14825 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14826 ret_ERRVAL, r0, r1, MOVE): Define.
14827 (JUMPTARGET): Remove.
14828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14829 sysdeps/unix/sparc/sysdep.h
14830 (ENTRY, END): Remove.
14831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14832
14833 2012-04-25 Joseph Myers <joseph@codesourcery.com>
14834
14835 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14836 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14837 -DIS_IN_build.
14838
14839 * timezone/README: Update upstream location and email address for
14840 tzcode and tzdata.
14841 * timezone/zdump.c: Update from tzcode 2012b.
14842 * timezone/zic.c: Likewise.
14843
14844 * configure.in (libc_cv_as_needed): Remove test.
14845 * configure: Regenerated.
14846 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14847 conditional definition.
14848 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14849 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14850 * config.make.in (have-as-needed): Remove variable.
14851
14852 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14853 Paul Pluzhnikov <ppluzhnikov@google.com>
14854
14855 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14856 strings correctly.
14857
14858 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14859
14860 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14861 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14862 * sysdeps/sh/strlen.S: Likewise.
14863
14864 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14865
14866 * sysdeps/unix/fork.S: Remove file.
14867 * sysdeps/unix/i386/fork.S: Likewise.
14868 * sysdeps/unix/sparc/fork.S: Likewise.
14869
14870 * sysdeps/unix/system.c: Remove file.
14871 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14872
14873 * sysdeps/unix/getegid.S: Remove file.
14874 * sysdeps/unix/geteuid.S: Likewise.
14875
14876 2012-04-24 Roland McGrath <roland@hack.frob.com>
14877
14878 * scripts/check-localplt.awk: New file.
14879 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14880 of diff.
14881 * scripts/data/localplt-generic.data: Add a comment.
14882
14883 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14884 NODE when __dir_mkfile failed.
14885 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14886 Reported by Ludovic Courtès <ludo@gnu.org>.
14887
14888 2012-04-24 Andreas Jaeger <aj@suse.de>
14889
14890 * Makerules (common-clean): Also remove gen-as-const-headers
14891 files.
14892
14893 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14894
14895 * Makerules (native-compile): Do not change working directory for
14896 build. Use $(OUTPUT_OPTION) in command.
14897 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14898
14899 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14900
14901 [BZ #13886]
14902 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14903 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14904 * math/libm-test.inc (floor_test): Add more tests.
14905 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14906
14907 2012-04-24 Joseph Myers <joseph@codesourcery.com>
14908
14909 * sysdeps/unix/getdents.c: Remove file.
14910 * sysdeps/unix/sysv/getdents.c: Likewise.
14911 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14912
14913 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14914 sysdeps/unix/mman/syscalls.list.
14915 (mmap): Likewise.
14916 (mprotect): Likewise.
14917 (msync): Likewise.
14918 (munmap): Likewise.
14919 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14920 * sysdeps/unix/mman/syscalls.list: Remove.
14921 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14922
14923 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14924 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14925 * configure: Regenerated.
14926 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14927 $(libgcc_s_suffix).
14928 * config.make.in (libgcc_s_suffix): Remove variable.
14929
14930 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14931
14932 * sysdeps/unix/sysv/gethostname.c: Move to ...
14933 * sysdeps/posix/gethostname.c: ... here.
14934
14935 * sysdeps/unix/execve.S: Remove file.
14936
14937 * sysdeps/unix/_exit.S: Remove file.
14938
14939 2012-04-23 Andreas Jaeger <aj@suse.de>
14940
14941 [BZ #13739]
14942 * manual/Makefile: Remove make dist support, there's no
14943 need for a stand-alone documentation tar ball.
14944 (TEXI2DVI): Define always, it's not in Makeconfig.
14945 (dist): Removed.
14946 (tar-it): Removed.
14947 (edition): Removed.
14948 (glibc-doc-$(edition).tar): Removed
14949 (%.Z): Removed.
14950 (%.gz): Removed.
14951 (%.uu): Removed.
14952 (ETAGS): Remove, it's in Makeconfig.
14953 (move-if-change): Remove, it's in Makeconfig.
14954
14955 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14956
14957 [BZ #13970]
14958 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14959 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14960 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14961 (strtod_l, strtof_l, strtold_l): Remove __wur.
14962 It is not necessarily an error to ignore strtol's return value.
14963 One can reliably look at the stored endptr to decide whether
14964 the number had valid syntax.
14965
14966 2012-04-21 Andreas Jaeger <aj@suse.de>
14967
14968 [BZ #13739]
14969 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14970
14971 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14972
14973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14974 * sysdeps/unix/sysv/Versions: Remove file.
14975
14976 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14977
14978 [BZ #13927]
14979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14980
14981 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14982
14983 [BZ #7064]
14984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14985 version from __vm86.
14986
14987 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14988
14989 * sysdeps/unix/common/lxstat.c: Remove file.
14990 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14991
14992 * sysdeps/unix/sysv/Makefile: Remove file.
14993
14994 * sysdeps/unix/sysv/direct.h: Remove file.
14995
14996 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14997 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14998 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14999 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15000 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15001 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15002 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15003
15004 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15005
15006 * sysdeps/unix/xmknod.c: Remove file.
15007 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15008
15009 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15010
15011 * sysdeps/unix/sysv/i386/time.S: Remove file.
15012
15013 * sysdeps/unix/fxstat.c: Remove file.
15014 * sysdeps/unix/xstat.c: Likewise.
15015 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15016
15017 * sysdeps/unix/sysv/sigaction.c: Remove file.
15018
15019 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15020 (sysdep_headers): Remove variable.
15021 [termio.h not in sysdep_headers] (generated): Likewise.
15022 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15023 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15024 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15025 * sysdeps/unix/sysv/tcflow.c: Likewise.
15026 * sysdeps/unix/sysv/tcflush.c: Likewise.
15027 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15028 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15029 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15030 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15031 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15032
15033 * sysdeps/unix/siglist.c: Remove file.
15034
15035 * sysdeps/unix/getppid.S: Remove file.
15036
15037 * sysdeps/unix/mkdir.c: Remove file.
15038 * sysdeps/unix/rmdir.c: Likewise.
15039
15040 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15041
15042 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15043 ERR_MAX value.
15044 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15045 errlist-compat value.
15046
15047 2012-04-18 David S. Miller <davem@davemloft.net>
15048
15049 * sysdeps/generic/memcopy.h (reg_char): Delete.
15050 * debug/strcat_chk.c: Use char, not reg_char.
15051 * debug/strcpy_chk.c: Likewise.
15052 * debug/strncat_chk.c: Likewise.
15053 * debug/strncpy_chk.c: Likewise.
15054 * string/memchr.c: Likewise.
15055 * string/memrchr.c: Likewise.
15056 * string/rawmemchr.c: Likewise.
15057 * string/strcat.c: Likewise.
15058 * string/strchr.c: Likewise.
15059 * string/strchrnul.c: Likewise.
15060 * string/strcmp.c: Likewise.
15061 * string/strcpy.c: Likewise.
15062 * string/strncat.c: Likewise.
15063 * string/strncmp.c: Likewise.
15064 * string/strncpy.c: Likewise.
15065
15066 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15067
15068 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15069 __builtin_memcopy is called when src and dest ranges are known to not
15070 overlap.
15071
15072 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15073
15074 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15075 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15076 fwd_align_merge macro call.
15077 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15078 bwd_align_merge macro call.
15079 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15080
15081 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15082
15083 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15084 bwd_align_merge macros.
15085 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15086 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15087 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15088
15089 2012-04-18 David S. Miller <davem@davemloft.net>
15090
15091 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15092
15093 2012-04-18 Andreas Jaeger <aj@suse.de>
15094
15095 [BZ# 6794]
15096 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15097 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15098 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15099
15100 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15101 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15102 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15103
15104 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15105 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15106 Adjust for changed ldbl-128 files.
15107
15108 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15109 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15110 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15111
15112 2012-04-17 David S. Miller <davem@davemloft.net>
15113
15114 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15115
15116 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15117
15118 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15119 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15120 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15121 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15122 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15123 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15124
15125 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15126
15127 [BZ #6794]
15128 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15129 * math/libm-test.inc: Add ilogb errno and exception tests.
15130 * math/w_ilogb.c: New file: ilogb wrapper.
15131 * math/w_ilogbf.c: New file: ilogbf wrapper.
15132 * math/w_ilogbl.c: New file: ilogbl wrapper.
15133 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15134 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15135 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15136 exception being thrown with 0.0 as argument.
15137 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15138 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15139 exception being thrown with 0.0 as argument.
15140 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15141 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15142 exception being thrown with 0.0 as argument.
15143 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15144 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15145 exception being thrown with 0.0 as argument.
15146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15147 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15148 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15149 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15151 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15152 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15153 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15154 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15155
15156 2012-04-17 Petr Baudis <pasky@ucw.cz>
15157
15158 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15159 with altivec.
15160
15161 2012-04-16 Marek Polacek <polacek@redhat.com>
15162
15163 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15164
15165 2012-04-16 Marek Polacek <polacek@redhat.com>
15166
15167 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15168 operands of fdivp instruction.
15169
15170 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15171
15172 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15173 * elf/tst-auditmod3b.c: Likewise.
15174 * elf/tst-auditmod4b.c: Likewise.
15175 * elf/tst-auditmod5b.c: Likewise.
15176 * elf/tst-auditmod6b.c: Likewise.
15177 * elf/tst-auditmod6c.c: Likewise.
15178 * elf/tst-auditmod7b.c: Likewise.
15179 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15180 * sysdeps/x86_64/preconfigure.in: Likewise.
15181 * sysdeps/x86_64/preconfigure: Regenerated.
15182
15183 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15184
15185 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15186 __ILP32__.
15187
15188 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15189
15190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15191 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15192
15193 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15194
15195 [BZ #13973]
15196 * locale/iso-639.def: Fix gl language name. Spotted by
15197 Yaron Shahrabani.
15198
15199 2012-04-12 Roland McGrath <roland@hack.frob.com>
15200
15201 [BZ #2074]
15202 * libio/libio.h (__io_write_fn): Update comment.
15203
15204 2012-04-12 Petr Baudis <pasky@ucw.cz>
15205
15206 [BZ #2074]
15207 * stdio.texi (Hook Functions): The user provided writer function
15208 is not allowed to return -1.
15209
15210 2012-04-11 David S. Miller <davem@davemloft.net>
15211
15212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15213
15214 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15215
15216 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15217 Add a leading slash to rtkaio.
15218
15219 2012-04-11 Jim Meyering <meyering@redhat.com>
15220
15221 [BZ #11959]
15222 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15223 It is not necessarily an error to ignore fwrite's return
15224 value. One can reliably use ferror to test for errors after
15225 the fact.
15226
15227 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15228
15229 * bits/types.h (__snseconds_t): New type.
15230 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15231
15232 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15234 (__SNSECONDS_T_TYPE): Likewise.
15235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15236 (__SNSECONDS_T_TYPE): Likewise.
15237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15238 (__SNSECONDS_T_TYPE): Likewise.
15239
15240 2012-04-10 Andreas Jaeger <aj@suse.de>
15241
15242 [BZ #2636]
15243 * manual/time.texi (Processor Time): Return type of times is
15244 elapsed real time since an arbitrary point in the past.
15245 (CPU Time): Move CLK_TCK from here...
15246 (Processor Time): ...to here. Correct description.
15247 * manual/conf.texi (Constants for Sysconf): Correct description of
15248 _SC_CLK_TCK.
15249
15250 2012-04-10 David S. Miller <davem@davemloft.net>
15251
15252 [BZ #13967]
15253 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15254 where the is a gap between DT_REL(A) and DT_JMPREL.
15255
15256 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15257
15258 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15259 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15260 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15261
15262 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15263
15264 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15265 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15266 (dl_main): Handle --inhibit-cache.
15267 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15268 _dl_inhibit_cache.
15269 * elf/dl-load.c (_dl_map_object): Use it.
15270 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15271
15272 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15273
15274 [BZ #13872]
15275 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15276 (__ieee754_powl): Saturate large exponents rather than testing for
15277 overflow of y*log2(x).
15278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15279 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15280 exceptions.
15281
15282 [BZ #11521]
15283 * math/s_ctan.c: Include <float.h>.
15284 (__ctan): Avoid internal overflow or cancellation in calculating
15285 denominator.
15286 * math/s_ctanf.c: Likewise.
15287 * math/s_ctanl.c: Likewise.
15288 * math/s_ctanh.c: Likewise.
15289 * math/s_ctanhf.c: Likewise.
15290 * math/s_ctanhl.c: Likewise.
15291 * math/libm-test.inc (ctan_test): Add more tests.
15292 (ctanh_test): Likewise.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15295
15296 2012-04-09 Andreas Jaeger <aj@suse.de>
15297
15298 [BZ #6894]
15299 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15300 is an optional BSD extension.
15301
15302 [BZ #10254]
15303 * manual/stdio.texi (Opening Streams): Document additional fopen
15304 parameters.
15305
15306 2012-04-09 Roland McGrath <roland@hack.frob.com>
15307
15308 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15309 %eax without telling the compiler.
15310
15311 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15312
15313 [BZ # 13963]
15314 * manual/install.texi: Use sourceware.org.
15315
15316 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15317
15318 [BZ #13873]
15319 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15320 (__ieee754_pow): Generate overflow and underflow using huge*huge
15321 and tiny*tiny rather than just returning constant infinity or zero
15322 for large exponents.
15323 * math/libm-test.inc (pow_test): Require overflow exceptions for
15324 applicable cases of large exponents.
15325
15326 [BZ #706]
15327 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15328 (__ieee754_pow): Use iterative multiplication algorithm only for
15329 integer exponents with absolute value below 1024. Check for odd
15330 integer exponents when using algorithm for real exponents.
15331 * math/libm-test.inc (pow_test): Add more tests.
15332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15333
15334 2012-04-08 Joseph Myers <joseph@codesourcery.com>
15335
15336 [BZ #13705]
15337 * math/libm-test.inc (exp_test): Do not allow overflow exception
15338 on underflow test.
15339
15340 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15341
15342 [BZ #13705]
15343 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15344 instead of __kernel_standard_f.
15345
15346 2012-04-08 Mike Frysinger <vapier@gentoo.org>
15347
15348 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15349 * sysdeps/x86_64/memset_chk.S: Likewise.
15350
15351 2012-04-08 Andreas Jaeger <aj@suse.de>
15352
15353 [BZ #10153]
15354 * manual/startup.texi (Environment Access): Describe return value
15355 for putenv and setenv.
15356
15357 [BZ #6895]
15358 * manual/filesys.texi (Directory Entries): Add description for
15359 DT_LNK.
15360
15361 [BZ #6890]
15362 * manual/filesys.texi (Directory Entries): Clarify that it's file
15363 system not operating system in the description of DT_UNKNOWN.
15364
15365 [BZ #6578]
15366 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15367
15368 2012-04-08 Stephen Compall <s11@member.fsf.org>
15369
15370 [BZ #6649]
15371 * manual/llio.texi (Opening and Closing Files): Add cross
15372 reference to explain mode argument.
15373
15374 2012-04-07 Mike Frysinger <vapier@gentoo.org>
15375
15376 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15377 * sysdeps/x86_64/memset_chk.S: Likewise.
15378
15379 2012-04-07 David S. Miller <davem@davemloft.net>
15380
15381 * elf/elf.h (R_SPARC_WDISP10): Define.
15382 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15383 R_SPARC_SIZE32.
15384 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15385 R_SPARC_SIZE64 and R_SPARC_H34.
15386
15387 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15388
15389 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15390 conditions and remove no longer applicable assertion.
15391
15392 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15393
15394 * bits/byteswap.h: Include <features.h>.
15395 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15396 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15397
15398 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15399
15400 * bits/byteswap.h (__bswap_16): Removed.
15401 Include <bits/byteswap-16.h> to get __bswap_16.
15402 * sysdeps/i386/bits/byteswap.h: Likewise.
15403 * sysdeps/s390/bits/byteswap.h: Likewise.
15404 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15405 * bits/byteswap-16.h: New file.
15406 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15407 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15408 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15409 * string/Makefile (headers): Add bits/byteswap-16.h.
15410
15411 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15412
15413 [BZ #13895]
15414 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15415 extra indirection.
15416 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15417 * nss/tst-nss-static.c: New.
15418
15419 2012-04-06 Robert Millan <rmh@gnu.org>
15420
15421 [BZ #6486]
15422 * manual/llio.texi (File Position Primitive): lseek
15423 refers to WHENCE when it really means OFFSET.
15424
15425 2012-04-06 Andreas Jaeger <aj@suse.de>
15426
15427 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15428 strncmp declarations.
15429
15430 * abilist/libc.abilist: Add __poll and __ppoll.
15431
15432 2012-04-05 David S. Miller <davem@davemloft.net>
15433
15434 * scripts/check-local-headers.sh: Accept a host triplet in the
15435 path matched by the exclude regexp.
15436
15437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15438 definition.
15439 * sysdeps/powerpc/powerpc32/dl-machine.h
15440 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15441 * sysdeps/s390/s390-32/dl-machine.h
15442 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15443 * sysdeps/sparc/sparc32/dl-machine.h
15444 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15445 * sysdeps/sparc/sparc64/dl-machine.h
15446 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15447
15448 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15449 lazy binding.
15450 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15451 undefined symbol errors.
15452
15453 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15454 DT_NEEDED entries.
15455
15456 2012-04-05 Michael Matz <matz@suse.de>
15457
15458 [BZ #13592]
15459 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15460
15461 2012-04-05 Andreas Jaeger <aj@suse.de>
15462
15463 [BZ #13908]
15464 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15465 comment.
15466
15467 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15468
15469 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15470 which ROUND is no valid rounding mode.
15471
15472 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15473
15474 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15475 read again.
15476 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15477
15478 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15479
15480 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15481 an exception using FPU order intentionally.
15482
15483 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15484
15485 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15486 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15487 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15488 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15489
15490 2012-04-05 Simon Josefsson <simon@josefsson.org>
15491
15492 [BZ #12340]
15493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15494 EINVAL when BUFLEN is too smal.
15495
15496 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15497
15498 [BZ #13553]
15499 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15500 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15501
15502 2012-04-03 Andreas Jaeger <aj@suse.de>
15503
15504 [BZ #13938]
15505 * manual/setjmp.texi (System V contexts): Fix sentence.
15506
15507 [BZ #13926]
15508 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15509 New macro for this case.
15510 [!__GNUC__] (__bswap_64): New inline function for this case.
15511 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15512 * bits/byteswap.h: Likewise.
15513 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15514 ull, guard with __GLIBC_HAVE_LONG_LONG.
15515
15516 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15517 __GLIBC_HAVE_LONG_LONG.
15518
15519 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15520 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15521
15522 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15523
15524 [BZ #13691]
15525 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15526 inptr and inend, rather than using last_ch.
15527
15528 2012-04-02 David S. Miller <davem@davemloft.net>
15529
15530 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15531 * stdio-common/printf-parse.h (read_int): Change return type to
15532 'int', return -1 on INT_MAX overflow.
15533 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15534 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15535 overflows INT_MAX. Check for overflow of in-format-string precision
15536 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15537 SIZE_MAX not INT_MAX for integer overflow test.
15538 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15539 skip the construct in the format string but do not record anything.
15540 * stdio-common/bug22.c: Adjust to test both width/prevision
15541 INT_MAX overflow as well as total length INT_MAX overflow. Check
15542 explicitly for proper errno values.
15543
15544 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15545
15546 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15547 CHAR_MAX.
15548 * string/test-strcmp.c [! WIDE]: Likewise.
15549 * time/tst-mktime2.c: Likewise for INT_MAX.
15550 * string/test-string.h: #include <sys/param.h> for MIN.
15551
15552 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15553 * sysdeps/i386/init-first.c (init): Likewise.
15554 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15555 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15556 * sysdeps/sh/init-first.c (init): Likewise.
15557
15558 2012-04-01 Ulrich Drepper <drepper@gmail.com>
15559
15560 * po/ru.po: Update from translation team.
15561 * po/vi.po: Likewise.
15562
15563 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15564
15565 * resolv/nss_dns/dns-host.c: Merge copyright years.
15566
15567 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15568
15569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15570 Optimize memcpy with prefetch if
15571 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15572 src, dst pointers have unequal 16 byte alignments.
15573
15574 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15575
15576 [BZ #13928]
15577 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15578 from a CNAME entry and return the minimum ttl for the query.
15579 (gaih_getanswer_slice): Likewise.
15580
15581 2012-03-30 Jeff Law <law@redhat.com>
15582
15583 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15584 due to long keys.
15585 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15586 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15587
15588 * resolv/nss_dns/dns-host.c: Update copyright year.
15589
15590 2012-03-30 Ulrich Drepper <drepper@gmail.com>
15591
15592 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15593 requests to save a system call. Fix check that all bytes are sent.
15594
15595 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15596 comments for sendmmsg.
15597
15598 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15599
15600 [BZ #13691]
15601 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15602 with only 1 character between 0x0041 and 0x01b0.
15603 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15604 * wcsmbs/tst-mbsnrtowcs.c: New file.
15605
15606 2012-03-29 David S. Miller <davem@davemloft.net>
15607
15608 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15609 small copies by hand.
15610
15611 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15612
15613 [BZ #13761]
15614 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15615 _nss_compat_initgroups_dyn): Fall back to malloc/free
15616 for large group memberships.
15617
15618 2012-03-28 David S. Miller <davem@davemloft.net>
15619
15620 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15621 that branches into memcpy.
15622 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15624 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15625 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15627 bits.
15628 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15629 implementation too.
15630 * sysdeps/sparc/mempcpy.S: New file.
15631
15632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15633 the IFUNC routine in the libc case.
15634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15635
15636 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15637 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15638 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15639 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15640 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15641 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15642 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15643 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15644
15645 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15646 loop to 256 bytes instead of 64 bytes and fix test signedness.
15647
15648 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15649 * sysdeps/sparc/sparc32/Makefile: rather than here...
15650 * sysdeps/sparc/sparc64/Makefile: and here.
15651
15652 2012-03-28 Ulrich Drepper <drepper@gmail.com>
15653
15654 * malloc/mallocbug.c: Avoid warnings about unused variables.
15655
15656 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15657
15658 [BZ #13760]
15659 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15660 in the right place. Discard and retry query if response is
15661 larger than input buffer size.
15662
15663 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15664
15665 [BZ #369]
15666 [BZ #2678]
15667 [BZ #3866]
15668 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15669 x for large integer exponent.
15670 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15671 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15672 sign of result as needed afterwards.
15673 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15674 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15675 result for underflowing pow the same as for overflow.
15676 (__kernel_standard_l): Handle powl overflow and underflow here
15677 rather than calling __kernel_standard.
15678 * math/libm-test.inc (pow_test): Add more tests.
15679
15680 [BZ #3868]
15681 [BZ #13879]
15682 [BZ #13910]
15683 [BZ #13911]
15684 [BZ #13912]
15685 [BZ #13913]
15686 [BZ #13915]
15687 [BZ #13916]
15688 [BZ #13917]
15689 [BZ #13918]
15690 [BZ #13919]
15691 [BZ #13920]
15692 [BZ #13921]
15693 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15694 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15695 (__kernel_standard_l): New function.
15696 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15697 __kernel_standard.
15698 * math/w_acosl.c (__acosl): Likewise.
15699 * math/w_asinl.c (__asinl): Likewise.
15700 * math/w_atan2l.c (__atan2l): Likewise.
15701 * math/w_atanhl.c (__atanhl): Likewise.
15702 * math/w_coshl.c (__coshl): Likewise.
15703 * math/w_exp10l.c (__exp10l): Likewise.
15704 * math/w_exp2l.c (__exp2l): Likewise.
15705 * math/w_fmodl.c (__fmodl): Likewise.
15706 * math/w_hypotl.c (__hypotl): Likewise.
15707 * math/w_j0l.c (__j0l, __y0l): Likewise.
15708 * math/w_j1l.c (__j1l, __y1l): Likewise.
15709 * math/w_jnl.c (__jnl, __ynl): Likewise.
15710 * math/w_lgammal.c (__lgammal): Likewise.
15711 * math/w_log10l.c (__log10l): Likewise.
15712 * math/w_log2l.c (__log2l): Likewise.
15713 * math/w_logl.c (__logl): Likewise.
15714 * math/w_powl.c (__powl): Likewise.
15715 * math/w_remainderl.c (__remainderl): Likewise.
15716 * math/w_scalbl.c (sysv_scalbl): Likewise.
15717 * math/w_sinhl.c (__sinhl): Likewise.
15718 * math/w_sqrtl.c (__sqrtl): Likewise.
15719 * math/w_tgammal.c (__tgammal): Likewise.
15720 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15721 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15722 * math/libm-test.inc (acos_test): Add more tests.
15723 (acosh_test): Likewise.
15724 (asin_test): Likewise.
15725 (atanh_test): Likewise.
15726 (exp_test): Likewise.
15727 (exp10_test): Likewise.
15728 (exp2_test): Likewise.
15729 (expm1_test): Likewise.
15730 (lgamma_test): Likewise.
15731 (log_test): Likewise.
15732 (log10_test): Likewise.
15733 (log1p_test): Likewise.
15734 (log2_test): Likewise.
15735 (pow_test): Do not allow some spurious overflow exceptions.
15736 (sqrt_test): Add more tests.
15737 (tgamma_test): Likewise.
15738 (y0_test): Likewise.
15739 (y1_test): Likewise.
15740 (yn_test): Likewise.
15741
15742 2012-03-27 Anton Blanchard <anton@samba.org>
15743
15744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15745 MAP_HUGETLB.
15746 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15748 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15749
15750 2012-03-27 David S. Miller <davem@davemloft.net>
15751
15752 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15753
15754 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15755 have-as-vis3 check.
15756
15757 2012-03-27 Andreas Jaeger <aj@suse.de>
15758
15759 * sysdeps/x86_64/elf/configure.in: Moved to ...
15760 * sysdeps/x86_64/configure.in: ... here.
15761 * sysdeps/x86_64/elf/start.S: Moved to ...
15762 * sysdeps/x86_64/start.S: ... here.
15763 * sysdeps/x86_64/elf/configure: Delete.
15764
15765 * sysdeps/x86_64/configure.in: Merge contents from
15766 sysdeps/i386/configure.in (without i686 check).
15767
15768 * sysdeps/i386/elf/Versions: Merge into ...
15769 * sysdeps/i386/Versions: ... this.
15770 * sysdeps/i386/elf/Versions: Delete file.
15771 * sysdeps/i386/elf/start.S: Moved to ...
15772 * sysdeps/i386/start.S: ...here.
15773 * sysdeps/i386/elf/configure.in: Merge into...
15774 * sysdeps/i386/configure.in: ...here.
15775 * sysdeps/i386/elf/configure.in: Delete file.
15776 * sysdeps/i386/elf/configure: Delete file.
15777
15778 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15779 * debug/backtracesyms.c: ... here.
15780 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15781 * debug/backtracesymsfd.c: ... here.
15782 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15783 * sysdeps/generic/ifunc-sel.h: ... here.
15784
15785 * sysdeps/unix/i386/start.c: Delete file.
15786 * sysdeps/unix/sparc/start.c: Delete file.
15787 * sysdeps/unix/start.c: Delete file.
15788
15789 * sysdeps/sh/elf/configure.in: Moved to ...
15790 * sysdeps/sh/configure.in: ... here.
15791 * sysdeps/sh/elf/start.S: Moved to ...
15792 * sysdeps/sh/start.S: ... here.
15793 * sysdeps/sh/elf/configure: Delete file.
15794
15795 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15796 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15797 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15798 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15799 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15800 * sysdeps/powerpc/powerpc64/start.S: here.
15801 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15802 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15803 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15804 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15805 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15806
15807 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15808 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15809 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15810 * sysdeps/powerpc/powerpc32/start.S: ... here.
15811 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15812 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15813 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15814
15815 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15816 * sysdeps/powerpc/ifunc-sel.h: ... here.
15817 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15818 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15819
15820 * sysdeps/sparc/elf/configure.in: Moved to ...
15821 * sysdeps/sparc/configure.in: ... here.
15822 * sysdeps/sparc/elf/configure: Delete file.
15823 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15824 * sysdeps/sparc/sparc32/start.S: ... here.
15825 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15826 * sysdeps/sparc/sparc64/start.S: ... here.
15827 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15828 * sysdeps/sparc/sparc32/Makefile: ... this.
15829 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15830 * sysdeps/sparc/sparc64/Makefile: ... this.
15831
15832 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15833 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15834 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15835 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15836 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15837 * sysdeps/s390/s390-32/setjmp.S: ... here.
15838 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15839 * sysdeps/s390/s390-32/configure.in: ... here.
15840 * sysdeps/s390/s390-32/elf/configure: Delete file.
15841 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15842 * sysdeps/s390/s390-32/start.S: ... here.
15843
15844 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15845 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15846 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15847 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15848 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15849 * sysdeps/s390/s390-64/setjmp.S: ... here.
15850 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15851 * sysdeps/s390/s390-64/configure.in: ... here
15852 * sysdeps/s390/s390-64/elf/configure: Delete file.
15853 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15854 * sysdeps/s390/s390-64/start.S: ... here.
15855 * sysdeps/s390/s390-64/elf/configure: Delete.
15856
15857 * configure.in: Remove support for elf directories in sysdeps.
15858
15859 * configure: Regenerated.
15860 * sysdeps/i386/configure: Regenerated.
15861 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15862 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15863 * sysdeps/s390/s390-32/configure: Regenerated.
15864 * sysdeps/s390/s390-64/configure: Regenerated.
15865 * sysdeps/sh/configure: Regenerated.
15866 * sysdeps/sparc/configure: Regenerated.
15867 * sysdeps/x86_64/configure: Regenerated.
15868
15869 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15870
15871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15872
15873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15874 denormal result into account.
15875
15876 2012-03-25 Roland McGrath <roland@hack.frob.com>
15877
15878 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15879 Reported by Allan McRae <allan@archlinux.org>.
15880
15881 2012-03-23 Jeff Law <law@redhat.com>
15882
15883 * nss/getnssent.c (__nss_getent): Fix typo.
15884
15885 2012-03-23 David S. Miller <davem@davemloft.net>
15886
15887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15888
15889 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15890
15891 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15892 to pad to uint64_t for each field.
15893 (dl_tls_index): Replace unsigned long with uint64_t.
15894
15895 2012-03-23 Daniel Jacobowitz <dmj@google.com>
15896 Paul Pluzhnikov <ppluzhnikov@google.com>
15897
15898 [BZ #6528]
15899 * grp/Makefile (otherlibs): Don't set it.
15900 * inet/Makefile (otherlibs): Likewise.
15901 * login/Makefile (otherlibs): Likewise.
15902 * nscd/Makefile (otherlibs): Likewise.
15903 * posix/Makefile (otherlibs): Likewise.
15904 * pwd/Makefile (otherlibs): Likewise.
15905 * rt/Makefile (otherlibs): Likewise.
15906 * sunrpc/Makefile (otherlibs): Likewise.
15907 * nss/Makefile (otherlibs): Likewise.
15908 Add libnss_files to routines and static-only-routines.
15909 ($(objpfx)getent): Remove rule.
15910 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15911 static-only-routines.
15912
15913 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15914
15915 [BZ #13892]
15916 * math/s_cexp.c: Include <float.h>.
15917 (__cexp): Handle exp result overflowing not necessarily
15918 overflowing both real and imaginary parts of result.
15919 * math/s_cexpf.c: Likewise.
15920 * math/s_cexpl.c: Likewise.
15921 * math/libm-test.inc (cexp_test): Add more tests.
15922 * sysdeps/i386/fpu/libm-test-ulps: Update.
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15924
15925 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15926
15927 * include/link.h (ELFW): New macro.
15928 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15929 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15930
15931 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15932
15933 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15934 with uint64_t.
15935
15936 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15939 declaration.
15940 (struct La_x32_retval): Likewise.
15941
15942 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15943
15944 * sysdeps/x86_64/preconfigure.in: New file.
15945 * sysdeps/x86_64/preconfigure: New generated file.
15946
15947 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15948
15949 [BZ #13824]
15950 * math/e_exp2l.c: Include <float.h>.
15951 (__ieee754_exp2l): Handle overflow and underflow cases
15952 separately. Only pass fractional part of argument to
15953 __ieee754_expl.
15954 * math/libm-test.inc (exp2_test): Add more tests.
15955
15956 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15957 negating x to take absolute value.
15958 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15959 Likewise.
15960 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15962 Likewise.
15963 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15964 computing low part if x was negated.
15965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15966
15967 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15968
15969 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15970 la_x32_gnu_pltexit.
15971 (pltexit): Cast int_retval to ptrdiff_t.
15972 * elf/tst-auditmod3b.c: Likewise.
15973 * elf/tst-auditmod4b.c: Likewise.
15974 * elf/tst-auditmod5b.c: Likewise.
15975 * elf/tst-auditmod6b.c: Likewise.
15976 * elf/tst-auditmod6c.c: Likewise.
15977 * elf/tst-auditmod7b.c: Likewise.
15978
15979 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15980 and x32_gnu_pltexit.
15981
15982 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15983 __ELF_NATIVE_CLASS.
15984 (La_x32_regs): New macro.
15985 (La_x32_retval): Likewise.
15986 (la_x32_gnu_pltenter): New function prototype.
15987 (la_x32_gnu_pltexit): Likewise.
15988
15989 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15990
15991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15992 exponent.
15993
15994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15995
15996 * configure.in (libc_cv_cc_nofma): Check for option to disable
15997 generation of FMA instructions.
15998 * configure: Regenerate.
15999 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16000 * sysdeps/ieee754/dbl-64/Makefile: New file.
16001 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16002 Remove brandred-fma4.
16003 (CFLAGS-brandred-fma4.c): Remove.
16004 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16006 define.
16007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16008 define.
16009
16010 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16011
16012 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16013 LLONG_MAX != LONG_MAX.
16014 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16015 (_fitoa_word): Likewise.
16016 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16017 LLONG_MAX != LONG_MAX.
16018 * stdio-common/_itowa.h: Include <_itoa.h>.
16019 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16020 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16021 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16022 only if not defined.
16023 (_ITOA_WORD_TYPE): Likewise.
16024 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16025 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16026
16027 2012-03-21 David S. Miller <davem@davemloft.net>
16028
16029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16030
16031 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16032
16033 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16034 of x86_64 when setting libc_cv_slibdir, libdir and
16035 libc_cv_localedir.
16036 * sysdeps/unix/sysv/linux/configure: Regenerated.
16037
16038 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16039
16040 * manual/lang.texi (Old Varargs): Remove section.
16041 (How Variadic): Update menu.
16042 (va_start): Do not mention varargs.h.
16043
16044 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16045 Joseph Myers <joseph@codesourcery.com>
16046
16047 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16048 link test.
16049 * configure: Regenerated.
16050
16051 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16052
16053 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16054 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16055 conformtest.pl
16056
16057 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16058
16059 * NOTES: Remove.
16060 * Makefile (files-for-dist): Remove NOTES.
16061 (NOTES): Remove rule.
16062 * README: Don't refer to NOTES.
16063 * manual/creature.texi: Don't include macros.texi.
16064 * manual/intro.texi (creature.texi): Remove comment referring to
16065 NOTES.
16066
16067 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16068 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16069 * configure: Regenerated.
16070 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16071 LIBC_TRY_CC_OPTION.
16072 (libc_cv_as_i686): Likewise.
16073 (libc_cv_cc_avx): Likewise.
16074 (libc_cv_cc_sse2avx): Likewise.
16075 (libc_cv_cc_fma4): Likewise.
16076 (libc_cv_cc_novzeroupper): Likewise.
16077 * sysdeps/i386/configure: Regenerated.
16078
16079 [BZ #13883]
16080 * sysdeps/i386/fpu/s_cexp.S: Remove.
16081 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16082 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16083 * math/libm-test.inc (cexp_test): Add more tests.
16084 * sysdeps/i386/fpu/libm-test-ulps: Update.
16085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16086
16087 2012-03-21 Allan McRae <allan@archlinux.org>
16088
16089 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16090
16091 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16092
16093 [BZ #13871]
16094 * math/w_exp2.c: Do not include <float.h>.
16095 (o_threshold, u_threshold): Remove.
16096 (__exp2): Calculate result before checking finiteness and calling
16097 __kernel_standard.
16098 * math/w_exp2f.c: Likewise.
16099 * math/w_exp2l.c: Likewise.
16100 * math/libm-test.inc (exp2_test): Require overflow exception for
16101 1e6 input.
16102
16103 [BZ #3866]
16104 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16105 range of signed 64-bit integers before using fistpll. Remove
16106 checks for whether integers fit in mantissa bits.
16107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16108 the range of signed 32-bit integers before using fistpl. Remove
16109 checks for whether integers fit in mantissa bits.
16110 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16111 (__ieee754_powl): Test for y outside the range of signed 64-bit
16112 integers before using fistpll. Reduce 64-bit values to 63-bit
16113 ones as needed.
16114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16115 divide-by-zero is raised for zero to large negative powers.
16116 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16117 (__ieee754_powl): Test for y outside the range of signed 64-bit
16118 integers before using fistpll. Reduce 64-bit values to 63-bit
16119 ones as needed.
16120 * math/libm-test.inc (pow_test): Add more tests.
16121
16122 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16123
16124 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16125 <stdio-common/_itoa.h>.
16126 * debug/segfault.c: Likewise.
16127 * elf/dl-cache.c: Likewise.
16128 * elf/dl-minimal.c: Likewise.
16129 * elf/dl-misc.c: Likewise.
16130 * elf/dl-sysdep.c: Likewise.
16131 * elf/dl-version.c: Likewise.
16132 * elf/rtld.c: Likewise.
16133 * hurd/hurdsock.c: Likewise.
16134 * hurd/lookup-retry.c: Likewise.
16135 * malloc/malloc.c: Likewise.
16136 * malloc/mtrace.c: Likewise.
16137 * nscd/nscd_getgr_r.c: Likewise.
16138 * nscd/nscd_getpw_r.c: Likewise.
16139 * nscd/nscd_getserv_r.c: Likewise.
16140 * posix/getopt_init.c: Likewise.
16141 * posix/wordexp.c: Likewise.
16142 * stdio-common/_itoa.c: Likewise.
16143 * stdio-common/printf_fphex.c: Likewise.
16144 * stdio-common/vfprintf.c: Likewise.
16145 * string/_strerror.c: Likewise.
16146 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16147 * sysdeps/i386/i686/hp-timing.h: Likewise.
16148 * sysdeps/mach/_strerror.c: Likewise.
16149 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16150 * sysdeps/mach/hurd/sethostid.c: Likewise.
16151 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16152 * sysdeps/mach/xpg-strerror.c: Likewise.
16153 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16154 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16155 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16156 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16157 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16158 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16159 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16160 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16161 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16162 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16163 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16164 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16165 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16166 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16167 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16168 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16169 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16170 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16171 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16172 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16173 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16174
16175 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16176
16177 * stdio-common/_itoa.h: Moved to ...
16178 * sysdeps/generic/_itoa.h: Here.
16179
16180 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16181
16182 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16183 instead of "_itoa.h" and "_itowa.h".
16184 * stdio-common/vfprintf.: Likewise.
16185
16186 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16187
16188 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16189 <bits/wordsize.h>.
16190 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16191 (__signbit): Likwise.
16192 (llrintf): Likwise.
16193 (llrint): Likwise.
16194
16195 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16196
16197 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16198 __WORDSIZE != 64.
16199
16200 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16201
16202 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16203 OVERFLOW_EXCEPTION_OK.
16204 * math/libm-test.inc ("Philosophy"): Update comment about
16205 exception testing.
16206 (OVERFLOW_EXCEPTION): Define.
16207 (OVERFLOW_EXCEPTION_OK): Likewise.
16208 (INVALID_EXCEPTION_OK): Renumber.
16209 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16210 (IGNORE_ZERO_INF_SIGN): Likewise.
16211 (test_exceptions): Handle FE_OVERFLOW.
16212 (exp10_test): Expect overflow exceptions.
16213 (exp2_test): Likewise.
16214 (expm1_test): Likewise.
16215 (nextafter_test): Likewise.
16216 (pow_test): Likewise.
16217 (scalbn_test): Likewise.
16218 (scalbln_test): Likewise.
16219
16220 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16221
16222 * sysdeps/x86_64/bits/atomic.h
16223 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16224 64bit integer.
16225 (atomic_exchange_acq): Likewise.
16226 (__arch_exchange_and_add_body): Likewise.
16227 (__arch_add_body): Likewise.
16228 (atomic_add_negative): Likewise.
16229 (atomic_add_zero): Likewise.
16230
16231 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16232
16233 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16234 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16235
16236 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16237
16238 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16239 Check __x86_64__ instead of __WORDSIZE.
16240
16241 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16242
16243 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16244
16245 2012-03-19 David S. Miller <davem@davemloft.net>
16246
16247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16248
16249 * sysdeps/sparc/fpu/fenv_private.h: New file.
16250 * sysdeps/sparc/fpu/math_private.h: Use it.
16251 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16252 Remove.
16253 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16254 (libc_feholdexcept_setroundl): Remove.
16255 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16256 Remove.
16257 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16258 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16259
16260 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16261
16262 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16263 int64_t instead of long int.
16264 (INSERT_WORDS64): Likwise.
16265
16266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16267
16268 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16269 _Unwind_GetCFA return to _Unwind_Ptr first.
16270
16271 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16272
16273 [BZ #13629]
16274 * math/s_clog.c: Include <float.h>.
16275 (__clog): Scale large or subnormal inputs.
16276 * math/s_clogf.c: Likewise.
16277 * math/s_clogl.c: Likewise.
16278 * math/s_clog10.c: Include <float.h>.
16279 (M_LOG10_2): Define.
16280 (__clog10): Scale large or subnormal inputs.
16281 * math/s_clog10f.c: Likewise.
16282 * math/s_clog10l.c: Likewise.
16283 * math/libm-test.inc (clog_test): Add more tests.
16284 (clog10_test): Likewise.
16285 * sysdeps/i386/fpu/libm-test-ulps: Update.
16286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16287
16288 [BZ #11451]
16289 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16290 x and y.
16291 * math/libm-test.inc (atan2_test): Add another test.
16292
16293 * Makerules (common-objdir-compile): Remove.
16294 * sysdeps/unix/Makefile (config-generated): Do not add
16295 $(unix-generated) to variable.
16296 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16297 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16298 Remove rule.
16299 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16300 Likewise.
16301 [generic bits/local_lim.h] (before-compile): Do not append to
16302 variable.
16303 [generic bits/local_lim.h] (common-generated): Likewise.
16304 [generic sys/param.h] (before-compile): Do not append to variable.
16305 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16306 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16307 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16308 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16309 include.
16310 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16311 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16312 [generic sys/param.h] ($(addprefix
16313 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16314 [generic sys/param.h] (common-generated): Do not append to
16315 variable.
16316 [generic sys/param.h] (sysdep_headers): Likewise.
16317 [generic bits/errno.h] (before-compile): Do not append to
16318 variable.
16319 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16320 rule.
16321 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16322 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16323 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16324 [generic bits/errno.h] (common-generated): Do not append to
16325 variable.
16326 [generic bits/ioctls.h] (before-compile): Do not append to
16327 variable.
16328 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16329 rule.
16330 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16331 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16332 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16333 rule.
16334 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16335 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16336 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16337 [generic bits/ioctls.h] (common-generated): Do not append to
16338 variable.
16339 [generic sys/syscall.h] (syscall.h): Remove variable.
16340 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16341 rule.
16342 [generic sys/syscall.h] (before-compile): Do not append to
16343 variable.
16344 [generic sys/syscall.h] (common-generated): Likewise.
16345 * sysdeps/unix/errnos-tmpl.c: Remove file.
16346 * sysdeps/unix/errnos.awk: Likewise.
16347 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16348 * sysdeps/unix/ioctls.awk: Likewise.
16349 * sysdeps/unix/mk-local_lim.c: Likewise.
16350 * sysdeps/unix/snarf-ioctls: Likewise.
16351
16352 2012-03-19 Richard Henderson <rth@twiddle.net>
16353
16354 * sysdeps/i386/fpu/fenv_private.h: New file.
16355 * sysdeps/i386/fpu/math_private.h: Use it.
16356 (math_opt_barrier, math_force_eval): Remove.
16357 (libc_feholdexcept_setround_53bit): Remove.
16358 (libc_feupdateenv_53bit): Remove.
16359 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16360 (math_opt_barrier, math_force_eval): Remove.
16361 (libc_feholdexcept): Remove.
16362 (libc_feholdexcept_setround): Remove.
16363 (libc_fetestexcept, libc_fesetenv): Remove.
16364 (libc_feupdateenv_test): Remove.
16365 (libc_feupdateenv, libc_feholdsetround): Remove.
16366 (libc_feresetround): Remove.
16367
16368 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16369 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16370
16371 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16372 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16373 (libc_feupdateenv_testl): New.
16374 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16375 (libc_feupdateenv_testf): New.
16376 (libc_feupdateenv): Use libc_feupdateenv_test.
16377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16378 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16379
16380 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16381 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16382 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16383 (libc_feresetround_noex): New.
16384 (libc_feresetround_noexf): New.
16385 (libc_feresetround_noexl): New.
16386 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16387 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16388 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16389 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16390 SET_RESTORE_ROUND.
16391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16393 (__cos): Likewise.
16394 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16395 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16396 SET_RESTORE_ROUND_NOEX.
16397 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16398 SET_RESTORE_ROUND_NOEXF.
16399 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16400 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16401 (libc_feholdsetroundf): New.
16402 (libc_feresetround, libc_feresetroundf): New.
16403
16404 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16405 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16406 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16407
16408 * sysdeps/generic/math_private.h: Include <fenv.h>.
16409 (default_libc_feholdexcept): New.
16410 (default_libc_feholdexcept_setround): New.
16411 (default_libc_fesetenv, default_libc_feupdateenv): New.
16412 (libc_feholdexcept): Only define if undefined.
16413 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16414 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16415 (libc_feholdexcept_setroundl): Likewise.
16416 (libc_feholdexcept_setround_53bit): Likewise.
16417 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16418 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16419 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16420 (libc_feupdateenv_53bit): Likewise.
16421 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16422 (libc_feholdexcept): Convert from macro to inline function.
16423 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16424 (libc_fesetenv, libc_feupdateenv): Likewise.
16425
16426 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16427 not previously defined.
16428 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16429 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16430 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16431 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16432 * sysdeps/ieee754/flt-32/math_private.h: New file.
16433 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16434 math_private.h below SET_FLOAT_WORD.
16435 (__isnan, __isinf_ns, __finite): Remove.
16436 (__isnanf, __isinf_nsf, __finitef): Remove.
16437
16438 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16439
16440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16441
16442 2012-03-17 David S. Miller <davem@davemloft.net>
16443
16444 [BZ #6471]
16445 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16446 for 2.16.
16447
16448 2012-03-16 David S. Miller <davem@davemloft.net>
16449
16450 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16451 warnings.
16452
16453 [BZ #6471]
16454 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16455 properly.
16456 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16457 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16458 sysdep_routines when subdir is sysvipc.
16459 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16460 __getshmlba helper.
16461
16462 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16463
16464 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16465
16466 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16467 [__LP64__].
16468
16469 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16470
16471 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16472 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16473 (__lround): Renamed to ...
16474 (__llround): This. Replace long int with long long int.
16475 Define lround functions as aliases of llround functions.
16476 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16477
16478 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16479
16480 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16481 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16482 adresses to uintptr_t. Replace "long int" and "unsigned long
16483 int" with "greg_t" on va_arg.
16484
16485 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16486
16487 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16488 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16489
16490 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16491 Move e_machine check before EI_CLASS check. Handle x32
16492 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16493 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16494 SKIP_EM_IA_64 and include
16495 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16496
16497 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16498 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16499 (add_system_dir): New macro.
16500
16501 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16502 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16503
16504 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16505
16506 [BZ #2551]
16507 [BZ #2552]
16508 [BZ #2553]
16509 [BZ #2554]
16510 [BZ #2562]
16511 [BZ #2563]
16512 [BZ #2565]
16513 [BZ #2566]
16514 [BZ #2576]
16515 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16516 (y0): Likewise.
16517 * math/w_j0f.c (j0f): Likewise.
16518 (y0f): Likewise.
16519 * math/w_j0l.c (__j0l): Likewise.
16520 (__y0l): Likewise.
16521 * math/w_j1.c (j1): Likewise.
16522 (y1): Likewise.
16523 * math/w_j1f.c (j1f): Likewise.
16524 (y1f): Likewise.
16525 * math/w_j1l.c (__j1l): Likewise.
16526 (__y1l): Likewise.
16527 * math/w_jn.c (jn): Likewise.
16528 (yn): Likewise.
16529 * math/w_jnf.c (jnf): Likewise.
16530 (ynf): Likewise.
16531 * math/w_jnl.c (__jnl): Likewise.
16532 (__ynl): Likewise.
16533 * math/libm-test.inc (j0_test): Add more tests.
16534 (j1_test): Likewise.
16535 (jn_test): Likewise. Add trailing semicolon to existing test.
16536 (y0_test): Likewise.
16537 (y1_test): Likewise.
16538 * sysdeps/i386/fpu/libm-test-ulps: Update.
16539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16540
16541 [BZ #13851]
16542 [BZ #13854]
16543 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16544 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16545 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16546 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16547 (__tanl): Set errno for infinite argument.
16548 * sysdeps/i386/fpu/mptan.c: Remove.
16549 * sysdeps/i386/fpu/s_tan.S: Likewise.
16550 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16551 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16552 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16553 * math/libm-test.inc (tan_test): Add more tests and enable more
16554 tests for double and long double.
16555 * sysdeps/i386/fpu/libm-test-ulps: Update.
16556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16557
16558 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16559
16560 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16561 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16562
16563 2012-03-16 Roland McGrath <roland@hack.frob.com>
16564
16565 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16566 * configure.in: Use it for both main tree and add-ons.
16567 * configure: Regenerated.
16568
16569 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16570
16571 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16572
16573 2012-03-16 Joseph Myers <joseph@codesourcery.com>
16574
16575 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16576 in comment.
16577
16578 [BZ #13851]
16579 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16580 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16581 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16582 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16583 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16584 infinite argument.
16585 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16587 != 0 for prec == 2.
16588 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16589 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16590 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16591 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16592 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16593 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16594 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16595 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16596 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16597 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16598 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16599 * math/libm-test.inc (cos_test): Add more tests and enable more
16600 tests for long double.
16601 (sin_test): Likewise.
16602 (sincos_test): Likewise.
16603 * sysdeps/i386/fpu/libm-test-ulps: Update.
16604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16605
16606 2012-03-16 David S. Miller <davem@davemloft.net>
16607
16608 * sysdeps/sparc/fpu/math_private.h: New file.
16609
16610 2012-03-15 David S. Miller <davem@davemloft.net>
16611
16612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16613 file.
16614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16616 file.
16617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16623 sysdep routines.
16624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16625
16626 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16627 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16628
16629 * sysdeps/sparc/sparc-ifunc.h: New file.
16630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16631 sparc-ifunc.h
16632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16634 Likewise.
16635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16636 Likewise.
16637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16641 Likewise.
16642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16647 Likewise.
16648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16649 Likewise.
16650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16657 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16669 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16671 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16674
16675 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16676
16677 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16678 scaling.
16679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16680
16681 2012-03-15 Andreas Jaeger <aj@suse.de>
16682
16683 [BZ #13852]
16684 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16685 ieee754/flt-32 implementation for sin, cos and sincos.
16686 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16687 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16688 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16689 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16690 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16691 ieee754/flt-32 implementation for tan.
16692
16693 * math/libm-test.inc (cos_test): Enable some large input tests for
16694 float as well
16695 (sin_test): Likewise.
16696 (sincos_test): Likewise.
16697 (tan_test): Add tests for large input.
16698
16699 * sysdeps/i386/fpu/libm-test-ulps: Update.
16700
16701 2012-03-15 Andreas Jaeger <aj@suse.de>
16702
16703 [BZ #13658]
16704 * math/libm-test.inc (cos_test): Add more test cases.
16705 (sin_test): Likewise.
16706 (sincos_test): Likewise.
16707
16708 2012-03-15 Andreas Jaeger <aj@suse.de>
16709
16710 [BZ #13837]
16711 * math/libm-test.inc (cos_test): Add a test case for large input
16712 value.
16713 (sin_test): Likewise.
16714 (sincos_test): Likewise.
16715
16716 2012-03-15 Andreas Jaeger <aj@suse.de>,
16717 Joseph Myers <joseph@codesourcery.com>
16718
16719 [BZ #13658]
16720 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16721 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16722 * sysdeps/i386/fpu/branred.c: Likewise.
16723 * sysdeps/i386/fpu/dosincos.c: Likewise.
16724 * sysdeps/i386/fpu/mpa.c: Likewise.
16725 * sysdeps/i386/fpu/s_cos.S: Likewise.
16726 * sysdeps/i386/fpu/s_sin.S: Likewise.
16727 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16728 * sysdeps/i386/fpu/sincos32.c: Likewise.
16729
16730 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16731 Define.
16732 (libc_feupdateenv_53bit): Define.
16733 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16734 Define.
16735 (libc_feupdateenv_53bit): Define.
16736
16737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16738 53 bit (without extend i386 double precision).
16739
16740 * math/libm-test.inc (sincos_test): Add tests for large input.
16741 (sin): Likewise.
16742 (cos): Likewise.
16743
16744 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16745
16746 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16747
16748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16749
16750 2012-03-15 David S. Miller <davem@davemloft.net>
16751
16752 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16753 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16754 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16755 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16768 file.
16769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16771 file.
16772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16774 file.
16775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16777 file.
16778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16780 fmin/fmax sysdep routines.
16781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16782
16783 2012-03-14 David S. Miller <davem@davemloft.net>
16784
16785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16790 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16806 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16814 routines.
16815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16816 file.
16817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16819 file.
16820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16822 file.
16823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16825 file.
16826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16828 file.
16829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16831 file.
16832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16833 file.
16834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16835 file.
16836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16837 file.
16838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16839 New file.
16840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16841 file.
16842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16843 file.
16844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16846 file.
16847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16849 file.
16850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16852 file.
16853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16855 VIS3 routines.
16856
16857 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16858 New file.
16859
16860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16861
16862 * sysdeps/sparc/configure.in: New file.
16863 * sysdeps/sparc/configure: Generate.
16864 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16865 * configure: Regenerate.
16866 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16867 * config.make.in (have-as-vis3): New.
16868 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16869 available use -Av9d instead of -Av9a.
16870 * sysdeps/sparc/sparc64/Makefile: Likewise.
16871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16873 New file.
16874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16875 file.
16876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16877 New file.
16878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16879 file.
16880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16883 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16885
16886 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16887 fzeros/fnegs to load 0x80000000 into a float register instead of
16888 using the stack.
16889 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16890
16891 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16892
16893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16894 bits/syscall.h.
16895 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16896 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16897 ($(inst_includedir)/bits/syscall.h): Remove rule.
16898 ($(objpfx)bits/syscall.d): Include instead of
16899 $(objpfx)syscall-list.d.
16900 (generated): Change syscall-list.h and syscall-list.d to
16901 bits/syscall.h and bits/syscall.d.
16902
16903 2012-03-14 Roland McGrath <roland@hack.frob.com>
16904
16905 [BZ #13846]
16906 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16907
16908 2012-03-14 Joseph Myers <joseph@codesourcery.com>
16909
16910 [BZ #13841]
16911 * math/s_csqrt.c: Include <float.h>.
16912 (__csqrt): Scale large or subnormal inputs.
16913 * math/s_csqrtf.c: Likewise.
16914 * math/s_csqrtl.c: Likewise.
16915 * math/libm-test.inc (csqrt_test): Add more tests.
16916 * sysdeps/i386/fpu/libm-test-ulps: Update.
16917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16918
16919 [BZ #13840]
16920 * math/libm-test.inc (hypot_test): Add more tests.
16921
16922 2012-03-13 David S. Miller <davem@davemloft.net>
16923
16924 [BZ #13840]
16925 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16926 double-precision for the calculation instead of scaling.
16927
16928 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16929
16930 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16931 manipulate bits before adding and subtracting TWO52[sx].
16932 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16934 Likewise.
16935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16936
16937 2012-03-13 David S. Miller <davem@davemloft.net>
16938
16939 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16940 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16942 rtld-global-offsets.h
16943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16944
16945 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16946 large parameters.
16947
16948 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16949
16950 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16951 'err' in the ifdef scope in which it is actually used.
16952
16953 * nss/nss_db/db-init.c: Include string.h
16954
16955 2012-03-12 David S. Miller <davem@davemloft.net>
16956
16957 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16958 masking out of the most significant byte of random value used.
16959 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16960 Fix coding style in previous change.
16961
16962 * sysdeps/unix/sysv/linux/kernel-features.h
16963 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16964 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16965 expression.
16966 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16967 later.
16968
16969 2012-03-11 David S. Miller <davem@davemloft.net>
16970
16971 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16972 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16974 for 'resultvar' otherwise things get truncated on 64-bit.
16975
16976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16977 Fix masking out of the most significant byte of random value used.
16978
16979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16980
16981 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16982
16983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16984
16985 2012-03-09 David S. Miller <davem@davemloft.net>
16986
16987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16988 variables with appropriate CPP guards.
16989 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16990 frame pointer, not the stack pointer. Correct layout comments. Fix test
16991 on resulting framesize and the management of the outregs buffer for pltexit.
16992 Preserve floating point return values across _dl_call_pltexit call.
16993 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16994 framesize and the management of the outregs buffer for pltexit.
16995 Preserve floating point return values across _dl_call_pltexit
16996 call.
16997 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16998 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16999 (print_exit): Fix format string for return register value.
17000
17001 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17002
17003 * sunrpc/Makefile (others): Add rpcgen.
17004 ($(objpfx)rpcgen): Remove special build rule and dependency on
17005 libc.
17006 * sunrpc/rpcgen.c: New file.
17007
17008 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17009
17010 [BZ #13673]
17011 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17012 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17013 * sysdeps/i386/crti.S: Likewise.
17014 * sysdeps/i386/crtn.S: Likewise.
17015 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17016 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17017 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17018 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17019 * sysdeps/sh/crti.S: Likewise.
17020 * sysdeps/sh/crtn.S: Likewise.
17021 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17022
17023 [BZ #13673]
17024 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17025 with URL.
17026 * locale/programs/locfile-kw.gperf: Likewise.
17027 * locale/programs/charmap-kw.h: Regenerated.
17028 * locale/programs/locfile-kw.h: Likewise.
17029
17030 [BZ #13673]
17031 * intl/plural.y: Replace FSF snail mail address with URL.
17032 * intl/plural.c: Regenerated.
17033
17034 2012-03-09 Richard Henderson <rth@twiddle.net>
17035
17036 * include/math_private.h: Remove file.
17037 * math/math_private.h: Move file ...
17038 * sysdeps/generic/math_private.h: ... here.
17039
17040 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17041 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17042 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17043
17044 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17045 and <math_private.h>.
17046 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17047 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17048 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17049 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17050 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17102 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17103 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17104 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17105 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17134 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17135 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17136 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17137 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17140 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17141 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17142 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17143 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17144 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17145 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17146 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17147 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17148 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17149 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17150 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17151 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17152 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17153 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17158 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17159 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17160 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17161 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17162 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17163 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17164 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17168 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17169 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17170 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17173 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17174 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17175 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17176 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17177 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17178 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17179 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17180 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17181 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17183 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17184 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17185 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17186 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17187 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17188 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17189 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17190 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17191 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17192 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17194 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17195 * sysdeps/ieee754/k_standard.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17311 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17315 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17316 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17318 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17321 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17323 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17328 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17345 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17346 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17356 * sysdeps/ieee754/s_lib_version.c: Likewise.
17357 * sysdeps/ieee754/s_matherr.c: Likewise.
17358 * sysdeps/ieee754/s_signgam.c: Likewise.
17359 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17360 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17361 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17362 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17363 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17364 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17365 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17366 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17367 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17368 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17369 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17370 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17371 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17372 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17373 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17374 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17375 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17376 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17378 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17380
17381 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17382
17383 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17384 * sunrpc/rpc_main.c: Likewise.
17385 * sunrpc/rpc_svcout.c: Likewise.
17386
17387 2012-03-09 David S. Miller <davem@davemloft.net>
17388
17389 * include/math_private.h: New file.
17390
17391 2012-03-09 Joseph Myers <joseph@codesourcery.com>
17392
17393 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17394 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17395 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17396 from <bits/socket_type.h>.
17397 (enum __socket_type): Don't define here.
17398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17400 bits/socket_type.h.
17401
17402 [BZ #13566]
17403 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17404 checking __USE_GNU.
17405
17406 * Makerules ($(inst_includedir)/%.h): New rule.
17407 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17408 (install-others): Remove variable setting.
17409 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17410
17411 2012-03-08 Richard Henderson <rth@twiddle.net>
17412
17413 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17414 from macro to inline function; merge with the
17415 !__LIBC_INTERNAL_MATH_INLINES version.
17416 (__ieee754_sqrtf): Likewise.
17417
17418 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17419 to inline function.
17420 (__rintf, __floor, __floorf): Likewise.
17421
17422 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17423 macro to inline function.
17424 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17425
17426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17427 not <math/math_private.h>.
17428
17429 2012-03-08 David S. Miller <davem@davemloft.net>
17430
17431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17432 copyright year.
17433 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17434
17435 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17436
17437 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17438 normalization.
17439 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17440 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17441
17442 2012-03-08 Ulrich Drepper <drepper@gmail.com>
17443
17444 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17445 be defined individually, they must be defined as a block. Define
17446 S for printing a string instead of hidint the different by using a
17447 macro for adding the 'l'.
17448 * stdio-common/tst-fphex-wide.c: Adjust.
17449
17450 2012-03-07 Marek Polacek <polacek@redhat.com>
17451
17452 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17453
17454 2012-03-08 Marek Polacek <polacek@redhat.com>
17455
17456 [BZ #13806]
17457 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17458 * stdio-common/tst-fphex.c: Define a few macros to make the
17459 test reusable. Use them.
17460 * stdio-common/tst-fphex-wide.c: New file.
17461
17462 2012-03-08 Joseph Myers <joseph@codesourcery.com>
17463
17464 [BZ #6911]
17465 * manual/macros.texi (gnusystems): New macro.
17466 (nongnusystems): Likewise.
17467 (gnulinuxhurdsystems): Likewise.
17468 (gnuhurdsystems): Likewise..
17469 (gnulinuxsystems): Likewise.
17470 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17471 variants of the GNU system, not "GNU system".
17472 * manual/conf.texi: Likewise.
17473 * manual/errno.texi: Likewise. Update example of errno macro
17474 expansion.
17475 * manual/filesys.texi: Likewise.
17476 (getumask): Document as specific to GNU/Hurd.
17477 * manual/install.texi: Likewise. Reword some references to
17478 GNU/Linux.
17479 * manual/intro.texi: Likewise.
17480 * manual/io.texi: Likewise.
17481 (File Name Portability): Detail which constraints are inapplicable
17482 to all GNU systems and which are only inapplicable to GNU/Hurd.
17483 * manual/job.texi: Likewise.
17484 * manual/llio.texi: Likewise.
17485 (O_NOCTTY): Document as present on GNU/Linux.
17486 * manual/maint.texi: Likewise.
17487 * manual/memory.texi: Likewise.
17488 * manual/pattern.texi: Likewise.
17489 * manual/pipe.texi: Likewise.
17490 * manual/process.texi: Likewise.
17491 * manual/resource.texi: Likewise.
17492 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17493 child on GNU/Hurd.
17494 * manual/setjmp.texi: Likewise.
17495 * manual/signal.texi: Likewise.
17496 * manual/startup.texi: Likewise.
17497 * manual/stdio.texi: Likewise.
17498 * manual/terminal.texi: Likewise.
17499 (ONLCR): Document as POSIX.
17500 (OXTABS): Document availability on GNU/Linux as XTABS.
17501 (ONOEOT): Document availability separately from other bits.
17502 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17503 * manual/time.texi: Likewise.
17504 * manual/users.texi: Likewise.
17505 * INSTALL: Regenerated.
17506 * sysdeps/gnu/errlist.c: Regenerated.
17507
17508 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17509 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17510 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17511 puts.
17512 * configure: Regenerated.
17513
17514 2012-03-07 Joseph Myers <joseph@codesourcery.com>
17515
17516 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17517 default includes instead of AC_HEADER_CHECK.
17518 * sysdeps/i386/configure: Regenerated.
17519
17520 [BZ #10716]
17521 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17522 * math/s_cacoshf.c (__cacoshf): Likewise.
17523 * math/s_cacoshl.c (__cacoshl): Likewise.
17524 * math/s_casinh.c (__casinh): Set signs of result from argument.
17525 * math/s_casinhf.c (__casinhf): Likewise.
17526 * math/s_casinhl.c (__casinhl): Likewise.
17527 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17528 (casinh_test): Add more tests.
17529 * sysdeps/i386/fpu/libm-test-ulps: Update.
17530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17531
17532 2012-03-07 Ulrich Drepper <drepper@gmail.com>
17533
17534 * po/zh_TW.po: Update from translation team.
17535
17536 * login/Makefile (distribute): Remove variable.
17537 * catgets/Makefile: Likewise.
17538 * mach/Makefile: Likewise.
17539 * malloc/Makefile: Likewise.
17540 * misc/Makefile: Likewise.
17541 * iconv/Makefile: Likewise.
17542 * nscd/Makefile: Likewise.
17543 * hurd/Makefile: Likewise.
17544 * manual/Makefile: Likewise.
17545 * locale/Makefile: Likewise.
17546 * intl/Makefile: Likewise.
17547 * conform/Makefile: Likewise.
17548 * nss/Makefile: Likewise.
17549 * time/Makefile: Likewise.
17550 * soft-fp/Makefile: Likewise.
17551 * dirent/Makefile: Likewise.
17552 * gmon/Makefile: Likewise.
17553 * po/Makefile: Likewise.
17554 * rt/Makefile: Likewise.
17555 * socket/Makefile: Likewise.
17556 * math/Makefile: Likewise.
17557 * signal/Makefile: Likewise.
17558 * debug/Makefile: Likewise.
17559 * elf/Makefile: Likewise.
17560 * timezone/Makefile: Likewise.
17561 * stdlib/Makefile: Likewise.
17562 * iconvdata/Makefile: Likewise.
17563 * sunrpc/Makefile: Likewise.
17564 * io/Makefile: Likewise.
17565 * argp/Makefile: Likewise.
17566 * inet/Makefile: Likewise.
17567 * hesiod/Makefile: Likewise.
17568 * grp/Makefile: Likewise.
17569 * csu/Makefile: Likewise.
17570 * wctype/Makefile: Likewise.
17571 * crypt/Makefile: Likewise.
17572 * libio/Makefile: Likewise.
17573 * string/Makefile: Likewise.
17574 * nis/Makefile: Likewise.
17575 * resolv/Makefile: Likewise.
17576 * stdio-common/Makefile: Likewise.
17577 * wcsmbs/Makefile: Likewise.
17578 * dlfcn/Makefile: Likewise.
17579 * posix/Makefile: Likewise.
17580
17581 [BZ #6959]
17582 * timezone/Makefile: Don't install timezone files, just the programs
17583 and scripts.
17584
17585 2012-03-06 Ulrich Drepper <drepper@gmail.com>
17586
17587 * nss/databases.def: Add missing gshadow entry.
17588
17589 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17590
17591 2012-03-06 Marek Polacek <polacek@redhat.com>
17592
17593 [BZ #13726]
17594 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17595 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17596 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17597 * stdio-common/tst-long-dbl-fphex.c: New file.
17598
17599 2012-03-06 David S. Miller <davem@davemloft.net>
17600
17601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17602 (set_obp_int): New function.
17603 (get_obp_int): New function.
17604 (__get_clockfreq_via_dev_openprom): Likewise.
17605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17606 Avoid unused variable warnings on 'val' and use builtin_expect.
17607 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17608 __builtin_expect.
17609 (INLINE_CLONE_SYSCALL): Likewise.
17610
17611 2012-03-05 David S. Miller <davem@davemloft.net>
17612
17613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17614
17615 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17616
17617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17618
17619 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17620 only for |x| >= 40.
17621 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17622
17623 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
17624
17625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17626 Replace gettimeofday with __vdso_gettimeofday.
17627
17628 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17629 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17630 __vdso_clock_gettime and __vdso_getcpu.
17631
17632 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17633 time with __vdso_time.
17634
17635 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17636
17637 * manual/lang.texi (size_t): Note types to which size_t may be
17638 equivalent with the GNU C Library, but do not describe when
17639 differences between them are significant.
17640
17641 2012-03-05 Andreas Jaeger <aj@suse.de>
17642
17643 * sysdeps/i386/fpu/libm-test-ulps: Update.
17644
17645 2012-03-05 Joseph Myers <joseph@codesourcery.com>
17646
17647 [BZ #3976]
17648 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17649 (__ieee754_pow): Save and restore rounding mode and use
17650 round-to-nearest for main computations.
17651 * math/libm-test.inc (pow_test_tonearest): New function.
17652 (pow_test_towardzero): Likewise.
17653 (pow_test_downward): Likewise.
17654 (pow_test_upward): Likewise.
17655 (main): Call the new functions.
17656 * sysdeps/i386/fpu/libm-test-ulps: Update.
17657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17658
17659 [BZ #3976]
17660 * math/libm-test.inc (cosh_test_tonearest): New function.
17661 (cosh_test_towardzero): Likewise.
17662 (cosh_test_downward): Likewise.
17663 (cosh_test_upward): Likewise.
17664 (sinh_test_tonearest): Likewise.
17665 (sinh_test_towardzero): Likewise.
17666 (sinh_test_downward): Likewise.
17667 (sinh_test_upward): Likewise.
17668 (main): Call the new functions.
17669 * sysdeps/i386/fpu/libm-test-ulps: Update.
17670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17671
17672 2012-03-05 Tom de Vries <tom@codesourcery.com>
17673
17674 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17675 default stack guard is set in last bytes.
17676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17677
17678 2012-03-05 Kees Cook <keescook@chromium.org>
17679
17680 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17681
17682 [BZ #13656]
17683 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17684 possibly allocate from heap instead of stack.
17685 * stdio-common/bug-vfprintf-nargs.c: New file.
17686 * stdio-common/Makefile (tests): Add nargs overflow test.
17687
17688 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17689
17690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17691
17692 2012-03-03 Marek Polacek <polacek@redhat.com>
17693
17694 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17695 * math/math_private.h: Likewise.
17696 * stdlib/tst-strtod.c: Likewise.
17697 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17698 * sysdeps/x86_64/bits/atomic.h: Likewise.
17699
17700 2012-03-02 David S. Miller <davem@davemloft.net>
17701
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17706 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17707 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17708 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17709 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17710
17711 2012-03-02 Roland McGrath <roland@hack.frob.com>
17712
17713 [BZ #13792]
17714 * manual/examples/README: New file, says the example source files
17715 can be used under GPL>=2.
17716 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17717 line containing just "*/".
17718 * manual/examples/add.c: Add copyright header (GPL>=2).
17719 * manual/examples/argp-ex1.c: Likewise.
17720 * manual/examples/argp-ex2.c: Likewise.
17721 * manual/examples/argp-ex3.c: Likewise.
17722 * manual/examples/argp-ex4.c: Likewise.
17723 * manual/examples/atexit.c: Likewise.
17724 * manual/examples/db.c: Likewise.
17725 * manual/examples/dir.c: Likewise.
17726 * manual/examples/dir2.c: Likewise.
17727 * manual/examples/execinfo.c: Likewise.
17728 * manual/examples/filecli.c: Likewise.
17729 * manual/examples/filesrv.c: Likewise.
17730 * manual/examples/fmtmsgexpl.c: Likewise.
17731 * manual/examples/genpass.c: Likewise.
17732 * manual/examples/inetcli.c: Likewise.
17733 * manual/examples/inetsrv.c: Likewise.
17734 * manual/examples/isockad.c: Likewise.
17735 * manual/examples/longopt.c: Likewise.
17736 * manual/examples/memopen.c: Likewise.
17737 * manual/examples/memstrm.c: Likewise.
17738 * manual/examples/mkfsock.c: Likewise.
17739 * manual/examples/mkisock.c: Likewise.
17740 * manual/examples/mygetpass.c: Likewise.
17741 * manual/examples/pipe.c: Likewise.
17742 * manual/examples/popen.c: Likewise.
17743 * manual/examples/rprintf.c: Likewise.
17744 * manual/examples/search.c: Likewise.
17745 * manual/examples/select.c: Likewise.
17746 * manual/examples/setjmp.c: Likewise.
17747 * manual/examples/sigh1.c: Likewise.
17748 * manual/examples/sigusr.c: Likewise.
17749 * manual/examples/stpcpy.c: Likewise.
17750 * manual/examples/strdupa.c: Likewise.
17751 * manual/examples/strftim.c: Likewise.
17752 * manual/examples/strncat.c: Likewise.
17753 * manual/examples/subopt.c: Likewise.
17754 * manual/examples/swapcontext.c: Likewise.
17755 * manual/examples/termios.c: Likewise.
17756 * manual/examples/testopt.c: Likewise.
17757 * manual/examples/testpass.c: Likewise.
17758 * manual/examples/timeval_subtract.c: Likewise.
17759
17760 [BZ #13792]
17761 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17762 function to ...
17763 * manual/timeval_subtract.c.texi: ... here, new file.
17764
17765 2012-03-02 David S. Miller <davem@davemloft.net>
17766
17767 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17768
17769 2012-03-02 Joseph Myers <joseph@codesourcery.com>
17770
17771 [BZ #3976]
17772 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17773 (__sin): Save and restore rounding mode and use round-to-nearest
17774 for all computations.
17775 (__cos): Save and restore rounding mode and use round-to-nearest
17776 for all computations.
17777 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17778 <fenv.h>.
17779 (tan): Save and restore rounding mode and use round-to-nearest for
17780 all computations.
17781 * math/libm-test.inc (cos_test_tonearest): New function.
17782 (cos_test_towardzero): Likewise.
17783 (cos_test_downward): Likewise.
17784 (cos_test_upward): Likewise.
17785 (sin_test_tonearest): Likewise.
17786 (sin_test_towardzero): Likewise.
17787 (sin_test_downward): Likewise.
17788 (sin_test_upward): Likewise.
17789 (tan_test_tonearest): Likewise.
17790 (tan_test_towardzero): Likewise.
17791 (tan_test_downward): Likewise.
17792 (tan_test_upward): Likewise.
17793 (main): Call the new functions.
17794 * sysdeps/i386/fpu/libm-test-ulps: Update.
17795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17796
17797 [BZ #10135]
17798 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17799 small n, then large n, before computing and testing k+n.
17800 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17801 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17802 Likewise.
17803 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17804 Likewise.
17805 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17806 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17808 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17811 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17812 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17813 * math/libm-test.inc (scalbn_test): Add more tests.
17814 (scalbln_test): Likewise.
17815
17816 * manual/filesys.texi (mode_t): Describe constraints on size and
17817 signedness, not exact equivalence to a particular type.
17818 (ino_t): Likewise.
17819 (ino64_t): Likewise.
17820 (dev_t): Likewise.
17821 (nlink_t): Likewise.
17822 (blkcnt_t): Likewise.
17823 (blkcnt64_t): Likewise.
17824 * manual/llio.texi (off_t): Likewise.
17825
17826 [BZ #3976]
17827 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17828 (__ieee754_exp): Save and restore rounding mode and use
17829 round-to-nearest for all computations.
17830 * math/libm-test.inc (exp_test_tonearest): New function.
17831 (exp_test_towardzero): Likewise.
17832 (exp_test_downward): Likewise.
17833 (exp_test_upward): Likewise.
17834 (main): Call the new functions.
17835 * sysdeps/i386/fpu/libm-test-ulps: Update.
17836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17837
17838 2012-03-01 Chris Demetriou <cgd@google.com>
17839
17840 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17841 have predictable order.
17842
17843 2012-03-01 David S. Miller <davem@davemloft.net>
17844
17845 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17846
17847 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17848 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17849 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17850 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17851
17852 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17853 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17854 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17856 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17857 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17858 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17859 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17860 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17861
17862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17863
17864 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17865 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17866 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17867
17868 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17869 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17870 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17871 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17872 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17875 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17876 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17877 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17878 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17882 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17884 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17885 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17886 * sysdeps/sparc/elf/configure: Regenerated.
17887
17888 2012-03-01 Joseph Myers <joseph@codesourcery.com>
17889
17890 * configure.in (AS, LD): Require binutils 2.20 or later.
17891 * configure: Regenerated.
17892 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17893 as required minimum version.
17894 * INSTALL: Regenerated.
17895
17896 [BZ #2541]
17897 [BZ #4108]
17898 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17899 before squaring exponent.
17900 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17901 bottom long double and 27 bits of top long double before squaring
17902 exponent.
17903 * math/libm-test.inc (erfc_test): Add more tests.
17904 * sysdeps/i386/fpu/libm-test-ulps: Update.
17905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17907
17908 2012-03-01 Kai Tietz <ktietz@redhat.com>
17909
17910 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17911 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17912 containing bit-fields.
17913 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17914 * soft-fp/single.h (_FP_UNION_S): Likewise.
17915 * soft-fp/double.h (_FP_UNION_D): Likewise.
17916
17917 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17918
17919 [BZ #13786]
17920 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17921 not include ../strcmp.S.
17922 [USE_AS_STRNCASECMP_L]: Likewise.
17923 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17924 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17925 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17926 (__strncasecmp_l_ia32): Define as alias to
17927 __strncasecmp_l_nonascii.
17928
17929 [BZ #5794]
17930 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17931 * sysdeps/i386/fpu/libm-test-ulps: Update.
17932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17933
17934 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17936
17937 2012-02-29 Jeff Law <law@redhat.com>
17938
17939 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17940 out of bounds read.
17941
17942 2012-02-29 Marek Polacek <polacek@redhat.com>
17943
17944 [BZ #13706]
17945 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17946 * elf/Makefile: Add rules to run tst-unused-dep.out.
17947
17948 2012-02-28 David S. Miller <davem@davemloft.net>
17949
17950 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17951 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17952 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17953 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17954 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17955 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17956
17957 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17958
17959 * math/libm-test.inc (llround_test): Move one test from
17960 lround_test. Use TEST_f_L in moved test.
17961 (lround_test): Move misplaced test to llround_test. Add testcase
17962 from bug 2561.
17963
17964 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17965
17966 * sysdeps/x86_64/fpu/e_expf.S: New file.
17967 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17968
17969 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17970
17971 [BZ #13637]
17972 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17973 of remain_len that may cause incomplete multi-byte character and
17974 false match.
17975 * posix/bug-regex33.c: New file.
17976 * posix/Makefile (tests): Add bug-regex33.
17977
17978 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17979
17980 * manual/macros.texi: New file.
17981 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17982 * manual/libc.texinfo: Include macros.texi.
17983 * manual/creatute.texi: Likewise.
17984 * manual/install.texi: Likewise.
17985 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17986 @glibcadj{} in references to the GNU C Library.
17987 * manual/charset.texi: Likewise.
17988 * manual/conf.texi: Likewise.
17989 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17990 when not using those macros.
17991 * manual/creature.texi: Likewise.
17992 * manual/crypt.texi: Likewise.
17993 * manual/errno.texi: Likewise.
17994 * manual/filesys.texi: Likewise.
17995 * manual/header.texi: Likewise.
17996 * manual/install.texi: Likewise.
17997 * manual/intro.texi: Likewise.
17998 * manual/io.texi: Likewise.
17999 * manual/job.texi: Likewise.
18000 * manual/lang.texi: Likewise.
18001 * manual/libc.texiinfo: Likewise.
18002 * manual/llio.texi: Likewise.
18003 * manual/locale.texi: Likewise.
18004 * manual/maint.texi: Likewise.
18005 * manual/math.texi: Likewise.
18006 * manual/memory.texi: Likewise.
18007 * manual/message.texi: Likewise.
18008 * manual/nss.texi: Likewise.
18009 * manual/pattern.texi: Likewise.
18010 * manual/process.texi: Likewise.
18011 * manual/resource.texi: Likewise.
18012 * manual/search.texi: Likewise.
18013 * manual/setjmp.texi: Likewise.
18014 * manual/signal.texi: Likewise.
18015 * manual/socket.texi: Likewise.
18016 * manual/startup.texi: Likewise.
18017 * manual/stdio.texi: Likewise.
18018 * manual/string.texi: Likewise.
18019 * manual/sysinfo.texi: Likewise.
18020 * manual/syslog.texi: Likewise.
18021 * manual/terminal.texi: Likewise.
18022 * manual/time.texi: Likewise.
18023 * manual/users.texi: Likewise.
18024 * INSTALL: Regenerated.
18025 * NOTES: Regenerated.
18026 * sysdeps/gnu/errlist.c: Regenerated.
18027
18028 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18029
18030 * include/dirent.h: Include <dirstream.h> before
18031 <dirent/dirent.h>.
18032
18033 2012-02-28 David S. Miller <davem@davemloft.net>
18034
18035 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18036 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18037 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18038 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18039
18040 2012-02-27 David S. Miller <davem@davemloft.net>
18041
18042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18044 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18045 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18046
18047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18048 frame pointer instead of stack pointer relative arg slot.
18049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18050 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18051 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18052
18053 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18054
18055 [BZ #3992]
18056 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18057
18058 2012-02-27 David S. Miller <davem@davemloft.net>
18059
18060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18064 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18065 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18066 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18067 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18068
18069 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18070
18071 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18072 later. Allow versions 5-9.
18073 * configure: Regenerated.
18074 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18075 required minimum version and 4.6 as recommended version. Do not
18076 mention bugs in GCC 2.7 and 2.8.
18077 * INSTALL: Regenerated.
18078
18079 2012-02-27 David S. Miller <davem@davemloft.net>
18080
18081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18085 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18086 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18087 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18088 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18089
18090 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18091 manipulate bits before adding and subtracting TWO112[sx].
18092 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18093
18094 2012-02-27 Roland McGrath <roland@hack.frob.com>
18095
18096 [BZ #13775]
18097 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18098 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18099 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18100 being in POSIX, because they are in 1003.1-2008.
18101
18102 * rt/tst-aio.c: Include <fcntl.h>.
18103 * rt/tst-aio7.c: Likewise.
18104 * rt/tst-aio64.c: Likewise.
18105
18106 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18107
18108 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18109
18110 * manual/install.texi (--with-headers): Describe headers as
18111 interface headers, not private headers.
18112 (Specific advice for GNU/Linux systems): Describe use of headers
18113 from "make headers_install", not private headers from older
18114 kernels.
18115 * INSTALL: Regenerated.
18116 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18117 Change to 2.6.19.
18118 * sysdeps/unix/sysv/linux/configure: Regenerated.
18119
18120 * manual/llio.texi (fclean): Remove documentation.
18121
18122 * manual/Makefile (libc-texi-generated): New variable. Include
18123 version.texi.
18124 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18125 $(libc-texi-generated), not duplicated list of files.
18126 (version.texi, stamp-version): New rules.
18127 (realclean): Remove $(libc-texi-generated), not individual files
18128 from that list. Do not remove dir-add.texinfo.
18129 * manual/libc.texinfo: Comment out uses of edition numbers and
18130 references to printed manual. Remove last-updated dates.
18131 (EDITION): Comment out.
18132 (ISBN): Likewise.
18133 (VERSION, UPDATED): Remove.
18134 (version.texi): Include.
18135
18136 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18137
18138 * sysdeps/posix/spawni.c: Include <signal.h>.
18139 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18140 * sysdeps/pthread/aio_fsync.c: Likewise.
18141
18142 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18143
18144 * conform/Makefile (tests): Run only when not cross-compiling and
18145 when fast-check is not defined.
18146
18147 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18148 * conform/data/limits.h-data: Fixes for POSIX2008.
18149 * conform/run-conformtest.sh: Run all tests.
18150 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18151 headers.
18152 * include/bits/dlfcn.h: Likewise.
18153 * include/langinfo.h: Likewise.
18154 * include/monetary.h: Likewise.
18155 * include/sys/poll.h: Likewise.
18156
18157 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18158 for __USE_GNU.
18159 * posix/spawn.h: Define __need_sigset_t.
18160 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18161 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18162 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18163 to get sigevent_t only.
18164 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18165 only for __USE_GNU.
18166 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18167 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18168 process_vm_writev only for __USE_GNU.
18169 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18170
18171 * conform/Makefile: For now ignore errors from run-conformtest.
18172 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18173 POSIX to avoid namespace pollution. Don't prepend headers.
18174 * conform/data/aio.h-data: Fixes for POSIX testing.
18175 * conform/data/fcntl.h-data: Likewise.
18176 * conform/data/glob.h-data: Likewise.
18177 * conform/data/grp.h-data: Likewise.
18178 * conform/data/pthread.h-data: Likewise.
18179 * conform/data/pwd.h-data: Likewise.
18180 * conform/data/signal.h-data: Likewise.
18181 * conform/data/spawn.h-data: Likewise.
18182 * conform/data/stdio.h-data: Likewise.
18183 * conform/data/stdlib.h-data: Likewise.
18184 * conform/data/stropts.h-data: Likewise.
18185 * conform/data/sys/mman.h-data: Likewise.
18186 * conform/data/sys/stat.h-data: Likewise.
18187 * conform/data/sys/types.h-data: Likewise.
18188 * conform/data/sys/wait.h-data: Likewise.
18189 * conform/data/time.h-data: Likewise.
18190 * conform/data/unistd.h-data: Likewise.
18191 * conform/data/utime.h-data: Likewise.
18192
18193 * io/sys/stat.h: fchmod was always in POSIX.
18194 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18195 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18196 * rt/aio.h: Define __need_timespec before including <time.h>.
18197 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18198 struct. Add forward declaration of pthread_attr_t and use it in
18199 sigevent.
18200 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18201 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18202 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18203 always remove CLK_TCK definition.
18204
18205 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18206
18207 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18208
18209 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18210
18211 * conform/run-conformtest.sh: New file.
18212 * conform/Makefile: Run run-conformtest for tests.
18213 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18214 support.
18215
18216 * conform/data/uchar.h-data: New file.
18217 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18218 * conform/data/arpa/inet.h-data: Likewise.
18219 * conform/data/assert.h-data: Likewise.
18220 * conform/data/complex.h-data: Likewise.
18221 * conform/data/cpio.h-data: Likewise.
18222 * conform/data/ctype.h-data: Likewise.
18223 * conform/data/dirent.h-data: Likewise.
18224 * conform/data/dlfcn.h-data: Likewise.
18225 * conform/data/errno.h-data: Likewise.
18226 * conform/data/fcntl.h-data: Likewise.
18227 * conform/data/float.h-data: Likewise.
18228 * conform/data/fmtmsg.h-data: Likewise.
18229 * conform/data/fnmatch.h-data: Likewise.
18230 * conform/data/ftw.h-data: Likewise.
18231 * conform/data/glob.h-data: Likewise.
18232 * conform/data/grp.h-data: Likewise.
18233 * conform/data/iconv.h-data: Likewise.
18234 * conform/data/inttypes.h-data: Likewise.
18235 * conform/data/langinfo.h-data: Likewise.
18236 * conform/data/libgen.h-data: Likewise.
18237 * conform/data/limits.h-data: Likewise.
18238 * conform/data/locale.h-data: Likewise.
18239 * conform/data/math.h-data: Likewise.
18240 * conform/data/monetary.h-data: Likewise.
18241 * conform/data/mqueue.h-data: Likewise.
18242 * conform/data/ndbm.h-data: Likewise.
18243 * conform/data/net/if.h-data: Likewise.
18244 * conform/data/netdb.h-data: Likewise.
18245 * conform/data/netinet/in.h-data: Likewise.
18246 * conform/data/nl_types.h-data: Likewise.
18247 * conform/data/poll.h-data: Likewise.
18248 * conform/data/pthread.h-data: Likewise.
18249 * conform/data/pwd.h-data: Likewise.
18250 * conform/data/regex.h-data: Likewise.
18251 * conform/data/sched.h-data: Likewise.
18252 * conform/data/search.h-data: Likewise.
18253 * conform/data/semaphore.h-data: Likewise.
18254 * conform/data/setjmp.h-data: Likewise.
18255 * conform/data/signal.h-data: Likewise.
18256 * conform/data/spawn.h-data: Likewise.
18257 * conform/data/stdarg.h-data: Likewise.
18258 * conform/data/stdio.h-data: Likewise.
18259 * conform/data/stdlib.h-data: Likewise.
18260 * conform/data/string.h-data: Likewise.
18261 * conform/data/strings.h-data: Likewise.
18262 * conform/data/stropts.h-data: Likewise.
18263 * conform/data/sys/ipc.h-data: Likewise.
18264 * conform/data/sys/mman.h-data: Likewise.
18265 * conform/data/sys/msg.h-data: Likewise.
18266 * conform/data/sys/resource.h-data: Likewise.
18267 * conform/data/sys/select.h-data: Likewise.
18268 * conform/data/sys/sem.h-data: Likewise.
18269 * conform/data/sys/shm.h-data: Likewise.
18270 * conform/data/sys/socket.h-data: Likewise.
18271 * conform/data/sys/stat.h-data: Likewise.
18272 * conform/data/sys/statvfs.h-data: Likewise.
18273 * conform/data/sys/time.h-data: Likewise.
18274 * conform/data/sys/timeb.h-data: Likewise.
18275 * conform/data/sys/times.h-data: Likewise.
18276 * conform/data/sys/types.h-data: Likewise.
18277 * conform/data/sys/uio.h-data: Likewise.
18278 * conform/data/sys/un.h-data: Likewise.
18279 * conform/data/sys/utsname.h-data: Likewise.
18280 * conform/data/sys/wait.h-data: Likewise.
18281 * conform/data/syslog.h-data: Likewise.
18282 * conform/data/tar.h-data: Likewise.
18283 * conform/data/termios.h-data: Likewise.
18284 * conform/data/utime.h-data: Likewise.
18285 * conform/data/utmpx.h-data: Likewise.
18286 * conform/data/varargs.h-data: Likewise.
18287 * conform/data/wchar.h-data: Likewise.
18288 * conform/data/wctype.h-data: Likewise.
18289 * conform/data/wordexp.h-data: Likewise.
18290
18291 * include/stropts.h: New file.
18292 * include/uchar.h: New file.
18293 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18294 * include/assert.h: Likewise.
18295 * include/ctype.h: Likewise.
18296 * include/dirent.h: Likewise.
18297 * include/dlfcn.h: Likewise.
18298 * include/fcntl.h: Likewise.
18299 * include/fnmatch.h: Likewise.
18300 * include/glob.h: Likewise.
18301 * include/grp.h: Likewise.
18302 * include/libio.h: Likewise.
18303 * include/locale.h: Likewise.
18304 * include/math.h: Likewise.
18305 * include/net/if.h: Likewise.
18306 * include/netdb.h: Likewise.
18307 * include/netinet/in.h: Likewise.
18308 * include/pthread.h: Likewise.
18309 * include/pwd.h: Likewise.
18310 * include/regex.h: Likewise.
18311 * include/sched.h: Likewise.
18312 * include/search.h: Likewise.
18313 * include/setjmp.h: Likewise.
18314 * include/signal.h: Likewise.
18315 * include/stdio.h: Likewise.
18316 * include/stdlib.h: Likewise.
18317 * include/string.h: Likewise.
18318 * include/sys/cdefs.h: Likewise.
18319 * include/sys/mman.h: Likewise.
18320 * include/sys/msg.h: Likewise.
18321 * include/sys/resource.h: Likewise.
18322 * include/sys/select.h: Likewise.
18323 * include/sys/socket.h: Likewise.
18324 * include/sys/stat.h: Likewise.
18325 * include/sys/statvfs.h: Likewise.
18326 * include/sys/time.h: Likewise.
18327 * include/sys/times.h: Likewise.
18328 * include/sys/uio.h: Likewise.
18329 * include/sys/utsname.h: Likewise.
18330 * include/sys/wait.h: Likewise.
18331 * include/termios.h: Likewise.
18332 * include/time.h: Likewise.
18333 * include/ulimit.h: Likewise.
18334 * include/unistd.h: Likewise.
18335 * include/utime.h: Likewise.
18336 * include/wchar.h: Likewise.
18337 * include/wctype.h: Likewise.
18338 * include/wordexp.h: Likewise.
18339
18340 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18341
18342 * time/time.h: TIME_UTC must be a macro.
18343 Make timespec_get available for ISO C11 only as well.
18344
18345 2012-02-24 Ulrich Drepper <drepper@gmail.com>
18346
18347 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18348 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18349
18350 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18351
18352 * configure.in: Use -o not -a in test for unsupported multi-arch.
18353
18354 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18355
18356 * manual/texinfo.tex: Update to version 2012-01-19.16.
18357
18358 2012-02-24 Joseph Myers <joseph@codesourcery.com>
18359
18360 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18361
18362 2012-02-24 Roland McGrath <roland@hack.frob.com>
18363
18364 [BZ #13738]
18365 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18366 * manual/fdl-1.3.texi: New file.
18367 * manual/fdl-1.1.texi: File removed.
18368
18369 [BZ #13738]
18370 * manual/libc.texinfo (FDL_VERSION): New @set.
18371 Use it for mention of FDL in cover text.
18372 (Documentation License): Use it in @include file name.
18373
18374 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18375 Roland McGrath <roland@hack.frob.com>
18376
18377 [BZ #5461]
18378 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18379 not LONG_LONG_MAX and LONG_LONG_MIN.
18380 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18381 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18382 name.
18383 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18384
18385 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18386
18387 [BZ #2547]
18388 [BZ #11365]
18389 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18390 manipulate bits before adding and subtracting TWO23[sx].
18391 * math/libm-test.inc (nearbyint_test): Add more tests.
18392
18393 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18394
18395 [BZ #2548]
18396 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18397 bits before adding and subtracting TWO23[sx].
18398 * math/libm-test.inc (rint_test): Add more tests.
18399 (rint_test_tonearest): Likewise.
18400 (rint_test_towardzero): Likewise.
18401 (rint_test_downward): Likewise.
18402 (rint_test_upward: Likewise.
18403
18404 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18405
18406 [BZ #10110]
18407 * include/stdc-predef.h: New file. Extracted from features.h.
18408 * include/features.h: Include stdc-predef.h.
18409 * Makefile (headers): Add stdc-predef.h.
18410 * CONFORMANCE (Compiler limitations): Update.
18411
18412 2012-02-22 Joseph Myers <joseph@codesourcery.com>
18413
18414 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18415
18416 2012-02-21 David S. Miller <davem@davemloft.net>
18417
18418 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18420
18421 2012-02-20 David S. Miller <davem@davemloft.net>
18422
18423 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18424 using a normal save/restore sequence, rather than allocating a
18425 dummy stack frame just to store a frame pointer and restore.
18426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18427
18428 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18429
18430 * manual/install.texi: Fix stray word in line-wrapped comment.
18431
18432 2012-02-20 David S. Miller <davem@davemloft.net>
18433
18434 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18435 both binutils and gcc support GOTDATA.
18436
18437 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18438 "rd %pc" in the PIC register setup sequences.
18439
18440 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18441 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18442 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18443 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18444 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18447 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18449 (SYSCALL_ERROR_HANDLER): Likewise.
18450 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18451 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18453 (SYSCALL_ERROR_HANDLER): Likewise.
18454
18455 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18456 (HAVE_GCC_GOTDATA): New.
18457 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18458 relocation support in both binutils and gcc.
18459 * sysdeps/sparc/elf/configure: Regenerate.
18460
18461 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18462 * sysdeps/sparc/sparc32/elf/configure: Delete.
18463 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18464 * sysdeps/sparc/sparc64/elf/configure: Delete.
18465 * sysdeps/sparc/elf/configure.in: New file.
18466 * sysdeps/sparc/elf/configure: Generate.
18467
18468 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18469 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18470 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18471 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18472 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18473
18474 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18475
18476 * manual/install.texi: Do not mention specific glibc version
18477 numbers.
18478 * manual/libc.texinfo (VERSION, UPDATED): Update.
18479 (@copying): Use @copyright{} and range of years.
18480
18481 2012-02-21 Joseph Myers <joseph@codesourcery.com>
18482
18483 [BZ #13695]
18484 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18485 [crti.S not in sysdirs] (generated): Do not append.
18486 [crti.S not in sysdirs] (omit-deps): Likewise.
18487 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18488 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18489 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18490 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18491 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18492 Likewise.
18493 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18494 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18495 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18496 * csu/defs.awk: Remove file.
18497 * sysdeps/generic/initfini.c: Likewise.
18498 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18499 variable.
18500 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18501 Likewise.
18502
18503 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18504
18505 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18506 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18507 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18510 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18511 <bits/epoll.h>.
18512 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18513 (__EPOLL_PACKED): Define to empty if not defined by
18514 <bits/epoll.h>.
18515 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18517 bits/epoll.h.
18518
18519 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18520
18521 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18522 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18523 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18524 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18525 <bits/timerfd.h>.
18526 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18528 bits/timerfd.h.
18529
18530 2012-02-20 Joseph Myers <joseph@codesourcery.com>
18531
18532 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18533 in C locale.
18534 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18535 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18536 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18538
18539 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18540
18541 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18542 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18543
18544 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18545
18546 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18547 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18548 defined.
18549 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18550 Likewise.
18551 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18552 entry for 2.16.
18553
18554 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18555
18556 * math/w_acos.c: Use non-signaling floating-point comparisons.
18557 * math/w_acosf.c: Likewise.
18558 * math/w_acosh.c: Likewise.
18559 * math/w_acoshf.c: Likewise.
18560 * math/w_acoshl.c: Likewise.
18561 * math/w_acosl.c: Likewise.
18562 * math/w_asin.c: Likewise.
18563 * math/w_asinf.c: Likewise.
18564 * math/w_asinl.c: Likewise.
18565 * math/w_atanh.c: Likewise.
18566 * math/w_atanhf.c: Likewise.
18567 * math/w_atanhl.c: Likewise.
18568 * math/w_exp2.c: Likewise.
18569 * math/w_exp2f.c: Likewise.
18570 * math/w_exp2l.c: Likewise.
18571 * math/w_j0.c: Likewise.
18572 * math/w_j0f.c: Likewise.
18573 * math/w_j0l.c: Likewise.
18574 * math/w_j1.c: Likewise.
18575 * math/w_j1f.c: Likewise.
18576 * math/w_j1l.c: Likewise.
18577 * math/w_jn.c: Likewise.
18578 * math/w_jnf.c: Likewise.
18579 * math/w_log.c: Likewise.
18580 * math/w_log10.c: Likewise.
18581 * math/w_log10f.c: Likewise.
18582 * math/w_log10l.c: Likewise.
18583 * math/w_log2.c: Likewise.
18584 * math/w_log2f.c: Likewise.
18585 * math/w_log2l.c: Likewise.
18586 * math/w_logf.c: Likewise.
18587 * math/w_logl.c: Likewise.
18588 * math/w_sqrt.c: Likewise.
18589 * math/w_sqrtf.c: Likewise.
18590 * math/w_sqrtl.c: Likewise.
18591 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18594 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18595 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18596
18597 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18598
18599 [BZ #9739]
18600 * manual/string.texi (strnlen): Use correct parameter name in
18601 equivalent expression.
18602
18603 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18604
18605 [BZ #11174]
18606 * manual/users.texi (seteuid): Consistently use neweuid for
18607 argument name.
18608
18609 2012-02-19 Joseph Myers <joseph@codesourcery.com>
18610
18611 [BZ #13704]
18612 * manual/nss.texi (Services in the NSS configuration): Correct
18613 list of services in example configuration file.
18614
18615 2012-02-19 Nick Bowler <nbowler@draconx.ca>
18616
18617 [BZ #11322]
18618 * manual/arith.texi: Remove statements about negative zero
18619 behaving identically to zero.
18620
18621 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18622
18623 [BZ #5993]
18624 * manual/install.texi: Do not document upgrading from libc5.
18625
18626 2012-02-18 Joseph Myers <joseph@codesourcery.com>
18627
18628 [BZ #4596]
18629 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18630
18631 2012-02-18 David S. Miller <davem@davemloft.net>
18632
18633 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18634 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18635 %o7 across the call.
18636 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18637 instead.
18638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18639 SETUP_PIC_REG_LEAF.
18640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18641 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18642 * sysdeps/sparc/crtn.S: Likewise.
18643
18644 2012-02-17 Ulrich Drepper <drepper@gmail.com>
18645
18646 * aout/Makefile: Remove.
18647
18648 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18649
18650 [BZ #13058]
18651 * manual/examples/argp-ex1.c (main): Format definition in GNU
18652 style.
18653 * manual/examples/argp-ex2.c (main): Likewise.
18654 * manual/examples/argp-ex3.c (main): Likewise.
18655 * manual/examples/argp-ex4.c (main): Likewise.
18656 * manual/examples/longopt.c (main): Use new-style prototype
18657 definition.
18658 * manual/examples/strncat.c (main): Specify return type and use
18659 (void) for arguments.
18660 * manual/examples/subopt.c (main): Use char **argv argument.
18661
18662 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18663
18664 [BZ #5077]
18665 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18666 rounding modes.
18667
18668 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18669
18670 [BZ #6907]
18671 * manual/string.texi (strchr): Change when strchrnul is
18672 recommended.
18673
18674 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18675
18676 [BZ #174]
18677 * manual/locale.texi (setlocale): Document LOCPATH.
18678
18679 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18680
18681 [BZ #10210]
18682 * manual/process.texi (execle): Move @dots{} before last argument.
18683
18684 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
18685
18686 [BZ #12047]
18687 * manual/charset.texi (Generic Charset Conversion): Fix typo
18688 (LC_TYPE -> LC_CTYPE).
18689
18690 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18691
18692 [BZ #5805]
18693 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18694 (scalbnf): Likewise.
18695 (scalbnl): Likewise.
18696 (scalbln): Likewise.
18697 (scalblnf): Likewise.
18698 (scalblnl): Likewise.
18699 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18700 (vwarnx): Likewise.
18701 (verr): Likewise.
18702 (verrx): Likewise.
18703 * manual/filesys.texi (telldir): Use braces around return type.
18704 * manual/llio.texi (mmap): Add space after comma.
18705 (mmap64): Likewise.
18706 * manual/math.texi (jn): Use @var{} on parameter names.
18707 (jnf): Likewise.
18708 (jnl): Likewise.
18709 (yn): Likewise.
18710 (ynf): Likewise.
18711 (ynl): Likewise.
18712 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18713 line.
18714 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18715 "...".
18716 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18717 (sched_get_priority_max): Likewise.
18718 * manual/signal.texi (sigvec): Add space after comma.
18719 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18720 names.
18721 (if_indextoname): Likewise.
18722 (if_freenameindex): Likewise.
18723 (sendto): Use ',' instead of '.' in prototype.
18724 * manual/startup.texi (syscall): Use @dots{} instead of literal
18725 "...".
18726 * manual/stdio.texi (__fpending): Separate initial words of
18727 paragraph from @deftypefun line.
18728 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18729 "...".
18730 (vsyslog): Use @var{} on parameter names.
18731 * manual/terminal.texi (stty): Use @var{} on parameter names.
18732 * manual/users.texi (getutmp): Use @var{} on parameter names.
18733 (getutmpx): Likewise.
18734
18735 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18736
18737 [BZ #6884]
18738 * manual/stdio.texi (fopen): Fix typos in description of
18739 ",ccs=STRING".
18740
18741 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18742
18743 [BZ #4026]
18744 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18745 get clock_id definition.
18746
18747 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
18748
18749 [BZ #4822]
18750 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18751 (madvise): Cast every argument to void on its own.
18752
18753 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18754
18755 [BZ #9902]
18756 * manual/startup.texi (Exit Status): Fix typo.
18757
18758 2012-02-17 Joseph Myers <joseph@codesourcery.com>
18759
18760 [BZ #10140]
18761 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18762 * manual/examples/argp-ex2.c: Likewise.
18763 * manual/examples/argp-ex3.c: Likewise.
18764
18765 2012-02-16 Richard Henderson <rth@redhat.com>
18766
18767 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18768 * sysdeps/s390/s390-32/initfini.c: Remove.
18769 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18770 * sysdeps/s390/s390-64/initfini.c: Remove.
18771
18772 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18773
18774 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18775 compiler output for sysdeps/generic/initfini.c.
18776 * sysdeps/sh/elf/initfini.c: Remove file.
18777
18778 2012-02-16 David S. Miller <davem@davemloft.net>
18779
18780 [BZ #11494]
18781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18782
18783 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18784 * sysdeps/sparc/crti.S: New file.
18785 * sysdeps/sparc/crtn.S: New file.
18786 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18787 * sysdeps/sparc/sparc64/Makefile: Likewise.
18788
18789 2012-02-15 Mike Frysinger <vapier@gentoo.org>
18790
18791 [BZ #3335]
18792 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18793
18794 2012-02-15 Roland McGrath <roland@hack.frob.com>
18795
18796 [BZ #4822]
18797 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18798
18799 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18800 (write, read, close): Likewise.
18801 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18802
18803 2012-02-15 Joseph Myers <joseph@codesourcery.com>
18804
18805 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18806 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18807 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18808 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18809 <bits/signalfd.h>.
18810 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18812 bits/signalfd.h.
18813
18814 2012-02-14 Marek Polacek <polacek@redhat.com>
18815
18816 * sysdeps/x86_64/crti.S: New file.
18817 * sysdeps/x86_64/crtn.S: New file.
18818 * sysdeps/x86_64/elf/initfini.c: Remove file.
18819
18820 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18821
18822 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18823 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18824 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18825 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18826 <bits/inotify.h>.
18827 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18829 bits/inotify.h.
18830
18831 2012-02-13 Joseph Myers <joseph@codesourcery.com>
18832
18833 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18834 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18835 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18836 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18837 <bits/eventfd.h>.
18838 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18840 bits/eventfd.h.
18841
18842 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18843
18844 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18845 __feraiseexcept instead of feraiseexcept.
18846
18847 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18848 nanosleep invocations.
18849 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18850 strings, and add error checking for a nanosleep invocations.
18851
18852 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18853
18854 Replace FSF snail mail address with URLs, as per GNU coding standards.
18855 Most of the snail mail addresses were wrong anyway, and omitting
18856 them makes the source code easier to maintain. Almost all of the
18857 changes are to license notices and to locale LC_IDENTIFICATION
18858 addresses, except for this one:
18859 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18860 not its snail mail address.
18861
18862 2012-02-09 Richard Henderson <rth@twiddle.net>
18863
18864 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18865 of kernel-features.h.
18866
18867 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18868
18869 2012-02-08 Marek Polacek <polacek@redhat.com>
18870
18871 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18872 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18873 * sysdeps/gnu/_G_config.h: Likewise.
18874 * sysdeps/generic/_G_config.h: Likewise.
18875
18876 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18877
18878 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18879 tests.
18880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18881
18882 * sysdeps/powerpc/powerpc32/crti.S: New file.
18883 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18884 * sysdeps/powerpc/powerpc64/crti.S: New file.
18885 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18886
18887 * Makeconfig (have-initfini): Don't set.
18888 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18889 * configure.in (nopic_initfini): Don't substitute.
18890 * config.h.in (HAVE_INITFINI): Don't #undef.
18891 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18892 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18893
18894 2012-02-08 Joseph Myers <joseph@codesourcery.com>
18895
18896 Support crti.S and crtn.S provided directly by architectures.
18897 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18898 [crti.S in sysdirs] (omit-deps): Likewise.
18899 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18900 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18901 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18902 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18903 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18904 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18905 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18906 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18907 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18908 compiler output for sysdeps/generic/initfini.c.
18909 * sysdeps/i386/elf/Makefile: Remove file.
18910 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18911
18912 2012-02-07 Marek Polacek <polacek@redhat.com>
18913
18914 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18915 * sysdeps/gnu/_G_config.h: Likewise.
18916 * sysdeps/mach/hurd/_G_config.h: Likewise.
18917
18918 2012-02-07 Marek Polacek <polacek@redhat.com>
18919
18920 * math/Makefile (tests): Add tst-CMPLX2.
18921 * math/tst-CMPLX2.c: New file.
18922
18923 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18924
18925 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18926
18927 * math/libm-test.inc (jn_test): Add missing L suffix.
18928
18929 2012-02-06 Marek Polacek <polacek@redhat.com>
18930
18931 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18932 * sysdeps/i386/fpu/e_powf.S: Likewise.
18933 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18934 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18935 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18936 * sysdeps/i386/fpu/e_pow.S: Likewise.
18937 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18938 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18939 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18940 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18941 * sysdeps/i386/fpu/e_log2.S: Likewise.
18942 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18943 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18944 * sysdeps/i386/fpu/e_powl.S: Likewise.
18945 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18946 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18947 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18948 * sysdeps/i386/fpu/e_logl.S: Likewise.
18949 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18950 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18951 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18952 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18953 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18954 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18955 * sysdeps/i386/fpu/e_log.S: Likewise.
18956 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18957 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18958 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18959 * sysdeps/i386/fpu/e_logf.S: Likewise.
18960 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18961 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18962 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18963 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18964 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18965 * sysdeps/i386/fpu/e_log10.S: Likewise.
18966 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18967 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18968 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18969 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18970 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18971 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18972 * sysdeps/i386/asm-syntax.h: Likewise.
18973 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18974 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18975 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18976 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18977 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18978 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18979 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18980 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18981 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18982 * sysdeps/powerpc/sysdep.h: Likewise.
18983 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18984 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18985
18986 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18987
18988 [BZ #411]
18989 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18990
18991 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18992
18993 * sysdeps/i386/sysdep.h: Include <features.h>.
18994 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18995 version.
18996
18997 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18998
18999 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19000 Define.
19001 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19002 LOAD_PIC_REG_STR.
19003
19004 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19005
19006 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19007 (SETUP_PIC_REG): Use GET_PC_THUNK.
19008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19009 macro.
19010
19011 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19012
19013 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19014 for non-PIC compilation.
19015 (SETUP_PIC_REG): Add .p2align directive.
19016 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19017 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19018 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19019 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19020 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19021 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19022 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19023 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19024 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19025 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19026 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19027 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19028 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19029 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19030 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19031 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19032 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19033 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19034 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19035 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19036 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19038 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19039 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19040 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19043 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19044 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19045 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19046 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19048 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19049 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19050 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19052 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19053 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19054 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19055 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19056 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19057
19058 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19059
19060 * math/tst-CMPLX.c: Include <stdio.h>.
19061
19062 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19063
19064 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19065 float.
19066 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19067 * sysdeps/sparc/bits/mathdef.h: Likewise.
19068
19069 2012-01-31 Marek Polacek <polacek@redhat.com>
19070
19071 * libio/libio.h: Don't define _PARAMS.
19072 * locale/programs/config.h: Don't define PARAMS.
19073 * stdlib/strtol_l.c: Likewise.
19074 (__strtol_l): Remove PARAMS from the prototype.
19075
19076 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19077
19078 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19079 names. Just use the correct names. Remove unnecessary wrapper
19080 functions.
19081 * malloc/arena.c: Likewise.
19082 * malloc/hooks.c: Likewise.
19083
19084 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19085 ARENA_TEST says not to. Simplify test for creation of a new arena.
19086 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19087
19088 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19089
19090 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19091 into tail calls.
19092 (update_get_addr): New function.
19093 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19094 GET_ADDR_MODULE parameter.
19095
19096 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19097
19098 * crypt/cert.c: Remove __STDC__ conditionals.
19099 * crypt/crypt-entry.c: Likewise.
19100 * crypt/crypt_util.c: Likewise.
19101 * libio/filedoalloc.c: Likewise.
19102 * libio/fileops.c: Likewise.
19103 * libio/genops.c: Likewise.
19104 * libio/iofclose.c: Likewise.
19105 * libio/iofdopen.c: Likewise.
19106 * libio/iofopen.c: Likewise.
19107 * libio/iofopen64.c: Likewise.
19108 * libio/iogetdelim.c: Likewise.
19109 * libio/iopopen.c: Likewise.
19110 * libio/obprintf.c: Likewise.
19111 * libio/oldfileops.c: Likewise.
19112 * libio/oldiofclose.c: Likewise.
19113 * libio/oldiofdopen.c: Likewise.
19114 * libio/oldiofopen.c: Likewise.
19115 * libio/oldiopopen.c: Likewise.
19116 * libio/wfiledoalloc.c: Likewise.
19117 * libio/wgenops.c: Likewise.
19118 * locale/programs/xmalloc.c: Likewise.
19119 * misc/syslog.c: Likewise.
19120 * stdio-common/xbug.c: Likewise.
19121 * string/memchr.c: Likewise.
19122 * string/memcmp.c: Likewise.
19123 * string/memrchr.c: Likewise.
19124 * string/rawmemchr.c: Likewise.
19125 * sysdeps/posix/getcwd.c: Likewise.
19126 * time/strftime_l.c: Likewise.
19127
19128 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19129
19130 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19131 * config.make.in (config-cflags-sse2avx): Define.
19132 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19133 Fix typo.
19134
19135 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19136
19137 * scripts/config.guess: Update from upstream config git repository.
19138 * scripts/config.sub: Likewise.
19139
19140 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19141
19142 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19143 (EM_NUM): Update.
19144 (R_TILEPRO_*, R_TILEGX_*): New macros.
19145
19146 * scripts/firstversions.awk: Fix bug in version range handling.
19147
19148 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19149
19150 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19151
19152 * include/sys/epoll.h: New file.
19153 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19154 libc_hidden_def.
19155
19156 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19157
19158 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19159 Avoid unnecessary __WORDSIZE == 64 test.
19160 (fmaxf): Use VEX format if possible.
19161 (fmax): Likewise.
19162 (fminf): Likewise.
19163 (fmin): Likewise.
19164
19165 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19166 * math/math_private.h: Remove libc_fegetround* and
19167 libc_fesetround*.
19168 * sysdeps/i386/configure.in: Check for -msse2avx.
19169 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19170 also if SSE2AVX is defined.
19171 Remove libc_fegetround* and libc_fesetround*.
19172 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19173 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19174 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19175 of HAS_YMM_USABLE.
19176 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19177 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19180 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19181
19182 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19183
19184 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19185
19186 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19187 size is not set.
19188 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19189
19190 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19191
19192 [BZ #13618]
19193 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19194 relocation.
19195 * Makeconfig (libm): Define.
19196 * elf/Makefile: Add rules to build and run tst-relsort1.
19197 * elf/tst-relsort1.c: New file.
19198 * elf/tst-relsort1mod1.c: New file.
19199 * elf/tst-relsort1mod2.c: New file.
19200
19201 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19202
19203 * math/s_ldexp.c: Remove __STDC__ conditionals.
19204 * math/s_ldexpf.c: Likewise.
19205 * math/s_ldexpl.c: Likewise.
19206 * math/s_nextafter.c: Likewise.
19207 * math/s_nexttowardf.c: Likewise.
19208 * math/s_significand.c: Likewise.
19209 * math/s_significandf.c: Likewise.
19210 * math/s_significandl.c: Likewise.
19211 * math/w_jnl.c: Likewise.
19212 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19213 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19214 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19215 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19216 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19231 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19232 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19233 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19234 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19235 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19236 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19237 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19238 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19239 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19240 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19241 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19242 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19243 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19244 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19245 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19246 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19247 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19248 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19249 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19250 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19251 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19252 * sysdeps/ieee754/k_standard.c: Likewise.
19253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19256 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19257 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19260 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19261 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19262 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19263 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19272 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19276 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19277 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19278 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19282 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19288 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19295 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19296 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19297 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19298 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19299 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19301 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19302 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19303 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19306 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19307 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19308 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19309 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19310 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19314 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19315 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19319 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19320 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19322 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19323 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19327 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19328 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19332 * sysdeps/ieee754/s_matherr.c: Likewise.
19333 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19334 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19337
19338 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19339
19340 * crypt/md5.h: Remove __STDC__ conditionals.
19341 * libio/libioP.h: Likewise.
19342 * locale/programs/config.h: Likewise.
19343 * sysdeps/generic/sysdep.h: Likewise.
19344 * sysdeps/i386/asm-syntax.h: Likewise.
19345 * sysdeps/s390/asm-syntax.h: Likewise.
19346 * sysdeps/unix/sysdep.h: Likewise.
19347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19349
19350 2012-01-26 Joseph Myers <joseph@codesourcery.com>
19351
19352 * libio/libio.h: Remove __STDC__ conditionals.
19353 * malloc/obstack.h: Likewise.
19354 * math/complex.h: Likewise.
19355 * math/math.h: Likewise.
19356 * sysdeps/generic/_G_config.h: Likewise.
19357 * sysdeps/gnu/_G_config.h: Likewise.
19358 * sysdeps/mach/hurd/_G_config.h: Likewise.
19359 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19360 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19361 * sysdeps/sparc/bits/mathdef.h: Likewise.
19362
19363 2012-01-26 Ulrich Drepper <drepper@gmail.com>
19364
19365 [BZ #13583]
19366 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19367 Clean up HAS_* macros.
19368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19369 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19370 possible.
19371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19372 HAS_AVX.
19373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19378
19379 2012-01-25 Joseph Myers <joseph@codesourcery.com>
19380
19381 * elf/tst-unique3.cc (gets): Remove declaration.
19382 * elf/tst-unique3lib.cc (gets): Likewise.
19383 * elf/tst-unique3lib2.cc (gets): Likewise.
19384 * elf/tst-unique4.cc (gets): Likewise.
19385
19386 2012-01-24 Ulrich Drepper <drepper@gmail.com>
19387
19388 * include/stdio.h: Add C++ protection. Add gets declarations and
19389 definitions.
19390 * debug/tst-chk1.c: Don't declare gets here.
19391 * stdio-common/tst-gets.c: Likewise.
19392
19393 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19394
19395 * posix/glob: Remove directory.
19396
19397 2012-01-24 Joseph Myers <joseph@codesourcery.com>
19398
19399 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19400
19401 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19402
19403 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19404 of the non-standard EPFNOSUPPORT.
19405
19406 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19407
19408 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19409 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19410 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19411
19412 2012-01-21 Ulrich Drepper <drepper@gmail.com>
19413
19414 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19415
19416 2012-01-20 Ulrich Drepper <drepper@gmail.com>
19417
19418 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19419 transient errors.
19420 * nscd/grpcache.c (cache_addgr): Likewise.
19421 * nscd/hstcache.c (cache_addhst): Likewise.
19422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19423 * nscd/pwdcache.c (cache_addpw): Likewise.
19424 * nscd/servicescache.c (cache_addserv): Likewise.
19425
19426 2012-01-16 Ulrich Drepper <drepper@gmail.com>
19427
19428 * malloc/malloc.c: Various cleanups.
19429 * malloc/hooks.c: Likewise.
19430
19431 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19432 * stdlib/bug-fmtmsg1.c: New file.
19433
19434 * stdlib/fmtmsg.c (init): Add missing unlock.
19435 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19436
19437 2012-01-12 Marek Polacek <polacek@redhat.com>
19438
19439 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19440 and _GNU_SOURCE.
19441
19442 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19443
19444 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19445 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19446 macro to ensure uniqueness of label name.
19447 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19448 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19449
19450 2012-01-11 Ulrich Drepper <drepper@gmail.com>
19451
19452 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19453
19454 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19455 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19458
19459 2012-01-10 Ulrich Drepper <drepper@gmail.com>
19460
19461 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19462
19463 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19464 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19465 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19466
19467 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19468
19469 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19470 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19471 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19473
19474 * math/bits/math-finite.h: Add ldexp support.
19475
19476 2012-01-10 Marek Polacek <polacek@redhat.com>
19477
19478 * locale/programs/localedef.h (show_archive_content): Add noreturn
19479 attribute.
19480
19481 2012-01-09 Ulrich Drepper <drepper@gmail.com>
19482
19483 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19484
19485 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19486
19487 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19488
19489 * io/Makefile (headers): Add bits/poll2.h.
19490
19491 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19492
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19494 typo #include statement.
19495
19496 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19497
19498 * include/sys/cdefs.h: Define __attribute_alloc_size.
19499 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19500 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19501 * elf/pldd.c: Likewise.
19502 * iconv/iconv_charmap.c: Likewise.
19503 * iconv/iconvconfig.c: Likewise.
19504 * iconv/strtab.c: Likewise.
19505 * locale/programs/locale.c: Likewise.
19506 * locale/programs/localedef.h: Likewise.
19507 * locale/programs/simple-hash.c: Likewise.
19508 * nscd/nscd.h: Likewise.
19509 * nss/makedb.c: Likewise.
19510 * sysdeps/generic/ldconfig.h: Likewise.
19511 * locale/programs/localedef.c: Remove xmalloc prototype.
19512 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19513
19514 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19515
19516 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19517 appropriate.
19518
19519 2012-01-08 Ulrich Drepper <drepper@gmail.com>
19520
19521 * math/Makefile (tests): Add tst-CMPLX.
19522 * math/tst-CMPLX.c: New file.
19523
19524 * math/complex.h (CMPLXL): Fix typo.
19525
19526 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19527 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19528 GLIBC_2.16.
19529 * debug/tst-chk1.c: Add poll and ppoll tests.
19530 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19531 * include/sys/poll.h: Add hidden proto for ppoll.
19532 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19533 * sysdeps/mach/hurd/ppoll.c: Likewise.
19534 * io/ppoll.c: Likewise.
19535 * debug/poll_chk.c: New file.
19536 * debug/ppoll_chk.c: New file.
19537 * include/bits/poll2.h: New file.
19538 * io/bits/poll2.h: New file.
19539
19540 [BZ #1350]
19541 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19542
19543 * configure.in: static is always set to yes. Remove.
19544 * config.make.in: Don't set build-static.
19545 * Makeconfig: Remove use of build-static.
19546 * dlfcn/Makefile: Likewise.
19547 * elf/Makefile: Likewise.
19548 * math/Makefile: Likewise.
19549 * misc/Makefile: Likewise.
19550 * nptl/Makefile: Likewise.
19551 * sysdeps/mach/hurd/Makefile: Likewise.
19552
19553 * configure.in: PWD_P is not used anymore.
19554 * config.make.in: Remove PWD_P entry.
19555
19556 * configure.in: Remove last remnants of RANLIB.
19557 No need to check for signed size_t anymore.
19558 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19559 and IA-64.
19560 Remove __builtin_expect test because we require at least gcc 3.4.
19561 * aclocal.m4: Likewise.
19562
19563 * wcsmbs/mbrtoc16.c: Implement using towc function.
19564 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19565 * wcsmbs/wcsmbsload.c: Likewise.
19566 * iconv/gconv_simple.c: Likewise.
19567 * iconv/gconv_int.h: Likewise.
19568 * iconv/gconv_builtin.h: Likewise.
19569 * iconv/iconv_prog.c: Remove CHAR16 handling.
19570
19571 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19572
19573 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19574
19575 * configure.in: Remove --with-elf and --enable-bounded options.
19576 Dont set base_machine for ia64. More non-ELF conditions removed.
19577 Remove testing and setting of leading underscore information.
19578 * config.make.in (build-bounded): Set to no.
19579 * config.h.in: Remove NO_UNDERSCORES entry.
19580 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19581 them.
19582 * csu/start.c: Remove !NO_UNDERSCORE code.
19583 * locale/localeinfo.h: Likewise.
19584 * sysdeps/generic/machine-gmon.h: Likewise.
19585 * sysdeps/generic/sysdep.h: Likewise.
19586 * sysdeps/i386/sysdep.h: Likewise.
19587 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19588 * sysdeps/mach/sysdep.h: Likewise.
19589 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19590 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19591 * sysdeps/sh/sysdep.h: Likewise.
19592 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19593 * sysdeps/unix/i386/sysdep.S: Likewise.
19594 * sysdeps/unix/sparc/start.c: Likewise.
19595 * sysdeps/unix/sparc/sysdep.S: Likewise.
19596 * sysdeps/unix/sparc/sysdep.h: Likewise.
19597 * sysdeps/unix/start.c: Likewise.
19598 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19599 * sysdeps/x86_64/sysdep.h: Likewise.
19600
19601 2012-01-07 Ulrich Drepper <drepper@gmail.com>
19602
19603 [BZ #13553]
19604 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19605 for non-gcc.
19606 * argp/argp-fmtstream.h: Use const instead __const.
19607 * argp/argp.h: Likewise.
19608 * assert/assert.h: Likewise.
19609 * bits/fenv.h: Likewise.
19610 * bits/sched.h: Likewise.
19611 * bits/sigset.h: Likewise.
19612 * bits/sigthread.h: Likewise.
19613 * catgets/nl_types.h: Likewise.
19614 * conform/data/pthread.h-data: Likewise.
19615 * crypt/crypt-private.h: Likewise.
19616 * crypt/crypt.h: Likewise.
19617 * crypt/crypt_util.c: Likewise.
19618 * ctype/ctype.h: Likewise.
19619 * debug/execinfo.h: Likewise.
19620 * debug/mbsnrtowcs_chk.c: Likewise.
19621 * debug/mbsrtowcs_chk.c: Likewise.
19622 * debug/wcsnrtombs_chk.c: Likewise.
19623 * debug/wcsrtombs_chk.c: Likewise.
19624 * debug/wcstombs_chk.c: Likewise.
19625 * dirent/dirent.h: Likewise.
19626 * dlfcn/dlfcn.h: Likewise.
19627 * elf/neededtest4.c: Likewise.
19628 * grp/grp.h: Likewise.
19629 * gshadow/gshadow.h: Likewise.
19630 * iconv/gconv.h: Likewise.
19631 * iconv/gconv_int.h: Likewise.
19632 * iconv/gconv_simple.c: Likewise.
19633 * iconv/iconv.h: Likewise.
19634 * iconv/loop.c: Likewise.
19635 * iconv/skeleton.c: Likewise.
19636 * include/aio.h: Likewise.
19637 * include/aliases.h: Likewise.
19638 * include/argz.h: Likewise.
19639 * include/arpa/inet.h: Likewise.
19640 * include/assert.h: Likewise.
19641 * include/dirent.h: Likewise.
19642 * include/dlfcn.h: Likewise.
19643 * include/execinfo.h: Likewise.
19644 * include/fcntl.h: Likewise.
19645 * include/fenv.h: Likewise.
19646 * include/glob.h: Likewise.
19647 * include/grp.h: Likewise.
19648 * include/libintl.h: Likewise.
19649 * include/mntent.h: Likewise.
19650 * include/netdb.h: Likewise.
19651 * include/pwd.h: Likewise.
19652 * include/rpc/netdb.h: Likewise.
19653 * include/sched.h: Likewise.
19654 * include/search.h: Likewise.
19655 * include/shadow.h: Likewise.
19656 * include/signal.h: Likewise.
19657 * include/stdio.h: Likewise.
19658 * include/stdlib.h: Likewise.
19659 * include/string.h: Likewise.
19660 * include/sys/socket.h: Likewise.
19661 * include/sys/stat.h: Likewise.
19662 * include/sys/statfs.h: Likewise.
19663 * include/sys/statvfs.h: Likewise.
19664 * include/sys/syslog.h: Likewise.
19665 * include/sys/time.h: Likewise.
19666 * include/sys/uio.h: Likewise.
19667 * include/time.h: Likewise.
19668 * include/unistd.h: Likewise.
19669 * include/utmp.h: Likewise.
19670 * include/wchar.h: Likewise.
19671 * include/wctype.h: Likewise.
19672 * inet/aliases.h: Likewise.
19673 * inet/arpa/inet.h: Likewise.
19674 * inet/netinet/ether.h: Likewise.
19675 * inet/netinet/in.h: Likewise.
19676 * intl/libintl.h: Likewise.
19677 * io/bits/fcntl2.h: Likewise.
19678 * io/fcntl.h: Likewise.
19679 * io/ftw.h: Likewise.
19680 * io/sys/poll.h: Likewise.
19681 * io/sys/stat.h: Likewise.
19682 * io/sys/statfs.h: Likewise.
19683 * io/sys/statvfs.h: Likewise.
19684 * io/utime.h: Likewise.
19685 * libio/bits/stdio.h: Likewise.
19686 * libio/bits/stdio2.h: Likewise.
19687 * libio/libio.h: Likewise.
19688 * libio/libioP.h: Likewise.
19689 * libio/stdio.h: Likewise.
19690 * locale/lc-ctype.c: Likewise.
19691 * locale/locale.h: Likewise.
19692 * login/utmp.h: Likewise.
19693 * malloc/arena.c: Likewise.
19694 * malloc/malloc.c: Likewise.
19695 * malloc/malloc.h: Likewise.
19696 * malloc/mcheck.c: Likewise.
19697 * malloc/mtrace.c: Likewise.
19698 * math/bits/mathcalls.h: Likewise.
19699 * math/fenv.h: Likewise.
19700 * math/math_private.h: Likewise.
19701 * misc/bits/error.h: Likewise.
19702 * misc/bits/syslog.h: Likewise.
19703 * misc/err.h: Likewise.
19704 * misc/error.h: Likewise.
19705 * misc/fstab.h: Likewise.
19706 * misc/mntent.h: Likewise.
19707 * misc/regexp.h: Likewise.
19708 * misc/search.h: Likewise.
19709 * misc/sgtty.h: Likewise.
19710 * misc/sys/mman.h: Likewise.
19711 * misc/sys/syslog.h: Likewise.
19712 * misc/sys/uio.h: Likewise.
19713 * misc/sys/xattr.h: Likewise.
19714 * misc/ttyent.h: Likewise.
19715 * nis/rpcsvc/ypclnt.h: Likewise.
19716 * nss/nss.h: Likewise.
19717 * posix/bits/unistd.h: Likewise.
19718 * posix/fnmatch.h: Likewise.
19719 * posix/glob.h: Likewise.
19720 * posix/sched.h: Likewise.
19721 * posix/spawn.h: Likewise.
19722 * posix/sys/wait.h: Likewise.
19723 * posix/unistd.h: Likewise.
19724 * posix/wordexp.h: Likewise.
19725 * pwd/pwd.h: Likewise.
19726 * resolv/netdb.h: Likewise.
19727 * resource/sys/resource.h: Likewise.
19728 * rt/aio.h: Likewise.
19729 * rt/bits/mqueue2.h: Likewise.
19730 * rt/mqueue.h: Likewise.
19731 * shadow/shadow.h: Likewise.
19732 * signal/signal.h: Likewise.
19733 * socket/send.c: Likewise.
19734 * socket/sendto.c: Likewise.
19735 * socket/sys/socket.h: Likewise.
19736 * stdio-common/printf.h: Likewise.
19737 * stdlib/bits/stdlib.h: Likewise.
19738 * stdlib/fmtmsg.h: Likewise.
19739 * stdlib/monetary.h: Likewise.
19740 * stdlib/stdlib.h: Likewise.
19741 * stdlib/ucontext.h: Likewise.
19742 * streams/stropts.h: Likewise.
19743 * string/argz.h: Likewise.
19744 * string/bits/string2.h: Likewise.
19745 * string/string.h: Likewise.
19746 * string/strings.h: Likewise.
19747 * sunrpc/rpc/auth.h: Likewise.
19748 * sunrpc/rpc/auth_des.h: Likewise.
19749 * sunrpc/rpc/clnt.h: Likewise.
19750 * sunrpc/rpc/netdb.h: Likewise.
19751 * sunrpc/rpc/pmap_clnt.h: Likewise.
19752 * sunrpc/rpc/xdr.h: Likewise.
19753 * sysdeps/generic/inttypes.h: Likewise.
19754 * sysdeps/generic/net/if.h: Likewise.
19755 * sysdeps/generic/sys/swap.h: Likewise.
19756 * sysdeps/gnu/net/if.h: Likewise.
19757 * sysdeps/gnu/utmpx.h: Likewise.
19758 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19759 * sysdeps/i386/i486/bits/string.h: Likewise.
19760 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19761 * sysdeps/s390/bits/string.h: Likewise.
19762 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19763 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19764 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19765 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19766 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19767 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19768 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19769 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19770 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19771 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19772 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19773 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19774 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19775 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19776 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19777 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19778 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19780 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19781 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19782 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19783 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19784 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19785 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19786 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19787 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19788 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19789 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19790 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19791 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19792 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19793 * sysvipc/sys/ipc.h: Likewise.
19794 * sysvipc/sys/msg.h: Likewise.
19795 * sysvipc/sys/sem.h: Likewise.
19796 * sysvipc/sys/shm.h: Likewise.
19797 * termios/termios.h: Likewise.
19798 * time/sys/time.h: Likewise.
19799 * time/time.h: Likewise.
19800 * wcsmbs/bits/wchar2.h: Likewise.
19801 * wcsmbs/uchar.h: Likewise.
19802 * wcsmbs/wchar.h: Likewise.
19803 * wctype/wctype.h: Likewise.
19804
19805 [BZ #13551]
19806 * Makeconfig: Remove all but ELF support including AIX support.
19807 * Makerules: Likewise.
19808 * config.h.in: Likewise.
19809 * config.make.in: Likewise.
19810 * configure: Likewise.
19811 * configure.in: Likewise.
19812 * csu/Makefile: Likewise.
19813 * csu/version.c: Likewise.
19814 * debug/Makefile: Likewise.
19815 * dlfcn/Makefile: Likewise.
19816 * elf/Makefile: Likewise.
19817 * extra-lib.mk: Likewise.
19818 * iconv/Makefile: Likewise.
19819 * include/libc-symbols.h: Likewise.
19820 * include/shlib-compat.h: Likewise.
19821 * resolv/Makefile: Likewise.
19822 * resolv/res_libc.c: Likewise.
19823 * rt/Makefile: Likewise.
19824 * sysdeps/i386/asm-syntax.h: Likewise.
19825 * sysdeps/i386/sysdep.h: Likewise.
19826 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19827 * sysdeps/mach/sysdep.h: Likewise.
19828 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19829 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19830 * sysdeps/s390/asm-syntax.h: Likewise.
19831 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19832 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19833 * sysdeps/sh/sysdep.h: Likewise.
19834 * sysdeps/unix/sparc/sysdep.h: Likewise.
19835 * sysdeps/wordsize-32/divdi3.c: Likewise.
19836 * sysdeps/x86_64/sysdep.h: Likewise.
19837
19838 * argp/Versions: Remove _argp_unlock_xxx.
19839
19840 [BZ #13559]
19841 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19842 * abilist/libBrokenLocale.abilist: Likewise.
19843 * abilist/libanl.abilist: Likewise.
19844 * abilist/libc.abilist: Likewise.
19845 * abilist/libcrypt.abilist: Likewise.
19846 * abilist/libdl.abilist: Likewise.
19847 * abilist/libm.abilist: Likewise.
19848 * abilist/libnsl.abilist: Likewise.
19849 * abilist/libpthread.abilist: Likewise.
19850 * abilist/libresolv.abilist: Likewise.
19851 * abilist/librt.abilist: Likewise.
19852 * abilist/libthread_db.abilist: Likewise.
19853 * abilist/libutil.abilist: Likewise.
19854 * abilist/libnss_db.abilist: New file.
19855
19856 * scripts/abilist.awk: Add support for indirect functions.
19857
19858 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19859
19860 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19861
19862 * shlib-versions: Remove entries for ports architectures.
19863
19864 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19865 files in ports.
19866 * elf/stackguard-macros.h: Remove support for IA-64.
19867 * elf/tst-auditmod1.c: Likewise.
19868 * sysdeps/generic/ldsodefs.h: Likewise.
19869
19870 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19871 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19872 configure files.
19873
19874 [BZ #13552]
19875 * configure.in: Remove --enable-omitfp support.
19876 * FAQ.in: Adjust.
19877 * config.make.in: Likewise.
19878 * Makeconfig: Likewise.
19879 * manual/install.texi: Likewise.
19880
19881 In case anyone cares, the IA-64 architecture could move to ports.
19882 * sysdeps/ia64/*: Removed.
19883 * sysdeps/unix/sysv/linux/ia64/*: Removed.
19884 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19885
19886 [BZ #13555]
19887 * configure.in: Remove entries for unsupported architectures.
19888
19889 [BZ #13533]
19890 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19891 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19892 routines.
19893 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19894 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19895 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19896 fall back to using wcrtomb.
19897 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19898 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19899 renaming.
19900 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19901 * wcsmbs/tst-c16c32-1.c: New file.
19902
19903 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19904 local variable.
19905
19906 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19907
19908 * elf/tst-unique3.cc: Add explicit declaration of gets.
19909 * elf/tst-unique3lib.cc: Likewise.
19910 * elf/tst-unique3lib2.cc: Likewise.
19911 * elf/tst-unique4.cc: Likewise.
19912
19913 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19914
19915 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19916
19917 [BZ #13566]
19918 * assert/assert.h (static_assert): Don't define for C++.
19919 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19920 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19921
19922 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19923
19924 * iconv/loop.c (single loop): Fix assertion in storing of
19925 remaining bytes.
19926
19927 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19928
19929 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19930
19931 * posix/getconf.c: Update copyright year.
19932 * nss/getent.c: Likewise.
19933 * nss/makedb.c: Likewise.
19934 * iconv/iconvconfig.c: Likewise.
19935 * iconv/iconv_prog.c: Likewise.
19936 * elf/ldconfig.c: Likewise.
19937 * elf/pldd.c: Likewise.
19938 * elf/sotruss.ksh: Likewise.
19939 * catgets/gencat.c: Likewise.
19940 * csu/version.c: Likewise.
19941 * elf/ldd.bash.in: Likewise.
19942 * elf/sprof.c (print_version): Likewise.
19943 * locale/programs/locale.c: Likewise.
19944 * locale/programs/localedef.c: Likewise.
19945 * login/programs/pt_chown.c: Likewise.
19946 * nscd/nscd.c (print_version): Likewise.
19947 * debug/xtrace.sh: Likewise.
19948 * malloc/memusage.sh: Likewise.
19949 * malloc/mtrace.pl: Likewise.
19950 * debug/catchsegv.sh: Likewise.
19951
19952 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19953
19954 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19955 pure attribute.
19956
19957 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19958
19959 [BZ #13533]
19960 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19961 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19962 transformations.
19963 * iconv/gconv_int.h: Likewise.
19964 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19965 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19966 from libc for GLIBC_2.16.
19967 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19968 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19969 * wcsmbs/uchar.h: Really define mbstate_t.
19970 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19971 * wcsmbs/c16rtomb.c: New file.
19972 * wcsmbs/mbrtoc16.c: New file.
19973 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19974 for C/POSIX locale.
19975 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19976 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19977
19978 * wcsmbs/wchar.h: Add missing __restrict.
19979
19980 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19981
19982 [BZ #13532]
19983 * time/Makefile (routines): Add timespec_get.
19984 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19985 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19986 timespec for ISO C11.
19987 * time/timespec_get.c: New file.
19988 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19989 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19990
19991 [BZ #13531]
19992 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19993 * stdlib/stdlib.h: Declare aligned_alloc.
19994 * Versions.def: Add GLIBC_2.16 for libc.
19995 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19996
19997 [BZ 13527]
19998 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19999 ISO C11.
20000
20001 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20002 code.
20003
20004 [BZ #13528]
20005 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20006
20007 [BZ #13529]
20008 * assert/assert.h (static_assert): Define.
20009
20010 * version.h: Update for 2.16 development version.
20011
20012 [BZ #13526]
20013 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20014 _ISOC11_SOURCE.
20015
20016 * version.h (RELEASE): Bump for 2.15 release.
20017 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20018
20019 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20020 Patch by Marek Polacek <mpolacek@redhat.com>.
20021
20022 * bits/byteswap.h: Protect long long constants with __extension__.
20023 * sysdeps/i386/bits/byteswap.h: Likewise.
20024 * sysdeps/ia64/bits/byteswap.h: Likewise.
20025 * sysdeps/s390/bits/byteswap.h: Likewise.
20026 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20027
20028 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20029
20030 [BZ #13540]
20031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20032 destination buffer.
20033 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20034
20035 2011-12-23 Marek Polacek <polacek@redhat.com>
20036
20037 * elf/dl-addr.c (determine_info): Add inline keyword.
20038 * elf/tst-auditmod4b.c (check_avx): Likewise.
20039 * elf/tst-auditmod6b.c (check_avx): Likewise.
20040 * elf/tst-auditmod6c.c (check_avx): Likewise.
20041 * elf/tst-auditmod7b.c (check_avx): Likewise.
20042
20043 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20044
20045 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20046 !__SSE_MATH__.
20047
20048 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20049
20050 [BZ #13540]
20051 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20052 processing for last bytes.
20053
20054 2011-08-06 Bruno Haible <bruno@clisp.org>
20055
20056 [BZ #13061]
20057 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20058 U+0385, not to U+1FEE.
20059
20060 [BZ #13062]
20061 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20062 entry for U+00A5 U+0301.
20063
20064 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20065
20066 [BZ #13166]
20067 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20068 buffer for the output is too small.
20069
20070 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20071 optimization.
20072
20073 [BZ #13185]
20074 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20075 SSE flags if possible.
20076
20077 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20078
20079 [BZ #13540]
20080 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20081 processing for last bytes.
20082
20083 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20084
20085 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20086 (syscall-list-default-options, syscall-list-default-condition)
20087 (syscall-list-includes): Define.
20088 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20089 list of ABIs and options and #if conditions for each ABI. Do not
20090 handle common syscalls between ABIs specially.
20091 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20092 Remove.
20093 (syscall-list-variants, syscall-list-32bit-options)
20094 (syscall-list-32bit-condition, syscall-list-64bit-options)
20095 (syscall-list-64bit-condition): Define.
20096 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20097 (syscall-list-variants, syscall-list-32bit-options)
20098 (syscall-list-32bit-condition, syscall-list-64bit-options)
20099 (syscall-list-64bit-condition): Define.
20100 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20101 Remove.
20102 (syscall-list-variants, syscall-list-32bit-options)
20103 (syscall-list-32bit-condition, syscall-list-64bit-options)
20104 (syscall-list-64bit-condition): Define.
20105 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20106 Remove.
20107 (syscall-list-variants, syscall-list-32bit-options)
20108 (syscall-list-32bit-condition, syscall-list-64bit-options)
20109 (syscall-list-64bit-condition): Define.
20110
20111 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20112
20113 * locale/iso-639.def: Add brx entry.
20114
20115 [BZ #13328]
20116 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20117 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20118
20119 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20120 __feraiseexcept_renamed.
20121
20122 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20123
20124 [BZ #13538]
20125 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20126 EPOLLET with unsigned values.
20127 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20128 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20129
20130 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20131 to large cancellation.
20132 * math/s_cacoshf.c: Likewise.
20133 * math/s_cacoshl.c: Likewise.
20134
20135 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20136
20137 [BZ #13305]
20138 [BZ #12786]
20139 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20140 * math/s_cacoshf.c: Likewise.
20141 * math/s_cacoshl.c: Likewise.
20142
20143 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20144
20145 [BZ #13439]
20146 * iconv/gconv.h: Define __GCONV_SWAP.
20147 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20148 * iconvdata/utf-16.c: Likewise.
20149 * iconvdata/utf-32.c: Likewise.
20150
20151 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20152
20153 [BZ #13524]
20154 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20155 numerator after shifting it by one limb.
20156
20157 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20158
20159 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20160 under [__USE_EXTERN_INLINES].
20161
20162 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20163
20164 [BZ #13446]
20165 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20166
20167 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20168
20169 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20170 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20171 optimized code.
20172 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20173 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20174 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20175 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20176 for strncasecmp/strncasecmp_l compilation.
20177 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20178 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20179
20180 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20181
20182 [BZ #13484]
20183 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20184 of __asm__.
20185
20186 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20187
20188 [BZ #13506]
20189 * time/tzfile.c (__tzfile_read): Check values from file header.
20190
20191 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20192
20193 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20194 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20195 * powerpc/powerpc32/dl-start.S: Likewise.
20196 * powerpc/powerpc32/elf/start.S: Likewise.
20197 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20198 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20199 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20200 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20201 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20202 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20203 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20204 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20205 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20206 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20207 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20208 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20209 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20210 * powerpc/powerpc32/memset.S: Likewise.
20211 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20212 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20213 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20214 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20215 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20216 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20217 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20218 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20219 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20220 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20221 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20222 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20223 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20224
20225 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20226
20227 * math/libm-test.inc: Added more nearbyint tests.
20228 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20229 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20230 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20231 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20232
20233 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20234
20235 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20236 FD_CLOEXEC.
20237
20238 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20239
20240 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20241 Add wcscpy-ssse3 wcscpy-c.
20242 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20243 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20244 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20245 * sysdeps/x86_64/wcschr.S: New file.
20246 * sysdeps/x86_64/wcsrchr.S: New file.
20247 * string/test-strcmp.c: Remove checking of wcscmp function for
20248 wrong alignments.
20249 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20250 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20251 wcsrchr-sse2 wcsrchr-c.
20252 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20253 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20254 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20255 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20256 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20257 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20258 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20259 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20260 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20261 * wcsmbc/wcschr.c (WCSCHR): New macro.
20262
20263 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20264
20265 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20266 * wcsmbs/test-wcsrchr.c: New file.
20267 * string/test-strrchr.c: Add wcsrchr support.
20268 (WIDE): New macro.
20269 * wcsmbs/test-wcscpy.c: New file.
20270 * string/test-strcpy.c: Add wcscpy support.
20271 (WIDE): New macro.
20272
20273 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20274
20275 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20276 the inner loop.
20277
20278 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20279
20280 [BZ #13472]
20281 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20282
20283 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20284
20285 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20286 Minor optimizations.
20287
20288 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20289 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20290 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20291
20292 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20293
20294 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20295 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20296 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20297 for gcc to avoid warnings.
20298 * inet/Makefile (tests): Add tst-checks.
20299 * inet/tst-checks.c: New file.
20300
20301 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20302 warning.
20303
20304 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20305 __wmemcmp_sse2.
20306
20307 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20308 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20309
20310 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20311
20312 2011-12-02 Ulrich Drepper <drepper@gmail.com>
20313
20314 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20315 problem.
20316
20317 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20318
20319 2011-11-29 Joseph Myers <joseph@codesourcery.com>
20320
20321 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20322 conditional on GCC version.
20323 (__arch_compare_and_exchange_val_8_acq)
20324 (__arch_compare_and_exchange_val_16_acq)
20325 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20326 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20327 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20328
20329 2011-12-02 Joseph Myers <joseph@codesourcery.com>
20330
20331 * sysdeps/sh/backtrace.c: New file.
20332
20333 2011-12-02 Andreas Schwab <schwab@redhat.com>
20334
20335 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20336 parenthesis.
20337
20338 2011-12-01 Andreas Schwab <schwab@redhat.com>
20339
20340 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20341 falling back to utime.
20342
20343 2011-11-30 Andreas Schwab <schwab@redhat.com>
20344
20345 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20346 expectations for float.
20347
20348 2011-11-29 Andreas Schwab <schwab@redhat.com>
20349
20350 * locale/weight.h (findidx): Add parameter len.
20351 * locale/weightwc.h (findidx): Likewise.
20352 * posix/fnmatch_loop.c (FCT): Adjust caller.
20353 * posix/regcomp.c (build_equiv_class): Likewise.
20354 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20355 * posix/regexec.c (check_node_accept_bytes): Likewise.
20356 * string/strcoll_l.c (STRCOLL): Likewise.
20357 * string/strxfrm_l.c (STRXFRM): Likewise.
20358
20359 2011-11-17 Ulrich Drepper <drepper@gmail.com>
20360
20361 * Makefile.in: Remove CVSOPT handling.
20362 * configure.in: Remove use of AC_REVISION.
20363 * iconvdata/Makefile (distribute): No need to filter out CVS.
20364 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20365 handling.
20366
20367 2011-11-16 Andreas Schwab <schwab@redhat.com>
20368
20369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20370 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20371 [USE_AS_STRNCASECMP_L]: Likewise.
20372 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20373 NO_TLS_DIRECT_SEG_REFS.
20374 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20375 Fix argument offsets for non-PIC.
20376 [USE_AS_STRNCASECMP_L]: Likewise.
20377 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20378 NO_TLS_DIRECT_SEG_REFS.
20379
20380 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20381
20382 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20383 O_CLOEXEC.
20384 * locale/loadlocale.c (_nl_load_locale): Likewise.
20385
20386 2011-11-15 Andreas Schwab <schwab@redhat.com>
20387
20388 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20389 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20391 (SYSCALL_GETTIME): Set errno on error.
20392
20393 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20394 count references to noai6ai_cached.
20395
20396 2011-11-15 Ulrich Drepper <drepper@gmail.com>
20397
20398 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20399
20400 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20401 FD_CLOEXEC for /proc/self/maps.
20402
20403 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20404 FD_CLOEXEC for /proc/meminfo.
20405
20406 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20407 gai.conf.
20408
20409 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20410 FD_CLOEXEC for given file.
20411
20412 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20413
20414 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20415 FD_CLOEXEC for /etc/hosts.
20416 (_gethtent): Likewise.
20417
20418 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20419
20420 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20421 cancellation and set FD_CLOEXEC for /etc/netgroup.
20422
20423 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20424 reading /etc/publickey.
20425
20426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20427 allow cancellation when reading /etc/group.
20428
20429 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20430 cancellation.
20431 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20432
20433 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20434 when using data file.
20435
20436 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20437
20438 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20439 (write_nis_obj): Use "c" and "e" in fopen.
20440
20441 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20442
20443 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20444
20445 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20446
20447 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20448
20449 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20450 locale.alias.
20451
20452 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20453
20454 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20455
20456 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20457
20458 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20459 file parsing and set FD_CLOEXEC.
20460
20461 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20462
20463 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20464
20465 2011-11-14 Andreas Schwab <schwab@redhat.com>
20466
20467 * malloc/arena.c (arena_get2): Don't call reused_arena when
20468 _int_new_arena failed.
20469
20470 2011-11-14 Ulrich Drepper <drepper@gmail.com>
20471
20472 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20473 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20474 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20475 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20477 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20478 to compile strcasecmp and strncasecmp.
20479 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20480 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20481
20482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20483
20484 2011-11-13 Ulrich Drepper <drepper@gmail.com>
20485
20486 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20487 locale-defines.sym to gen-as-const-headers.
20488 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20489 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20491 to compile strcasecmp and strncasecmp.
20492 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20493 strcasecmp_l and strncasecmp_l.
20494 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20495 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20496 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20497 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20498 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20499 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20500 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20501 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20502 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20503 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20504 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20505
20506 2011-11-12 Ulrich Drepper <drepper@gmail.com>
20507
20508 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20509 result of SYSDEP_GETTIME_CPU to retval.
20510 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20511 parameter list to macro. Remove trailing semicolon. Adjust users.
20512
20513 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20514 variable.
20515
20516 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20517 mantissa words.
20518 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20519
20520 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20521 from unused variable.
20522
20523 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20524 DWARF definitions.
20525 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20526 for assembling.
20527
20528 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20529 over namespaces.
20530
20531 * sunrpc/rpc_prot.c (rejected): Fix case value.
20532
20533 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20534 unsigned long long int to avoid warnings in shift.
20535
20536 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20537 of use of trans.
20538 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20539 variable tmp.
20540
20541 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20542 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20543 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20544
20545 * nis/nis_table.c (nis_list): Use variable of correct type for
20546 result of __follow_path call.
20547
20548 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20549
20550 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20551 of math functions ceil, trunc, floor, round, and sqrt, when
20552 avaliable on the platform.
20553 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20554 name clash.
20555 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20556 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20557 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20558
20559 2011-10-30 Marek Polacek <mpolacek@redhat.com>
20560
20561 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20562 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20563
20564 2011-11-11 Roland McGrath <roland@hack.frob.com>
20565
20566 * include/unistd.h: Fix __readlink return type.
20567 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20568
20569 2011-11-11 Ulrich Drepper <drepper@gmail.com>
20570
20571 * stdlib/ucontext.h: Undo last change for makecontext.
20572
20573 2011-11-11 Andreas Schwab <schwab@redhat.com>
20574
20575 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20576
20577 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20578 * setjmp/setjmp.h: Mark functions as non-leaf.
20579 * setjmp/bits/setjmp2.h: Likewise.
20580 * stdlib/ucontext.h: Likewise.
20581
20582 2011-11-10 Andreas Schwab <schwab@redhat.com>
20583
20584 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20585 (reused_arena): Don't check arena limit.
20586 (arena_get2): Atomically check arena limit.
20587
20588 2011-11-08 Ulrich Drepper <drepper@gmail.com>
20589
20590 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20591 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20592
20593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20594 instructions.
20595
20596 2011-11-07 Andreas Schwab <schwab@redhat.com>
20597
20598 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20599 handler when locking.
20600
20601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20602 Fix size of allocated buffer.
20603
20604 2011-11-04 Andreas Schwab <schwab@redhat.com>
20605
20606 [BZ #10103]
20607 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20608 declarations for long double functions.
20609 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20610
20611 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20612
20613 2011-11-03 Andreas Schwab <schwab@redhat.com>
20614
20615 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20616 installed.
20617
20618 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20619 is disabled.
20620
20621 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20622
20623 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20624
20625 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20626
20627 * include/alloca.h (stackinfo_alloca_round): Define.
20628 (extend_alloca): Use it.
20629 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20630 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20631 here.
20632
20633 * scripts/check-local-headers.sh: Ignore libaudit.h.
20634
20635 * nscd/Makefile (extra-objs): Make recursively expanded.
20636
20637 2011-11-01 Ulrich Drepper <drepper@gmail.com>
20638
20639 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20641
20642 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20643 * posix/tst-rfc3484-2.c: Likewise.
20644 * posix/tst-rfc3484-3.c: Likewise.
20645
20646 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20647 process_vm_writev.
20648 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20649 process_vm_writev.
20650 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20651 process_vm_writev from libc using GLIBC_2.15 version.
20652
20653 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20654
20655 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20656
20657 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20658 stack usage.
20659
20660 2011-10-31 Ulrich Drepper <drepper@gmail.com>
20661
20662 [BZ #13367]
20663 * nss/getent.c (initgroups_keys): Show error message in case no group
20664 names are given.
20665
20666 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20667 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20668 __bump_nl_timestamp.
20669 * nscd/connections (nscd_init): When host database is served open
20670 netlink socket and request notification about configuration changes.
20671 (main_loop_poll): Track netlink file descriptor and bump timestamp
20672 in case data becomes available.
20673 (main_loop_epoll): Likewise.
20674 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20675 (database_pers_head): Add extra_data fileds.
20676 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20677 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20678 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20679 Adjust caller.
20680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20681 in6ai data, call __free_in6ai.
20682 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20683 Add -DHAVE_NETLINK.
20684 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20685 interface information. Reuse previous data if netlink timestamp
20686 is not changed.
20687 (__bump_nl_timestamp): New function.
20688 (__free_in6ai): New function.
20689
20690 2011-10-30 Ulrich Drepper <drepper@gmail.com>
20691
20692 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20693 close_not_cancel_no_status here.
20694 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20695
20696 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20697
20698 [BZ #13276]
20699 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20700 return value.
20701
20702 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20703 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20704 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20705
20706 2011-07-03 Andreas Jaeger <aj@suse.de>
20707
20708 [BZ #10709]
20709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20710 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20711 * math/libm-test.inc (sin_test): Add test case.
20712
20713 2011-10-29 Ulrich Drepper <drepper@gmail.com>
20714
20715 [BZ #13337]
20716 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20717 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20718
20719 * elf/chroot_canon.c (chroot_canon): Cleanups.
20720
20721 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20722
20723 [BZ #13335]
20724 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20725 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20726
20727 * string/test-strchr.c: Make usable for strchrnul testing.
20728 * string/test-strchrnul.c: New file.
20729 * string/Makefile (strop-tests): Add strchrnul.
20730
20731 * po/it.po: Update from translation team.
20732 * po/es.po: Likewise.
20733
20734 2011-10-28 Ulrich Drepper <drepper@gmail.com>
20735
20736 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20737 the three constants needed as parameters. Drop the others.
20738 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20739 __m128i_strloadu_tolower.
20740 Create and initialize variable zero and use it in all the places
20741 where _mm_setzero_si128 was used.
20742
20743 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20744 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20745 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20746 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20747 anymore.
20748 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20750 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20751 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20752 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20753 __mpranred, __mptan.
20754 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20755 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20756 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20757 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20758 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20759 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20761 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20762 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20763
20764 2011-10-28 Andreas Schwab <schwab@redhat.com>
20765
20766 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20767 redefine if SHARED.
20768 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20769
20770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20771 wide char related routines to wcsmbs subdir.
20772
20773 2011-10-27 Andreas Schwab <schwab@redhat.com>
20774
20775 [BZ #13344]
20776 * misc/sys/cdefs.h (__THROWNL): Define.
20777 * posix/unistd.h: Use __THREADNL instead of __THREAD
20778 for memory synchronization functions.
20779
20780 2011-10-26 Roland McGrath <roland@hack.frob.com>
20781
20782 [BZ #13349]
20783 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20784 doesn't exist.
20785 * manual/stdio.texi (Obstack Streams): Node removed.
20786
20787 2011-10-26 Andreas Schwab <schwab@redhat.com>
20788
20789 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20792
20793 * math/math_private.h (math_force_eval): Allow non-addressable
20794 arguments.
20795 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20796
20797 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20798
20799 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20800 file is not needed.
20801
20802 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20803 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20804 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20805 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20807 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20808 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20809 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20810 Add AVX variants.
20811 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20812 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20813 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20814 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20815 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20816 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20817 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20818 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20819 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20820 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20821 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20822 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20824 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20825 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20826 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20827 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20828 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20829 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20830
20831 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20832 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20833
20834 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20835 place. Use VEX encoding when compiling for AVX.
20836
20837 2011-10-25 Andreas Schwab <schwab@redhat.com>
20838
20839 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20840 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20841
20842 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20843
20844 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20845
20846 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20847 useless if() expression.
20848 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20857 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20858 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20859 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20860 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20861 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20862 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20863 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20864 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20865 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20866 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20867
20868 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20869
20870 2011-10-25 Andreas Schwab <schwab@redhat.com>
20871
20872 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20873 condition.
20874 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20875
20876 2011-10-25 Ulrich Drepper <drepper@gmail.com>
20877
20878 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20879 .text section. Avoid duplicate constants.
20880 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20884 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20889 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20890 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20892 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20893 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20894 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20895 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20896 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20897 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20898 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20901 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20904 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20905 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20906 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20907 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20908 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20909 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20910 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20911 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20912 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20913 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20914 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20915 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20916 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20917 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20918 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20919 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20920 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20922 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20923 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20924 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20925
20926 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20927
20928 * sysdeps/x86_64/dla.h: Move to ...
20929 * sysdeps/x86_64/fpu/dla.h: ...here.
20930 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20931 situations. Use __builtin_fma only for gcc 4.6 and up.
20932
20933 * config.make.in: Add have-mfma4 entry.
20934 * configure.in: Substitute libc_cv_cc_fma4.
20935 * math/Makefile (dbl-only-routines): Add sincostab.
20936 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20937 Use __sincostab not sincos.
20938 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20939 name is a macro.
20940 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20944 using __copysign.
20945 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20946 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20947 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20948 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20949 and __inv.
20950 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20951 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20952 __copysign.
20953 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20954 define aliases when function name is a macro.
20955 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20956 sysdeps/ieee754/dbl-64/sincos.tbl.
20957 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20958 fma4-enabled routines.
20959 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20960 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20961 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20962 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20963 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20964 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20966 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20967 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20968 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20969 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20970 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20971 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20973 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20974 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20975 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20976 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20977 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20979 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20980 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20981 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20982 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20983 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20984 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20985 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20986 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20987 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20988 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20989
20990 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20991 rename.
20992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21000
21001 2011-10-24 Andreas Schwab <schwab@redhat.com>
21002
21003 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21004
21005 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21006
21007 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21008
21009 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21010 prediction.
21011 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21012
21013 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21014 Remove unused variable magic_bits.
21015 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21016
21017 * string/strnlen.c: Define and use STRNLEN macro.
21018 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21019 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21021 * wcsmbs/wcslen.c: Define and use WCSLEN.
21022 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21023 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21024 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21025 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21026 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21027 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21028 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21029
21030 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21031
21032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21033 strnlen-sse2-no-bsf.
21034 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21036 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21037 Add strnlen support.
21038 (USE_AS_STRNLEN): New macro.
21039 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21040 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21041 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21042 * sysdeps/x86_64/wcslen.S: New file.
21043
21044 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21045
21046 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21047 XMM-moves are used for copying on small sizes.
21048
21049 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21050
21051 * wcsmbs/Makefile (strop-tests): Add wcschr.
21052 * wcsmbs/test-wcschr.c: New file.
21053 * string/test-strchr.c: Update.
21054 Add wcschr support.
21055 (WIDE): New macro.
21056
21057 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21058
21059 * wcsmbs/Makefile (strop-tests): Add wcslen.
21060 * wcsmbs/test-wcslen.c: New file.
21061 * string/test-strlen.c: Update.
21062 Add wcslen support.
21063 (WIDE): New macro.
21064
21065 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21066
21067 * po/it.po: Update from translation team.
21068
21069 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21070
21071 * sysdeps/x86_64/wcscmp.S: Update.
21072 Fix wrong comparison semantics.
21073 wcscmp shall use signed comparison not unsigned.
21074 Don't use substraction to avoid overflow bug.
21075 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21076 * wcsmbc/wcscmp.c: Likewise.
21077 * string/test-strcmp.c: Likewise.
21078 Add new tests to check cases with negative values.
21079
21080 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21081
21082 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21083 * sysdeps/x86_64/dla.h: ...here. New file.
21084 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21093
21094 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21095
21096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21097 __ynl_finite aliases.
21098
21099 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21100
21101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21102
21103 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21104 define DLA_FMA.
21105 [DLA_FMA] (EMULV): Use DLA_FMA.
21106 [DLA_FMA] (MUL12): Use EMULV.
21107 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21108 that are not needed.
21109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21116
21117 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21118
21119 * math/s_nan.c: Undef __nan.
21120 * math/s_nanf.c: Undef __nanf.
21121 * math/s_nanl.c: Undef __nanl.
21122 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21123 "math_private.h".
21124
21125 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21126
21127 * math/s_catan.c: Add branch predictions.
21128 * math/s_catanf.c: Likewise.
21129 * math/s_catanh.c: Likewise.
21130 * math/s_catanhf.c: Likewise.
21131 * math/s_catanhl.c: Likewise.
21132 * math/s_catanl.c: Likewise.
21133 * math/s_cexp.c: Likewise.
21134 * math/s_cexpf.c: Likewise.
21135 * math/s_cexpl.c: Likewise.
21136 * math/s_clog.c: Likewise.
21137 * math/s_clog10.c: Likewise.
21138 * math/s_clog10f.c: Likewise.
21139 * math/s_clog10l.c: Likewise.
21140 * math/s_clogf.c: Likewise.
21141 * math/s_clogl.c: Likewise.
21142 * math/s_csqrt.c: Likewise.
21143 * math/s_csqrtf.c: Likewise.
21144 * math/s_csqrtl.c: Likewise.
21145 * math/s_ctanf.c: Likewise.
21146 * math/s_ctanh.c: Likewise.
21147 * math/s_ctanhf.c: Likewise.
21148 * math/s_ctanhl.c: Likewise.
21149 * math/s_ctanl.c: Likewise.
21150
21151 * math/math_private.h: Define __nan, __nanf, __nanl.
21152 * math/s_cacosh.c: Include <math_private.h>.
21153 * math/s_cacoshl.c: Likewise.
21154 * math/s_casinh.c: Likewise.
21155 * math/s_casinhf.c: Likewise.
21156 * math/s_casinhl.c: Likewise.
21157 * math/s_ccos.c: Rely entire on ccosh.
21158 * math/s_ccosf.c: Rely entire on ccoshf.
21159 * math/s_ccosl.c: Rely entirely on ccoshl.
21160 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21161 Remove tests for FE_INVALID.
21162 * math/s_ccoshf.c: Likewise.
21163 * math/s_ccoshl.c: Likewise.
21164 * math/s_csin.c: Likewise.
21165 * math/s_csinf.c: Likewise.
21166 * math/s_csinh.c Likewise.
21167 * math/s_csinhf.c: Likewise.
21168 * math/s_csinhl.c: Likewise.
21169 * math/s_csinl.c: Likewise.
21170 * math/s_ctan.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21172 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21174
21175 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21176
21177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21178 compilation problems.
21179
21180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21181 __builtin_expect.
21182
21183 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21184
21185 * sysdeps/i386/configure.in: Test for -mfma4 option.
21186 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21187 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21188 COMMON_CPUID_INDEX_80000001.
21189 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21190 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21191 use it if FMA3 is not supported.
21192 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21193
21194 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21195 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21196
21197 2011-10-20 Andreas Schwab <schwab@redhat.com>
21198
21199 [BZ #12892]
21200 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21201 it would create a cycle with a link time dependency.
21202
21203 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21204
21205 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21206 instruction.
21207 * string/Makefile (strop-tests): Add rawmemchr.
21208 * string/test-rawmemchr.c: New file.
21209
21210 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21212 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21213 when compiling str{,n}casecmp and when AVX is available. Hook up
21214 new optimized code in initializers.
21215
21216 2011-10-19 Andreas Schwab <schwab@redhat.com>
21217
21218 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21219 __feraiseexcept instead of feraiseexcept.
21220
21221 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21222
21223 * math/math_private.h: Define defaults for libc_fetestexcept and
21224 libc_feupdateenv.
21225 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21226 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21227 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21228 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21229 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21230 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21231 libc_fetestexcept and libc_feupdateenv.
21232
21233 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21234 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21235 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21236 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21237 libc_feholdexcept_setround.
21238
21239 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21240 Add s_nearbyint-c and s_nearbyintf-c.
21241 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21242 nearbyintf inlines.
21243 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21244 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21245 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21246 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21247
21248 * math/math_private.h: Define defaults for libc_fegetround,
21249 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21250 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21251 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21252 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21253 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21254 standard functions.
21255 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21256 Remove comments and hacks for old compiler versions.
21257 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21258 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21259 libc_feholdexceptl.
21260
21261 2011-10-18 Andreas Schwab <schwab@redhat.com>
21262
21263 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21264 (__feraiseexcept_renamed): Add __NTH.
21265 (feraiseexcept): Add __NTH. Rename local variables to fix
21266 namespace violations.
21267
21268 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21269
21270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21271
21272 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21273
21274 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21275 recently added interfaces.
21276 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21277
21278 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21279 about macro parameter expansion.
21280
21281 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21282 __NO_MATH_INLINES is defined. Cleanups.
21283
21284 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21285 and __floorf is target has SSE4.1.
21286 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21287 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21288 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21289 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21290
21291 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21292 name.
21293 (floorf): Likewise.
21294
21295 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21296
21297 2011-10-17 Andreas Schwab <schwab@redhat.com>
21298
21299 * misc/sys/cdefs.h: Fix last change.
21300
21301 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21302 database lookup.
21303
21304 2011-10-16 Ulrich Drepper <drepper@gmail.com>
21305
21306 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21307
21308 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21310 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21311 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21314 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21315 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21316 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21317 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21318 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21319 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21320 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21321 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21322 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21323 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21324 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21325 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21326 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21327 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21328 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21329 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21330
21331 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21332 ceil, ceilf, floor, floorf.
21333
21334 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21335 Perform IRELATIVE relocations last.
21336
21337 * elf/do-rel.h: Add another parameter nrelative, replacing the
21338 local variable with the same name. Change name of the function
21339 to end in Rel or Rela (uppercase).
21340 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21341 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21342 elf_dynamic_do_##reloc function.
21343
21344 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21345
21346 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21347 is sufficient, at least on modern CPUs.
21348
21349 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21350
21351 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21352 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21353
21354 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21355 __expl_finite.
21356 * math/bits/math-finite.h: Add entries for exp.
21357 * math/e_expl.c: Add __*_finite alias.
21358 * sysdeps/i386/fpu/e_exp.S: Likewise.
21359 * sysdeps/i386/fpu/e_expf.S: Likewise.
21360 * sysdeps/i386/fpu/e_expl.c: Likewise.
21361 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21362 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21363 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21365 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21366 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21367 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21368
21369 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21370 is sufficient, at least on modern CPUs.
21371
21372 * ctype/ctype-info.c (__ctype_init): Define.
21373 * include/ctype.h (__ctype_init): Declare.
21374 (__ctype_b_loc): The variable is always initialized.
21375 (__ctype_toupper_loc): Likewise.
21376 (__ctype_tolower_loc): Likewise.
21377 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21378 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21379
21380 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21381
21382 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21383
21384 * configure.in: Also look in $cxxmachine/include for C++ system
21385 headers.
21386
21387 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21388
21389 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21390 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21391 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21392 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21393 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21394 (USE_AS_WMEMCMP): New macro.
21395 Fixing indents.
21396 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21397 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21398 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21399 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21401 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21402 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21403 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21404 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21405 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21406 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21407 (USE_AS_WMEMCMP): New macro.
21408 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21409 * sysdeps/string/test-memcmp.c: Update.
21410 Fix simple_wmemcmp.
21411 Add new tests.
21412 * wcsmbs/wmemcmp.c: Update.
21413 (WMEMCMP): New macro.
21414 Fix overflow bug.
21415
21416 2011-10-12 Andreas Jaeger <aj@suse.de>
21417
21418 [BZ #13268]
21419 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21420
21421 2011-10-15 Ulrich Drepper <drepper@gmail.com>
21422
21423 * libio/iofwide.c (do_length): Avoid warning.
21424
21425 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21426
21427 2011-10-14 Ulrich Drepper <drepper@gmail.com>
21428
21429 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21430
21431 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21432 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21433 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21434 * sysdeps/i386/i686/fpu/e_log.S: New file.
21435 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21436 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21437
21438 * ctype/ctype.h: Add support for inlined isXXX functions when
21439 compiling C++ code.
21440
21441 2011-10-14 Andreas Schwab <schwab@redhat.com>
21442
21443 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21444
21445 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21446
21447 2011-10-13 Roland McGrath <roland@hack.frob.com>
21448
21449 [BZ #13291]
21450 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21451
21452 2011-10-13 Andreas Schwab <schwab@redhat.com>
21453
21454 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21455 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21456 feraiseexcept.
21457
21458 * sysdeps/x86_64/memrchr.S: Check for zero size.
21459
21460 * string/stratcliff.c: Add memrchr tests.
21461
21462 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21463
21464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21465 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21466 rawmemchr-sse2 rawmemchr-sse2-bsf.
21467 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21468 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21469 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21470 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21471 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21472 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21473 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21474 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21475 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21476 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21477 * string/memrchr.c (MEMRCHR): New macro.
21478
21479 2011-10-12 Ulrich Drepper <drepper@gmail.com>
21480
21481 Add integration with gcc's -ffinite-math-only and optimize wrapper
21482 functions in libm.
21483 * Versions.def: Define GLIBC_2.15 version for libm.
21484 * math/Makefile (headers): Add bits/math-finite.h.
21485 * math/bits/math-finite.h: New file.
21486 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21487 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21488 * math/e_acoshl.c: Add __*_finite alias.
21489 * math/e_acosl.c: Likewise.
21490 * math/e_asinl.c: Likewise.
21491 * math/e_atan2l.c: Likewise.
21492 * math/e_atanhl.c: Likewise.
21493 * math/e_coshl.c: Likewise.
21494 * math/e_exp10.c: Likewise.
21495 * math/e_exp10f.c: Likewise.
21496 * math/e_exp10l.c: Likewise.
21497 * math/e_exp2l.c: Likewise.
21498 * math/e_fmodl.c: Likewise.
21499 * math/e_gammal_r.c: Likewise.
21500 * math/e_hypotl.c: Likewise.
21501 * math/e_j0l.c: Likewise.
21502 * math/e_j1l.c: Likewise.
21503 * math/e_jnl.c: Likewise.
21504 * math/e_lgammal_r.c: Likewise.
21505 * math/e_log10l.c: Likewise.
21506 * math/e_log2l.c: Likewise.
21507 * math/e_logl.c: Likewise.
21508 * math/e_powl.c: Likewise.
21509 * math/e_sinhl.c: Likewise.
21510 * math/e_sqrtl.c: Likewise.
21511 * math/e_scalb.c: Completely rewritten and optimized.
21512 * math/e_scalbf.c: Likewise.
21513 * math/e_scalbl.c: Likewise.
21514 * math/w_acos.c: Likewise.
21515 * math/w_acosf.c: Likewise.
21516 * math/w_acosl.c: Likewise.
21517 * math/w_acosh.c: Likewise.
21518 * math/w_acoshf.c: Likewise.
21519 * math/w_acoshl.c: Likewise.
21520 * math/w_asin.c: Likewise.
21521 * math/w_asinf.c: Likewise.
21522 * math/w_asinl.c: Likewise.
21523 * math/w_atan2.c: Likewise.
21524 * math/w_atan2f.c: Likewise.
21525 * math/w_atan2l.c: Likewise.
21526 * math/w_atanh.c: Likewise.
21527 * math/w_atanhf.c: Likewise.
21528 * math/w_atanhl.c: Likewise.
21529 * math/w_exp10.c: Likewise.
21530 * math/w_exp10f.c: Likewise.
21531 * math/w_exp10l.c: Likewise.
21532 * math/w_fmod.c: Likewise.
21533 * math/w_fmodf.c: Likewise.
21534 * math/w_fmodl.c: Likewise.
21535 * math/w_j0.c: Likewise.
21536 * math/w_j0f.c: Likewise.
21537 * math/w_j0l.c: Likewise.
21538 * math/w_j1.c: Likewise.
21539 * math/w_j1f.c: Likewise.
21540 * math/w_j1l.c: Likewise.
21541 * math/w_jn.c: Likewise.
21542 * math/w_jnf.c: Likewise.
21543 * math/w_log.c: Likewise.
21544 * math/w_logf.c: Likewise.
21545 * math/w_logl.c: Likewise.
21546 * math/w_log10.c: Likewise.
21547 * math/w_log10f.c: Likewise.
21548 * math/w_log10l.c: Likewise.
21549 * math/w_log2.c: Likewise.
21550 * math/w_log2f.c: Likewise.
21551 * math/w_log2l.c: Likewise.
21552 * math/w_pow.c: Likewise.
21553 * math/w_powf.c: Likewise.
21554 * math/w_powl.c: Likewise.
21555 * math/w_remainder.c: Likewise.
21556 * math/w_remainderf.c: Likewise.
21557 * math/w_remainderl.c: Likewise.
21558 * math/w_scalb.c: Likewise.
21559 * math/w_scalbf.c: Likewise.
21560 * math/w_scalbl.c: Likewise.
21561 * math/w_sqrt.c: Likewise.
21562 * math/w_sqrtf.c: Likewise.
21563 * math/w_sqrtl.c: Likewise.
21564 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21565 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21566 used.
21567 * math/math_private.h: Declare __kernel_standard_f.
21568 * math/w_cosh.c: Remove cruft and optimize a bit.
21569 * math/w_coshf.c: Likewise.
21570 * math/w_coshl.c: Likewise.
21571 * math/w_exp2.c: Likewise.
21572 * math/w_exp2f.c: Likewise.
21573 * math/w_exp2l.c: Likewise.
21574 * math/w_hypot.c: Likewise.
21575 * math/w_hypotf.c: Likewise.
21576 * math/w_hypotl.c: Likewise.
21577 * math/w_lgamma.c: Likewise.
21578 * math/w_lgamma_r.c: Likewise.
21579 * math/w_lgammaf.c: Likewise.
21580 * math/w_lgammaf_r.c: Likewise.
21581 * math/w_lgammal.c: Likewise.
21582 * math/w_lgammal_r.c: Likewise.
21583 * math/w_sinh.c: Likewise.
21584 * math/w_sinhf.c: Likewise.
21585 * math/w_sinhl.c: Likewise.
21586 * math/w_tgamma.c: Likewise.
21587 * math/w_tgammaf.c: Likewise.
21588 * math/w_tgammal.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21590 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21591 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21592 Minor optimizations. Pretty printing. Remove cruft.
21593 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21594 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21595 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21596 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21597 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21598 * sysdeps/i386/fpu/e_asin.S: Likewise.
21599 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21600 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21601 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21602 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21603 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21604 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21605 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21606 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21607 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21608 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21609 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21610 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21611 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21612 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21613 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21614 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21615 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21616 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21617 * sysdeps/i386/fpu/e_log.S: Likewise.
21618 * sysdeps/i386/fpu/e_log10.S: Likewise.
21619 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21620 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21621 * sysdeps/i386/fpu/e_log2.S: Likewise.
21622 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21623 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21624 * sysdeps/i386/fpu/e_logf.S: Likewise.
21625 * sysdeps/i386/fpu/e_logl.S: Likewise.
21626 * sysdeps/i386/fpu/e_pow.S: Likewise.
21627 * sysdeps/i386/fpu/e_powf.S: Likewise.
21628 * sysdeps/i386/fpu/e_powl.S: Likewise.
21629 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21630 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21631 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21632 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21633 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21634 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21635 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21636 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21637 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21639 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21641 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21642 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21659 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21662 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21663 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21664 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21665 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21666 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21667 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21668 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21669 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21670 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21671 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21672 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21673 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21674 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21675 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21676 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21677 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21678 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21679 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21680 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21681 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21684 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21690 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21691 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21692 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21715 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21730 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21731 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21732 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21733 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21734 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21735 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21736 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21737 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21738 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21739 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21740 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21741 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21742 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21743 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21744 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21745 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21746 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21747 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21748 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21749 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21750 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21751 (__isnanf): Likewise.
21752 (__isinf_ns): Likewise.
21753 (__isinf_nsf): Likewise.
21754 (__finite): Likewise.
21755 (__finitef): Likewise.
21756 (__ieee754_sqrt): Define as macro.
21757 (__ieee754_sqrtf): Define as macro.
21758 (__ieee754_sqrtl): Define as macro.
21759 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21760 inlined copy.
21761 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21762 __FINITE_MATH_ONLY__ consistent.
21763 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21764
21765 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21766
21767 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21768 of rawmemchr.
21769
21770 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21771
21772 2011-10-09 Ulrich Drepper <drepper@gmail.com>
21773
21774 * po/ja.po: Update from translation team.
21775
21776 2011-10-08 Roland McGrath <roland@hack.frob.com>
21777
21778 * locale/programs/locarchive.c (prepare_address_space): New function.
21779 (create_archive, enlarge_archive, open_archive): Use it.
21780
21781 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21782 inside [SHARED], where it is used.
21783
21784 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21785
21786 * nss/getent.c (netgroup_keys): Remove unused variable.
21787 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21788
21789 2011-10-08 Ulrich Drepper <drepper@gmail.com>
21790
21791 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21792 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21794 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21795 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21796 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21797 * math/Makefile (libm-calls): Add s_isinf_ns.
21798 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21799 * math/multc3.c: Likewise.
21800 * math/s_casin.c: Likewise.
21801 * math/s_casinf.c: Likewise.
21802 * math/s_casinl.c: Likewise.
21803 * math/s_ccos.c: Likewise.
21804 * math/s_ccosf.c: Likewise.
21805 * math/s_ccosl.c: Likewise.
21806 * math/s_ctan.c: Likewise.
21807 * math/s_ctanf.c: Likewise.
21808 * math/s_ctanh.c: Likewise.
21809 * math/s_ctanhf.c: Likewise.
21810 * math/s_ctanhl.c: Likewise.
21811 * math/s_ctanl.c: Likewise.
21812 * math/w_fmod.c: Likewise.
21813 * math/w_fmodf.c: Likewise.
21814 * math/w_fmodl.c: Likewise.
21815 * math/w_remainder.c: Likewise.
21816 * math/w_remainderf.c: Likewise.
21817 * math/w_remainderl.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21819 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21820 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21822 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21823 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21824 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21825 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21826
21827 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21828 of the number.
21829 * stdio-common/printf_fphex.c: Likewise.
21830 * stdio-common/printf_size.c: Likewise.
21831
21832 * math/e_exp10.c: Include math_private.h using <...> not "...".
21833 * math/e_exp10f.c: Likewise.
21834 * math/e_exp10l.c: Likewise.
21835 * math/e_exp2l.c: Likewise.
21836 * math/e_j0l.c: Likewise.
21837 * math/e_j1l.c: Likewise.
21838 * math/e_jnl.c: Likewise.
21839 * math/e_lgammal_r.c: Likewise.
21840 * math/e_rem_pio2l.c: Likewise.
21841 * math/e_scalb.c: Likewise.
21842 * math/e_scalbf.c: Likewise.
21843 * math/e_scalbl.c: Likewise.
21844 * math/k_cosl.c: Likewise.
21845 * math/k_sinl.c: Likewise.
21846 * math/k_tanl.c: Likewise.
21847 * math/s_cacoshf.c: Likewise.
21848 * math/s_catan.c: Likewise.
21849 * math/s_catanf.c: Likewise.
21850 * math/s_catanh.c: Likewise.
21851 * math/s_catanhf.c: Likewise.
21852 * math/s_catanhl.c: Likewise.
21853 * math/s_catanl.c: Likewise.
21854 * math/s_ccosh.c: Likewise.
21855 * math/s_ccoshf.c: Likewise.
21856 * math/s_ccoshl.c: Likewise.
21857 * math/s_cexp.c: Likewise.
21858 * math/s_cexpf.c: Likewise.
21859 * math/s_cexpl.c: Likewise.
21860 * math/s_clog.c: Likewise.
21861 * math/s_clog10.c: Likewise.
21862 * math/s_clog10f.c: Likewise.
21863 * math/s_clog10l.c: Likewise.
21864 * math/s_clogf.c: Likewise.
21865 * math/s_clogl.c: Likewise.
21866 * math/s_csin.c: Likewise.
21867 * math/s_csinf.c: Likewise.
21868 * math/s_csinh.c: Likewise.
21869 * math/s_csinhf.c: Likewise.
21870 * math/s_csinhl.c: Likewise.
21871 * math/s_csinl.c: Likewise.
21872 * math/s_csqrt.c: Likewise.
21873 * math/s_csqrtf.c: Likewise.
21874 * math/s_csqrtl.c: Likewise.
21875 * math/s_ctan.c: Likewise.
21876 * math/s_ctanf.c: Likewise.
21877 * math/s_ctanh.c: Likewise.
21878 * math/s_ctanhf.c: Likewise.
21879 * math/s_ctanhl.c: Likewise.
21880 * math/s_ctanl.c: Likewise.
21881 * math/s_ldexp.c: Likewise.
21882 * math/s_ldexpf.c: Likewise.
21883 * math/s_ldexpl.c: Likewise.
21884 * math/s_significand.c: Likewise.
21885 * math/s_significandf.c: Likewise.
21886 * math/s_significandl.c: Likewise.
21887 * math/w_acos.c: Likewise.
21888 * math/w_acosf.c: Likewise.
21889 * math/w_acosh.c: Likewise.
21890 * math/w_acoshf.c: Likewise.
21891 * math/w_acoshl.c: Likewise.
21892 * math/w_acosl.c: Likewise.
21893 * math/w_asin.c: Likewise.
21894 * math/w_asinf.c: Likewise.
21895 * math/w_asinl.c: Likewise.
21896 * math/w_atan2.c: Likewise.
21897 * math/w_atan2f.c: Likewise.
21898 * math/w_atan2l.c: Likewise.
21899 * math/w_atanh.c: Likewise.
21900 * math/w_atanhf.c: Likewise.
21901 * math/w_atanhl.c: Likewise.
21902 * math/w_cosh.c: Likewise.
21903 * math/w_coshf.c: Likewise.
21904 * math/w_coshl.c: Likewise.
21905 * math/w_dremf.c: Likewise.
21906 * math/w_exp10.c: Likewise.
21907 * math/w_exp10f.c: Likewise.
21908 * math/w_exp10l.c: Likewise.
21909 * math/w_exp2.c: Likewise.
21910 * math/w_exp2f.c: Likewise.
21911 * math/w_fmod.c: Likewise.
21912 * math/w_fmodf.c: Likewise.
21913 * math/w_fmodl.c: Likewise.
21914 * math/w_hypot.c: Likewise.
21915 * math/w_hypotf.c: Likewise.
21916 * math/w_hypotl.c: Likewise.
21917 * math/w_j0.c: Likewise.
21918 * math/w_j0f.c: Likewise.
21919 * math/w_j0l.c: Likewise.
21920 * math/w_j1.c: Likewise.
21921 * math/w_j1f.c: Likewise.
21922 * math/w_j1l.c: Likewise.
21923 * math/w_jn.c: Likewise.
21924 * math/w_jnf.c: Likewise.
21925 * math/w_jnl.c: Likewise.
21926 * math/w_lgamma.c: Likewise.
21927 * math/w_lgamma_r.c: Likewise.
21928 * math/w_lgammaf.c: Likewise.
21929 * math/w_lgammaf_r.c: Likewise.
21930 * math/w_lgammal.c: Likewise.
21931 * math/w_lgammal_r.c: Likewise.
21932 * math/w_log.c: Likewise.
21933 * math/w_log10.c: Likewise.
21934 * math/w_log10f.c: Likewise.
21935 * math/w_log10l.c: Likewise.
21936 * math/w_log2.c: Likewise.
21937 * math/w_log2f.c: Likewise.
21938 * math/w_log2l.c: Likewise.
21939 * math/w_logf.c: Likewise.
21940 * math/w_logl.c: Likewise.
21941 * math/w_pow.c: Likewise.
21942 * math/w_powf.c: Likewise.
21943 * math/w_powl.c: Likewise.
21944 * math/w_remainder.c: Likewise.
21945 * math/w_remainderf.c: Likewise.
21946 * math/w_remainderl.c: Likewise.
21947 * math/w_scalb.c: Likewise.
21948 * math/w_scalbf.c: Likewise.
21949 * math/w_scalbl.c: Likewise.
21950 * math/w_sinh.c: Likewise.
21951 * math/w_sinhf.c: Likewise.
21952 * math/w_sinhl.c: Likewise.
21953 * math/w_sqrt.c: Likewise.
21954 * math/w_sqrtf.c: Likewise.
21955 * math/w_sqrtl.c: Likewise.
21956 * math/w_tgamma.c: Likewise.
21957 * math/w_tgammaf.c: Likewise.
21958 * math/w_tgammal.c: Likewise.
21959
21960 * po/ja.po: Update from translation team.
21961
21962 2011-09-29 Andreas Jaeger <aj@suse.de>
21963
21964 [BZ #13179]
21965 * sunrpc/netname.c (netname2host): Fix logic.
21966
21967 [BZ #6779]
21968 [BZ #6783]
21969 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21970 correctly.
21971 * math/w_remainder.c (__remainder): Likewise.
21972 * math/w_remainderf.c (__remainderf): Likewise.
21973 * math/libm-test.inc (remainder_test): Add test cases.
21974
21975 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21976
21977 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21978 sdiv_qrnnd.
21979
21980 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21981
21982 * string/test-memcmp.c: Avoid unncessary #defines.
21983 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21984
21985 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21986
21987 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21988 Use new sse2 version for core i3 - i7 as it's faster
21989 than sse42 version.
21990 (bit_Prefer_PMINUB_for_stringop): New.
21991 * sysdeps/x86_64/rawmemchr.S: Update.
21992 Replace with faster SSE2 version.
21993 * sysdeps/x86_64/memrchr.S: New file.
21994 * sysdeps/x86_64/memchr.S: Update.
21995 Replace with faster SSE2 version.
21996
21997 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21998
21999 * elf/dl-load.c (lose): Add cast to avoid warning.
22000
22001 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22002
22003 * po/ca.po: Update from translation team.
22004
22005 * inet/getnetgrent_r.c: Hook up nscd.
22006 * nscd/Makefile (routines): Add nscd_netgroup.
22007 (nscd-modules): Add netgroupcache.
22008 (CFLAGS-netgroupcache.c): Define.
22009 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22010 (cache_search): Add const to second parameter.
22011 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22012 INNETGR.
22013 (dbs): Add netgrdb entry.
22014 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22015 (verify_persistent_db): Handle netgrdb.
22016 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22017 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22018 GETFDNETGR.
22019 (netgroup_response_header): Define.
22020 (innetgroup_response_header): Define.
22021 (datahead): Add netgroup_response_header and innetgroup_response_header
22022 elements.
22023 * nscd/nscd.conf: Add entries for netgroup cache.
22024 * nscd/nscd.h (dbtype): Add netgrdb.
22025 (_PATH_NSCD_NETGROUP_DB): Define.
22026 (netgroup_iov_disabled): Declare.
22027 (xmalloc, xcalloc, xrealloc): Move declarations here.
22028 (cache_search): Adjust prototype.
22029 Add netgroup-related prototypes.
22030 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22031 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22032 (__nscd_innetgr): Declare.
22033 * nscd/selinux.c (perms): Use access_vector_t as element type and
22034 add netgroup-related initializers.
22035 * nscd/netgroupcache.c: New file.
22036 * nscd/nscd_netgroup.c: New file.
22037 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22038 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22039 For four parameters use innetgr.
22040 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22041 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22042 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22043 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22044
22045 * nscd/connections.c (register_traced_file): Don't register file
22046 for disabled databases.
22047
22048 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22049
22050 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22051
22052 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22053 from tree and freeing node.
22054
22055 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22056
22057 * nss/nsswitch.c (__nss_database_lookup): Handle
22058 nss_parse_service_list out of memory case.
22059
22060 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22061
22062 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22063 out of memory case.
22064
22065 2011-10-04 Andreas Schwab <schwab@redhat.com>
22066
22067 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22068 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22069 pass it down.
22070 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22071 elf_machine_rela, elf_machine_lazy_rel.
22072 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22073 (ELF_DYNAMIC_DO_REL): Likewise.
22074 (ELF_DYNAMIC_DO_RELA): Likewise.
22075 (ELF_DYNAMIC_RELOCATE): Likewise.
22076 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22077 to ELF_DYNAMIC_DO_REL.
22078 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22079 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22080 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22081 elf_machine_rela.
22082 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22083 skip_ifunc, don't call ifunc function if non-zero.
22084 (elf_machine_rela): Likewise.
22085 (elf_machine_lazy_rel): Likewise.
22086 (elf_machine_lazy_rela): Likewise.
22087 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22088 (elf_machine_lazy_rel): Likewise.
22089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22090 Likewise.
22091 (elf_machine_lazy_rel): Likewise.
22092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22093 Likewise.
22094 (elf_machine_lazy_rel): Likewise.
22095 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22096 (elf_machine_lazy_rel): Likewise.
22097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22098 (elf_machine_lazy_rel): Likewise.
22099 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22100 (elf_machine_lazy_rel): Likewise.
22101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22102 (elf_machine_lazy_rel): Likewise.
22103 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22104 (elf_machine_lazy_rel): Likewise.
22105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22106 (elf_machine_lazy_rel): Likewise.
22107
22108 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22109
22110 * nss/nss_files/files-init.c (_nss_files_init): Use static
22111 initialization for all the *_traced_file variables.
22112
22113 2011-09-28 Andreas Schwab <schwab@redhat.com>
22114
22115 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22116
22117 2011-09-27 Roland McGrath <roland@hack.frob.com>
22118
22119 [BZ #13226]
22120 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22121
22122 2011-09-27 Andreas Schwab <schwab@redhat.com>
22123
22124 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22125 Reread the line before reparsing it.
22126
22127 2011-09-26 Andreas Schwab <schwab@redhat.com>
22128
22129 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22130
22131 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22132 Maxim Kuvyrkov <maxim@codesourcery.com>
22133 Joseph Myers <joseph@codesourcery.com>
22134
22135 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22136 if needed for __stack_chk_guard.
22137
22138 2011-09-19 Roland McGrath <roland@hack.frob.com>
22139
22140 * sysdeps/posix/spawni.c (script_execute): Always define it.
22141 It will be optimized away if unused.
22142 (maybe_script_execute): New function.
22143 (__spawni): Call it.
22144
22145 * Makerules: Don't include tls.make.
22146 (config-tls): Always set to thread.
22147 * tls.make.c: File removed.
22148
22149 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22150
22151 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22152 * config.make.in (CPPFLAGS-config): New substituted variable.
22153
22154 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22155
22156 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22157
22158 [BZ #13192]
22159 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22160 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22161
22162 2011-09-15 Roland McGrath <roland@hack.frob.com>
22163
22164 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22165 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22166 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22167 (CALL_FAIL): Likewise.
22168 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22169 (CALL_FAIL): Macro removed.
22170 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22171
22172 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22173
22174 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22175 for __FINITE_MATH_ONLY__ == 1.
22176
22177 2011-09-15 Andreas Schwab <schwab@redhat.com>
22178
22179 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22180 __ieee754_sqrt instead of sqrt.
22181 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22182 __ieee754_sqrtf instead of sqrtf.
22183 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22184 __floorf instead of floorf.
22185 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22186 __floorf, __truncf instead of floorf, truncf.
22187
22188 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22189
22190 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22191
22192 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22193 __extern_always_inline.
22194 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22195 32-bit.
22196
22197 2011-09-14 Andreas Schwab <schwab@redhat.com>
22198
22199 * elf/rtld.c (dl_main): Also relocate in dependency order when
22200 doing symbol dependency testing.
22201
22202 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22203
22204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22205 Always define `refsym'.
22206
22207 2011-09-13 Andreas Schwab <schwab@redhat.com>
22208
22209 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22210 (__FD_ELT): Renamed from __FDELT.
22211 * misc/bits/select2.h (__FD_ELT): Likewise.
22212 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22213 __FD_MASK instead of __FDELT, __FDMASK.
22214 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22215 Likewise.
22216 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22217 Likewise.
22218
22219 * elf/Makefile (gen-ldd): Fix pattern.
22220
22221 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22222 (init_tls): Likewise.
22223
22224 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22225
22226 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22227
22228 2011-09-12 Andreas Schwab <schwab@redhat.com>
22229
22230 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22231 `struct cmsghdr *' instead of `void *'.
22232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22233 Likewise.
22234
22235 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22236
22237 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22238 if non-absolute.
22239 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22240 ldd_rewrite_script.
22241
22242 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22243
22244 * configure.in: Remove --with-tls option.
22245 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22246 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22247 out in case it is missing.
22248 * sysdeps/ia64/elf/configure.in: Likewise.
22249 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22250 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22251 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22252 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22253 * sysdeps/sh/elf/configure.in: Likewise.
22254 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22255 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22256 * sysdeps/x86_64/elf/configure.in: Likewise.
22257 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22258 * sysdeps/mach/hurd/tls.h: Likewise.
22259
22260 [BZ #13067]
22261 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22262
22263 [BZ #13090]
22264 * configure.in: Fix use of AC_INIT.
22265
22266 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22267
22268 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22269
22270 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22271 __set_errno.
22272 * malloc/hooks.c: Likewise.
22273
22274 [BZ #11929]
22275 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22276 variables statically.
22277 (narenas): Initialize.
22278 (list_lock): Initialize.
22279 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22280 initializtion of main_arena and list_lock. Small cleanups.
22281 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22282 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22283 Add initializers to main_arena and mp_.
22284 (malloc_state): Remove pagesize member. Change all users to use
22285 GLRO(dl_pagesize).
22286
22287 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22288 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22289 is always initialized.
22290
22291 * malloc/malloc.c: Removed unused configurations and dead code.
22292 * malloc/arena.c: Likewise.
22293 * malloc/hooks.c: Likewise.
22294 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22295
22296 * include/tls.h: Removed. USE___THREAD must always be defined.
22297 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22298 * elf/dl-libc.c: Likewise.
22299 * elf/dl-tsd.c: Likewise.
22300 * include/errno.h: Likewise.
22301 * include/netdb.h: Likewise.
22302 * include/resolv.h: Likewise.
22303 * inet/herrno-loc.c: Likewise.
22304 * inet/herrno.c: Likewise.
22305 * malloc/arena.c: Likewise.
22306 * malloc/hooks.c: Likewise.
22307 * malloc/malloc.c: Likewise.
22308 * resolv/res-state.c: Likewise.
22309 * resolv/res_libc.c: Likewise.
22310 * sysdeps/i386/dl-machine.h: Likewise.
22311 * sysdeps/ia64/dl-machine.h: Likewise.
22312 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22313 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22314 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22315 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22316 * sysdeps/sh/dl-machine.h: Likewise.
22317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22318 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22319 * sysdeps/unix/i386/sysdep.S: Likewise.
22320 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22321 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22326 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22330 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22331 * sysdeps/x86_64/dl-machine.h: Likewise.
22332 * tls.make.c: Likewise.
22333
22334 * configure.in: Remove --with-__thread option. Make tests for
22335 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22336 tls_model attribute fail if no support is available. Remove
22337 USE_IN_LIBIO.
22338 * Makeconfig: Adjust for dropped configure option. All features are
22339 now mandatory.
22340 * Makerules: Likewise.
22341 * Versions.def: Likewise.
22342 * argp/argp-fmtstream.c: Likewise.
22343 * argp/argp-fmtstream.h: Likewise.
22344 * argp/argp-help.c: Likewise.
22345 * assert/assert.c: Likewise.
22346 * config.h.in: Likewise.
22347 * config.make.in: Likewise.
22348 * configure: Likewise.
22349 * configure.in: Likewise.
22350 * csu/Versions: Likewise.
22351 * csu/init.c: Likewise.
22352 * elf/tst-audit2.c: Likewise.
22353 * elf/tst-tls10.c: Likewise.
22354 * elf/tst-tls10.h: Likewise.
22355 * elf/tst-tls11.c: Likewise.
22356 * elf/tst-tls12.c: Likewise.
22357 * elf/tst-tls14.c: Likewise.
22358 * elf/tst-tlsmod11.c: Likewise.
22359 * elf/tst-tlsmod12.c: Likewise.
22360 * elf/tst-tlsmod13.c: Likewise.
22361 * elf/tst-tlsmod13a.c: Likewise.
22362 * elf/tst-tlsmod14a.c: Likewise.
22363 * elf/tst-tlsmod15b.c: Likewise.
22364 * elf/tst-tlsmod16a.c: Likewise.
22365 * elf/tst-tlsmod16b.c: Likewise.
22366 * elf/tst-tlsmod7.c: Likewise.
22367 * elf/tst-tlsmod8.c: Likewise.
22368 * elf/tst-tlsmod9.c: Likewise.
22369 * gmon/gmon.c: Likewise.
22370 * grp/fgetgrent_r.c: Likewise.
22371 * grp/putgrent.c: Likewise.
22372 * hurd/fopenport.c: Likewise.
22373 * include/libc-symbols.h: Likewise.
22374 * include/tls.h: Likewise.
22375 * intl/gettextP.h: Likewise.
22376 * intl/loadinfo.h: Likewise.
22377 * locale/global-locale.c: Likewise.
22378 * locale/localeinfo.h: Likewise.
22379 * mach/devstream.c: Likewise.
22380 * malloc/arena.c: Likewise.
22381 * malloc/set-freeres.c: Likewise.
22382 * misc/err.c: Likewise.
22383 * misc/getttyent.c: Likewise.
22384 * misc/mntent_r.c: Likewise.
22385 * posix/getopt.c: Likewise.
22386 * posix/wordexp.c: Likewise.
22387 * pwd/fgetpwent_r.c: Likewise.
22388 * resolv/Versions: Likewise.
22389 * resolv/res_hconf.c: Likewise.
22390 * shadow/fgetspent_r.c: Likewise.
22391 * shadow/putspent.c: Likewise.
22392 * stdio-common/printf_fphex.c: Likewise.
22393 * stdio-common/tmpfile.c: Likewise.
22394 * stdlib/abort.c: Likewise.
22395 * stdlib/fmtmsg.c: Likewise.
22396 * sunrpc/auth_unix.c: Likewise.
22397 * sunrpc/clnt_perr.c: Likewise.
22398 * sunrpc/clnt_tcp.c: Likewise.
22399 * sunrpc/clnt_udp.c: Likewise.
22400 * sunrpc/clnt_unix.c: Likewise.
22401 * sunrpc/openchild.c: Likewise.
22402 * sunrpc/svc_simple.c: Likewise.
22403 * sunrpc/svc_tcp.c: Likewise.
22404 * sunrpc/svc_udp.c: Likewise.
22405 * sunrpc/svc_unix.c: Likewise.
22406 * sunrpc/xdr.c: Likewise.
22407 * sunrpc/xdr_array.c: Likewise.
22408 * sunrpc/xdr_rec.c: Likewise.
22409 * sunrpc/xdr_ref.c: Likewise.
22410 * sunrpc/xdr_stdio.c: Likewise.
22411
22412 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22413
22414 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22415
22416 2011-07-03 Andreas Jaeger <aj@suse.de>
22417
22418 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22419 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22420 regenerate with gen-libm-tests.pl.
22421
22422 2010-05-12 Petr Baudis <pasky@suse.cz>
22423
22424 [BZ #11589]
22425 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22426 around j0() zero points by switching to j1().
22427 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22428 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22431
22432 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22433
22434 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22435 instead of 0.
22436 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22437 instead of 0.
22438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22439 Patch in part by Pavel Roskin <proski@gnu.org>.
22440
22441 [BZ #13138]
22442 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22443 realloc.
22444 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22445 Free memory block if necessary.
22446
22447 [BZ #12847]
22448 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22449 be NULL. Don't lock in this case.
22450
22451 2011-09-09 Roland McGrath <roland@hack.frob.com>
22452
22453 * elf/elf.h (ELFOSABI_GNU): New macro.
22454 (ELFOSABI_LINUX): Define to that.
22455
22456 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22457
22458 * string/strncat.c (strncat): Undef the symbol in case it has been
22459 defined in bits/string.h.
22460
22461 2011-09-09 Ulrich Drepper <drepper@gmail.com>
22462
22463 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22464
22465 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22466 link map.
22467
22468 2011-08-17 Andreas Jaeger <aj@suse.de>
22469
22470 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22471
22472 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22473 Ian Lance Taylor <iant@google.com>
22474
22475 * math/libm-test.inc (lround_test): New testcase.
22476 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22477
22478 2011-09-08 Ulrich Drepper <drepper@gmail.com>
22479
22480 * Makefile: Remove support for automatic cvs check-ins.
22481 * Makerules: Likewise.
22482 * config.make.in: Likewise.
22483 * configure.in: Likewise.
22484 * intl/Makefile: Likewise.
22485 * locale/Makefile: Likewise.
22486 * po/Makefile: Likewise.
22487 * posix/Makefile: Likewise.
22488 * sysdeps/gnu/Makefile: Likewise.
22489 * sysdeps/mach/hurd/Makefile: Likewise.
22490 * sysdeps/sparc/sparc32/Makefile: Likewise.
22491
22492 [BZ #13118]
22493 * posix/Makefile (bug-regex32-ENV): Define.
22494 Patch by John Stanley <jpsinthemix@verizon.net>.
22495
22496 * misc/Makefile (headers): Add bits/select2.h.
22497 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22498 * misc/bits/select2.h: New file.
22499 * include/bits/select2.h: New file.
22500 * debug/Makefile (routines): Add fdelt_chk.
22501 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22502 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22503 FD_ISSET.
22504 * debug/fdelt_chk.c: New file.
22505
22506 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22507 * wcsmbs/test-wmemcmp.c: Likewise.
22508 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22509 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22510
22511 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22512
22513 * string/Makefile (strop-tests): Add memcmp.
22514 * string/test-wmemcmp.c: New file.
22515 * string/test-memcmp.c: Add wmemcmp support.
22516
22517 2011-09-08 Roland McGrath <roland@hack.frob.com>
22518
22519 [BZ #13153]
22520 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22521 2011-07-19 change.
22522
22523 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22524 garbage value in a __mach_port_mod_refs call in the cases of the
22525 task-self and thread-self ports.
22526
22527 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22528
22529 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22530
22531 2011-09-08 Andreas Schwab <schwab@redhat.com>
22532
22533 * elf/dl-load.c (lose): Check for non-null L.
22534
22535 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22536
22537 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22538
22539 * elf/dl-libc.c (dlerror_run): Pass back error code from
22540 dl_catch_error.
22541
22542 [BZ #13123]
22543 * elf/dl-load.c (lose): Free l_origin if it is valid.
22544
22545 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22546 names.
22547 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22550 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22551 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22552 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22553
22554 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22555
22556 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22557 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22558 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22559 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22560 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22561 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22562 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22563 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22564 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22565 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22566
22567 2011-08-15 Alan Modra <amodra@gmail.com>
22568
22569 [BZ #13092]
22570 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22571 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22572 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22573 ppc_mcount to static-only-routines.
22574 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22575 __mcount_internal.
22576 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22577 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22578
22579 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22580
22581 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22582 for finite and infinity parameters.
22583
22584 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22585
22586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22587 and add nop instructions for throughput optimization.
22588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22589
22590 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22591
22592 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22593 aligned copy for power7 with vector-scalar instructions.
22594 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22595
22596 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22597
22598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22599 AVX check.
22600
22601 2011-09-07 Andreas Schwab <schwab@redhat.com>
22602
22603 [BZ #13144]
22604 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22605 last change.
22606
22607 2011-09-07 Ulrich Drepper <drepper@gmail.com>
22608
22609 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22610 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22611 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22612 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22613 clock_gettime.
22614
22615 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22616
22617 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22618 Forgot to demangle the pointer.
22619
22620 * sysdeps/i386/sysdep.h: Define atom_text_section.
22621 * sysdeps/x86_64/sysdep.h: Likewise.
22622 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22623 section with atom_text_section.
22624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22625 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22626 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22628 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22629
22630 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22631 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22632 already be defined. Change to take two parameters and don't assign
22633 result to variable. Adjust all users.
22634 Define INTERNAL_GETTIME if not already defined.
22635 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22636 call.
22637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22638 HAVE_CLOCK_GETTIME_VSYSCALL.
22639 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22640
22641 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22642 gettimeofday vsyscall, just use time.
22643
22644 2011-09-06 Andreas Schwab <schwab@redhat.com>
22645
22646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22647 <errno.h>.
22648
22649 2011-09-06 Ulrich Drepper <drepper@gmail.com>
22650
22651 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22652 syscall on x86-64.
22653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22654 syscall.
22655 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22656 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22657 syscall if possible.
22658
22659 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22660
22661 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22662 e_ident. Don't pass to find_mapsXX.
22663 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22664
22665 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22666
22667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22668 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22669 * sysdeps/x86_64/multiarch/strchr.S: Update.
22670 Check bit_slow_BSF bit.
22671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22672 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22673 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22674
22675 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22676
22677 [BZ #13134]
22678 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22679 before glibc 2.15.
22680 (tryshell): Define.
22681 (__spawni): Change last parameter to be flag. Test
22682 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22683 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22684 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22685 * posix/spawni.c: Likewise.
22686 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22687 * posix/spawnp.c: Likewise. Change normal version to use
22688 SPAWN_XFLAGS_USE_PATH.
22689 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22690 SPAWN_XFLAGS_TRY_SHELL.
22691
22692 [BZ #13150]
22693 * posix/glob.h: Remove gcc 1.x support.
22694
22695 [BZ #13068]
22696 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22697
22698 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22699
22700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22701 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22702 strrchr-sse2-bsf
22703 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22704 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22705 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22706 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22707 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22708 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22709
22710 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22711
22712 * sysdeps/x86_64/wcscmp.S: New file.
22713
22714 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22715 wcscmp-c wcscmp-sse2
22716 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22717 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22718 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22719 * wcsmbs/wcscmp.c: Allow renaming.
22720
22721 2011-09-05 David S. Miller <davem@davemloft.net>
22722
22723 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22724 stack slot, rather than the struct return pointer slot.
22725 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22726 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22728 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22729
22730 2011-09-05 Ulrich Drepper <drepper@gmail.com>
22731
22732 * po/ja.po: Update from translation team.
22733
22734 [BZ #13144]
22735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22736 kernel in 64-bit binaries.
22737
22738 2011-09-01 David S. Miller <davem@davemloft.net>
22739
22740 * elf/elf.h (HWCAP_SPARC_*): Move to..
22741 * sysdeps/sparc/sysdep.h: this new file and add new values.
22742 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22743 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22744 _DL_HWCAP_COUNT to 24.
22745 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22746 entries.
22747 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22748 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22749 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22751 instead of magic constants.
22752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22753
22754 2011-08-31 David S. Miller <davem@davemloft.net>
22755
22756 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22758 Reimplement to do errno handling inline.
22759 (SYSCALL_ERROR_HANDLER): New macro.
22760 (__SYSCALL_STRING): Do not do errno handling in asm.
22761 (__CLONE_SYSCALL_STRING): Delete.
22762 (__INTERNAL_SYSCALL_STRING): Delete.
22763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22764 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22765 (PSEUDO): Reimplement to do errno handling inline.
22766 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22767 (SYSCALL_ERROR_HANDLER): New macro.
22768 (__SYSCALL_STRING): Do not do errno handling in asm.
22769 (__CLONE_SYSCALL_STRING): Delete.
22770 (__INTERNAL_SYSCALL_STRING): Delete.
22771 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22772 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22773 i386.
22774 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22775 (inline_syscall*): Add 'err' argument.
22776 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22777 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22778 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22779 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22780
22781 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22782 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22783
22784 2011-08-30 Andreas Schwab <schwab@redhat.com>
22785
22786 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22787
22788 2011-08-29 Jiri Olsa <jolsa@redhat.com>
22789
22790 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22791 directive.
22792
22793 2011-08-24 David S. Miller <davem@davemloft.net>
22794
22795 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22796
22797 2011-08-24 Andreas Schwab <schwab@redhat.com>
22798
22799 * elf/Makefile: Add rules to build and run unload8 test.
22800 * elf/unload8.c: New file.
22801 * elf/unload8mod1.c: New file.
22802 * elf/unload8mod1x.c: New file.
22803 * elf/unload8mod2.c: New file.
22804 * elf/unload8mod3.c: New file.
22805
22806 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22807 it wasn't used.
22808
22809 2011-08-23 David S. Miller <davem@davemloft.net>
22810
22811 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22812 subtract stack bias.
22813 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22814 %sp not %fp in calculations.
22815 (_JMPBUF_UNWINDS_ADJ): Likewise.
22816
22817 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22818 (aio_suspend): Call it to force an exception region around the
22819 AIO_MISC_WAIT() invocation.
22820
22821 2011-08-23 Andreas Schwab <schwab@redhat.com>
22822
22823 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22824 backslash.
22825
22826 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22827
22828 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22829 protection macro.
22830 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22831 and <dl-machine.h>.
22832 (Elf64_FuncDesc): Remove.
22833
22834 2011-08-22 David S. Miller <davem@davemloft.net>
22835
22836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22837 sigaltstack check, add missing cfi directives.
22838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22839 missing cfi directives, and sigaltstack handling.
22840
22841 2011-08-16 Andreas Schwab <schwab@redhat.com>
22842
22843 [BZ #11724]
22844 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22845 object is seen twice.
22846 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22847
22848 * elf/Makefile (distribute): Add tst-initorder2.c.
22849 (tests): Add tst-initorder2.
22850 (modules-names): Add tst-initorder2a tst-initorder2b
22851 tst-initorder2c tst-initorder2d. Add rules to build them.
22852 ($(objpfx)tst-initorder2.out): New rule.
22853 * elf/tst-initorder2.c: New file.
22854 * elf/tst-initorder2.exp: New file.
22855
22856 2011-08-22 Andreas Schwab <schwab@redhat.com>
22857
22858 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22859
22860 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22861 dependencies back to end of function.
22862
22863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22864 $(elfobjdir)/ld.so.
22865
22866 2011-08-21 Ulrich Drepper <drepper@gmail.com>
22867
22868 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22869 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22871 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22872 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22873 of __vdso_gettimeofday.
22874 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22875 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22876 attribute_hidden.
22877 (_libc_vdso_platform_setup): Remove initialization of
22878 __vdso_gettimeofday and __vdso_time.
22879
22880 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22881
22882 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22883 and fgetc_unlocked.
22884 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22885 getc_unlocked.
22886
22887 * elf/dl-open.c (add_to_global): Report additions to the global scope
22888 for LD_DEBUG=scopes.
22889 (dl_open_worker): Also print scope of newly loaded dependencies.
22890 (_dl_show_scope): Indicate if there is no scope.
22891
22892 [BZ #13114]
22893 * stdio-common/Makefile (tests): Add bug24.
22894 * stdio-common/bug24.c: New file.
22895
22896 2011-08-19 Andreas Jaeger <aj@suse.de>
22897
22898 [BZ #13114]
22899 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22900 non-existant file when using close-on-exec mode.
22901
22902 2011-08-20 Ulrich Drepper <drepper@gmail.com>
22903
22904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22905 the very first instruction.
22906
22907 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22908 the CFI state in the end.
22909 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22910 inclusion of dl-trampoline.h.
22911 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22912
22913 2011-08-19 Andreas Schwab <schwab@redhat.com>
22914
22915 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22916 expectations for long double.
22917
22918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22919 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22920
22921 2011-08-14 David S. Miller <davem@davemloft.net>
22922
22923 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22924 artificual limit depends upon the system page size.
22925
22926 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22927
22928 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22929 * resolv/Makefile: Define CFLAGS-libresolv.
22930
22931 2011-08-17 Andreas Schwab <schwab@redhat.com>
22932
22933 * nss/makedb.c (compute_tables): Make variables used in nested
22934 function static.
22935
22936 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22937
22938 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22939 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22940 if buffer was too small.
22941
22942 * elf/pldd.c (main): Attach to all threads in the process.
22943 Rewrite /proc handling to use *at functions.
22944
22945 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22946
22947 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22948 specifies first scope to show.
22949 (dl_open_worker): Update callers. Move printing scope of new
22950 object to before the relocation.
22951 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22952 * sysdeps/generic/ldsodefs.h: Update declaration.
22953
22954 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22955 string for the scope number.
22956
22957 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22958
22959 * nscd/servicescache.c (cache_addserv): Make sure written is always
22960 initialized.
22961
22962 2011-08-14 Roland McGrath <roland@hack.frob.com>
22963
22964 * sysdeps/i386/i486/bits/atomic.h
22965 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22966 statement expression, so as to suppress "set but not used" warning.
22967 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22968
22969 * string/strncat.c (STRNCAT): Use prototype definition.
22970
22971 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22972 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22973 -Iprograms here.
22974 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22975 (localedef-modules): Add localedef.
22976 (locale-modules): Add locale.
22977
22978 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22979 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22980 to avoid a warning.
22981
22982 2011-08-14 David S. Miller <davem@davemloft.net>
22983
22984 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22985 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22986
22987 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22988
22989 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22990 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22991 * elf/rtld.c (dl_main): Set l_name of vDSO.
22992 Call _dl_show_scope when DL_DEBUG_SCOPES.
22993 (process_dl_debug): Recognize scopes flag and also set it for all.
22994 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22995 Declare _dl_show_scope.
22996
22997 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22998 (do_dlopen): Pass caller_dlopen to dl_open.
22999 (__libc_dlopen_mode): Initialize caller_dlopen.
23000
23001 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23002 of libc. Make tolower call locale-independent. Optimize a bit by
23003 using isdigit instead of isalnum.
23004 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23005
23006 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23007
23008 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23009 was a dependency or dynamically loaded.
23010
23011 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23012
23013 * intl/l10nflist.c: Allow architecture-specific pop function.
23014 * sysdeps/x86_64/l10nflist.c: New file.
23015
23016 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23017 classification.
23018
23019 2011-08-10 Andreas Schwab <schwab@redhat.com>
23020
23021 * include/dirent.h: Add libc_hidden_proto for scandirat and
23022 scandirat64. Don't declare __scandirat64.
23023 * dirent/scandirat.c: Add libc_hidden_def.
23024 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23025 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23026
23027 2011-08-10 David S. Miller <davem@davemloft.net>
23028
23029 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23030 enum.
23031 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23034
23035 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23036
23037 * Versions.def [libc]: Add GLIBC_2.15.
23038 * dirent/Makefile (routines): Add scandirat and scandirat64.
23039 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23040 GLIBC_2.15.
23041 * dirent/dirent.h: Declare scandirat and scandirat64.
23042 * dirent/scandirat.c: New file.
23043 * dirent/scandirat64.c: New file.
23044 * sysdeps/wordsize-64/scandirat.c: New file.
23045 * sysdeps/wordsize-64/scandirat64.c: New file.
23046 * dirent/opendir.c: Define opendirat.
23047 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23048 using scandirat.
23049 * dirent/scandir64.c: Adjust for scandir.c change.
23050 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23051 __scandirat64, and __scandir_cancel_handler.
23052 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23053 additional parameter and use openat instead of open (outside of ld.so).
23054 Add new __opendir as wrapper around __opendirat.
23055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23056 here without requiring old scandirat implementation.
23057
23058 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23059
23060 * dirent/scandir.c (cancel_handler): Renamed to
23061 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23062 defined. Adjust users.
23063 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23064 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23065
23066 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23067
23068 * string/test-string.h (IMPL): Use __STRING to expand name and then
23069 stringify it.
23070
23071 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23072 of cleanups.
23073
23074 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23075
23076 * string/Makefile: Update.
23077 (strop-tests): Append strncat.
23078 * string/test-wcscmp.c: New file.
23079 New comprehensive test for wcscmp.
23080 * string/test-strcmp.c: Update.
23081 (WIDE): New define.
23082
23083 2011-07-22 Andreas Schwab <schwab@redhat.com>
23084
23085 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23086 line.
23087
23088 2011-07-26 Andreas Schwab <schwab@redhat.com>
23089
23090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23091 encoding to ACE if AI_IDN.
23092
23093 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23094
23095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23096 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23097
23098 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23099
23100 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23101 Fix overflow bug in strncat.
23102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23103
23104 * string/test-strncat.c: Update.
23105 Add new tests for checking overflow bugs.
23106
23107 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23108
23109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23110 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23111 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23112 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23113 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23114 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23115 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23116 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23117 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23118
23119 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23120 (USE_AS_STRCAT): Define.
23121 Add strcat and strncat support.
23122 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23123
23124 2011-07-25 Andreas Schwab <schwab@redhat.com>
23125
23126 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23127 __n bigger than INT_MAX+1.
23128 (__strncmp_g): Likewise.
23129
23130 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23131
23132 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23133 * libio/stido.h: Likewise.
23134
23135 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23136 (AF_NFC): Define.
23137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23138 (AF_NFC): Define.
23139
23140 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23142 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23143 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23144 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23145
23146 [BZ #13021]
23147 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23148 installed.
23149
23150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23151 typo.
23152 (_dl_x86_64_save_sse): Likewise.
23153
23154 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23155
23156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23157 OSXSAVE.
23158 (_dl_x86_64_save_sse): Likewise.
23159
23160 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23161
23162 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23163
23164 2011-07-21 Andreas Schwab <schwab@redhat.com>
23165
23166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23167 change.
23168 (_dl_x86_64_save_sse): Use correct AVX check.
23169
23170 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23171
23172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23173 bug in strncpy/strncat.
23174 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23175
23176 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23177
23178 * string/tester.c (test_strcat): Add tests for different alignments
23179 of source and destination.
23180 (test_strncat): Likewise.
23181
23182 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23183
23184 [BZ #12852]
23185 * posix/glob.c (glob): Check passed in values before using them in
23186 expressions to avoid some overflows.
23187 (glob_in_dir): Likewise.
23188
23189 [BZ #13007]
23190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23191 check for AVX enablement so that we don't crash with old kernels and
23192 new hardware.
23193 * elf/tst-audit4.c: Add same checks here.
23194 * elf/tst-audit6.c: Likewise.
23195
23196 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23197
23198 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23199
23200 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23201
23202 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23203
23204 * po/cs.po: Update from translation team.
23205 * po/bg.po: Likewise.
23206
23207 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23208
23209 * misc/sys/cdefs.h: Add support for const attribute.
23210 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23211 to gnu_dev_{major,minor,makedev} functions.
23212
23213 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23214
23215 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23216
23217 2011-07-20 Andreas Schwab <schwab@redhat.com>
23218
23219 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23220 strlen results.
23221
23222 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23223
23224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23225 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23226 register in order to avoid conflicts with the soft frame pointer
23227 being held in r11 when necessary.
23228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23229 (INTERNAL_VSYSCALL_NCS): Likewise.
23230
23231 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23232
23233 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23234 * elf/dl-fini.c (_dl_fini): Adjust caller.
23235 * elf/dl-close.c (_dl_close_worker): Likewise.
23236 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23237
23238 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23239
23240 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23241 "aux_cache->nlibs < 0".
23242
23243 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23244 in the reload-count case.
23245
23246 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23247
23248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23249 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23250 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23251 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23252 * sysdeps/x86_64/multiarch/strcat.S: New file.
23253 * sysdeps/x86_64/multiarch/strncat.S: New file.
23254 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23255 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23256 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23257 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23258 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23259 (USE_AS_STRCAT): Define.
23260 Add strcat and strncat support.
23261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23262 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23263 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23264 * string/strncat.c: Update.
23265 (USE_AS_STRNCAT): Define.
23266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23267 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23268 and i7.
23269 * sysdeps/x86_64/multiarch/init-arch.h
23270 (bit_Prefer_PMINUB_for_stringop): New.
23271 (index_Prefer_PMINUB_for_stringop): Likewise.
23272 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23273 bit_Prefer_PMINUB_for_stringop.
23274
23275 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23276
23277 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23278 buffer64.
23279 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23280 of casting of buffer.
23281 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23282 buffer32 and buffer64.
23283 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23284 writes instead of casting of buffer.
23285 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23286 buffer32.
23287 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23288 casting of buffer.
23289
23290 2011-07-19 Andreas Schwab <schwab@redhat.com>
23291
23292 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23293
23294 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23295
23296 * nscd/nscd.c (termination_handler): Don't do anything for a database
23297 if it has not yet been initialized.
23298
23299 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23300
23301 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23302
23303 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23304
23305 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23306
23307 2011-07-18 Ulrich Drepper <drepper@gmail.com>
23308
23309 * po/nl.po: Update from translation team.
23310 * po/sv.po: Likewise.
23311
23312 2011-07-16 Roland McGrath <roland@hack.frob.com>
23313
23314 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23315 now disallowed by GCC.
23316
23317 * configure.in (use-default-link): Default to yes if a test -shared
23318 link meets our qualifications.
23319 * configure: Regenerated.
23320
23321 * config.make.in (output-format): New variable.
23322 * configure.in: Check for ld --print-output-format support.
23323 * configure: Regenerated.
23324 * Makerules ($(common-objpfx)format.lds)
23325 [$(output-format) != unknown]: Just use $(output-format),
23326 instead of the linker-script munging.
23327
23328 2011-07-14 Roland McGrath <roland@hack.frob.com>
23329
23330 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23331 of $(common-objpfx)shlib.lds.
23332 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23333
23334 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23335 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23336
23337 * configure.in (-z relro check): Adjust test code to add a large
23338 writable data section after it.
23339 * configure: Regenerated.
23340
23341 2011-07-11 Roland McGrath <roland@hack.frob.com>
23342
23343 * configure.in (-z relro check): Fix test code to make the variable
23344 truly const.
23345 * configure: Regenerated.
23346
23347 2011-07-11 Ulrich Drepper <drepper@gmail.com>
23348
23349 * nscd/nscd.h (struct traced_file): Define.
23350 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23351 elements. Add traced_files.
23352 (inotify_fd): Declare.
23353 (register_traced_file): Declare.
23354 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23355 (inotify_fd): Export.
23356 (resolv_conf_descr): Remove.
23357 (nscd_init): Move inotify descriptor creation to main.
23358 Don't register files for notification here.
23359 (register_traced_file): New function.
23360 (invalidate_cache): Don't use reset_res to determine whether to call
23361 res_init, go through the list of registered files.
23362 (main_loop_poll): The inotify descriptors are now stored in the
23363 structures for the traced files.
23364 (main_loop_epoll): Likewise
23365 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23366 to __nss_disable_nscd.
23367 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23368 for a database anymore. Check the records for all the registered
23369 files instead.
23370 * nss/Makefile (libnss_files-routines): Add files-init.
23371 (libnss_db-routines): Add db-init.
23372 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23373 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23374 * nss/nss_db/db-init.c: New file.
23375 * nss/nss_files/files-init.c: New file.
23376 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23377 __nss_lookup_function.
23378 (__nss_lookup_function): Call nss_load_library.
23379 (nss_load_all_libraries): New function.
23380 (__nss_disable_nscd): Take parameter with callback function for files
23381 to register. Set is_nscd. Load all the DSOs for the NSS modules
23382 used for the cached services.
23383 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23384 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23385 options for features to all the files in nscd.
23386
23387 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23388
23389 2011-07-10 Roland McGrath <roland@hack.frob.com>
23390
23391 * csu/elf-init.c (__libc_csu_init): Comment typo.
23392
23393 2011-07-09 Ulrich Drepper <drepper@gmail.com>
23394
23395 * po/pl.po: Update from translation team.
23396 * po/ja.po: Likewise.
23397 * po/ru.po: Likewise.
23398 * po/ko.po: Likewise.
23399 * po/fr.po: Likewise.
23400
23401 2011-07-09 Roland McGrath <roland@hack.frob.com>
23402
23403 * configure.in (.ctors/.dtors header and trailer check):
23404 Use an empirical test on a built program.
23405 * configure: Regenerated.
23406
23407 * configure.in (-z relro check): Use an empirical test on a built DSO.
23408 Detect, but do not require, on ia64.
23409 * configure: Regenerated.
23410
23411 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23412 Update tests that use readelf to use $READELF instead.
23413 * configure: Regenerated.
23414
23415 2011-07-08 Ulrich Drepper <drepper@gmail.com>
23416
23417 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23418 if the result is not used.
23419
23420 2011-07-05 Andreas Jaeger <aj@suse.de>
23421
23422 [BZ#9696]
23423 * stdlib/tst-strtod.c: Add testcase.
23424
23425 2011-07-07 Ulrich Drepper <drepper@gmail.com>
23426
23427 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23428 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23429 The latter has a higher limit. Take additional parameter to pass to
23430 the new function.
23431 (__pathconf): Pass file to __statfs_link_max.
23432 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23433 __statfs_link_max.
23434 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23435 __statfs_link_max.
23436
23437 [BZ #12868]
23438 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23440 Handle Lustre.
23441 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23442 (__statfs_filesize_max): Likewise.
23443 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23444
23445 2011-07-05 Andreas Jaeger <aj@suse.de>
23446
23447 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23448
23449 2011-07-06 Marek Polacek <mpolacek@redhat.com>
23450
23451 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23452 `status' variable.
23453 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23454 Likewise.
23455
23456 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23457
23458 * Makefile (strop-tests): Add strncat.
23459 * string/test-strncat.c: New file.
23460
23461 2011-06-30 Marek Polacek <mpolacek@redhat.com>
23462
23463 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23464
23465 2011-06-21 Andreas Jaeger <aj@suse.de>
23466
23467 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23468 Copy rule from iconvdata/Makefile.
23469
23470 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23471
23472 [BZ #12922]
23473 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23474 but no long options are defined, just return 'W'.
23475
23476 2011-06-22 Marek Polacek <mpolacek@redhat.com>
23477
23478 [BZ #9696]
23479 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23480
23481 2011-07-06 Ulrich Drepper <drepper@gmail.com>
23482
23483 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23484 netgroups to read.
23485 (innetgr): Likewise.
23486
23487 2011-07-05 Roland McGrath <roland@hack.frob.com>
23488
23489 * config.make.in (install_root): Default to $(DESTDIR).
23490
23491 2011-07-05 Ulrich Drepper <drepper@gmail.com>
23492
23493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23494
23495 2011-07-02 Roland McGrath <roland@hack.frob.com>
23496
23497 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23498
23499 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23500 containing directory rather than embedding absolute directory names.
23501
23502 * scripts/check-local-headers.sh: Rewritten using awk.
23503 Match by word, not by line. Print error messages for matches.
23504 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23505
23506 * Makerules [shlib-lds-flags empty]:
23507 ($(common-objpfx)libc_pic.opts): New target.
23508 ($(common-objpfx)libc_pic.os.clean): New target.
23509 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23510
23511 * config.make.in (OBJCOPY): New variable.
23512 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23513 * configure: Regenerated.
23514
23515 * config.make.in (use-default-link): New variable.
23516 * configure.in (use_default_link): Grok --with-default-link to set it.
23517 * configure: Regenerated.
23518 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23519 (shlib-lds, shlib-lds-flags): Define to empty.
23520
23521 * Makerules (shlib-lds): New variable.
23522 (shlib-lds-flags): New variable.
23523 (build-shlib, build-moduile, build-module-asneeded): Use it.
23524 ($(common-objpfx)libc.so): Use $(shlib-lds).
23525 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23526 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23527
23528 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23529 DT_FLAGS/DT_FLAGS_1 with zero flags.
23530
23531 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23532 linker script munging.
23533
23534 2011-07-02 Ulrich Drepper <drepper@gmail.com>
23535
23536 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23537 as 128-bit value.
23538 * crypt/sha512.c (sha512_process_block): Perform total addition using
23539 128-bit if possible.
23540 (__sha512_finish_ctx): Likewise.
23541 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23542 as 64-bit value.
23543 * crypt/sha256.c (SWAP64): Define.
23544 (sha256_process_block): Perform total addition using 64-bit if
23545 possible.
23546 (__sha256_finish_ctx): Likewise.
23547
23548 2011-07-01 Ulrich Drepper <drepper@gmail.com>
23549
23550 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23552 * nscd/hstcache.c (cache_addhst): Likewise.
23553 * nscd/grpcache.c (cache_addgr): Likewise.
23554 * nscd/aicache.c (addhstaiX): Likewise
23555 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23556
23557 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
23558
23559 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23560 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23561 * nscd/hstcache.c (cache_addhst): Likewise.
23562 * nscd/grpcache.c (cache_addgr): Likewise.
23563 * nscd/aicache.c (addhstaiX): Likewise
23564
23565 2011-07-01 Andreas Schwab <schwab@redhat.com>
23566
23567 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23568 domain only when needed.
23569
23570 2011-06-30 Andreas Schwab <schwab@redhat.com>
23571
23572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23573 is always restored.
23574
23575 2011-06-29 Ulrich Drepper <drepper@gmail.com>
23576
23577 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23578 are re-adding the entry.
23579 * nscd/servicescache.c (cache_addserv): Likewise.
23580
23581 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23582
23583 * sysdeps/generic/dl-irel.h: fix protection against multiple
23584 inclusions.
23585 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23586
23587 2011-06-28 Ulrich Drepper <drepper@gmail.com>
23588
23589 [BZ #12935]
23590 * malloc/memusage.sh: Fix quoting in message.
23591 * debug/xtrace.sh: Likewise.
23592
23593 * configure.in: Remove support for --experimental-malloc option, make
23594 it the default.
23595 * config.make.in: Likewise.
23596 * malloc/Makefile: Likewise.
23597
23598 2011-06-27 Andreas Schwab <schwab@redhat.com>
23599
23600 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23601 two-byte characters.
23602
23603 2011-06-27 Roland McGrath <roland@hack.frob.com>
23604
23605 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23606 AC_CACHE_CHECK invocation.
23607 * configure: Regenerated.
23608
23609 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23610
23611 2011-06-27 Ulrich Drepper <drepper@gmail.com>
23612
23613 [BZ #12350]
23614 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23615 bit from old_res_options.
23616
23617 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23618
23619 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23620 value type for setfct.
23621
23622 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23623
23624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23625 __gettimeofday instead of gettimeofday.
23626
23627 2011-06-26 Ulrich Drepper <drepper@gmail.com>
23628
23629 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23630
23631 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23632
23633 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23634
23635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23636 info.
23637
23638 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23641 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23642 strcpy-sse2-unaligned strncpy-sse2-unaligned
23643 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23644 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23645 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23646 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23647 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23649 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23650 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23651 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23652 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23653 (STRCPY): Support SSE2 and SSSE3 versions.
23654
23655 2011-06-24 Ulrich Drepper <drepper@gmail.com>
23656
23657 [BZ #12874]
23658 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23659 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23660 kernels which artificially limit size of requests.
23661
23662 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23663
23664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23665 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23666 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23667 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23668 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23669 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23670 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23671 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23672 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23674 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23675 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23676 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23677 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23678 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23680 Enable unaligned load optimization for Intel Core i3, i5 and i7
23681 processors.
23682 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23683 Define.
23684 (index_Fast_Unaligned_Load): Define.
23685 (HAS_FAST_UNALIGNED_LOAD): Define.
23686
23687 2011-06-23 Marek Polacek <mpolacek@redhat.com>
23688
23689 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23690
23691 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23692
23693 [BZ #12907]
23694 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23695 until it is clear that the information is realy needed.
23696 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23697
23698 2011-06-22 Andreas Schwab <schwab@redhat.com>
23699
23700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23701
23702 2011-06-22 Ulrich Drepper <drepper@gmail.com>
23703
23704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23705 /sys/devices/system/cpu/online if it is usable.
23706
23707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23708 reading the information from the /proc filesystem to once a second.
23709
23710 2011-06-21 Andreas Jaeger <aj@suse.de>
23711
23712 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23713 NULL after inclusion of kernel headers.
23714
23715 2011-06-21 Ulrich Drepper <drepper@gmail.com>
23716
23717 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23718 calls to internal_setent.
23719
23720 [BZ #12885]
23721 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23722 addresses using gethostbyname4_r ignore IPv4 addresses.
23723
23724 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23725 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23726
23727 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23728
23729 2011-06-20 David S. Miller <davem@davemloft.net>
23730
23731 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23732 inclusions.
23733 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23734
23735 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23736 (elf_irel): Use it.
23737 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23738 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23739 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23740 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23741 * sysdeps/x86_64/dl-irel.h: Likewise.
23742
23743 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23744 * elf/dl-sym.c: Likewise.
23745
23746 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23747
23748 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23749 need to dereference resplen2.
23750
23751 2011-06-14 Andreas Schwab <schwab@redhat.com>
23752
23753 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23754
23755 2011-06-15 Ulrich Drepper <drepper@gmail.com>
23756
23757 * Makeconfig: Define vardbdir and inst_vardbdir.
23758 * nss/Makefile: Add rules to install db-Makefile.
23759
23760 * nss/nss_db/db-XXX.c: Cleanup.
23761
23762 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23763 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23764 GLIBC_PRIVATE.
23765 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23766 * nss/makedb.c: Implement -g option to specify that value strings
23767 are generated and should not be added to table iterated over for
23768 get*ent calls.
23769 * nss/nss_db/db-initgroups.c: New file.
23770
23771 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23772 interface.
23773
23774 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23775 (internal_getgrouplist): Adjust to name change.
23776 Update use_initgroups_entry if this is not the first call.
23777 * nss/databases.def: Add initgroups entry.
23778
23779 * nss/makedb.c (compute_tables): Check result of multiple hash table
23780 sizes to minimize maximum chain length.
23781
23782 2011-06-14 Ulrich Drepper <drepper@gmail.com>
23783
23784 * Versions.def: Add entry for libnss_db.
23785 * shlib-versions: Likewise.
23786 * nss/Makefile: Add rules to build libnss_db.
23787 * nss/Versions: Add libnss_db information. Organize libnss_files
23788 entries better.
23789 * nss/db-Makefile: Add gshadow support. Change rules for the new
23790 makedb progra. Some minor improvements to generate smaller files.
23791 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23792 here from...
23793 * nss/makedb.c: ...here.
23794 Improve database format to be smaller and require less memory at
23795 runtime.
23796 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23797 db anymore.
23798 * nss/nss_db/db-netgrp.c: Likewise.
23799 * nss/nss_db/db-open.c: Likewise.
23800 * nss/nss_files/flies-XXX.x: Adjust comments.
23801 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23802 * nss/nss_files/files-grp.c: Likewise.
23803 * nss/nss_files/files-hosts.c: Likewise.
23804 * nss/nss_files/files-network.c: Likewise.
23805 * nss/nss_files/files-proto.c: Likewise.
23806 * nss/nss_files/files-pwd.c: Likewise.
23807 * nss/nss_files/files-rpc.c: Likewise.
23808 * nss/nss_files/files-service.c: Likewise.
23809 * nss/nss_files/files-sgrp.c: Likewise.
23810 * nss/nss_files/files-spwd.c: Likewise.
23811 * nss/nss_db/db-alias.c: Removed.
23812 * nss/nss_db/dummy-db.h: Removed.
23813
23814 2011-06-02 Ulrich Drepper <drepper@gmail.com>
23815
23816 * nss/makedb.c: Rewritten to not use database library.
23817 * nss/Makefile: Update to build new makedb program.
23818
23819 2011-06-14 Andreas Jaeger <aj@suse.de>
23820
23821 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23822 memset declaration.
23823
23824 2011-06-10 Andreas Schwab <schwab@redhat.com>
23825
23826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23827 tmpbuf.
23828
23829 2011-06-10 Roland McGrath <roland@hack.frob.com>
23830
23831 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23832 * elf/Makefile ($(objpfx)ld.so): Likewise.
23833
23834 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23835 Don't list ld.so twice in dependencies.
23836
23837 * posix/bug-regex31.c: Include <stdlib.h>.
23838
23839 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23840
23841 * nis/nss_compat/compat-spwd.c
23842 (getspent_next_nss_netgr): Remove unused variable.
23843 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23844
23845 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23846 nonmembers" output to use the right array.
23847
23848 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23849
23850 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23851
23852 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23853 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23854 * catgets/gencat.c (read_input_file): Likewise.
23855 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23856
23857 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23858 variable definition inside #if's controlling its use.
23859
23860 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23861
23862 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23863
23864 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23865
23866 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23867 unreachable code.
23868
23869 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23870
23871 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23872 * configure: Regenerated.
23873
23874 * Makerules: Revert last change.
23875 * elf/Makefile: Likewise.
23876
23877 2011-06-09 Roland McGrath <roland@hack.frob.com>
23878
23879 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23880 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23881 (reloc-link): Likewise.
23882
23883 2011-06-09 Ulrich Drepper <drepper@gmail.com>
23884
23885 * elf/Makefile: Add rules to build pldd.
23886 * elf/pldd.c: New file.
23887 * elf/pldd-xx.c: New file.
23888
23889 2011-06-07 Ulrich Drepper <drepper@gmail.com>
23890
23891 * version.h: Update for 2.15 development version.
23892
23893 2011-06-07 David S. Miller <davem@davemloft.net>
23894
23895 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23896 ifuncs.
23897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23898 elf_machine_lazy_rel): Likewise.
23899 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23900 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23901 elf_machine_lazy_rel): Likewise.
23902 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23903 dl_hwcap via passed in argument.
23904 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23905 Likewise.
23906
23907 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23908
23909 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23910
23911 2011-06-06 Roland McGrath <roland@hack.frob.com>
23912
23913 [BZ #12849]
23914 * manual/fdl-1.1.texi: New file, verbatim from:
23915 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23916 * manual/lgpl-2.1.texi: New file, verbatim from:
23917 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23918 * manual/Makefile (licenses): New variable, list those new file names.
23919 (texis): Use it.
23920 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23921
23922 * manual/fdl.texi: File removed.
23923 * manual/lesser.texi: File removed.
23924 * manual/libc.texinfo (Copying, Documentation License):
23925 Use new @include file names, put @appendix directive before @include.
23926
23927 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23928
23929 [BZ #12841]
23930 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23931 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23932 (mq_open): Add __NTH.
23933
23934 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23937 Assume Intel Core i3/i5/i7 processor if AVX is available.
23938
23939 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23940
23941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23942 typo.
23943
23944 2011-05-31 Andreas Schwab <schwab@redhat.com>
23945
23946 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23947 memory. Use alloca_account. Fix memory leak when retrying.
23948
23949 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23950
23951 * version.h (RELEASE): Bump for 2.14 release.
23952 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23953
23954 * config.make.in (RANLIB): Remove entry.
23955
23956 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23957
23958 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23959 (libc.pot): Work around missing support for .ksh extension in xgettext.
23960
23961 [BZ #12684]
23962 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23963 if both request failed.
23964 (send_dg): In case of server errors clear resplen or *resplen2.
23965
23966 [BZ #12454]
23967 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23968 when there are multiple maps.
23969 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23970 (_dl_fini): Remove test here.
23971
23972 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23973
23974 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23975
23976 [BZ #12350]
23977 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23978 bit from old_res_options.
23979 (gaih_inet): Likewise.
23980
23981 [BZ #11099]
23982 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23983 as signed.
23984
23985 * resolv/res_init.c (res_setoptions): Make the code more compact.
23986
23987 [BZ #11558]
23988 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23989 set RES_USEVC.
23990
23991 [BZ #11634]
23992 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23993
23994 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23995
23996 [BZ #11781]
23997 * malloc/malloc.h: Declare malloc hook variables as volatile.
23998
23999 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24000 in last patch.
24001
24002 [BZ #11799]
24003 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24004 raise in the comment.
24005 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24006 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24007 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24008
24009 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24010
24011 [BZ #12811]
24012 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24013 grow the buffers more if it already has to be sufficient.
24014 (build_wcs_upper_buffer): Likewise.
24015 * posix/regexec.c (check_matching): Likewise.
24016 (clean_state_log_if_needed): Likewise.
24017 (extend_buffers): Don't enlarge buffers beyond size of the input
24018 buffer.
24019 Patches mostly by Emil Wojak <emil@wojak.eu>.
24020 * posix/bug-regex32.c: New file.
24021 * posix/Makefile (tests): Add bug-regex32.
24022
24023 * locale/findlocale.c (_nl_find_locale): Return right away if
24024 _nl_explode_name failed.
24025 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24026
24027 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24028
24029 * debug/xtrace.sh: Unify messages.
24030 * malloc/memusage.sh: Likewise.
24031
24032 [BZ #12813]
24033 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24034 time symbol from vDSO. Substitute with vsyscall if not available.
24035 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24036 __vdso_time.
24037
24038 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24039 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24040 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24041 Add sendmmsg and internal_sendmmsg.
24042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24043 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24044 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24045
24046 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24047 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24048 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24049
24050 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24051
24052 [BZ #12813]
24053 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24054 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24055 available.
24056 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24057 __vdso_getcpu.
24058
24059 [BZ #12814]
24060 * iconvdata/Makefile (tests): Add bug-iconv9.
24061 * iconvdata/bug-iconv9.c: New file.
24062
24063 2011-05-27 Andreas Schwab <schwab@redhat.com>
24064
24065 [BZ #12814]
24066 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24067
24068 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24069
24070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24071 (struct user_regs_struct): Change intcs field back to cs.
24072
24073 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24074
24075 * po/ja.po: Update from translation team.
24076
24077 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24078
24079 [BZ #12795]
24080 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24081 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24082
24083 2011-05-20 Andreas Schwab <schwab@redhat.com>
24084
24085 * stdlib/longlong.h: Update from GCC.
24086
24087 2011-05-23 Andreas Schwab <schwab@redhat.com>
24088
24089 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24090 parameter name.
24091 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24092 Add parameter name.
24093 (__sysconf): Pass it down.
24094
24095 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24096
24097 [BZ #12671]
24098 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24099 some situations.
24100 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24101 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24102 add in in __libc_use_alloca calls. Adjust callers.
24103 (glob): Use malloc in some situations.
24104
24105 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24106 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24107 pltexit.
24108
24109 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24110
24111 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24112 and CLOCK_BOOTTIME_ALARM.
24113
24114 [BZ #12782]
24115 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24116 is returned.
24117
24118 * string/_strerror.c (__strerror_r): Print negative errors as signed
24119 numbers.
24120
24121 [BZ #12777]
24122 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24123 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24124 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24125
24126 * configure.in: Fix typo in redirection and correct removal of test
24127 files in two cases.
24128
24129 [BZ #12788]
24130 * locale/setlocale.c (new_composite_name): Fix test to check for
24131 identical name of all categories.
24132
24133 [BZ #12792]
24134 * libio/filedoalloc.c (local_isatty): New function.
24135 (_IO_file_doallocate): Use local_isatty.
24136 * stdio-common/perror.c (perror): In case a new stream is used
24137 forward the stream error.
24138 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24139 error flag.
24140
24141 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24142
24143 [BZ #11869]
24144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24145 alloca.
24146 * include/alloca.h (extend_alloca_account): Define.
24147
24148 [BZ #11857]
24149 * posix/regex.h: Fix comments with documentation of user-accessible
24150 fields after compilation and describe correct free'ing of pattern
24151 after re_compile_pattern.
24152 Patch by Reuben Thomas <rrt@sc3d.org>.
24153
24154 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24155
24156 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24157 and -mno-altivec to prevent the compiler from using Altivec and/or
24158 VSX instructions when the corresponding registers are not available.
24159
24160 2011-05-19 Andreas Schwab <schwab@redhat.com>
24161
24162 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24163
24164 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24165
24166 * libio/freopen.c (freopen): Use __dup2, not dup2.
24167 * libio/freopen64.c (freopen64): Likewise.
24168
24169 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24170
24171 [BZ #12775]
24172 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24173 * math/Makefile (tests): Add test-powl.
24174 (CFLAGS-test-powl.c): Define.
24175 * math/test-powl.c: New file.
24176
24177 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24178
24179 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24180
24181 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24182
24183 [BZ #11837]
24184 * iconvdata/gb18030.c: Update to GB18020-2005.
24185
24186 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24187
24188 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24189 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24190 Patch by Aharon Robbins <arnold@skeeve.com>.
24191
24192 [BZ #11892]
24193 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24194 on the stack.
24195
24196 [BZ #11895]
24197 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24198 through underflows.
24199
24200 [BZ #12766]
24201 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24202 point to strings before performing equality test for error_one_per_line
24203 mode.
24204
24205 [BZ #11697]
24206 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24207
24208 [BZ #11820]
24209 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24210 (struct user_fpregs_struct): Avoid __uint*_t types.
24211
24212 [BZ #6420]
24213 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24214 symbol info. Use it instead of calling _dl_addr locally.
24215 (lock_and_info): New function.
24216 (tr_freehook): Call lock_and_info and pass symbol info as additional
24217 parameter to tr_where.
24218 (tr_mallochook): Likewise.
24219 (tr_reallochook): Likewise.
24220 (tr_memalignhook): Likewise.
24221
24222 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24223 used and couldn't be at all thread-safe.
24224
24225 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24226
24227 * libio/freopen.c (freopen): Don't close old file descriptor
24228 before the new one is opened. Instead dup the new file descriptor
24229 to the old one after the new stream is created.
24230 * libio/freopen64.c (freopen64): Likewise.
24231 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24232 * libio/fileops.c (_IO_new_file_close_it): Handle new
24233 _IO_FLAGS2_NOCLOSE flag.
24234 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24235 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24236 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24237 _IO_FLAGS2_NOCLOSE flag.
24238 * include/unistd.h: Add hidden_proto for dup3.
24239 Define __have_dup3.
24240 * io/dup3.c: Define hidden symbol.
24241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24242
24243 [BZ #7101]
24244 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24245 when an incomplete long option is used.
24246 * posix/tst-getopt_long1.c: New file.
24247 * posix/Makefile (tests): Add tst-getopt_long1.
24248
24249 [BZ #10138]
24250 * scripts/config.guess: Update from autoconf-2.68.
24251 * scripts/config.sub: Likewise.
24252
24253 [BZ #10157]
24254 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24255 tests into ...
24256 (has_cpuclock): ...this. New function.
24257 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24258 macro here based on has_cpuclock code.
24259
24260 [BZ #10149]
24261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24262 First byte (not low byte) is now always NUL.
24263 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24264
24265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24266 Use non-cancelable interfaces.
24267
24268 [BZ #9809]
24269 * locale/iso-639.def: Add entry for Sorani.
24270
24271 [BZ #11901]
24272 * include/stdlib.h: Move include protection to the right place.
24273 Define abort_msg_s. Declare __abort_msg with it.
24274 * stdlib/abort.c (__abort_msg): Adjust type.
24275 * assert/assert.c (__assert_fail_base): New function. Majority
24276 of code from __assert_fail. Allocate memory for __abort_msg with
24277 mmap.
24278 (__assert_fail): Now call __assert_fail_base.
24279 * assert/assert-perr.c: Remove bulk of implementation. Use
24280 __assert_fail_base.
24281 * include/assert.hL Declare __assert_fail_base.
24282 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24283 mmap.
24284 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24285
24286 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24287
24288 [BZ #11952]
24289 [BZ #12453]
24290 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24291 until all modules are registered in the DTV.
24292 * elf/Makefile: Add rules to build and run tst-tls19.
24293 * elf/tst-tls19.c: New file.
24294 * elf/tst-tls19mod1.c: New file.
24295 * elf/tst-tls19mod2.c: New file.
24296 * elf/tst-tls19mod3.c: New file.
24297 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24298
24299 [BZ #12083]
24300 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24301 correctly.
24302
24303 [BZ #12601]
24304 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24305 two-byte sequence errors.
24306 * iconvdata/Makefile (tests): Add bug-iconv8.
24307 * iconvdata/bug-iconv8.c: New file.
24308
24309 [BZ #12626]
24310 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24311 buf2 definition.
24312
24313 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24314
24315 [BZ #12432]
24316 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24317 (dummy_getcfa): New function.
24318 (init): Get _Unwind_GetCFA address, use dummy if not found.
24319 (backtrace_helper): In recursion check, also check whether CFA changes.
24320 (__backtrace): Completely initialize arg.
24321
24322 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24323 storing incomplete byte sequence in state object. Avoid testing for
24324 guaranteed too small input if we know there is enough data available.
24325
24326 2011-05-11 Andreas Schwab <schwab@redhat.com>
24327
24328 * Makeconfig (+link-pie): Indent.
24329 * Rules (binaries-pie): Define if $(have-fpie) and
24330 $(build-shared).
24331 (binaries-shared): Also filter out $(binaries-pie).
24332 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24333 * nscd/Makefile (others-pie): Add nscd.
24334 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24335 ($(objpfx)nscd): Remove command override.
24336 * login/Makefile (others-pie): Add pt_chown.
24337 ($(objpfx)pt_chown): Remove command override.
24338 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24339 remove command overrides.
24340
24341 2011-05-13 Ulrich Drepper <drepper@gmail.com>
24342
24343 * libio/tst_putwc.c: Fix error messages.
24344
24345 [BZ #12724]
24346 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24347 currently writing and seek to current position when not.
24348 * libio/Makefile (tests): Add bug-fclose1.
24349 * libio/bug-fclose1.c: New file.
24350
24351 2011-05-12 Ulrich Drepper <drepper@gmail.com>
24352
24353 [BZ #12511]
24354 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24355 don't set DF_1_NODELETE here.
24356 (do_lookup_x): When entering new entry test for copy relocation
24357 and if necessary set DF_1_NODELETE flag.
24358 * elf/tst-unique4.cc: New file.
24359 * elf/tst-unique4.h: New file.
24360 * elf/tst-unique4lib.cc: New file.
24361 * elf/Makefile: Add rules to build and run tst-unique4.
24362 Patch by Piotr Bury <pbury@goahead.com>.
24363
24364 2011-05-11 Ulrich Drepper <drepper@gmail.com>
24365
24366 [BZ #12052]
24367 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24368
24369 [BZ #12625]
24370 * misc/mntent_r.c (addmntent): Flush the stream after the output
24371
24372 [BZ #12393]
24373 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24374 (is_trusted_path_normalize): Skip initial colon. Append slash
24375 to empty buffer. Duplicate is_trusted_path code but allow
24376 constructed patch to be prefix.
24377 (is_dst): Allow $ORIGIN followed by /.
24378 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24379 Correct testing of result of is_trusted_path_normalize
24380 (decompose_rpath): Fix warning.
24381
24382 2011-05-10 Ulrich Drepper <drepper@gmail.com>
24383
24384 [BZ #11257]
24385 * grp/initgroups.c (internal_getgrouplist): When we found the service
24386 list through the initgroups entry in nsswitch.conf do not always
24387 continue on a successful lookup. Don't always use the
24388 __nss_group_database value if it is set.
24389 * nss/nsswitch.conf (initgroups): Change action for successful db
24390 lookup to continue for compatibility.
24391
24392 2011-05-09 Ulrich Drepper <drepper@gmail.com>
24393
24394 [BZ #11532]
24395 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24396 and CP774 modules.
24397 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24398 and CP774 modules.
24399 * iconvdata/tst-tables.sh: Likewise.
24400 * iconvdata/cp770.c: New file.
24401 * iconvdata/cp771.c: New file.
24402 * iconvdata/cp772.c: New file.
24403 * iconvdata/cp773.c: New file.
24404 * iconvdata/cp774.c: New file.
24405 * iconvdata/testdata/CP770: New file.
24406 * iconvdata/testdata/CP770..UTF8: New file.
24407 * iconvdata/testdata/CP771: New file.
24408 * iconvdata/testdata/CP771..UTF8: New file.
24409 * iconvdata/testdata/CP772: New file.
24410 * iconvdata/testdata/CP772..UTF8: New file.
24411 * iconvdata/testdata/CP773: New file.
24412 * iconvdata/testdata/CP773..UTF8: New file.
24413 * iconvdata/testdata/CP774: New file.
24414 * iconvdata/testdata/CP774..UTF8: New file.
24415
24416 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24417 END CHARMAP line.
24418 * iconvdata/gen-8bit-gap.sh: Likewise.
24419 * iconvdata/gen-8bit.sh: Likewise.
24420
24421 * locale/iso-639.def: Add ary entry.
24422
24423 [BZ #11258]
24424 * locale/C-translit.h.in: Add U20A1 transliteration.
24425
24426 [BZ #12178]
24427 * locale/iso-639.def: Add wae entry.
24428 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24429
24430 [BZ #12545]
24431 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24432 for n.
24433
24434 [BZ #12711]
24435 * locale/C-translit.h.in: Add entry for U20B9.
24436 Patch by pravin.d.s@gmail.com.
24437
24438 2011-05-08 Ulrich Drepper <drepper@gmail.com>
24439
24440 [BZ #12713]
24441 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24442 ENAMETOOLONG use generic getcwd.
24443 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24444 in rtld. Use *stat64.
24445 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24446 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24447 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24448 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24449 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24450 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24451 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24452 __fstatat64 macros.
24453 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24454 * dirent/rewinddir.c: Add libc_hidden_def.
24455 * sysdeps/mach/hurd/rewinddir.c: Likewise.
24456 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
24457
24458 * include/dirent.h (__alloc_dir): Add flags parameter.
24459 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24460 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24461 __alloc_dir.
24462 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24463 from fdopendir if O_CLOEXEC is already set.
24464
24465 2011-03-15 Alan Modra <amodra@gmail.com>
24466
24467 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24468 l_tls_firstbyte_offset non-zero. Save padding offset in
24469 l_tls_firstbyte_offset for later use.
24470 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24471 freeing static tls block.
24472
24473 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24474
24475 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24476 where #ifdef was intended. The intent is to prevent ARG_MAX from
24477 being defined by the kernel headers.
24478
24479 2011-05-07 Ulrich Drepper <drepper@gmail.com>
24480
24481 [BZ #12734]
24482 * resolv/resolv.h: Define RES_NOTLDQUERY.
24483 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24484 no-tld-query and set RES_NOTLDQUERY.
24485 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24486 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24487 modern BIND to search name as TLD unless forbidden.
24488
24489 2011-05-07 Petr Baudis <pasky@suse.cz>
24490 Ulrich Drepper <drepper@gmail.com>
24491
24492 [BZ #12393]
24493 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24494 (is_trusted_path): ...to here.
24495 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24496 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24497 using is_trusted_path_normalize() in setuid scripts.
24498
24499 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24500
24501 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24502 __BEGIN/__END_DECLS.
24503
24504 2011-05-06 Ulrich Drepper <drepper@gmail.com>
24505
24506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24507 NSS_STATUS_NOTFOUND if no record was found.
24508
24509 2011-05-05 Andreas Schwab <schwab@redhat.com>
24510
24511 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24512 (headers-not-in-tirpc): Remove rpc/netdb.h
24513 * resolv/netdb.h: Revert last change.
24514
24515 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24516
24517 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24518 circular dependency between libgcc.a and libc.a.
24519
24520 2011-05-05 Andreas Schwab <schwab@redhat.com>
24521
24522 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24523 * nis/Makefile: Don't install rpcsvc/*.
24524 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24525 instead of <rpc/types.h>.
24526 (MAXHOSTNAMELEN): Define.
24527
24528 2011-05-03 Andreas Schwab <schwab@redhat.com>
24529
24530 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24531
24532 2011-04-28 Maciej Babinski <mbabinski@google.com>
24533
24534 [BZ #12714]
24535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24536 gethostbyname4_r when IPv6 results are possible.
24537
24538 2011-05-02 Ulrich Drepper <drepper@gmail.com>
24539
24540 [BZ #12723]
24541 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24542 _PC_PIPE_BUF handling.
24543
24544 2011-04-30 Bruno Haible <bruno@clisp.org>
24545
24546 [BZ #12717]
24547 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24548 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24549 to 'int'.
24550 * inet/getnameinfo.c (getnameinfo): Likewise.
24551
24552 2011-04-29 Ulrich Drepper <drepper@gmail.com>
24553
24554 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24555 to groups setting in database lookup.
24556 * nss/nsswitch.conf: Add initgroups entry.
24557
24558 2011-04-22 Ulrich Drepper <drepper@gmail.com>
24559
24560 [BZ #12685]
24561 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24562 mode string.
24563 Patch by Eric Blake <eblake@redhat.com>.
24564
24565 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24566
24567 * sunrpc/Makefile (need-export-routines): Add svc_run.
24568 (routines): Remove svc_run.
24569 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24570 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24571 * sunrpc/svc_run.c (svc_run): Likewise.
24572 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24573
24574 2011-04-21 Ulrich Drepper <drepper@gmail.com>
24575
24576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24577 problem in reallocation in last patch.
24578
24579 2011-04-20 Ulrich Drepper <drepper@gmail.com>
24580
24581 * sunrpc/Makefile: Move inclusion of Rules.
24582
24583 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24584
24585 * nss/nss_files/files-initgroups.c: New file.
24586 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24587 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24588 _nss_files_initgroups_dyn.
24589
24590 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24591
24592 * elf/elf.h (R_ARM_IRELATIVE): Define.
24593
24594 2011-04-19 Ulrich Drepper <drepper@gmail.com>
24595
24596 * po/ru.po: Update from translation team.
24597
24598 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24599
24600 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24601 dependencies.
24602
24603 2011-02-06 Mike Frysinger <vapier@gentoo.org>
24604
24605 [BZ #12653]
24606 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24607 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24608 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24609 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24610 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24611
24612 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24613
24614 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24615 differing bytes.
24616 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24617 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24618 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24619
24620 2011-04-17 Ulrich Drepper <drepper@gmail.com>
24621
24622 [BZ #12420]
24623 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24624 storing it.
24625 * stdlib/bug-getcontext.c: New file.
24626 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24627
24628 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24629
24630 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24631 instructions into .machine "z9-109".
24632 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24633 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24634
24635 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24636
24637 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24638 between environment variables and auxiliary vector.
24639
24640 2011-04-16 Ulrich Drepper <drepper@gmail.com>
24641
24642 * Makefile: Add rules to build linkobj/libc.so.
24643 * include/libc-symbols.h: Define libc_hidden_nolink.
24644 * include/rpc/auth.h: Mark functions which are to be hidden.
24645 * include/rpc/auth_des.h: Likewise.
24646 * include/rpc/auth_unix.h: Likewise.
24647 * include/rpc/clnt.h: Likewise.
24648 * include/rpc/des_crypt.h: Likewise.
24649 * include/rpc/key_prot.h: Likewise.
24650 * include/rpc/pmap_clnt.h: Likewise.
24651 * include/rpc/pmap_prot.h: Likewise.
24652 * include/rpc/pmap_rmt.h: Likewise.
24653 * include/rpc/rpc_msg.h: Likewise.
24654 * include/rpc/svc.h: Likewise.
24655 * include/rpc/svc_auth.h: Likewise.
24656 * include/rpc/xdr.h: Likewise.
24657 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24658 * nss/Makefile: Likewise.
24659 * sunrpc/Makefile: Don't install headers. Build library with normal
24660 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24661 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24662 for the compat linking library. Remove use of INTDEF/INTUSE.
24663 * sunrpc/auth_none.c: Likewise.
24664 * sunrpc/auth_unix.c: Likewise.
24665 * sunrpc/authdes_prot.c: Likewise.
24666 * sunrpc/authuxprot.c: Likewise.
24667 * sunrpc/clnt_gen.c: Likewise.
24668 * sunrpc/clnt_perr.c: Likewise.
24669 * sunrpc/clnt_raw.c: Likewise.
24670 * sunrpc/clnt_simp.c: Likewise.
24671 * sunrpc/clnt_tcp.c: Likewise.
24672 * sunrpc/clnt_udp.c: Likewise.
24673 * sunrpc/clnt_unix.c: Likewise.
24674 * sunrpc/des_crypt.c: Likewise.
24675 * sunrpc/des_soft.c: Likewise.
24676 * sunrpc/get_myaddr.c: Likewise.
24677 * sunrpc/key_call.c: Likewise.
24678 * sunrpc/key_prot.c: Likewise.
24679 * sunrpc/netname.c: Likewise.
24680 * sunrpc/pm_getmaps.c: Likewise.
24681 * sunrpc/pm_getport.c: Likewise.
24682 * sunrpc/pmap_clnt.c: Likewise.
24683 * sunrpc/pmap_prot.c: Likewise.
24684 * sunrpc/pmap_prot2.c: Likewise.
24685 * sunrpc/pmap_rmt.c: Likewise.
24686 * sunrpc/publickey.c: Likewise.
24687 * sunrpc/rpc_cmsg.c: Likewise.
24688 * sunrpc/rpc_common.c: Likewise.
24689 * sunrpc/rpc_dtable.c: Likewise.
24690 * sunrpc/rpc_prot.c: Likewise.
24691 * sunrpc/rpc_thread.c: Likewise.
24692 * sunrpc/rtime.c: Likewise.
24693 * sunrpc/svc.c: Likewise.
24694 * sunrpc/svc_auth.c: Likewise.
24695 * sunrpc/svc_authux.c: Likewise.
24696 * sunrpc/svc_raw.c: Likewise.
24697 * sunrpc/svc_run.c: Likewise.
24698 * sunrpc/svc_simple.c: Likewise.
24699 * sunrpc/svc_tcp.c: Likewise.
24700 * sunrpc/svc_udp.c: Likewise.
24701 * sunrpc/svc_unix.c: Likewise.
24702 * sunrpc/svcauth_des.c: Likewise.
24703 * sunrpc/xcrypt.c: Likewise.
24704 * sunrpc/xdr.c: Likewise.
24705 * sunrpc/xdr_array.c: Likewise.
24706 * sunrpc/xdr_float.c: Likewise.
24707 * sunrpc/xdr_intXX_t.c: Likewise.
24708 * sunrpc/xdr_mem.c: Likewise.
24709 * sunrpc/xdr_rec.c: Likewise.
24710 * sunrpc/xdr_ref.c: Likewise.
24711 * sunrpc/xdr_sizeof.c: Likewise.
24712 * sunrpc/xdr_stdio.c: Likewise.
24713
24714 2011-04-10 Ulrich Drepper <drepper@gmail.com>
24715
24716 [BZ #12650]
24717 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24718 * sysdeps/ia64/dl-tls.h: Likewise.
24719 * sysdeps/powerpc/dl-tls.h: Likewise.
24720 * sysdeps/s390/dl-tls.h: Likewise.
24721 * sysdeps/sh/dl-tls.h: Likewise.
24722 * sysdeps/sparc/dl-tls.h: Likewise.
24723 * sysdeps/x86_64/dl-tls.h: Likewise.
24724 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24725
24726 2011-03-14 Andreas Schwab <schwab@redhat.com>
24727
24728 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24729 rpath element also skip the following colon.
24730 (expand_dynamic_string_token): Add is_path parameter and pass
24731 down to DL_DST_REQUIRED and _dl_dst_substitute.
24732 (decompose_rpath): Call expand_dynamic_string_token with
24733 non-zero is_path. Ignore empty rpaths.
24734 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24735 with zero is_path.
24736
24737 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24738
24739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24740 Make cancelable.
24741
24742 2011-04-09 Ulrich Drepper <drepper@gmail.com>
24743
24744 [BZ #12655]
24745 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24746 Patch by Filipe David Manana <fdmanana@apache.org>.
24747
24748 2011-04-07 Andreas Schwab <schwab@redhat.com>
24749
24750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24751 Maintain aligned stack.
24752 (CHECK_RSP): Remove unused macro.
24753
24754 2011-04-03 Ulrich Drepper <drepper@gmail.com>
24755
24756 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24757 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24758
24759 2011-04-02 Ulrich Drepper <drepper@gmail.com>
24760
24761 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24762
24763 * include/features.h: Mention __USE_XOPEN2K8 in comment.
24764
24765 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24766
24767 [BZ #12518]
24768 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24769 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24770 * sysdeps/x86_64/memmove.c: New file.
24771 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24772 (memcpy): Renamed to ...
24773 (__new_memcpy): This.
24774 (memcpy): Provide GLIBC_2_14 memcpy.
24775 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24776 (memcpy): Provide GLIBC_2_2_5 memcpy.
24777
24778 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24779
24780 [BZ #12631]
24781 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24782
24783 2011-03-30 Andreas Schwab <schwab@redhat.com>
24784
24785 * misc/syncfs.c: New file.
24786 * misc/Makefile (routines): Add syncfs.
24787 * posix/unistd.h: Declare syncfs.
24788 * sysdeps/unix/syscalls.list: Add syncfs.
24789
24790 2011-04-01 Andreas Schwab <schwab@redhat.com>
24791
24792 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24793 open_by_handle_at.
24794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24799 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24801
24802 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24803
24804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24806 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24810 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24811
24812 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24813 sync_file_range.c with -fexceptions.
24814 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24815 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24816 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24817 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24818 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24819 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24820 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24821 sync_file_range as cancellation point
24822 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24823 now a wrapper around __call_sync_file_range with cancellation handling.
24824 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24825 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24826 function name to __call_sync_file_range.
24827 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24828 Add call_sync_file_range.
24829
24830 2011-04-01 Andreas Schwab <schwab@redhat.com>
24831
24832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24833 bits/timex.h.
24834
24835 2011-04-01 Ulrich Drepper <drepper@gmail.com>
24836
24837 * iconv/iconv.h: Fix typo in comment.
24838 * io/fcntl.h: Likewise.
24839 * libio/stdio.h: Likewise.
24840 * posix/spawn.h: Likewise.
24841 * posix/unistd.h: Likewise.
24842 * stdlib/stdlib.h: Likewise.
24843 * time/time.h: Likewise.
24844 * wcsmbs/wchar.h: Likewise.
24845
24846 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24847 open_by_handle): Add.
24848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24849 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24850 Augment a few comments.
24851 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24853 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24856 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24857 open_by_handle.
24858
24859 * io/fcntl.h (AT_EMPTY_PATH): Define.
24860
24861 2011-03-30 Ulrich Drepper <drepper@gmail.com>
24862
24863 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24864 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24865 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24866 to...
24867 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
24868 * Versions.def: Add GLIBC_2.14.
24869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24870 Export.
24871
24872 2011-03-22 Ulrich Drepper <drepper@gmail.com>
24873
24874 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24875 round counter.
24876 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24877
24878 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24879
24880 [BZ #12597]
24881 * string/test-strncmp.c (do_page_test): New function.
24882 (check2): Likewise.
24883 (test_main): Call check2.
24884 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24885
24886 2011-03-20 Ulrich Drepper <drepper@gmail.com>
24887
24888 [BZ #12587]
24889 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24890 Handle cache information in CPU leaf 4.
24891 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24892
24893 2011-03-18 Ulrich Drepper <drepper@gmail.com>
24894
24895 [BZ #12583]
24896 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24897 character representation.
24898 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24899
24900 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24901
24902 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24903 END(__isnan) to END(__isnanf) to match function entry point/label
24904 EALIGN(__isnanf,...).
24905
24906 2011-03-10 Jakub Jelinek <jakub@redhat.com>
24907
24908 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24909
24910 2011-03-10 Ulrich Drepper <drepper@gmail.com>
24911
24912 [BZ #12510]
24913 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24914 copy from the symbol referenced in the relocation to initialize the
24915 used variable.
24916 Patch by Piotr Bury <pbury@goahead.com>.
24917 * elf/Makefile: Add rules to build and tst-unique3.
24918 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24919 * elf/tst-unique3.cc: New file.
24920 * elf/tst-unique3.h: New file.
24921 * elf/tst-unique3lib.cc: New file.
24922 * elf/tst-unique3lib2.cc: New file.
24923
24924 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24925
24926 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24927
24928 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24929 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24930 to _start.
24931
24932 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24933
24934 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24935 to-be-loaded object along a path to loader is ld.so.
24936
24937 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24938 Ulrich Drepper <drepper@gmail.com>
24939
24940 * sysdeps/x86_64/memset.S: After aligning destination, code
24941 branches to different locations depending on the value of
24942 misalignment, when multiarch is enabled. Fix this.
24943
24944 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24945
24946 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24947 Set _x86_64_preferred_memory_instruction for AMD processsors.
24948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24949 Set bit_Prefer_SSE_for_memop for AMD processors.
24950
24951 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24952
24953 * libio/fmemopen.c (fmemopen): Optimize a bit.
24954
24955 2011-03-03 Andreas Schwab <schwab@redhat.com>
24956
24957 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24958
24959 2011-03-03 Roland McGrath <roland@redhat.com>
24960
24961 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24962
24963 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24964
24965 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24966 __bzero_ultra1 instead of __memset_ultra1.
24967
24968 2011-02-23 Andreas Schwab <schwab@redhat.com>
24969 Ulrich Drepper <drepper@gmail.com>
24970
24971 [BZ #12509]
24972 * include/link.h (struct link_map): Add l_orig_initfini.
24973 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24974 returning unsuccessfully.
24975 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24976 close of a file loaded at startup, restore the original l_initfini
24977 list.
24978 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24979 list, store the pointer.
24980 * elf/Makefile ($(objpfx)noload-mem): New rule.
24981 (noload-ENV): Define.
24982 (tests): Add $(objpfx)noload-mem.
24983 * elf/noload.c: Include <memcheck.h>.
24984 (main): Call mtrace. Close all opened handles.
24985
24986 2011-02-17 Andreas Schwab <schwab@redhat.com>
24987
24988 [BZ #12454]
24989 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24990 dependencies are missing.
24991
24992 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24993
24994 Fix __if_freereq crash: Unlike the generic version which uses free,
24995 Hurd needs munmap.
24996 * sysdeps/mach/hurd/ifreq.h: New file.
24997
24998 2011-01-27 Petr Baudis <pasky@suse.cz>
24999 Ulrich Drepper <drepper@gmail.com>
25000
25001 [BZ 12445]#
25002 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25003 to extend_alloca().
25004 * stdio-common/bug23.c: New file.
25005 * stdio-common/Makefile (tests): Add bug23.
25006
25007 2010-09-28 Andreas Schwab <schwab@redhat.com>
25008 Ulrich Drepper <drepper@gmail.com>
25009
25010 [BZ #12489]
25011 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25012 before performing relro protection. At old place add assertion
25013 to make sure nothing changed.
25014
25015 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25016 Glauber de Oliveira Costa <glommer@gmail.com>
25017
25018 * elf/elf.h: Add new ARM TLS relocs.
25019
25020 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25021
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25023 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25024 cast from r3.
25025 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25026 'tests' variable.
25027 * sysdeps/wordsize-64/tst-writev.c: New file.
25028
25029 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25030
25031 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25032 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25033 insns in _dl_start to prevent a TOC reference before relocs are
25034 resolved.
25035
25036 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25037
25038 [BZ #12469]
25039 * Makeconfig: Remove RANLIB definition.
25040 * Makerules: Don't use RANLIB.
25041 * aclocal.m4: Remove ranlib test.
25042 * configure.in: No need to check for ranlib.
25043 * elf/rtld-Rules: Don't use RANLIB.
25044
25045 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25046
25047 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25048 protection macro.
25049 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25050 inclusion protection macro.
25051
25052 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25053 SIGRTMIN and SIGRTMAX and print information in that case only when
25054 SIGRTMIN is defined.
25055
25056 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25057
25058 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25059 arginfo fn returning -1.
25060
25061 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25062 and thousands string is zero terminated.
25063
25064 2011-02-03 Andreas Schwab <schwab@redhat.com>
25065
25066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25067 sysdeps/unix/sysv/linux/bits/socket.h.
25068
25069 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25070
25071 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25072 (__CPU_COUNT): Remove old macros.
25073 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25074 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25075 (__CPU_ALLOC, __CPU_FREE): Add macros.
25076 (__sched_cpualloc, __sched_cpufree): Add declarations.
25077
25078 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25079
25080 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25081 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25082 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25083 (readdhstai): Return value of addhstaiX call.
25084 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25085 (addgrbyX): Return value returned by cache_addgr.
25086 (readdgrbyname): Return value returned by addgrbyX.
25087 (readdgrbygid): Likewise.
25088 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25089 (addpwbyX): Return value returned by cache_addpw.
25090 (readdpwbyname): Return value returned by addhstbyX.
25091 (readdpwbyuid): Likewise.
25092 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25093 (addservbyX): Return value returned by cache_addserv.
25094 (readdservbyname): Return value returned by addservbyX:
25095 (readdservbyport): Likewise.
25096 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25097 (addhstbyX): Return value returned by cache_addhst.
25098 (readdhstbyname): Return value returned by addhstbyX.
25099 (readdhstbyaddr): Likewise.
25100 (readdhstbynamev6): Likewise.
25101 (readdhstbyaddrv6): Likewise.
25102 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25103 (readdinitgroups): Return value returned by addinitgroupsX.
25104 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25105 (prune_cache): Keep track of timeout value of re-added entries.
25106 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25107 * nscd/nscd.h: Adjust prototypes of readd* functions.
25108
25109 2011-02-04 Roland McGrath <roland@redhat.com>
25110
25111 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25112 (nis_stats): Likewise.
25113 * nis/nis_modify.c (nis_modify): Likewise.
25114 * nis/nis_remove.c (nis_remove): Likewise.
25115 * nis/nis_add.c (nis_add): Likewise.
25116
25117 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25118
25119 * posix/fnmatch_loop.c: Add some consts.
25120
25121 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25122
25123 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25124
25125 [BZ #12460]
25126 * config.make.in (config-cflags-novzeroupper): Define.
25127 * configure.in: Substitute libc_cv_cc_novzeroupper.
25128 * elf/Makefile (AVX-CFLAGS): Define.
25129 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25130 (CFLAGS-tst-auditmod4a.c): Likewise.
25131 (CFLAGS-tst-auditmod4b.c): Likewise.
25132 (CFLAGS-tst-auditmod6b.c): Likewise.
25133 (CFLAGS-tst-auditmod6c.c): Likewise.
25134 (CFLAGS-tst-auditmod7b.c): Likewise.
25135 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25136
25137 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25138
25139 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25140 function to the callback.
25141 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25142
25143 2011-02-02 Andreas Schwab <schwab@redhat.com>
25144
25145 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25146 of errno.
25147
25148 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25149
25150 [BZ #11724]
25151 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25152 of constructors.
25153 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25154 of destructors.
25155 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25156
25157 [BZ #11724]
25158 * elf/Makefile: Add rules to build and run new test.
25159 * elf/tst-initorder.c: New file.
25160 * elf/tst-initorder.exp: New file.
25161 * elf/tst-initordera1.c: New file.
25162 * elf/tst-initordera2.c: New file.
25163 * elf/tst-initordera3.c: New file.
25164 * elf/tst-initordera4.c: New file.
25165 * elf/tst-initorderb1.c: New file.
25166 * elf/tst-initorderb2.c: New file.
25167 * elf/tst-order-a1.c: New file.
25168 * elf/tst-order-a2.c: New file.
25169 * elf/tst-order-a3.c: New file.
25170 * elf/tst-order-a4.c: New file.
25171 * elf/tst-order-b1.c: New file.
25172 * elf/tst-order-b2.c: New file.
25173 * elf/tst-order-main.c: New file.
25174 New test case by George Gensure <werkt0@gmail.com>.
25175
25176 2010-10-01 Andreas Schwab <schwab@redhat.com>
25177
25178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25179 decoding ACE if AI_CANONIDN.
25180
25181 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25182
25183 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25184
25185 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25186
25187 * version.h (RELEASE): Bump for 2.13 release.
25188 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25189
25190 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25191
25192 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25193 MADV_NOHUGEPAGE.
25194 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25196 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25197 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25199 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25200
25201 * posix/getconf.c: Update copyright year.
25202 * catgets/gencat.c: Likewise.
25203 * csu/version.c: Likewise.
25204 * debug/catchsegv.sh: Likewise.
25205 * debug/xtrace.sh: Likewise.
25206 * elf/ldconfig.c: Likewise.
25207 * elf/ldd.bash.in: Likewise.
25208 * elf/sprof.c (print_version): Likewise.
25209 * iconv/iconv_prog.c: Likewise.
25210 * iconv/iconvconfig.c: Likewise.
25211 * locale/programs/locale.c: Likewise.
25212 * locale/programs/localedef.c: Likewise.
25213 * malloc/memusage.sh: Likewise.
25214 * malloc/mtrace.pl: Likewise.
25215 * nscd/nscd.c (print_version): Likewise.
25216 * nss/getent.c: Likewise.
25217
25218 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25219 PF_CAIF, and PF_ALG.
25220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25221
25222 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25223
25224 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25225 (modules-names): Use them.
25226 (ifunc-test-modules, ifunc-pie-tests): Define.
25227 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25228 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25229 (test-extras): Likewise.
25230 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25231 $(compile-command.c).
25232 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25233 (all-built-dso): Define.
25234 (check-textrel.out, check-execstack.out): Depend on it.
25235
25236 * configure.in: Don't override --enable-multi-arch.
25237
25238 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25239
25240 [BZ #6812]
25241 * nscd/hstcache.c (tryagain): Define.
25242 (cache_addhst): Return tryagain not notfound for temporary errors.
25243 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25244 failed.
25245
25246 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25247
25248 [BZ #10563]
25249 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25250 to make the syscall.
25251 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25252
25253 [BZ #12378]
25254 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25255 and fall back to matching as normal character if the string ends before
25256 the matching ']' is found. This is what POSIX requires.
25257 * posix/testfnm.c: Adjust test result.
25258 * posix/globtest.sh: Adjust test result. Add new test.
25259 * posix/tst-fnmatch.input: Likewise.
25260 * posix/tst-fnmatch2.c: Add new test.
25261
25262 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25263
25264 * elf/Makefile (check-execstack): Revert last change. Depend on
25265 check-execstack.h.
25266 (check-execstack.h): New target.
25267 (generated): Add check-execstack.h.
25268 * elf/check-execstack.c: Include "check-execstack.h".
25269 (main): Revert last change.
25270 (handle_file): Return zero if GNU_STACK is absent and
25271 DEFAULT_STACK_PERMS doesn't include PF_X.
25272
25273 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25274
25275 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25276 in child fails because the descriptor is already closed.
25277 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25278 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25279 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25280
25281 [BZ #12397]
25282 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25283 syscall.
25284
25285 [BZ #10484]
25286 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25287 temporary buffer used to handle multi lookups locally.
25288 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25289
25290 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25291
25292 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25293 loader is ld.so.
25294
25295 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25296
25297 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25298 alignment for SSE2.
25299
25300 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25301
25302 [BZ #12394]
25303 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25304 characters. When rounding increased number of integer digits recompute
25305 number of groups.
25306 * stdio-common/tst-grouping.c: New file.
25307 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25308
25309 2011-01-09 Ulrich Drepper <drepper@gmail.com>
25310
25311 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25312 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25313
25314 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25315 void.
25316 * bits/select.h: Likewise.
25317
25318 2011-01-08 Ulrich Drepper <drepper@gmail.com>
25319
25320 * po/ja.po: Update from translation team.
25321
25322 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
25323
25324 [BZ #11155]
25325 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25326 implementation just like for lxstat, fxstatat, et al.
25327
25328 2010-12-27 Jim Meyering <meyering@redhat.com>
25329
25330 [BZ #12348]
25331 * posix/regexec.c (build_trtable): Return failure indication upon
25332 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25333
25334 2010-12-25 Ulrich Drepper <drepper@gmail.com>
25335
25336 [BZ #12201]
25337 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25338 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25339 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25340 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25341
25342 [BZ #12207]
25343 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25344
25345 [BZ #12204]
25346 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25347 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25348
25349 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25350
25351 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25352 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25353 script has SORT_BY_INIT_PRIORITY.
25354 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25355 NO_CTORS_DTORS_SECTIONS is defined.
25356 * elf/soinit.c: Likewise.
25357 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25358 NO_CTORS_DTORS_SECTIONS is defined.
25359 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25360 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25361 * sysdeps/sh/init-first.c: Likewise.
25362 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25363
25364 2010-12-24 Ulrich Drepper <drepper@gmail.com>
25365
25366 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25367 always use the slow path.
25368
25369 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25370
25371 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25372 similar rule which adds the sysdep directories to the header search in
25373 order to pick up the correct platform stackinfo.h.
25374 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25375 perform test if it is, otherwise return successfully without testing.
25376 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25377 DEFAULT_STACK_PERMS define in stackinfo.h.
25378 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25379 defined in stackinfo.h.
25380 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25381 DEFAULT_STACK_PERMS defined in stackinfo.h.
25382 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25383 * sysdeps/ia64/stackinfo.h: Likewise.
25384 * sysdeps/s390/stackinfo.h: Likewise.
25385 * sysdeps/sh/stackinfo.h: Likewise.
25386 * sysdeps/sparc/stackinfo.h: Likewise.
25387 * sysdeps/x86_64/stackinfo.h: Likewise.
25388 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25389 PF_X for powerpc64. Retain PF_X for powerpc32.
25390
25391 2010-12-19 Ulrich Drepper <drepper@gmail.com>
25392
25393 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25394 accurately.
25395 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25396 GETDENTS_64BIT_ALIGNED.
25397
25398 2010-12-14 Ulrich Drepper <dreper@gmail.com>
25399
25400 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25401
25402 2010-12-10 Andreas Schwab <schwab@redhat.com>
25403
25404 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25405 _GNU_SOURCE.
25406
25407 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25408 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25409 Remove __restrict.
25410 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25411 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25412
25413 2010-12-09 Ulrich Drepper <drepper@gmail.com>
25414
25415 [BZ #11655]
25416 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25417 are initialized.
25418
25419 2010-12-09 Jakub Jelinek <jakub@redhat.com>
25420
25421 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25422
25423 2010-12-03 Ulrich Drepper <drepper@gmail.com>
25424
25425 * po/it.po: Update from translation team.
25426
25427 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25428
25429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25430 unused codes.
25431
25432 2010-11-30 Ulrich Drepper <drepper@gmail.com>
25433
25434 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25435
25436 2010-11-24 Andreas Schwab <schwab@redhat.com>
25437
25438 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25439 specially.
25440 (gaih_getanswer_slice): Likewise.
25441
25442 2010-10-20 Jakub Jelinek <jakub@redhat.com>
25443
25444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25445
25446 2010-05-31 Petr Baudis <pasky@suse.cz>
25447
25448 [BZ #11149]
25449 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25450 silently even in the chroot mode.
25451
25452 2010-11-22 Ulrich Drepper <drepper@gmail.com>
25453
25454 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25455 last patch a bit. Pretty printing
25456
25457 2010-05-31 Petr Baudis <pasky@suse.cz>
25458
25459 [BZ #10085]
25460 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25461 initialization of skip_initgroups_dyn.
25462
25463 2010-11-19 Ulrich Drepper <drepper@gmail.com>
25464
25465 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25466 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25467
25468 2010-11-16 Ulrich Drepper <drepper@gmail.com>
25469
25470 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25471
25472 2010-11-11 Andreas Schwab <schwab@redhat.com>
25473
25474 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25475 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25476 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25477 ($(objpfx)tst-fnmatch-mem): New rule.
25478 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25479 * posix/tst-fnmatch.c (main): Call mtrace.
25480
25481 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25482
25483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25484 Support Intel processor model 6 and model 0x2c.
25485
25486 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
25487
25488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25489 signed comparison.
25490
25491 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25492
25493 [BZ #12205]
25494 * string/test-strncasecmp.c (check_result): New function.
25495 (do_one_test): Use it.
25496 (check1): New function.
25497 (test_main): Use it.
25498 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25499 Support strcasecmp and strncasecmp.
25500
25501 2010-11-08 Ulrich Drepper <drepper@gmail.com>
25502
25503 [BZ #12194]
25504 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25505 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25506
25507 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25508
25509 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25510 IFUNC support.
25511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25512 memset-x86-64.
25513 * sysdeps/x86_64/multiarch/bzero.S: New file.
25514 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25515 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25516 * sysdeps/x86_64/multiarch/memset.S: New file.
25517 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25519 Set bit_Prefer_SSE_for_memop for Intel processors.
25520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25521 Define.
25522 (index_Prefer_SSE_for_memop): Define.
25523 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25524
25525 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
25526
25527 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25528 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25529
25530 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25531
25532 [BZ #12191]
25533 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25534 (__x86_64_raw_data_cache_size_half): Likewise.
25535 (__x86_64_raw_shared_cache_size): Likewise.
25536 (__x86_64_raw_shared_cache_size_half): Likewise.
25537
25538 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25539 (__x86_64_raw_data_cache_size_half): Likewise.
25540 (__x86_64_raw_shared_cache_size): Likewise.
25541 (__x86_64_raw_shared_cache_size_half): Likewise.
25542 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25543 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25544 and __x86_64_raw_shared_cache_size_half. Round
25545 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25546 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25547 to multiple of 256 bytes.
25548
25549 2010-11-03 Ulrich Drepper <drepper@gmail.com>
25550
25551 [BZ #12167]
25552 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25553 of inacessible symlinks. Verify result of symlink before returning it.
25554 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25555 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25556
25557 2010-10-28 Erich Ritz <erichritz@gmail.com>
25558
25559 * math/math.h (isinf): Fix typo in comment.
25560
25561 2010-11-01 Ulrich Drepper <drepper@gmail.com>
25562
25563 * po/da.po: Update from translation team.
25564
25565 2010-10-26 Ulrich Drepper <drepper@gmail.com>
25566
25567 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25568 is added to the list.
25569
25570 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25571 Ulrich Drepper <drepper@gmail.com>
25572
25573 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25574 the global list here. Move code to...
25575 (_dl_add_to_namespace_list): ...here. New function.
25576 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25577 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25578 * elf/dl-load.c (lose): Don't remove the element from the list.
25579 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25580 (_dl_map_object): Likewise.
25581
25582 2010-10-25 Ulrich Drepper <drepper@gmail.com>
25583
25584 [BZ #12159]
25585 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25586 into all bytes of SSE register.
25587 Patch by Richard Li <richardpku@gmail.com>.
25588
25589 2010-10-24 Ulrich Drepper <drepper@gmail.com>
25590
25591 [BZ #12140]
25592 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25593 perturbing.
25594
25595 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25596
25597 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25598 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25599 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25600 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25602 submachine.
25603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25604
25605 2010-10-22 Andreas Schwab <schwab@redhat.com>
25606
25607 * include/dlfcn.h (__RTLD_SECURE): Define.
25608 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25609 mode & __RTLD_SECURE instead.
25610 (open_path): Rename preloaded parameter to secure.
25611 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25612 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25613 * elf/dl-deps.c (openaux): Likewise.
25614 * elf/rtld.c (struct map_args): Remove is_preloaded.
25615 (map_doit): Don't use it.
25616 (dl_main): Likewise.
25617 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25618 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25619
25620 2010-09-09 Andreas Schwab <schwab@redhat.com>
25621
25622 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25623 (sysd-rules-targets): Remove duplicates.
25624 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25625 rtld-%.$o dependency.
25626
25627 2010-10-18 Andreas Schwab <schwab@redhat.com>
25628
25629 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25630 _dl_map_object do it.
25631
25632 2010-10-19 Ulrich Drepper <drepper@gmail.com>
25633
25634 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25635 fast fma builtins, define the macros in the C99 standard.
25636 (FP_FAST_FMAF): Likewise.
25637 (FP_FAST_FMAL): Likewise.
25638 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25639
25640 * bits/mathdef.h: Update copyright year.
25641 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25642
25643 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25644
25645 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25646 builtins, define the macros in the C99 standard.
25647 (FP_FAST_FMAF): Likewise.
25648 (FP_FAST_FMAL): Likewise.
25649 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25650 multiply/add.
25651 (FP_FAST_FMAF): Likewise.
25652
25653 2010-10-15 Jakub Jelinek <jakub@redhat.com>
25654
25655 [BZ #3268]
25656 * math/libm-test.inc (fma_test): Some new testcases.
25657 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25658 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25659 y and infinite z. Do multiplication by C already in long double.
25660 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25662 y and infinite z. Do bitwise or of inexact bit into u.d.
25663 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25664 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25665 * sysdeps/i386/fpu/s_fma.S: Removed.
25666 * sysdeps/i386/fpu/s_fmal.S: Removed.
25667
25668 2010-10-16 Jakub Jelinek <jakub@redhat.com>
25669
25670 [BZ #3268]
25671 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25673 computation is not scheduled after fetestexcept. Fix value
25674 of minimum denormal long double.
25675
25676 2010-10-14 Jakub Jelinek <jakub@redhat.com>
25677
25678 [BZ #3268]
25679 * math/libm-test.inc (fma_test): Add some more tests.
25680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25681 correctly.
25682
25683 2010-10-15 Andreas Schwab <schwab@redhat.com>
25684
25685 * scripts/data/localplt-s390-linux-gnu.data: New file.
25686 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25687
25688 2010-10-13 Jakub Jelinek <jakub@redhat.com>
25689
25690 [BZ #3268]
25691 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25692 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25693 instead of dbl-64.
25694 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25695 inlines.
25696 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25698 if one of x and y is very large and the other is subnormal.
25699 * sysdeps/s390/fpu/s_fmaf.c: New file.
25700 * sysdeps/s390/fpu/s_fma.c: New file.
25701 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25702 * sysdeps/powerpc/fpu/s_fma.S: New file.
25703 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25704 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25705 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25706
25707 2010-10-12 Jakub Jelinek <jakub@redhat.com>
25708
25709 [BZ #3268]
25710 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25711 fma tests.
25712 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25713 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25714 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25715 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25716 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25717 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25719
25720 2010-10-12 Ulrich Drepper <drepper@redhat.com>
25721
25722 [BZ #12078]
25723 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25724 * posix/bug-regex31.input: Add test case.
25725
25726 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25727
25728 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25729 * posix/bug-regex31.input: New file.
25730
25731 [BZ #12078]
25732 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25733 (parse_sub_exp): Fix last change, use postorder.
25734
25735 * posix/bug-regex31.c: New file.
25736 * posix/Makefile: Add rules to build and run bug-regex31.
25737
25738 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25739
25740 [BZ #12078]
25741 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25742
25743 [BZ #12108]
25744 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25745 to have entries in sys_siglist.
25746
25747 [BZ #12093]
25748 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25749 be NULL.
25750
25751 2010-10-07 Jakub Jelinek <jakub@redhat.com>
25752
25753 [BZ #3268]
25754 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25755 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25756 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25757 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25758 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25759 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25760 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25761 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25762 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25763 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25764 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25765 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25766 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25767 * math/ftestexcept.c (fetestexcept): Likewise.
25768 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25769 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25770 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25771 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25772 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25773 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25774 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25775
25776 2010-10-11 Ulrich Drepper <drepper@gmail.com>
25777
25778 [BZ #12107]
25779 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25780 newline.
25781
25782 2010-10-06 Ulrich Drepper <drepper@gmail.com>
25783
25784 * string/bug-strstr1.c: New file.
25785 * string/Makefile: Add rules to build and run bug-strstr1.
25786
25787 2010-10-05 Eric Blake <eblake@redhat.com>
25788
25789 [BZ #12092]
25790 * string/str-two-way.h (two_way_long_needle): Always clear memory
25791 when skipping input due to the shift table.
25792
25793 2010-10-03 Ulrich Drepper <drepper@gmail.com>
25794
25795 [BZ #12005]
25796 * malloc/mcheck.c: Handle large requests.
25797
25798 [BZ #12077]
25799 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25800 for strncmp and strncasecmp.
25801 * string/stratcliff.c: Add tests for strcmp and strncmp.
25802 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25803
25804 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25805
25806 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25807 __set_fpscr.
25808
25809 2010-09-30 Andreas Jaeger <aj@suse.de>
25810
25811 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25812 (CGROUP_SUPER_MAGIC): Define.
25813 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25814 Handle btrfs and cgroup file systems.
25815 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25816 Likewise.
25817
25818 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
25819
25820 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25821 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25822
25823 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25824
25825 [BZ #12067]
25826 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25827 trying to locate the ELF header.
25828
25829 2010-09-27 Andreas Schwab <schwab@redhat.com>
25830
25831 [BZ #11611]
25832 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25833 Mask out sign-bit copies when constructing f_fsid.
25834
25835 2010-09-24 Petr Baudis <pasky@suse.cz>
25836
25837 * debug/stack_chk_fail_local.c: Add missing licence exception.
25838 * debug/warning-nop.c: Likewise.
25839
25840 2010-09-15 Joseph Myers <joseph@codesourcery.com>
25841
25842 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25843 implementing getdents64 using getdents syscall, set d_type if
25844 __ASSUME_GETDENTS32_D_TYPE.
25845
25846 2010-09-16 Andreas Schwab <schwab@redhat.com>
25847
25848 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25849 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25850
25851 2010-09-21 Ulrich Drepper <drepper@redhat.com>
25852
25853 [BZ #12037]
25854 * posix/unistd.h: Undo change of feature selection for ftruncate from
25855 2010-01-11.
25856
25857 2010-09-20 Ulrich Drepper <drepper@redhat.com>
25858
25859 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25860 detection.
25861
25862 2010-09-20 Andreas Schwab <schwab@redhat.com>
25863
25864 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25865 fanotify_mark.
25866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25867
25868 2010-09-14 Andreas Schwab <schwab@redhat.com>
25869
25870 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25871 variables after CHECK_SP call.
25872 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25873
25874 2010-09-13 Andreas Schwab <schwab@redhat.com>
25875 Ulrich Drepper <drepper@redhat.com>
25876
25877 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25878 re-relocationg ld.so.
25879 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25880 _dl_init_paths call.
25881 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25882 here anymore.
25883
25884 2010-09-14 Ulrich Drepper <drepper@redhat.com>
25885
25886 * resolv/res_init.c (__res_vinit): Count the default server we added.
25887
25888 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25889 Ulrich Drepper <drepper@redhat.com>
25890
25891 [BZ #11968]
25892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25893 (____longjmp_chk): Use %ebx for saving value across system call.
25894 Add unwind info.
25895
25896 2010-09-06 Andreas Schwab <schwab@redhat.com>
25897
25898 * manual/Makefile: Don't mix pattern rules with normal rules.
25899
25900 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25901
25902 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25903 operation.
25904 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25905 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25906 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25907 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25909 Likewise.
25910
25911 2010-09-04 Ulrich Drepper <drepper@redhat.com>
25912
25913 [BZ #11979]
25914 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25915 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25916
25917 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25918
25919 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25920 * sysdeps/x86_64/addmul_1.S: Likewise.
25921 * sysdeps/x86_64/lshift.S: Likewise.
25922 * sysdeps/x86_64/mul_1.S: Likewise.
25923 * sysdeps/x86_64/rshift.S: Likewise.
25924 * sysdeps/x86_64/sub_n.S: Likewise.
25925 * sysdeps/x86_64/submul_1.S: Likewise.
25926
25927 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25928
25929 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25930 Define __sched_param instead of SCHED_* and sched_param when
25931 <bits/sched.h> is included with __need_schedparam defined.
25932 * bits/sched.h [__need_schedparam]
25933 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25934 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25935 (__defined_schedparam): Define to 1.
25936 (__sched_param): New structure, identical to sched_param.
25937 (__need_schedparam): Undefine.
25938
25939 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25940
25941 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25942 (epoll_create1): Declare.
25943
25944 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25945
25946 2010-08-31 Andreas Schwab <schwab@redhat.com>
25947
25948 [BZ #7066]
25949 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25950 shifting retval into place.
25951
25952 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25953
25954 * nis/rpcsvc/nis.h: Update copyright notice.
25955 * nis/rpcsvc/nis.x: Likewise.
25956 * nis/rpcsvc/nis_callback.h: Likewise.
25957 * nis/rpcsvc/nis_callback.x: Likewise.
25958 * nis/rpcsvc/nis_object.x: Likewise.
25959 * nis/rpcsvc/nis_tags.h: Likewise.
25960 * nis/rpcsvc/yp.h: Likewise.
25961 * nis/rpcsvc/yp.x: Likewise.
25962 * nis/rpcsvc/ypupd.h: Likewise.
25963 * nis/yp_xdr.c: Likewise.
25964 * nis/ypupdate_xdr.c: Likewise.
25965
25966 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25967 mainly the body of pmap_getport. Add parameters to specify timeouts.
25968 (pmap_getport): Use __libc_rpc_getport.
25969 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25970 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25971 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25972
25973 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25974
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25976 fanotify_mark.
25977
25978 2010-08-27 Roland McGrath <roland@redhat.com>
25979
25980 * sysdeps/i386/i686/multiarch/Makefile
25981 (CFLAGS-varshift.c): New variable.
25982
25983 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25984
25985 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25986 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25987
25988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25989
25990 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25991
25992 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25993
25994 * sysdeps/x86_64/strlen.S: Unroll the loop.
25995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25996 strlen-sse2 strlen-sse2-bsf.
25997 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25998 __strlen_no_bsf if bit_Slow_BSF is set.
25999 (__strlen_sse42): Removed.
26000 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26001 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26002
26003 2010-08-25 Roland McGrath <roland@redhat.com>
26004
26005 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26006 * sysdeps/x86_64/multiarch/varshift.c: New file.
26007 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26008 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26009 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26010 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26011
26012 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26013
26014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26015 strlen-sse2 strlen-sse2-bsf.
26016 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26017 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26018 (__strlen_sse2): Removed.
26019 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26022 bit_Slow_BSF for Atom.
26023 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26024 (index_Slow_BSF): Define.
26025 (HAS_SLOW_BSF): Define.
26026
26027 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26028
26029 [BZ #10851]
26030 * resolv/res_init.c (__res_vinit): When no server address at all
26031 is given default to loopback.
26032
26033 2010-08-24 Roland McGrath <roland@redhat.com>
26034
26035 * configure.in: Remove config-name.h generation.
26036 * configure: Regenerated.
26037 * config-name.in: File removed.
26038 * scripts/config-uname.sh: New file.
26039 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26040 ($(objdir)config-name.h): New target.
26041
26042 * sunrpc/rpc_parse.h: Avoid nested comment.
26043
26044 2010-08-24 Richard Henderson <rth@redhat.com>
26045 Ulrich Drepper <drepper@redhat.com>
26046 H.J. Lu <hongjiu.lu@intel.com>
26047
26048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26050 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26051 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26052 _mm_alignr_epi8 with _mm_loadu_si128.
26053 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26054 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26055 (__m128i_shift_right): Removed.
26056 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26057 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26058 * sysdeps/x86_64/multiarch/varshift.h: New file.
26059 * sysdeps/x86_64/multiarch/varshift.S: New file.
26060
26061 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26062
26063 * configure.in: Move assembler checks to before sysdep dir checking.
26064
26065 2010-08-20 Petr Baudis <pasky@suse.cz>
26066
26067 * LICENSES: Sync the sunrpc license.
26068
26069 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26070
26071 * sunrpc/auth_des.c: Update copyright notice once again.
26072 * sunrpc/auth_none.c: Likewise.
26073 * sunrpc/auth_unix.c: Likewise.
26074 * sunrpc/authdes_prot.c: Likewise.
26075 * sunrpc/authuxprot.c: Likewise.
26076 * sunrpc/bindrsvprt.c: Likewise.
26077 * sunrpc/clnt_gen.c: Likewise.
26078 * sunrpc/clnt_perr.c: Likewise.
26079 * sunrpc/clnt_raw.c: Likewise.
26080 * sunrpc/clnt_simp.c: Likewise.
26081 * sunrpc/clnt_tcp.c: Likewise.
26082 * sunrpc/clnt_udp.c: Likewise.
26083 * sunrpc/clnt_unix.c: Likewise.
26084 * sunrpc/des_crypt.c: Likewise.
26085 * sunrpc/des_soft.c: Likewise.
26086 * sunrpc/get_myaddr.c: Likewise.
26087 * sunrpc/getrpcport.c: Likewise.
26088 * sunrpc/key_call.c: Likewise.
26089 * sunrpc/key_prot.c: Likewise.
26090 * sunrpc/openchild.c: Likewise.
26091 * sunrpc/pm_getmaps.c: Likewise.
26092 * sunrpc/pm_getport.c: Likewise.
26093 * sunrpc/pmap_clnt.c: Likewise.
26094 * sunrpc/pmap_prot.c: Likewise.
26095 * sunrpc/pmap_prot2.c: Likewise.
26096 * sunrpc/pmap_rmt.c: Likewise.
26097 * sunrpc/rpc/auth.h: Likewise.
26098 * sunrpc/rpc/auth_unix.h: Likewise.
26099 * sunrpc/rpc/clnt.h: Likewise.
26100 * sunrpc/rpc/des_crypt.h: Likewise.
26101 * sunrpc/rpc/key_prot.h: Likewise.
26102 * sunrpc/rpc/netdb.h: Likewise.
26103 * sunrpc/rpc/pmap_clnt.h: Likewise.
26104 * sunrpc/rpc/pmap_prot.h: Likewise.
26105 * sunrpc/rpc/pmap_rmt.h: Likewise.
26106 * sunrpc/rpc/rpc.h: Likewise.
26107 * sunrpc/rpc/rpc_des.h: Likewise.
26108 * sunrpc/rpc/rpc_msg.h: Likewise.
26109 * sunrpc/rpc/svc.h: Likewise.
26110 * sunrpc/rpc/svc_auth.h: Likewise.
26111 * sunrpc/rpc/types.h: Likewise.
26112 * sunrpc/rpc/xdr.h: Likewise.
26113 * sunrpc/rpc_clntout.c: Likewise.
26114 * sunrpc/rpc_cmsg.c: Likewise.
26115 * sunrpc/rpc_common.c: Likewise.
26116 * sunrpc/rpc_cout.c: Likewise.
26117 * sunrpc/rpc_dtable.c: Likewise.
26118 * sunrpc/rpc_hout.c: Likewise.
26119 * sunrpc/rpc_main.c: Likewise.
26120 * sunrpc/rpc_parse.c: Likewise.
26121 * sunrpc/rpc_parse.h: Likewise.
26122 * sunrpc/rpc_prot.c: Likewise.
26123 * sunrpc/rpc_sample.c: Likewise.
26124 * sunrpc/rpc_scan.c: Likewise.
26125 * sunrpc/rpc_scan.h: Likewise.
26126 * sunrpc/rpc_svcout.c: Likewise.
26127 * sunrpc/rpc_tblout.c: Likewise.
26128 * sunrpc/rpc_util.c: Likewise.
26129 * sunrpc/rpc_util.h: Likewise.
26130 * sunrpc/rpcinfo.c: Likewise.
26131 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26132 * sunrpc/rpcsvc/key_prot.x: Likewise.
26133 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26134 * sunrpc/rpcsvc/mount.x: Likewise.
26135 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26136 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26137 * sunrpc/rpcsvc/rex.x: Likewise.
26138 * sunrpc/rpcsvc/rstat.x: Likewise.
26139 * sunrpc/rpcsvc/rusers.x: Likewise.
26140 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26141 * sunrpc/rpcsvc/spray.x: Likewise.
26142 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26143 * sunrpc/rtime.c: Likewise.
26144 * sunrpc/svc.c: Likewise.
26145 * sunrpc/svc_auth.c: Likewise.
26146 * sunrpc/svc_authux.c: Likewise.
26147 * sunrpc/svc_raw.c: Likewise.
26148 * sunrpc/svc_run.c: Likewise.
26149 * sunrpc/svc_simple.c: Likewise.
26150 * sunrpc/svc_tcp.c: Likewise.
26151 * sunrpc/svc_udp.c: Likewise.
26152 * sunrpc/svc_unix.c: Likewise.
26153 * sunrpc/svcauth_des.c: Likewise.
26154 * sunrpc/xcrypt.c: Likewise.
26155 * sunrpc/xdr.c: Likewise.
26156 * sunrpc/xdr_array.c: Likewise.
26157 * sunrpc/xdr_float.c: Likewise.
26158 * sunrpc/xdr_mem.c: Likewise.
26159 * sunrpc/xdr_rec.c: Likewise.
26160 * sunrpc/xdr_ref.c: Likewise.
26161 * sunrpc/xdr_sizeof.c: Likewise.
26162 * sunrpc/xdr_stdio.c: Likewise.
26163
26164 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26165 handling.
26166
26167 2010-08-19 Andreas Schwab <schwab@redhat.com>
26168
26169 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26170
26171 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26172
26173 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26174 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26175 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26176 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26177 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26178 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26179 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26180 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26182 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26183 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26184 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26185 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26186 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26187
26188 2010-07-26 Anton Blanchard <anton@samba.org>
26189
26190 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26191 * malloc/arena.c (heap_trim): Likewise.
26192
26193 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26194
26195 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26196 here. Not...
26197 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26198 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26199
26200 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26201
26202 * sysdeps/i386/elf/Makefile: New file.
26203
26204 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26205
26206 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26207 from fanotify_init.
26208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26210
26211 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26212
26213 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26214 of strncasecmp_l.
26215 * sysdeps/multiarch/strcmp.S: Likewise.
26216
26217 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26218
26219 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26220 strncase_l-nonascii.
26221 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26222 Add strncase_l-ssse3.
26223 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26224 * sysdeps/x86_64/strcmp.S: Likewise.
26225 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26226 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26227 * sysdeps/x86_64/strncase.S: New file.
26228 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26229 * sysdeps/x86_64/strncase_l.S: New file.
26230 * string/Makefile (strop-tests): Add strncasecmp.
26231 * string/test-strncasecmp.c: New file.
26232
26233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26234 warning.
26235
26236 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26237 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26238
26239 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26240
26241 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26242
26243 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26244
26245 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26246 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26247 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26248
26249 2010-05-01 Alan Modra <amodra@gmail.com>
26250
26251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26252 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26253 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26254 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26255 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26256 tidying. Don't tail-call __sigjmp_save for static lib.
26257 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26258 save location.
26259 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26260 (CALL_MCOUNT): Add eh info, and nop after bl.
26261 (TAIL_CALL_SYSCALL_ERROR): New macro.
26262 (PSEUDO_RET): Use it.
26263 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26264 Correct save location of integer regs and cr.
26265 (_dl_profile_resolve): Correct cr save location. Delete nops
26266 after bl when SHARED. Reduce cfi size a little by better
26267 placement of cfi directives.
26268 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26269 make a stack frame. Instead use parm save area as a temp.
26270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26271 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26273 Don't make a stack frame for parent, use parm save area.
26274 Increase child stack frame to 112 bytes. Don't save unused reg,
26275 and adjust reg usage. Set up cfi on error recovery and
26276 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26278 (__makecontext): Add dummy nop after jump to exit.
26279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26280 Use correct parm save area and cr save, reduce stack frame.
26281 Correct cfi for possible PSEUDO_RET frame setup.
26282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26283 Branch to local label emitted by PSEUDO_RET rather than
26284 __syscall_error.
26285
26286 2010-08-12 Andreas Schwab <schwab@redhat.com>
26287
26288 [BZ #11904]
26289 * locale/programs/locale.c (print_assignment): New function.
26290 (show_locale_vars): Use it.
26291
26292 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26293
26294 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26295 field.
26296 (struct statfs64): Likewise.
26297 (_STATFS_F_FLAGS): Define.
26298 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26300 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26301 (ST_VALID): Define locally.
26302 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26303 __statvfs_getflags, use the provided value.
26304 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26305 __ASSUME_STATFS_F_FLAGS.
26306
26307 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26308
26309 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26310 Add sys/fanotify.h.
26311 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26312 fanotify_mask for GLIBC_2.13.
26313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26314 fanotify_init and fanotify_mark.
26315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26316 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26317
26318 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26319 Add prlimit.
26320 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26321 prlimit64 for GLIBC_2.13.
26322 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26323 prlimit64.
26324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26325 syscall.
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26327 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26328 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26329 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26331 add prlimit alias.
26332 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26333
26334 [BZ #11903]
26335 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26336 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26337
26338 * nss/Makefile: Add rules to build and run tst-nss-test1.
26339 * shlib-versions: Add entry for libnss_test1.
26340 * nss/nss_test1.c: New file.
26341 * nss/tst-nss-test1.c: New file.
26342
26343 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26344 (__nss_configure_lookup): Set appropriate entry in
26345 __nss_configure_lookup to true.
26346 * nss/nsswitch.h: Define enum with indeces of databases in
26347 databases and __nss_database_custom arrays. Declare
26348 __nss_database_custom.
26349 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26350 to avoid using nscd when custom rules are installed.
26351 * nss/getXXbyYY_r.c: Likewise.
26352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26353
26354 * nss/nss_files/files-parse.c: Whitespace fixes.
26355
26356 2010-08-09 Ulrich Drepper <drepper@redhat.com>
26357
26358 [BZ #11883]
26359 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26360 * posix/fnmatch_loop.c: Likewise.
26361
26362 2010-07-17 Andi Kleen <ak@linux.intel.com>
26363
26364 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26365 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26366 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26367 * Versions.def [GLIBC_2.13]: Add.
26368
26369 2010-08-06 Ulrich Drepper <drepper@redhat.com>
26370
26371 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26372 Also fail if tpwd after pwuid call is NULL.
26373
26374 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26375
26376 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26377 when converting to ms.
26378
26379 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26380
26381 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26382 EOPNOTSUPP errors with ENOTTY.
26383 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26384 EOPNOTSUPP errors with ENOTTY.
26385
26386 2010-07-31 Ulrich Drepper <drepper@redhat.com>
26387
26388 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26389 Add strcasecmp_l-ssse3.
26390 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26391 strcasecmp.
26392 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26393 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26394 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26395
26396 2010-07-30 Ulrich Drepper <drepper@redhat.com>
26397
26398 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26399
26400 * string/Makefile (strop-tests): Add strcasecmp.
26401 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26402 strcasecmp_l-nonascii.
26403 (gen-as-const-headers): Add locale-defines.sym.
26404 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26405 * sysdeps/x86_64/strcasecmp.S: New file.
26406 * sysdeps/x86_64/strcasecmp_l.S: New file.
26407 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26408 * sysdeps/x86_64/locale-defines.sym: New file.
26409 * string/test-strcasecmp.c: New file.
26410
26411 * string/test-strcasestr.c: Test both ends of the range of characters.
26412 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26413
26414 2010-07-29 Roland McGrath <roland@redhat.com>
26415
26416 [BZ #11856]
26417 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26418
26419 2010-07-27 Ulrich Drepper <drepper@redhat.com>
26420
26421 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26422 for ld.so.
26423
26424 2010-07-27 Andreas Schwab <schwab@redhat.com>
26425
26426 * manual/memory.texi (Malloc Tunable Parameters): Document
26427 M_PERTURB.
26428
26429 2010-07-26 Roland McGrath <roland@redhat.com>
26430
26431 [BZ #11840]
26432 * configure.in (-fgnu89-inline check): Set and substitute
26433 gnu89_inline, not libc_cv_gnu89_inline.
26434 * configure: Regenerated.
26435 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26436
26437 2010-07-26 Ulrich Drepper <drepper@redhat.com>
26438
26439 * string/test-strnlen.c: New file.
26440 * string/Makefile (strop-tests): Add strnlen.
26441 * string/tester.c (test_strnlen): Add a few more test cases.
26442 * string/tst-strlen.c: Better error reporting.
26443
26444 * sysdeps/x86_64/strnlen.S: New file.
26445
26446 2010-07-24 Ulrich Drepper <drepper@redhat.com>
26447
26448 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26449 lower-latency instructions.
26450
26451 2010-07-23 Ulrich Drepper <drepper@redhat.com>
26452
26453 * string/test-strcasestr.c: New file.
26454 * string/test-strstr.c: New file.
26455 * string/Makefile (strop-tests): Add strstr and strcasestr.
26456 * string/str-two-way.h: Don't undefine MAX.
26457 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26458
26459 2010-07-21 Andreas Schwab <schwab@redhat.com>
26460
26461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26462 strcasestr-nonascii.
26463 (CFLAGS-strcasestr-nonascii.c): Define.
26464 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26465 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26466 Remove unused attribute.
26467
26468 2010-07-20 Roland McGrath <roland@redhat.com>
26469
26470 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26471 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26472 ld.so.cache was broken. With it, there is no way to disable dsocaps
26473 like LD_HWCAP_MASK can disable hwcaps.
26474
26475 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26476
26477 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26478
26479 2010-07-16 Ulrich Drepper <drepper@redhat.com>
26480
26481 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26482 call in strcasestr.
26483 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26484 __strcasestr_sse42_nonascii.
26485 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26486 strcasestr-nonascii.c.
26487 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26488
26489 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
26490
26491 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26493 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26494 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26495
26496 2010-07-09 Ulrich Drepper <drepper@redhat.com>
26497
26498 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26499 fcntl.
26500
26501 2010-07-06 Andreas Schwab <schwab@redhat.com>
26502
26503 [BZ #11577]
26504 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26505 dl_signal_cerror.
26506
26507 2010-07-06 Ulrich Drepper <drepper@redhat.com>
26508
26509 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26510 _PC_PIPE_BUF using F_GETPIPE_SZ.
26511
26512 2010-07-05 Roland McGrath <roland@redhat.com>
26513
26514 * manual/arith.texi (Rounding Functions): Fix rint description
26515 implicit in round description.
26516
26517 2010-07-02 Ulrich Drepper <drepper@redhat.com>
26518
26519 * elf/Makefile: Fix linking for a few tests to make recent linker
26520 happy.
26521
26522 2010-06-30 Andreas Schwab <schwab@redhat.com>
26523
26524 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26525 $(common-objpfx)libc_nonshared.a.
26526
26527 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
26528
26529 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26530 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26531 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26532 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26533 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26534 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26535 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26536 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26551 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26552 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26553 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26554 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26555 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26556 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26557 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26558 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26559 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26560 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26561 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26562 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26577
26578 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26579
26580 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26581 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26582 * string/memmove.c (memmove): Renamed to ...
26583 (MEMMOVE): ...this. Default to memmove.
26584 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26585 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26586 (END_CHK): Define.
26587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26588 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26589 mempcpy-ssse3-back memmove-ssse3-back.
26590 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26593 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26594 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26595 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26596 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26597 * sysdeps/x86_64/multiarch/memmove.c: New file.
26598 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26599 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26600 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26601 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26602 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26603 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26604 Define.
26605 (index_Fast_Copy_Backward): Define.
26606 (HAS_ARCH_FEATURE): Define.
26607 (HAS_FAST_REP_STRING): Define.
26608 (HAS_FAST_COPY_BACKWARD): Define.
26609
26610 2010-06-21 Andreas Schwab <schwab@redhat.com>
26611
26612 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26613 Restore proper fallback handling.
26614
26615 2010-06-19 Ulrich Drepper <drepper@redhat.com>
26616
26617 [BZ #11701]
26618 * posix/group_member.c (__group_member): Correct checking loop.
26619
26620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26621 OOM in getpwuid_r correctly. Return error number when the caller
26622 should return, otherwise -1.
26623 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26624 call returning > 0 value.
26625 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26626
26627 2010-06-07 Andreas Schwab <schwab@redhat.com>
26628
26629 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26630 libc_nonshared.a from targets in modules-names.
26631
26632 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26633
26634 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26635 requires it.
26636
26637 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
26638
26639 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26640 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26643
26644 2010-06-02 Andreas Schwab <schwab@redhat.com>
26645
26646 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26647
26648 2010-06-14 Ulrich Drepper <drepper@redhat.com>
26649
26650 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26651 and F_GETPIPE_SZ.
26652 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26657 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26658
26659 2010-06-14 Roland McGrath <roland@redhat.com>
26660
26661 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26662
26663 2010-06-07 Jakub Jelinek <jakub@redhat.com>
26664
26665 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26666 __REDIRECT followed by __THROW.
26667 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26668 * posix/getopt.h (getopt): Likewise.
26669
26670 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26671
26672 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26673 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26674 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26675 in AT_FLAGS.
26676 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26677 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26678
26679 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
26680
26681 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26682
26683 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26684
26685 [BZ #11640]
26686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26687 Properly check family and model.
26688
26689 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26690
26691 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26692
26693 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
26694
26695 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26696
26697 2010-05-21 Ulrich Drepper <drepper@redhat.com>
26698
26699 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26700 symbol reference.
26701
26702 2010-05-19 Andreas Schwab <schwab@redhat.com>
26703
26704 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26705 symbol reference.
26706
26707 2010-05-21 Andreas Schwab <schwab@redhat.com>
26708
26709 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26710 and internal_recvmmsg.
26711 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26712 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26713 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26714 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26715
26716 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26717 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26718 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26719
26720 2010-05-20 Andreas Schwab <schwab@redhat.com>
26721
26722 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26723
26724 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
26725
26726 POWER7 optimizations.
26727 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26728 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26729
26730 2010-05-19 Ulrich Drepper <drepper@redhat.com>
26731
26732 * version.h: Update for 2.13 development version.
26733
26734 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
26735
26736 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26737 exceptions. Return 0.
26738
26739 2010-05-07 Roland McGrath <roland@redhat.com>
26740
26741 * elf/ldconfig.c (main): Add a const.
26742
26743 2010-05-06 Ulrich Drepper <drepper@redhat.com>
26744
26745 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26746 (args_options): Add no-idn option.
26747 (ahosts_keys_int): Add idn_flags to ai_flags.
26748 (parse_option): Handle 'i' option to clear idn_flags.
26749
26750 * malloc/malloc.c (_int_free): Possible race in the most recently
26751 added check. Only act on the data if no current modification
26752 happened.
26753
26754 See ChangeLog.17 for earlier changes.