]> sourceware.org Git - glibc.git/blame - ChangeLog
Use <bits/mman-linux.h> for MIPS
[glibc.git] / ChangeLog
CommitLineData
67525cb8
AJ
12013-03-06 Andreas Jaeger <aj@suse.de>
2
664a9ce4
AJ
3 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4 definition via __MAP_ANONYMOUS.
5
8e39047d
AJ
6 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7 it's not part of Linux headers.
8
67525cb8
AJ
9 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10 (MAP_HUGE_MASK): Define.
11
12 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13 Define.
14 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16 Define.
17 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19 Define.
20 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22 Define.
23 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24
25 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31
32 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33 Handle f2fs.
34
35 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36 Handle f2fs and efivarfs.
37
38 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39 f2fs.
40
41 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
42 (EFIVARFS_MAGIC): Add.
43 (F2FS_LINK_MAX): Add.
44
e1b42695
PP
452013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46
47 * stdio-common/vfprintf.c: Replace __builtin_expect with
48 __glibc_unlikely.
49
2d67d91a
JM
502013-03-06 Joseph Myers <joseph@codesourcery.com>
51
52 [BZ #13550]
53 * sysdeps/generic/bp-sym.h: Remove file.
54 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56 <bp-sym.h> and <bp-asm.h>.
57 (__longjmp): Don't use BP_SYM.
58 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59 and <bp-asm.h>.
60 (memcpy): Don't use BP_SYM.
61 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62 <bp-sym.h> and <bp-asm.h>.
63 (memcpy): Don't use BP_SYM.
64 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
65 <bp-asm.h>.
66 (memcpy): Don't use BP_SYM.
67 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68 <bp-asm.h>.
69 (memset): Don't use BP_SYM.
70 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
71 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
72 (__bzero): Don't use BP_SYM.
73 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
74 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
75 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
76 <bp-sym.h> and <bp-asm.h>.
77 (memcmp): Don't use BP_SYM. Remove comment about bounded
78 pointers.
79 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
80 <bp-sym.h> and <bp-asm.h>.
81 (memcpy): Don't use BP_SYM.
82 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
83 <bp-sym.h> and <bp-asm.h>.
84 (memset): Don't use BP_SYM.
85 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
86 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
87 (__bzero): Don't use BP_SYM.
88 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
89 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
90 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
91 <bp-sym.h> and <bp-asm.h>.
92 (strncmp): Don't use BP_SYM. Remove comment about bounded
93 pointers.
94 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
95 <bp-sym.h> and <bp-asm.h>.
96 (memcpy): Don't use BP_SYM.
97 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
98 <bp-sym.h> and <bp-asm.h>.
99 (memset): Don't use BP_SYM.
100 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
101 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
102 (__bzero): Don't use BP_SYM.
103 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
104 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
105 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
106 <bp-sym.h> and <bp-asm.h>.
107 (__memchr): Don't use BP_SYM.
108 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
109 <bp-sym.h> and <bp-asm.h>.
110 (memcmp): Don't use BP_SYM. Remove comment about bounded
111 pointers.
112 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
113 <bp-sym.h> and <bp-asm.h>.
114 (memcpy): Don't use BP_SYM.
115 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
116 <bp-sym.h> and <bp-asm.h>.
117 (__mempcpy): Don't use BP_SYM.
118 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
119 <bp-sym.h> and <bp-asm.h>.
120 (__memrchr): Don't use BP_SYM.
121 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
122 <bp-sym.h> and <bp-asm.h>.
123 (memset): Don't use BP_SYM.
124 (__bzero): Likewise.
125 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
126 <bp-sym.h> and <bp-asm.h>.
127 (__rawmemchr): Don't use BP_SYM.
128 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
129 <bp-sym.h> and <bp-asm.h>.
130 (__STRCMP): Don't use BP_SYM.
131 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
132 <bp-sym.h> and <bp-asm.h>.
133 (strchr): Don't use BP_SYM.
134 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
135 <bp-sym.h> and <bp-asm.h>.
136 (__strchrnul): Don't use BP_SYM.
137 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
138 <bp-sym.h> and <bp-asm.h>.
139 (strlen): Don't use BP_SYM.
140 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
141 <bp-sym.h> and <bp-asm.h>.
142 (strncmp): Don't use BP_SYM. Remove comment about bounded
143 pointers.
144 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
145 <bp-sym.h> and <bp-asm.h>.
146 (__strnlen): Don't use BP_SYM.
147 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
148 <bp-sym.h> and <bp-asm.h>.
149 (__GI__setjmp): Don't use BP_SYM.
150 (_setjmp): Likewise.
151 (__sigsetjmp): Likewise.
152 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
153 (L(start_addresses)): Don't use BP_SYM.
154 (_start): Likewise.
155 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
156 <bp-asm.h>.
157 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
158 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
159 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
160 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
161 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
162 <bp-asm.h>.
163 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
164 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
165 about bounded pointers.
166 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
167 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
168 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
169 <bp-asm.h>.
170 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
171 about bounded pointers. Remove GKM FIXME comments.
172 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
173 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
174 <bp-asm.h>.
175 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
176 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
177 Remove GKM FIXME comments.
178 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
179 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
180 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
181 <bp-asm.h>.
182 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
183 about bounded pointers. Remove GKM FIXME comment.
184 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
185 and <bp-asm.h>.
186 (strncmp): Don't use BP_SYM. Remove comment about bounded
187 pointers.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
189 <bp-sym.h> and <bp-asm.h>.
190 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
192 <bp-sym.h> and <bp-asm.h>.
193 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
194 comment.
195
cdcf361f
PP
1962013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
197
198 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
199 call free(NULL).
200
3c4a2b15
DM
2012013-03-05 David S. Miller <davem@davemloft.net>
202
203 * po/es.po: Update from translation team.
204
cdcf361f 2052013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
206
207 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
208 <bits/mman-linux.h>.
209 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
210 is fine.
211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
212 <bits/mman-linux.h> to end of file.
213 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
214 is fine.
215 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
216 <bits/mman-linux.h> to end of file.
217 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
218 is fine.
219 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
220 <bits/mman-linux.h> to end of file.
221
222 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
223 (MCL_CURRENT, MCL_FUTURE): Define here.
224
5f67c04f
AK
2252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
226
8a4473cc 227 [BZ #15232]
5f67c04f
AK
228 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
229 attribute_hidden.
230 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
231
c3e94a95
AK
2322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
233
234 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
235 fourth parameter needed for rt_sigprocmask syscall.
236 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
237 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
238 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
239 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
240 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
241 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
242
cfb6382a
JM
2432013-03-04 Joseph Myers <joseph@codesourcery.com>
244
245 [BZ #13550]
246 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
247 comment about bounded pointers.
248 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
249 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
250
539d8e01
AJ
2512013-03-04 Andreas Jaeger <aj@suse.de>
252
253 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
254 common definitions.
255
256 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
257 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
258 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
259 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
261 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
262
2e167a70 2632013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
264
265 [BZ #15055]
266 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
267 __ieee754_sqrl instead of __sqrl.
268
68508633
JM
2692013-03-01 Joseph Myers <joseph@codesourcery.com>
270
271 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
272 * sysdeps/powerpc/fpu_control.h: ... here.
273 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
274 * sysdeps/powerpc/bits/fenvinline.h: ... here.
275 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
276 * sysdeps/powerpc/bits/mathinline.h: ... here.
277
7775448e
RM
2782013-03-01 Roland McGrath <roland@hack.frob.com>
279
280 * elf/dl-hwcaps.c (_dl_important_hwcaps):
281 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
282 to just [NEED_DL_SYSINFO_DSO].
283 * elf/dl-support.c: Likewise.
284 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
285 * elf/rtld.c (dl_main): Likewise.
286 * elf/setup-vdso.h (setup_vdso): Likewise.
287 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
288 * sysdeps/unix/sysv/linux/dl-sysdep.c
289 (_dl_discover_osversion): Likewise.
290
4e9b5995
CD
2912013-03-01 Carlos O'Donell <carlos@redhat.com>
292
293 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
294 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
295
e23872c8
SP
2962013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
297
e5c74c63
SP
298 * NEWS: Mention libm performance improvements and non-x86 PI
299 futex support.
300
e23872c8
SP
301 * csu/libc-start.c (__pthread_initialize_minimal): Change
302 function arguments.
303 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
304
b5510883
JM
3052013-02-28 Joseph Myers <joseph@codesourcery.com>
306
307 [BZ #13550]
308 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
309 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
310 <bp-sym.h> and <bp-asm.h>.
311 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
312 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
313 and <bp-asm.h>.
314 (memcpy): Don't use BP_SYM.
315 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
316 <bp-asm.h>.
317 (__mpn_add_n): Don't use BP_SYM.
318 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
319 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
320 and <bp-asm.h>.
321 (__mpn_addmul_1): Don't use BP_SYM.
322 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
323 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
324 <bp-sym.h>.
325 (_setjmp): Don't use BP_SYM.
326 (__novmx_setjmp): Likewise.
327 (__GI__setjmp): Likewise.
328 (__vmx_setjmp): Likewise.
329 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
330 <bp-sym.h>.
331 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
332 (__bzero): Don't use BP_SYM.
333 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
334 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
335 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
336 <bp-sym.h> and <bp-asm.h>.
337 (memcpy): Don't use BP_SYM.
338 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
339 <bp-sym.h> and <bp-asm.h>.
340 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
341 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
342 <bp-sym.h> and <bp-asm.h>.
343 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
344 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
345 <bp-asm.h>.
346 (__mpn_lshift): Don't use BP_SYM.
347 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
348 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
349 <bp-asm.h>.
350 (memset): Don't use BP_SYM.
351 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
352 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
353 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
354 <bp-asm.h>.
355 (__mpn_mul_1): Don't use BP_SYM.
356 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
357 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
358 <bp-sym.h> and <bp-asm.h>.
359 (memcmp): Don't use BP_SYM.
360 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
361 <bp-sym.h> and <bp-asm.h>.
362 (memcpy): Don't use BP_SYM.
363 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
364 <bp-sym.h> and <bp-asm.h>.
365 (memset): Don't use BP_SYM.
366 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
367 <bp-sym.h> and <bp-asm.h>.
368 (strncmp): Don't use BP_SYM.
369 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
370 <bp-sym.h> and <bp-asm.h>.
371 (memcpy): Don't use BP_SYM.
372 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
373 <bp-sym.h> and <bp-asm.h>.
374 (memset): Don't use BP_SYM.
375 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
376 <bp-sym.h> and <bp-asm.h>.
377 (__memchr): Don't use BP_SYM.
378 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
379 <bp-sym.h> and <bp-asm.h>.
380 (memcmp): Don't use BP_SYM.
381 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
382 <bp-sym.h> and <bp-asm.h>.
383 (memcpy): Don't use BP_SYM.
384 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
385 <bp-sym.h> and <bp-asm.h>.
386 (__mempcpy): Don't use BP_SYM.
387 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
388 <bp-sym.h> and <bp-asm.h>.
389 (__memrchr): Don't use BP_SYM.
390 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
391 <bp-sym.h> and <bp-asm.h>.
392 (memset): Don't use BP_SYM.
393 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
394 <bp-sym.h> and <bp-asm.h>.
395 (__rawmemchr): Don't use BP_SYM.
396 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
397 <bp-sym.h> and <bp-asm.h>.
398 (__STRCMP): Don't use BP_SYM.
399 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
400 <bp-sym.h> and <bp-asm.h>.
401 (strchr): Don't use BP_SYM.
402 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
403 <bp-sym.h> and <bp-asm.h>.
404 (__strchrnul): Don't use BP_SYM.
405 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
406 <bp-sym.h> and <bp-asm.h>.
407 (strlen): Don't use BP_SYM.
408 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
409 <bp-sym.h> and <bp-asm.h>.
410 (strncmp): Don't use BP_SYM.
411 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
412 <bp-sym.h> and <bp-asm.h>.
413 (__strnlen): Don't use BP_SYM.
414 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
415 <bp-asm.h>.
416 (__mpn_rshift): Don't use BP_SYM.
417 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
418 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
419 <bp-sym.h> and <bp-asm.h>.
420 (__sigsetjmp): Don't use BP_SYM.
421 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
422 (L(start_addresses)): Don't use BP_SYM.
423 (_start): Likewise.
424 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
425 <bp-asm.h>.
426 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
427 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
428 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
429 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
430 <bp-asm.h>.
431 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
432 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
433 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
434 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
435 <bp-asm.h>.
436 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
437 comments.
438 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
439 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
440 <bp-asm.h>.
441 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
442 FIXME comments.
443 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
444 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
445 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
446 <bp-asm.h>.
447 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
448 comment.
449 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
450 and <bp-asm.h>.
451 (strncmp): Don't use BP_SYM,
452 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
453 <bp-asm.h>.
454 (__mpn_sub_n): Don't use BP_SYM.
455 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
456 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
457 and <bp-asm.h>.
458 (__mpn_submul_1): Don't use BP_SYM.
459 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
461 <bp-sym.h> and <bp-asm.h>.
462 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
464 <bp-sym.h> and <bp-asm.h>.
465 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
466 comment.
467
8d19fe64
SP
4682013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
469
470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
471 Use ZK to minimize writes to Z.
472 (sub_magnitudes): Simplify code a bit.
473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
474 Use ZK to minimize writes to Z.
475 (sub_magnitudes): Simplify code a bit.
476
85bd816a
RM
4772013-02-27 Roland McGrath <roland@hack.frob.com>
478
479 * csu/gmon-start.c: Add special exception to license text.
480
b5977bf2
RH
4812013-02-27 Richard Henderson <rth@redhat.com>
482
483 * scripts/config.guess: Update from config.git.
484 * scripts/config.sub: Likewise.
485
11d6e2f2
SP
4862013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
487
09c14ed2
SP
488 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
489
a688864e
SP
490 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
491
6295157a
SP
492 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
493
b8de2202
SP
494 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
495
11d6e2f2
SP
496 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
497
7e80ddb8
RM
4982013-02-26 Roland McGrath <roland@hack.frob.com>
499
500 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
501 [$(build-shared = yes].
7e80ddb8 502
7da6d9ed
SP
5032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
504
45f05884
SP
505 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
506 (__mul): Reduce iterations for calculating mantissa.
507
2236d359
SP
508 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
509 MPTWO.
510 (__mpranred): Likewise.
511
7da6d9ed
SP
512 [BZ #15160]
513 * malloc/memusagestat.c (main): Draw graphs for heap and stack
514 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
515
b7688c42
PE
5162013-02-26 Paul Eggert <eggert@cs.ucla.edu>
517
518 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
519 Define __attribute__.
520
53a5c423
SP
5212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
522
523 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
524 unused.
525 * posix/regex_internal.h (__attribute): Remove.
526 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
527 (re_string_context_at): Likewise.
528 (bitset_not): Use __attribute__ and mark function as possibly
529 unused.
530 (bitset_merge): Likewise.
531 (bitset_mask): Likewise.
532 (re_string_char_size_at): Likewise.
533 (re_string_wchar_at): Likewise.
534 (re_string_elem_size_at): Likewise.
535
60f5a8b5
SP
5362013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
537
2a983a2e
SP
538 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
539 code.
540 (cc32): Likewise.
541
e69804d1
SP
542 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
543 (__acr): Likewise.
544 (__cpy): Likewise.
545 (norm): Likewise.
546 (denorm): Likewise.
547 (__dbl_mp): Likewise.
548 (add_magnitudes): Likewise.
549 (sub_magnitudes): Likewise.
550 (__mul): Likewise.
551 (__inv): Likewise.
552
2f22a1e8
SP
553 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
554 style.
555
8930ddc7
SP
556 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
557 style.
558
dc60cb11
SP
559 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
560 code.
561
60f5a8b5
SP
562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
563 up changes with default code.
564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
565 Likewise.
566
b4d1fd33
AM
5672013-02-24 Allan McRae <allan@archlinux.org>
568
faf6f8bc
AM
569 * manual/socket.texi (The Internet Namespace): Order menu items
570 to match that in the file.
571
b4d1fd33
AM
572 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
573 node listing of the info page menu.
574
2366713d
JM
5752013-02-21 Joseph Myers <joseph@codesourcery.com>
576
577 [BZ #13550]
578 * sysdeps/i386/bp-asm.h: Remove file.
579 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
580 (PARMS): Do not use macros from bp-asm.h.
581 (S1): Likewise.
582 (S2): Likewise.
583 (SIZE): Likewise.
584 (__mpn_add_n): Do not use BP_SYM
585 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
586 "bp-asm.h".
587 (PARMS): Do not use macros from bp-asm.h.
588 (S1): Likewise.
589 (SIZE): Likewise.
590 (__mpn_addmul_1): Do not use BP_SYM
591 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
592 "bp-asm.h".
593 (PARMS): Do not use macros from bp-asm.h.
594 (SIGMSK): Likewise.
595 (_setjmp): Likewise. Do not use BP_SYM.
596 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
597 "bp-asm.h".
598 (PARMS): Do not use macros from bp-asm.h.
599 (SIGMSK): Likewise.
600 (setjmp): Likewise. Do not use BP_SYM.
601 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
602 "bp-asm.h".
603 (PARMS): Do not use macros from bp-asm.h.
604 (__frexp): Do not use BP_SYM.
605 (frexp): Likewise.
606 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
607 "bp-asm.h".
608 (PARMS): Do not use macros from bp-asm.h.
609 (__frexpf): Do not use BP_SYM.
610 (frexpf): Likewise.
611 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
612 "bp-asm.h".
613 (PARMS): Do not use macros from bp-asm.h.
614 (__frexpl): Do not use BP_SYM.
615 (frexpl): Likewise.
616 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
617 "bp-asm.h".
618 (PARMS): Do not use macros from bp-asm.h.
619 (__remquo): Do not use BP_SYM.
620 (remquo): Likewise.
621 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
622 "bp-asm.h".
623 (PARMS): Do not use macros from bp-asm.h.
624 (__remquof): Do not use BP_SYM.
625 (remquof): Likewise.
626 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
627 "bp-asm.h".
628 (PARMS): Do not use macros from bp-asm.h.
629 (__remquol): Do not use BP_SYM.
630 (remquol): Likewise.
631 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
632 "bp-asm.h".
633 (PARMS): Do not use macros from bp-asm.h.
634 (DEST): Likewise.
635 (SRC): Likewise.
636 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
637 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
638 "bp-asm.h".
639 (PARMS): Do not use macros from bp-asm.h.
640 (strlen): Do not use BP_SYM.
641 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
642 "bp-asm.h".
643 (PARMS): Do not use macros from bp-asm.h.
644 (S1): Likewise.
645 (S2): Likewise.
646 (SIZE): Likewise.
647 (__mpn_add_n): Do not use BP_SYM.
648 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
649 "bp-asm.h".
650 (PARMS): Do not use macros from bp-asm.h.
651 (S1): Likewise.
652 (SIZE): Likewise.
653 (__mpn_addmul_1): Do not use BP_SYM.
654 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
655 weak_alias.
656 (bzero): Likewise.
657 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
658 "bp-asm.h".
659 (PARMS): Do not use macros from bp-asm.h.
660 (S): Likewise.
661 (SIZE): Likewise.
662 (__mpn_lshift): Do not use BP_SYM.
663 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
664 "bp-asm.h".
665 (PARMS): Do not use macros from bp-asm.h.
666 (DEST): Likewise.
667 (SRC): Likewise.
668 (LEN): Likewise.
669 (memcpy): Likewise. Do not use BP_SYM.
670 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
671 libc_hidden_def and weak_alias.
672 (mempcpy): Do not use BP_SYM in weak_alias.
673 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
674 "bp-asm.h".
675 (PARMS): Do not use macros from bp-asm.h.
676 (DEST): Likewise.
677 (LEN): Likewise.
678 [!BZERO_P] (CHR): Likewise.
679 (memset): Likewise. Do not use BP_SYM.
680 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
681 "bp-asm.h".
682 (PARMS): Do not use macros from bp-asm.h.
683 (S1): Likewise.
684 (SIZE): Likewise.
685 (__mpn_mul_1): Do not use BP_SYM.
686 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
687 "bp-asm.h".
688 (PARMS): Do not use macros from bp-asm.h.
689 (S): Likewise.
690 (SIZE): Likewise.
691 (__mpn_rshift): Do not use BP_SYM.
692 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
693 "bp-asm.h".
694 (PARMS): Do not use macros from bp-asm.h.
695 (STR): Likewise.
696 (CHR): Likewise.
697 (strchr): Likewise. Do not use BP_SYM.
698 (index): Do not use BP_SYM in weak_alias.
699 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
700 "bp-asm.h".
701 (PARMS): Do not use macros from bp-asm.h.
702 (DEST): Likewise.
703 (SRC): Likewise.
704 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
705 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
706 "bp-asm.h".
707 (PARMS): Do not use macros from bp-asm.h.
708 (strlen): Do not use BP_SYM.
709 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
710 "bp-asm.h".
711 (PARMS): Do not use macros from bp-asm.h.
712 (S1): Likewise.
713 (S2): Likewise.
714 (SIZE): Likewise.
715 (__mpn_sub_n): Do not use BP_SYM.
716 * sysdeps/i386/i586/submul_1.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 (SIZE): Likewise.
721 (__mpn_submul_1): Do not use BP_SYM.
722 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
723 "bp-asm.h".
724 (PARMS): Do not use macros from bp-asm.h.
725 (S1): Likewise.
726 (S2): Likewise.
727 (SIZE): Likewise.
728 (__mpn_add_n): Do not use BP_SYM.
729 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
730 weak_alias.
731 (bzero): Likewise.
732 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
733 "bp-asm.h".
734 (PARMS): Do not use macros from bp-asm.h.
735 (BLK2): Likewise.
736 (LEN): Likewise.
737 (memcmp): Do not use BP_SYM.
738 (bcmp): Do not use BP_SYM in weak_alias.
739 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
740 "bp-asm.h".
741 (PARMS): Do not use macros from bp-asm.h.
742 (DEST): Likewise.
743 (SRC): Likewise.
744 (LEN): Likewise.
745 (memcpy): Likewise. Do not use BP_SYM.
746 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
747 "bp-asm.h".
748 (PARMS): Do not use macros from bp-asm.h.
749 (DEST): Likewise.
750 (SRC): Likewise.
751 (LEN): Likewise.
752 (memmove): Likewise. Do not use BP_SYM.
753 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
754 "bp-asm.h".
755 (PARMS): Do not use macros from bp-asm.h.
756 (DEST): Likewise.
757 (SRC): Likewise.
758 (LEN): Likewise.
759 (__mempcpy): Likewise. Do not use BP_SYM.
760 (mempcpy): Do not use BP_SYM in weak_alias.
761 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
762 "bp-asm.h".
763 (PARMS): Do not use macros from bp-asm.h.
764 (DEST): Likewise.
765 (LEN): Likewise.
766 [!BZERO_P] (CHR): Likewise.
767 (memset): Likewise. Do not use BP_SYM.
768 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
769 "bp-asm.h".
770 (PARMS): Do not use macros from bp-asm.h.
771 (STR2): Likewise.
772 (strcmp): Do not use BP_SYM.
773 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
774 "bp-asm.h".
775 (PARMS): Do not use macros from bp-asm.h.
776 (STR): Likewise.
777 (DELIM): Likewise.
778 [USE_AS_STRTOK_R] (SAVE): Likewise.
779 (FUNCTION): Likewise. Do not use BP_SYM.
780 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
781 aliases.
782 (strtok_r): Likewise.
783 (__GI___strtok_r): Likewise.
784 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
785 (PARMS): Do not use macros from bp-asm.h.
786 (S): Likewise.
787 (SIZE): Likewise.
788 (__mpn_lshift): Do not use BP_SYM.
789 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
790 (PARMS): Do not use macros from bp-asm.h.
791 (STR): Likewise.
792 (CHR): Likewise.
793 (__memchr): Do not use BP_SYM.
794 (memchr): Do not use BP_SYM in weak_alias.
795 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
796 (PARMS): Do not use macros from bp-asm.h.
797 (BLK2): Likewise.
798 (LEN): Likewise.
799 (memcmp): Do not use BP_SYM.
800 (bcmp): Do not use BP_SYM in weak_alias.
801 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
802 (PARMS): Do not use macros from bp-asm.h.
803 (S1): Likewise.
804 (SIZE): Likewise.
805 (__mpn_mul_1): Do not use BP_SYM.
806 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
807 "bp-asm.h".
808 (PARMS): Do not use macros from bp-asm.h.
809 (STR): Likewise.
810 (CHR): Likewise.
811 (__rawmemchr): Do not use BP_SYM.
812 (rawmemchr): Do not use BP_SYM in weak_alias.
813 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
814 (PARMS): Do not use macros from bp-asm.h.
815 (S): Likewise.
816 (SIZE): Likewise.
817 (__mpn_rshift): Do not use BP_SYM.
818 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
819 (PARMS): Do not use macros from bp-asm.h.
820 (SIGMSK): Likewise.
821 (__sigsetjmp): Likewise. Do not use BP_SYM.
822 * sysdeps/i386/start.S: Do not include "bp-sym.h".
823 (_start): Do not use BP_SYM.
824 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
825 (PARMS): Do not use macros from bp-asm.h.
826 (DEST): Likewise.
827 (SRC): Likewise.
828 (__stpcpy): Likewise. Do not use BP_SYM.
829 (stpcpy): Do not use BP_SYM in weak_alias.
830 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
831 "bp-asm.h".
832 (PARMS): Do not use macros from bp-asm.h.
833 (DEST): Likewise.
834 (SRC): Likewise.
835 (LEN): Likewise.
836 (__stpncpy): Likewise. Do not use BP_SYM.
837 (stpncpy): Do not use BP_SYM in weak_alias.
838 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
839 (PARMS): Do not use macros from bp-asm.h.
840 (STR): Likewise.
841 (CHR): Likewise.
842 (strchr): Likewise. Do not use BP_SYM.
843 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
844 "bp-asm.h".
845 (PARMS): Do not use macros from bp-asm.h.
846 (STR): Likewise.
847 (CHR): Likewise.
848 (__strchrnul): Likewise. Do not use BP_SYM.
849 (strchrnul): Do not use BP_SYM in weak_alias.
850 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
851 "bp-asm.h".
852 (PARMS): Do not use macros from bp-asm.h.
853 (STOP): Likewise.
854 (strcspn): Do not use BP_SYM.
855 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
860 (strpbrk): Likewise. Do not use BP_SYM.
861 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
862 "bp-asm.h".
863 (PARMS): Do not use macros from bp-asm.h.
864 (STR): Likewise.
865 (CHR): Likewise.
866 (strrchr): Likewise. Do not use BP_SYM.
867 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
868 (PARMS): Do not use macros from bp-asm.h.
869 (SKIP): Likewise.
870 (strspn): Do not use BP_SYM.
871 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
872 (PARMS): Do not use macros from bp-asm.h.
873 (STR): Likewise.
874 (DELIM): Likewise.
875 (SAVE): Likewise.
876 (FUNCTION): Likewise. Do not use BP_SYM.
877 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
878 aliases.
879 (strtok_r): Likewise.
880 (__GI___strtok_r): Likewise.
881 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
882 (PARMS): Do not use macros from bp-asm.h.
883 (S1): Likewise.
884 (S2): Likewise.
885 (SIZE): Likewise.
886 (__mpn_sub_n): Do not use BP_SYM.
887 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
888 "bp-asm.h".
889 (PARMS): Do not use macros from bp-asm.h.
890 (S1): Likewise.
891 (SIZE): Likewise.
892 (__mpn_submul_1): Do not use BP_SYM.
893 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
894 <bp-sym.h>.
895 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
896 and <bp-asm.h>.
897 (PARMS): Do not use macros from bp-asm.h.
898 (FLAGS): Likewise.
899 (PTID): Likewise.
900 (TLS): Likewise.
901 (CTID): Likewise.
902 (__clone): Do not use BP_SYM.
903 (clone): Do not use BP_SYM in weak_alias.
904 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
905 and <bp-asm.h>.
906 (PARMS): Do not use macros from bp-asm.h.
907 (LEN): Likewise.
908 (__mmap64): Do not use BP_SYM.
909 (mmap64): Do not use BP_SYM in weak_alias.
910 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
911 <bp-sym.h> and <bp-asm.h>.
912 (PARMS): Do not use macros from bp-asm.h.
913 (__posix_fadvise64_l64): Do not use BP_SYM.
914 * sysdeps/unix/sysv/linux/i386/semtimedop.S
915 (PARMS): Do not use macros from bp-asm.h.
916 (NSOPS): Likewise.
917 (semtimedop): Do not use BP_SYM.
918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
919 and <bp-asm.h>.
920
582a3cff
AM
9212013-02-21 Allan McRae <allan@archlinux.org>
922
923 * manual/message.texi (Charset conversion in gettext):
924 Move @end statement to beginning of line.
925
bab8a695
SP
9262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
927
80945231
SP
928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
929 static.
930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
931 Likewise.
932
bab8a695
SP
933 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
934 (denorm): Likewise.
935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
937
e21d7aa7
AK
9382013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
939
940 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
941 tail-call to the resolved function if pltexit isn't needed.
942
4c7a4263
SP
9432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
944
945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
946 or Y being zero as being unlikely.
947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
948 Likewise.
949
41f49342
CD
9502013-02-20 Carlos O'Donell <carlos@redhat.com>
951
952 * manual/nss.texi (System Databases and Name Service Switch):
953 Remove frobnicate @pxref.
954
50022a93
TS
9552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
956
957 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
958 __attribute__ ((unused)) to __attribute__ ((__unused__)).
959
08cbd996
PM
9602013-02-20 Petr Machata <pmachata@redhat.com>
961
962 * elf/elf.h (R_ARM_TARGET1): New macro.
963 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
964 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
965 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
966 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
967 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
968 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
969 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
970 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
971 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
972 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
973 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
974 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
975 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
976 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
977 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
978 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
979 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
980 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
981 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
982 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
983 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
984 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
985 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
986 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
987 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
988 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
989 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
990 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
991 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
992 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
993 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
994 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
995 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
996 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
997 (R_ARM_THM_GOT_BREL12): Likewise.
998 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
999 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1000 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1001 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1002 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1003 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1004 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1005 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1006 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1007
c7b275d6
TS
10082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1009
1010 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1011 __attribute_used__ to __attribute__ ((unused)).
1012
20cd7fb3
SP
10132013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1014
1015 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1016 powerpc mpa.c.
1017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1018 comment formatting.
1019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1020
92945b52
JM
10212013-02-19 Joseph Myers <joseph@codesourcery.com>
1022
1023 [BZ #13550]
1024 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1025 Remove macro.
1026 (ENTER): Remove both macro definitions.
1027 (LEAVE): Likewise.
1028 (CHECK_BOUNDS_LOW): Likewise.
1029 (CHECK_BOUNDS_HIGH): Likewise.
1030 (CHECK_BOUNDS_BOTH): Likewise.
1031 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1032 (RETURN_BOUNDED_POINTER): Likewise.
1033 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1034 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1035 (POP_ERRNO_LOCATION_RETURN): Likewise.
1036 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1037 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1038 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1039 macros.
1040 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1041 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1042 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1043 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1044 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1045 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1046 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1047 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1048 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1049 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1050 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1051 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1052 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1053 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1054 removed macros.
1055 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1056 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1057 macros.
1058 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1059 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1060 * sysdeps/i386/i586/memset.S (memset): Likewise.
1061 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1062 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1063 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1064 macros.
1065 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1066 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1067 Change uses of L(2) to L(out).
1068 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1069 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1070 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1071 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1072 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1073 removed macros.
1074 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1075 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1076 macros.
1077 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1078 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1079 (RETURN): Do not use macro LEAVE.
1080 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1081 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1082 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1083 * sysdeps/i386/i686/memset.S (memset): Likewise.
1084 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1085 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1086 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1087 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1088 Likewise.
1089 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1090 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1091 L(1_2) and L(1_3) into L(1).
1092 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1093 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1094 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1095 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1096 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1097 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1098 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1099 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1100 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1101 macros.
1102 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1103 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1104 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1105 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1106 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1107 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1108 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1109 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1110 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1111 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1112 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1113 * sysdeps/i386/strspn.S (strspn): Likewise.
1114 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1115 conditional code.
1116 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1117 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1118 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1119 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1120 L(1_3) into L(1_1).
1121 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1122 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1123 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1124 macros.
1125 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1126
2389741a
JJ
11272013-02-19 Jakub Jelinek <jakub@redhat.com>
1128
1129 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1130 macro.
1131
2016b3cd
SP
11322013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1133
e4f22324
SP
1134 * math/atest-exp.c (exp_mpn): Remove ROUND.
1135 * math/atest-exp2.c (exp_mpn): Likewise.
1136 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1137
2016b3cd
SP
1138 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1139 * stdlib/tst-tls-atexit-lib.c: Likewise.
1140 * stdlib/tst-tls-atexit.c: Likewise.
1141
4be9b544
MF
11422013-02-18 Mike Frysinger <vapier@gentoo.org>
1143
1144 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1145 and __attribute_alloc_size__.
1146
2f62b9ee
MF
11472013-02-18 Mike Frysinger <vapier@gentoo.org>
1148
1149 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1150 __attribute_alloc_size__.
1151 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1152 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1153
6ff444c4
MF
11542013-02-18 Mike Frysinger <vapier@gentoo.org>
1155
1156 * include/programs/xmalloc.h: New file.
1157 * catgets/gencat.c: Include it.
1158 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1159 * elf/pldd.c: Likewise.
1160 * iconv/iconv_charmap.c: Likewise.
1161 * iconv/iconvconfig.c: Likewise.
1162 * iconv/strtab.c: Likewise.
1163 * locale/programs/locale.c: Likewise.
1164 * locale/programs/localedef.h: Likewise.
1165 * locale/programs/simple-hash.c: Likewise.
1166 * nscd/nscd.h: Likewise.
1167 * nss/makedb.c: Likewise.
1168 * sysdeps/generic/ldconfig.h: Likewise.
1169
be179c8a
SP
11702013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1171
ba384f6e
SP
1172 * Versions.def: Add GLIBC_2.18.
1173 * include/link.h (struct link_map): New member l_tls_dtor_count.
1174 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1175 (__call_tls_dtors): Likewise.
1176 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1177 __cxa_thread_atexit_impl.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1179 Likewise.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1181 Likewise.
1182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1183 Likewise.
1184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1185 Likewise.
1186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1188 Likewise.
1189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1190 Likewise.
1191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1193 Likewise.
1194 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1195 (tests): Add test case tst-tls-atexit.
1196 (modules-names): Add shared library for tst-tls-atexit.
1197 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1198 (GLIBC_PRIVATE): Add __call_tls_dtors.
1199 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1200 for libstdc++.
1201 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1202 * stdlib/tst-tls-atexit.c: New test case.
1203 * stdlib/tst-tls-atexit-lib.c: New test case.
1204
ffaa74cf 1205 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1206
be179c8a
SP
1207 * elf/Versions (ld): Add _dl_find_dso_for_object.
1208 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1209 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1210 (dl_open_worker): Use _dl_find_dso_for_object.
1211 * elf/dl-sym.c (do_sym): Likewise.
1212 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1213
f78b5caa
AK
12142013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1215
1216 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1217 Syntactic changes only.
1218 (_dl_runtime_profile): Do a tail-call to the resolved function.
1219
29691210
JM
12202013-02-17 Joseph Myers <joseph@codesourcery.com>
1221
1222 [BZ #13550]
1223 * sysdeps/x86_64/bp-asm.h: Remove file.
1224 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1225 <bp-sym.h> and <bp-asm.h>.
1226 (__clone): Do not use BP_SYM.
1227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1228 <bp-sym.h> and <bp-asm.h>.
1229 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1230 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1231 "bp-asm.h".
1232 (_setjmp): Do not use BP_SYM.
1233 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1234 "bp-asm.h".
1235 (setjmp): Do not use BP_SYM.
1236 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1237 libc_hidden_def.
1238 (mempcpy): Do not use BP_SYM in weak_alias.
1239 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1240 "bp-asm.h".
1241 (strchr): Do not use BP_SYM.
1242 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1243 "bp-asm.h".
1244 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1245 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1246 (_start): Do not use BP_SYM.
1247 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1248 "bp-asm.h".
1249 (strcat): Do not use BP_SYM.
1250 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1251 "bp-asm.h".
1252 (STRCMP): Do not use BP_SYM.
1253 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1254 "bp-asm.h".
1255 (STRCPY): Do not use BP_SYM.
1256 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1257 "bp-asm.h".
1258 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1259 "bp-asm.h".
1260 (FUNCTION): Do not use BP_SYM.
1261 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1262 weak_alias.
1263 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1264
f238fd19
AJ
12652013-02-17 Andreas Jaeger <aj@suse.de>
1266
1267 * time/Versions: Sort entries.
1268 * string/Versions: Likewise.
1269 * resolv/Versions: Likewise.
1270 * posix/Versions: Likewise.
1271 * iconv/Versions: Likewise.
1272 * elf/Versions: Likewise.
1273 * wcsmbs/Versions: Likewise.
1274
bd07f23c 12752013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1276
22af19f9
SP
1277 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1278 loop termination condition.
1279
4709fe76
SP
1280 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1281 variable to calculate EZ.
1282 (__sqr): Likewise.
2d0e0f29
SP
1283
1284 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1285 the lower precision input.
1286
daaa7713
JM
12872013-02-15 Joseph Myers <joseph@codesourcery.com>
1288
1289 [BZ #13550]
1290 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1291 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1292 (run-via-rtld-prefix): Do not handle %-bp tests.
1293 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1294 (all-object-suffixes): Remove .ob.
1295 (bppfx): Remove variable.
1296 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1297 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1298 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1299 [$(build-bounded) = yes] (libtype.ob): Likewise.
1300 * Makerules (elide-routines.ob): Remove variable.
1301 (do-tests-clean): Do not handle *-bp.out.
1302 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1303 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1304 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1305 (tests): Do not include $(tests-bp.out).
1306 (xtests): Do not include $(xtests-bp.out).
1307 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1308 [$(build-bounded) = yes] ($(addprefix
1309 $(objpfx),$(binaries-bounded))): Remove rule.
1310 ($(objpfx)%-bp.out): Remove rule.
1311 * config.make.in (build-bounded): Remove variable.
1312 * crypt/Makefile [$(build-bounded) = yes]
1313 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1314 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1315 append to variable.
1316 [$(build-bounded) = yes] (install-lib): Likewise.
1317 [$(build-bounded) = yes] (generated): Likewise.
1318 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1319 Remove rule.
1320 * intl/Makefile [$(build-bounded) = yes]
1321 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1322 * math/Makefile [$(build-bounded) = yes]
1323 ($(tests:%=$(objpfx)%-bp): Likewise.
1324 * misc/Makefile [$(build-bounded) = yes]
1325 ($(objpfx)tst-tsearch-bp): Likewise.
1326 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1327 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1328 Remove dependency.
1329 * string/Makefile (o-objects.ob): Remove variable.
1330 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1331 (CFLAGS-.ob): Remove variable.
1332 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1333 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1334 both definitions of variable.
1335 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1336 (ASFLAGS-.ob): Remove variable.
1337
e97ed6dd
JM
13382013-02-14 Joseph Myers <joseph@codesourcery.com>
1339
2bdd4ca6
JM
1340 [BZ #13550]
1341 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1342 Remove __BOUNDED_POINTERS__ from condition.
1343 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1344 * string/bits/string2.h [!__NO_STRING_INLINES &&
1345 !__BOUNDED_POINTERS__]: Likewise.
1346 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1347 Likewise.
1348 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1349 Remove conditional code.
1350 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1351 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1352 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1353 condition.
1354
e97ed6dd
JM
1355 [BZ #13550]
1356 * csu/libc-start.c: Do not include <bp-sym.h>.
1357 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1358 * elf/dl-open.c: Do not include <bp-sym.h>.
1359 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1360 * math/fegetenv.c: Do not include <bp-sym.h>.
1361 (fegetenv): Do not use BP_SYM in versioned symbols.
1362 * nptl/sysdeps/pthread/bits/libc-lockP.h
1363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1364 <bp-sym.h>.
1365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1366 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1368 (__pthread_mutex_destroy): Likewise.
1369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1370 (__pthread_mutex_lock): Likewise.
1371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1372 (__pthread_mutex_trylock): Likewise.
1373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1374 (__pthread_mutex_unlock): Likewise.
1375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1376 (__pthread_mutexattr_init): Likewise.
1377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1378 (__pthread_mutexattr_destroy): Likewise.
1379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1380 (__pthread_mutexattr_settype): Likewise.
1381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1382 (__pthread_rwlock_init): Likewise.
1383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1384 (__pthread_rwlock_destroy): Likewise.
1385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1386 (__pthread_rwlock_rdlock): Likewise.
1387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1388 (__pthread_rwlock_tryrdlock): Likewise.
1389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1390 (__pthread_rwlock_wrlock): Likewise.
1391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1392 (__pthread_rwlock_trywrlock): Likewise.
1393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1394 (__pthread_rwlock_unlock): Likewise.
1395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1396 (__pthread_key_create): Likewise.
1397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1398 (__pthread_setspecific): Likewise.
1399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1400 (__pthread_getspecific): Likewise.
1401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1402 Likewise.
1403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1404 (_pthread_cleanup_push_defer): Likewise.
1405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1406 (_pthread_cleanup_pop_restore): Likewise.
1407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1408 (pthread_setcancelstate): Likewise.
1409 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1410 <bp-sym.h>.
1411 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1412 (memchr): Do not use BP_SYM in weak_alias.
1413 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1414 (fegetenv): Do not use BP_SYM in versioned symbols.
1415 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1416 (fesetenv): Do not use BP_SYM in versioned symbols.
1417 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1418 (feupdateenv): Do not use BP_SYM in versioned symbols.
1419 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1420 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1421 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1422 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1423 (open64): Do not use BP_SYM in weak_alias.
1424 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1425 (fegetenv): Do not use BP_SYM in versioned symbols.
1426 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1427 (fesetenv): Do not use BP_SYM in versioned symbols.
1428 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1429 (feupdateenv): Do not use BP_SYM in versioned symbols.
1430 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1431 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1432 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1433 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1434 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1435 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1436 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1437 <bp-sym.h>.
1438 (__libc_start_main): Do not use BP_SYM.
1439
d6752ccd
SP
14402013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1441
cb57ce60
SP
1442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1443 redundant return line.
1444 (norm): Likewise.
1445 (denorm): Likewise.
1446 (dbl_mp): Likewise.
1447 (sub_magnitudes): Likewise.
1448 (__add): Likewise.
1449 (__sub): Likewise.
1450 (__mul): Likewise.
1451 (__inv): Likewise.
1452 (__dvd): Likewise.
1453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1454 (norm): Likewise.
1455 (denorm): Likewise.
1456 (dbl_mp): Likewise.
1457 (sub_magnitudes): Likewise.
1458 (__add): Likewise.
1459 (__sub): Likewise.
1460 (__mul): Likewise.
1461 (__inv): Likewise.
1462 (__dvd): Likewise.
1463
f414520d
SP
1464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1465 instead of __mul.
1466 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1467 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1468 (cc32): Likewise.
1469
d6752ccd
SP
1470 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1471 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1473 of __mul for squares.
1474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1475 function
1476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1477 Likewise.
1478 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1479 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1480
70d9946a
JM
14812013-02-13 Joseph Myers <joseph@codesourcery.com>
1482
1483 [BZ #13550]
1484 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1485 code.
1486 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1487 prototype or function definition. Rename ubp_* variables and
1488 parameters. Remove argv definitions conditional on
1489 [__BOUNDED_POINTERS__].
1490 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1491 * elf/dl-runtime.c (_dl_fixup): Likewise.
1492 * include/set-hooks.h (RUN_HOOK): Likewise.
1493 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1494 definition.
1495 * string/strcpy.c (strcpy): Do not use __unbounded.
1496 * sysdeps/generic/frame.h (struct layout): Likewise.
1497 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1498 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1499 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1500 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1501 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1502 (__backtrace): Likewise.
1503 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1504 use __ptrvalue.
1505 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1506 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1507 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1508 Likewise.
1509 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1510 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1511 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1512 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1513 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1514 Do not use __unbounded.
1515 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1516 Rename __unboundedrlimits parameter to rlimits in prototype.
1517 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1518 Do not use __unbounded.
1519 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1520 not use __ptrvalue.
1521 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1522 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1523 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1524 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1525 __ptrvalue or __unbounded.
1526 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1527 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1528 use __unbounded.
1529 (__new_msgctl): Do not use __ptrvalue.
1530 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1531 __unbounded.
1532 (__libc_msgrcv): Do not use __ptrvalue.
1533 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1534 startup_info): Do not use __unbounded.
1535 (__libc_start_main): Likewise. Rename ubp_* variables and
1536 parameters. Remove argv definitions conditional on
1537 [__BOUNDED_POINTERS__].
1538 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1539 __ptrvalue.
1540 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1541 use __unbounded.
1542 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1543 or __ptrvalue.
1544 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1545 use __unbounded.
1546 (__new_shmctl): Do not use __ptrvalue.
1547 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1548 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1551 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1552 (__libc_sigaction): Likewise.
1553 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1554 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1555 Likewise.
1556 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1557
cc7834d6
OB
15582013-02-13 Ondřej Bílka <neleai@seznam.cz>
1559
ffb1ec7b 1560 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1561
1562 * string/mempcpy.c: Implement by calling memcpy.
1563
bdf02814
SP
15642013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1565
c2af38aa
SP
1566 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1567
4e92d59e
SP
1568 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1569 evaluation.
1570
909279a5
SP
1571 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1572 values in the mantissa.
1573
bdf02814
SP
1574 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1575 minimize writes to Z.
1576 (sub_magnitudes): Simplify code a bit.
1577
cd525923
RM
15782013-02-12 Roland McGrath <roland@hack.frob.com>
1579
1580 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1581 from the message. The linker prefixes all warnings with that already.
1582
7e2f0d2d
AS
15832013-02-12 Andreas Schwab <schwab@suse.de>
1584
a445af0b
AS
1585 [BZ #15078]
1586 * posix/regexec.c (extend_buffers): Add parameter min_len.
1587 (check_matching): Pass minimum needed length.
1588 (clean_state_log_if_needed): Likewise.
1589 (get_subexp): Likewise.
1590 * posix/Makefile (tests): Add bug-regex34.
1591 (bug-regex34-ENV): Define.
1592 * posix/bug-regex34.c: New file.
1593
7e2f0d2d
AS
1594 [BZ #11561]
1595 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1596 elements compare against the byte sequence of it, not its name.
1597 * posix/Makefile (tests): Add bug-regex35.
1598 (bug-regex35-ENV): Define.
1599 * posix/bug-regex35.c: New file.
1600
a175b684
TV
16012013-02-11 Tom de Vries <tom@codesourcery.com>
1602
1603 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1604 comment.
1605 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1606 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1607 (CHECK_EOL): Add undef.
1608
310998fe 16092013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1610
1611 * bits/stdlib-bsearch.h: New file.
1612 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1613 * stdlib/stdlib.h: Likewise.
41eda41d 1614
8ded91fb
RM
16152013-02-11 Roland McGrath <roland@hack.frob.com>
1616
1617 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1618 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1619 declaration.
1620 * manual/search.texi (Array Search Function): Add missing const in
1621 lfind prototype.
1622 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1623 declaration to use rlim_t.
1624 (Basic Scheduling Functions): Remove erroneous const from
1625 sched_getparam prototype. Remove erroneous * from
1626 sched_get_priority_max and sched_get_priority_min prototypes.
1627 (Resource Usage): Fix summary @comment on vtimes to refer to
1628 sys/vtimes.h rather than vtimes.h.
1629 Add missing *s in vtimes prototype.
1630 (Limits on Resources): Fix ulimit prototype to return long int.
1631 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1632 prototypes to use long int rather than double.
1633 (BSD Random): Fix initstate and setstate to use char *, not void *.
1634 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1635 prototype to make second argument 'struct aiocb64 *const[]'.
1636 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1637 (Status of AIO Operations): Remove erroneous const in aio_return and
1638 aio_return64 prototypes.
1639 (Synchronizing I/O): Fix sync prototype to return void.
1640 * manual/startup.texi (Suboptions): Remove an erroneous const in
1641 getsubopt prototype.
1642 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1643 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1644 use size_t rather than int.
1645 (Scanning All Users): Likewise for getpwent_r.
1646 (Setting Groups): Add missing const to setgroups prototype.
1647 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1648 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1649 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1650 'const void *' rather than 'const char *'.
1651 (Host Address Functions): Likewise for inet_ntop.
1652 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1653 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1654 ssize_t for return value.
1655 (Sending Data): Likewise for send, sendto, sendmsg.
1656 (Socket Option Functions): Add a missing const in setsockopt prototype.
1657 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1658 use wchar_t for the argument.
1659 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1660 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1661 take no arguments.
1662 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1663 double/float/long double for second argument.
1664 Fix return types of significand, significandf, significandl.
1665 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1666 argument in fchmod prototype.
1667 (File Owner): Use uid_t and gid_t in fchown prototype.
1668 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1669 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1670 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1671 use 'const struct dirent **' as argument types to CMP function pointer
1672 argument.
1673 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1674 (File Times): Fix summary magic @comment for struct utimbuf and utime
1675 to refer to utime.h, not time.h.
1676 * manual/string.texi (Argz Functions): Add missing const in
1677 argz_extract and argz_next prototypes.
1678 (Finding Tokens in a String): Likewise for basename.
1679 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1680 (Copying and Concatenation): Fix typo in wmemmove prototype.
1681 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1682 (Signal Stack): Remove erroneous const in sigstack prototype.
1683 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1684 prototype.
1685 (Simple Calendar Time): Likewise for stime.
1686 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1687 prototype.
1688 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1689 say sys/sysctl.h instead.
1690 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1691 and vsyslog prototypes.
1692
fe77fe6d
TV
16932013-02-11 Tom de Vries <tom@codesourcery.com>
1694
1695 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1696 Remove.
1697
3a09b620
RM
16982013-02-11 Roland McGrath <roland@hack.frob.com>
1699
1700 * misc/sys/mman.h: Fix typo in mremap comment.
1701
550a0b89
RM
17022013-02-08 Roland McGrath <roland@hack.frob.com>
1703
1704 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1705 the '\0' terminator.
1706
a2da1673
JM
17072013-02-08 Joseph Myers <joseph@codesourcery.com>
1708
1709 [BZ #13550]
1710 * debug/segfault.c: Don't include <bp-checks.h>.
1711 * sysdeps/generic/bp-checks.h: Remove file.
1712 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1713 (__GETDENTS): Don't use CHECK_N.
1714 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1715 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1716 (__getgroups): Don't use CHECK_N.
1717 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1718 (setgroups): Don't use CHECK_N.
1719 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1720 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1721 (__libc_msgrcv): Don't use CHECK_N.
1722 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1723 (__libc_msgsnd): Don't use CHECK_N.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1725 <bp-checks.h>.
1726 (__libc_pread): Don't use CHECK_N.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1728 include <bp-checks.h>.
1729 (__libc_pread64): Don't use CHECK_N.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1731 include <bp-checks.h>.
1732 (__libc_pwrite): Don't use CHECK_N.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1734 include <bp-checks.h>.
1735 (__libc_pwrite64): Don't use CHECK_N.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1737 <bp-checks.h>.
1738 (__libc_pread): Don't use CHECK_N.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1740 include <bp-checks.h>.
1741 (__libc_pread64): Don't use CHECK_N.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1743 include <bp-checks.h>.
1744 (__libc_pwrite): Don't use CHECK_N.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1746 include <bp-checks.h>.
1747 (__libc_pwrite64): Don't use CHECK_N.
1748 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1749 (do_pread): Don't use CHECK_N.
1750 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1751 (do_pread64): Don't use CHECK_N.
1752 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1753 (do_pwrite): Don't use CHECK_N.
1754 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1755 (do_pwrite64): Don't use CHECK_N.
1756 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1757 (__libc_readv): Don't use CHECK_N.
1758 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1759 (semop): Don't use CHECK_N.
1760 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1761 <bp-checks.h>.
1762 (semtimedop): Don't use CHECK_N.
1763 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1764 (__libc_pread): Don't use CHECK_N.
1765 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1766 <bp-checks.h>.
1767 (__libc_pread64): Don't use CHECK_N.
1768 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1769 <bp-checks.h>.
1770 (__libc_pwrite): Don't use CHECK_N.
1771 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1772 <bp-checks.h>.
1773 (__libc_pwrite64): Don't use CHECK_N.
1774 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1775 <bp-checks.h>.
1776 (__libc_msgrcv): Don't use CHECK_N.
1777 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1778 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1779 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1780 (__libc_writev): Don't use CHECK_N.
1781
b84660a8
RM
17822013-02-08 Roland McGrath <roland@hack.frob.com>
1783
7f3e75f8
RM
1784 * string/strcpy.c: Removed unused variable.
1785
b84660a8
RM
1786 * Makeconfig (+sysdep-includes): Define with := rather than =.
1787 Use an existing include/ subdir of each sysdeps dir before it.
1788
471514d3
CD
17892013-02-08 Carlos O'Donell <carlos@redhat.com>
1790
1791 * nscd/connection.c (register_traced_file): Comment function.
1792 [HAVE_INOTIFY] (union __inev): Define.
1793 [HAVE_INOTIFY] (inotify_check_files): New function.
1794 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1795 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1796 clear_db_cache.
1797 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1798
b2d3c3be
CD
17992013-02-08 Carlos O'Donell <carlos@redhat.com>
1800
1801 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1802 loaded if not already and that a failure is permanent.
1803
b39949d2
CD
18042013-02-08 Carlos O'Donell <carlos@redhat.com>
1805
ddacd1db 1806 [BZ #15006]
b39949d2
CD
1807 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1808 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1809
b2c9eff4
JM
18102013-02-08 Joseph Myers <joseph@codesourcery.com>
1811
f3aae3f3
JM
1812 [BZ #13550]
1813 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1814 (CHECK_1_NULL_OK): Likewise.
1815 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1816 (__fxstat): Do not use CHECK_1.
1817 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1818 <bp-checks.h>.
1819 (___fxstat64): Do not use CHECK_1.
1820 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1821 <bp-checks.h>.
1822 (__fxstatat): Do not use CHECK_1.
1823 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1824 <bp-checks.h>.
1825 (__fxstatat64): Do not use CHECK_1.
1826 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1827 <bp-checks.h>.
1828 (__fxstat): Do not use CHECK_1.
1829 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1830 <bp-checks.h>.
1831 (__fxstatat): Do not use CHECK_1.
1832 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1833 <bp-checks.h>.
1834 (__getresgid): Do not use CHECK_1.
1835 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1836 <bp-checks.h>.
1837 (__getresuid): Do not use CHECK_1.
1838 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1839 <bp-checks.h>.
1840 (__lxstat): Do not use CHECK_1.
1841 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1842 <bp-checks.h>.
1843 (__old_msgctl): Do not use CHECK_1.
1844 (__new_msgctl): Likewise.
1845 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1846 <bp-checks.h>.
1847 (__new_setrlimit): Do not use CHECK_1.
1848 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1849 <bp-checks.h>.
1850 (__old_shmctl): Do not use CHECK_1.
1851 (__new_shmctl): Likewise.
1852 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1853 <bp-checks.h>.
1854 (__xstat): Do not use CHECK_1.
1855 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1856 (__lxstat): Do not use CHECK_1.
1857 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1858 <bp-checks.h>.
1859 (___lxstat64): Do not use CHECK_1.
1860 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1861 (__old_msgctl): Do not use CHECK_1.
1862 (__new_msgctl): Likewise.
1863 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1864 <bp-checks.h>.
1865 (__gettimeofday): Do not use CHECK_1.
1866 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1867 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1868 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1869 <bp-checks.h>.
1870 (__gettimeofday): Do not use CHECK_1.
1871 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1872 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1873 (__new_shmctl): Do not use CHECK_1.
1874 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1875 <bp-checks.h>.
1876 (do_sigtimedwait): Do not use CHECK_1.
1877 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1878 <bp-checks.h>.
1879 (do_sigwaitinfo): Do not use CHECK_1.
1880 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1881 <bp-checks.h>.
1882 (msgctl): Do not use CHECK_1.
1883 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1884 <bp-checks.h>.
1885 (shmctl): Do not use CHECK_1.
1886 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1887 (ustat): Do not use CHECK_1.
1888 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1889 <bp-checks.h>.
1890 (__fxstat): Do not use CHECK_1.
1891 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1892 <bp-checks.h>.
1893 (__fxstatat): Do not use CHECK_1.
1894 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1895 <bp-checks.h>.
1896 (__lxstat): Do not use CHECK_1.
1897 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1898 <bp-checks.h>.
1899 (__xstat): Do not use CHECK_1.
1900 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1901 (__xstat): Do not use CHECK_1.
1902 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1903 (___xstat64): Do not use CHECK_1.
1904
b2c9eff4
JM
1905 [BZ #13550]
1906 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1907 definitions.
1908 (CHECK_BOUNDS_HIGH): Likewise.
1909 * string/strcpy.c: Do not include <bp-checks.h>.
1910 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1911
f1d70dad
RM
19122013-02-07 Roland McGrath <roland@hack.frob.com>
1913
1914 * nscd/nscd-client.h (__nscd_drop_map_ref):
1915 Add __attribute__ ((unused)).
1916 * nis/nss-nisplus.h (niserr2nss): Likewise.
1917
1918 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1919 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1920
1921 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1922 Remove inline keyword.
1923 * include/rounding-mode.h (round_away): Likewise.
1924 * libio/wfileops.c (adjust_wide_data): Likewise.
1925 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1926 (__m128i_strloadu_tolower): Likewise.
1927 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1928 (__m128i_strloadu_tolower): Likewise.
1929 * time/mktime.c (ydhms_diff): Likewise.
1930 * locale/elem-hash.h (elem_hash): Likewise.
1931 * locale/setlocale.c (setdata): Likewise.
1932 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1933 (re_string_wchar_at): Likewise.
1934 (bitset_not, bitset_merge, bitset_mask): Likewise.
1935 [!(__GNUC__ > 3)] (inline): Remove macro.
1936 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1937 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1938 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1939 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1940 * string/memcmp.c (memcmp_bytes): Likewise.
1941 * locale/programs/locarchive.c (compute_hashval): Likewise.
1942 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1943 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1944 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1945 * nss/getent.c (print_rpc, print_protocols): Likewise.
1946 (print_passwd, print_group, print_aliases): Likewise.
1947 * nis/nss-nisplus.h (niserr2nss): Likewise.
1948 * nscd/connections.c (restart_p): Likewise.
1949 Change return type to bool.
1950
eab55bfb
RM
19512013-02-05 Roland McGrath <roland@hack.frob.com>
1952
7bd642f5
RM
1953 * Makeconfig (all-Depend-files): Add existing
1954 $(sorted-subdirs:=/Depend) files.
1955 (all-subdirs): Remove nss.
1956 * sysdeps/unix/inet/Subdirs: Add it here instead.
1957 * hesiod/Depend: New file.
1958
573c29b2
RM
1959 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1960 instead of calling alloca.
1961
b2e25af0
RM
1962 * io/lseek.c (__lseek): Rename to __libc_lseek.
1963 Define __lseek as an alias.
1964
eab55bfb
RM
1965 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1966
9a0d1941
CD
19672013-02-04 Carlos O'Donell <carlos@redhat.com>
1968
1969 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1970 else clause and remove check for non-standard endianness.
1971
b83bbec4
DM
19722013-02-04 David S. Miller <davem@davemloft.net>
1973
1974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1975
6277fdab
JM
19762013-02-04 Joseph Myers <joseph@codesourcery.com>
1977
1978 [BZ #13550]
1979 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1980 (__ubp_memchr): Remove prototype.
1981 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1982 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1983 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1984 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1985 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1986 Remove alias.
1987 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1988 (__ubp_memchr): Likewise.
1989 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1990 (__ubp_memchr): Likewise.
1991 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1992 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1993 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1995 CHECK_STRING.
1996 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1997 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1998 (__getcwd): Do not use CHECK_STRING.
1999 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2000 <bp-checks.h>.
2001 (__real_chown): Do not use CHECK_STRING.
2002 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2003 <bp-checks.h>.
2004 (fchownat): Do not use CHECK_STRING.
2005 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2006 CHECK_STRING.
2007 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2008 <bp-checks.h>.
2009 (__lchown): Do not use CHECK_STRING.
2010 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2011 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2012 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2013 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2015 include <bp-checks.h>.
2016 (truncate64): Do not use CHECK_STRING.
2017 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2018 <bp-checks.h>.
2019 (__real_chown): Do not use CHECK_STRING.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2021 <bp-checks.h>.
2022 (__lchown): Do not use CHECK_STRING.
2023 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2024 <bp-checks.h>.
2025 (__chown): Do not use CHECK_STRING.
2026 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2027 <bp-checks.h>.
2028 (truncate64): Do not use CHECK_STRING.
2029 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2030 Likewise.
2031 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2032 (__xmknod): Do not use CHECK_STRING.
2033 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2034 <bp-checks.h>.
2035 (__xmknodat): Do not use CHECK_STRING.
2036 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2037 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2038
903ae060
AS
20392013-02-04 Andreas Schwab <schwab@suse.de>
2040
2041 [BZ #14142]
2042 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2043 * include/netdb.h: Likewise for h_errno.
2044 * elf/tst-stackguard1.c: Include <tls.h>.
2045
542f9466
JK
20462013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2047
2048 * elf/link.h (struct link_map): Extend the l_addr comment.
2049 * include/link.h (struct link_map): Likewise.
2050
e782a927
JM
20512013-02-01 Joseph Myers <joseph@codesourcery.com>
2052
2053 [BZ #13550]
2054 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2055 (BOUNDED_1): Remove macro.
2056 * debug/backtrace.c: Don't include <bp-checks.h>.
2057 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2058 (__backtrace): Likewise.
2059 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2060 <bp-checks.h>.
2061 (__backtrace): Don't use BOUNDED_1.
2062 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2063 <bp-checks.h>.
2064 (__backtrace): Don't use BOUNDED_1.
2065 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2066 (__backtrace): Don't use BOUNDED_1.
2067 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2068 (shmat): Don't use BOUNDED_N.
2069
8cf28c5e
JM
20702013-01-31 Joseph Myers <joseph@codesourcery.com>
2071
3a7ac8a0
JM
2072 [BZ #13550]
2073 * sysdeps/generic/bp-start.h: Remove file.
2074 * csu/libc-start.c: Don't include <bp-start.h>.
2075 (LIBC_START_MAIN): Set up __environ directly instead of using
2076 INIT_ARGV_and_ENVIRON.
2077 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2078 <bp-start.h>.
2079
f3499f95
JM
2080 [BZ #13550]
2081 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2082 definitions.
2083 (CHECK_FCNTL): Likewise.
2084 (CHECK_N_PAGES): Likewise.
2085
32a45bea
JM
2086 [BZ #13550]
2087 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2088 definitions.
2089 (CHECK_SIGSET_NULL_OK): Likewise.
2090 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2091 <bp-checks.h>.
2092 (sigpending): Don't use CHECK_SIGSET.
2093 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2094 <bp-checks.h>.
2095 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2096 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2097 <bp-checks.h>.
2098 (do_sigsuspend): Don't use CHECK_SIGSET.
2099 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2100 use CHECK_SIGSET.
2101 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2102 (do_sigwait): Don't use CHECK_SIGSET.
2103 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2104 use CHECK_SIGSET.
2105 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2106 include <bp-checks.h>.
2107 (sigpending): Don't use CHECK_SIGSET.
2108 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2109 include <bp-checks.h>.
2110 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2111 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2112 <bp-checks.h>.
2113 (sigpending): Don't use CHECK_SIGSET.
2114 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2115 <bp-checks.h>.
2116 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2117
2e8a5c8c
JM
2118 [BZ #13550]
2119 * sysdeps/generic/bp-semctl.h: Remove file.
2120 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2121 <bp-checks.h> and <bp-semctl.h>.
2122 (__old_semctl): Don't use CHECK_SEMCTL.
2123 (__new_semctl): Likewise.
2124 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2125 and <bp-semctl.h>.
2126 (__old_semctl): Don't use CHECK_SEMCTL.
2127 (__new_semctl): Likewise.
2128 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2129 <bp-checks.h> and <bp-semctl.h>.
2130 (__old_semctl): Don't use CHECK_SEMCTL.
2131 (__new_semctl): Likewise.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2133 <bp-checks.h> and <bp-semctl.h>.
2134 (semctl): Don't use CHECK_SEMCTL.
2135
c2d54929
JM
2136 [BZ #13550]
2137 * Makerules (elide-bp-thunks): Remove variable.
2138 (elide-routines.oS): Don't use $(elide-bp-thunks).
2139 (elide-routines.os): Likewise.
2140 (elide-routines.o): Likewise.
2141 (elide-routines.op): Likewise.
2142 (elide-routines.og): Likewise.
2143 (objects): Don't use $(bp-thunks).
2144 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2145 include.
2146 (common-generated): Do not add s-proto-bp.d.
2147 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2148 (int): Likewise.
2149 (typ): Likewise.
2150 Do not generate makefile rules for bounded-pointer thunks.
2151 * sysdeps/generic/bp-thunks.h: Remove file.
2152 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2153 * sysdeps/unix/s-proto-bp.S: Likewise.
2154
8cf28c5e
JM
2155 [BZ #15062]
2156 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2157 parts of result separately when argument is not close to line from
2158 -i to i and one part of argument is small.
2159 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2160 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2161 * math/libm-test.inc (cacos_test): Add more tests.
2162 (casin_test): Likewise.
2163 (casinh_test): Likewise.
2164 * sysdeps/i386/fpu/libm-test-ulps: Update.
2165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166
c4e33b8d
DM
21672013-01-31 David S. Miller <davem@davemloft.net>
2168
2169 * po/de.po: Update from translation team.
2170
3b60b421
MK
21712013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2172
2173 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2174
bb931195
TS
21752013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2176
b5a5da23
TS
2177 * configure.in (_AC_PROG_CC_C89): New definition.
2178 * configure: Regenerate.
2179
bb931195
TS
2180 * configure.in (AC_PROG_CPP): New definition.
2181 * configure: Regenerate.
2182
8c53a12c
JM
21832013-01-23 Joseph Myers <joseph@codesourcery.com>
2184
2185 * debug/tst-backtrace.h: New file.
2186 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2187 (ret): Remove variable.
2188 (x): Likewise.
2189 (FAIL): Remove macro.
2190 (NO_INLINE): Likewise.
2191 (fn1): Use match function instead of strstr.
2192 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2193 (ret): Remove variable.
2194 (x): Likewise.
2195 (FAIL): Remove macro.
2196 (NO_INLINE): Likewise.
2197 (fn): Use match function instead of strstr.
2198 * debug/tst-backtrace4.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 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2205 (ret): Remove variable.
2206 (x): Likewise.
2207 (FAIL): Remove macro.
2208 (NO_INLINE): Likewise.
2209 (handle_signal): Use match function instead of strstr.
2210
4858fa2a
RM
22112013-01-23 Roland McGrath <roland@hack.frob.com>
2212
2213 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2214
bae8e7f5
DM
22152013-01-23 David S. Miller <davem@davemloft.net>
2216
2217 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2218 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2219 argument of CAS if possible.
2220 * sysdeps/sparc/sparc64/bits/atomic.h
2221 (__arch_compare_and_exchange_val_32_acq): Likewise.
2222 (__arch_compare_and_exchange_val_64_acq): Likewise.
2223
9cbbc4ae
PT
22242013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2225
2226 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2227 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2228 Include <limits.h>.
67b3f58c 2229 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2230
5655a0b5
AC
22312013-01-23 Adam Conrad <adconrad@0c3.net>
2232
2233 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2234 (LDFLAGS-tst-array5): Likewise.
2235
052aff95
JM
22362013-01-23 Joseph Myers <joseph@codesourcery.com>
2237
2238 [BZ #15036]
2239 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2240 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2241 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2242 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2243
7c1e01aa
DM
22442013-01-21 David S. Miller <davem@davemloft.net>
2245
2246 * sysdeps/sparc/backtrace.c: New file.
2247 * sysdeps/sparc/sparc32/backtrace.h: New file.
2248 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2249 * sysdeps/sparc/sparc64/backtrace.h: New file.
2250 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2251 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2252 -funwind-tables.
2253
ab087e0a
AS
22542013-01-21 Andreas Schwab <schwab@suse.de>
2255
2256 [BZ #15020]
2257 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2258 closed its stdout.
2259
ed689c2f
AS
22602013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2261
2262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2263 "mpa2.h".
2264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2265
31d470ac
JM
22662013-01-18 Joseph Myers <joseph@codesourcery.com>
2267 Mark Mitchell <mark@codesourcery.com>
2268 Tom de Vries <tom@codesourcery.com>
2269 Paul Pluzhnikov <ppluzhnikov@google.com>
2270
2271 * debug/tst-backtrace2.c: New file.
2272 * debug/tst-backtrace3.c: Likewise.
2273 * debug/tst-backtrace4.c: Likewise.
2274 * debug/tst-backtrace5.c: Likewise.
2275 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2276 (CFLAGS-tst-backtrace3.c): Likewise.
2277 (CFLAGS-tst-backtrace4.c): Likewise.
2278 (CFLAGS-tst-backtrace5.c): Likewise.
2279 (LDFLAGS-tst-backtrace2): Likewise.
2280 (LDFLAGS-tst-backtrace3): Likewise.
2281 (LDFLAGS-tst-backtrace4): Likewise.
2282 (LDFLAGS-tst-backtrace5): Likewise.
2283 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2284 tst-backtrace4 and tst-backtrace5.
2285
90567f30 22862013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2287 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2288
2289 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2290 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2291 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2292 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2294 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2295 "+r" and remove output regs list as redundant. Add explicit inline
2296 asm to specify register of return val to work around compiler codegen
2297 bug. Remove (int) cast on return value. Add return type parameter to
2298 use in macro so that this macro does not truncate return value for
2299 64-bit values.
2300 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2301 pass to INTERNAL_VSYSCALL_NCS.
2302 (INLINE_VSYSCALL): Add 'long int' as return type to
2303 INTERNAL_VSYSCALL_NCS macro invocation.
2304 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2305 INTERNAL_VSYSCALL_NCS macro invocation.
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2307
d3b9ea61
SP
23082013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2309
0b57daeb
SP
2310 [BZ #14496]
2311 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2312 Fix application of SIMD FP exception mask.
2313
caa99d06
SP
2314 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2315 mp_no from a power of two.
2316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2317 __mpexp_twomm1. Use __pow_mp.
2318
d3b9ea61
SP
2319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2320 multiplication.
2321
1dbaee3c
DM
23222013-01-17 David S. Miller <davem@davemloft.net>
2323
2324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2325
728d7b43
JM
23262013-01-17 Joseph Myers <joseph@codesourcery.com>
2327
2328 [BZ #15023]
2329 * include/complex.h: Condition contents on [!_COMPLEX_H].
2330 (__kernel_casinhf): New prototype.
2331 (__kernel_casinh): Likewise.
2332 (__kernel_casinhl): Likewise.
2333 * math/Makefile (libm_calls): Add k_casinh.
2334 * math/k_casinh.c: New file.
2335 * math/k_casinhf.c: Likewise.
2336 * math/k_casinhl.c: Likewise.
2337 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2338 finite nonzero arguments.
2339 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2340 finite nonzero arguments.
2341 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2342 finite nonzero arguments.
2343 * math/s_casinh.c: Do not include <float.h>.
2344 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2345 * math/s_casinhf.c: Do not include <float.h>.
2346 (__casinhf): Move code for finite nonzero arguments to
2347 k_casinhf.c.
2348 * math/s_casinhl.c: Do not include <float.h>.
2349 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2350 redefine.
2351 (__casinhl): Move code for finite nonzero arguments to
2352 k_casinhl.c.
2353 * math/libm-test.inc (cacos_test): Add more tests.
2354 * sysdeps/i386/fpu/libm-test-ulps: Update.
2355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2356
2a26ef3a
PT
23572013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2358
2359 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2360 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2361 [!HAVE_MREMAP]: Remove [defined linux] case.
2362 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2363
a897655d
SP
23642013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2365
2366 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2367
881ebe89 23682013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2369
2370 * elf/elf.h (R_386_SIZE32): New relocation.
2371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2372 R_386_SIZE32.
2373 (elf_machine_rela): Likewise.
2374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2375 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2376
59981e9b
JM
23772013-01-17 Joseph Myers <joseph@codesourcery.com>
2378
2379 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2380 (FP_FAST_FMA): Do not define.
2381 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2382 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2383 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2384 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2385 !_SOFT_FLOAT]: Likewise.
2386 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2387 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2388 value.
2389 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2390 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2391 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2392 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2393 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2394 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2395 file.
2396
cfa8054f
AS
23972013-01-16 Andreas Schwab <schwab@suse.de>
2398
2399 [BZ #14327]
2400 * include/stdlib.h (__mktemp): Add declaration.
2401 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2402 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2403
dd930cc5
SP
24042013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2405
881ebe89
SP
2406 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2407 definitions.
2408 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2409 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2410 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2411 definitions here.
2412 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2413 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2414 definitions.
2415 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2416 and ONE.
2417 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2418 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2419 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2420 definitions.
2421 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2422 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2423 definitions.
2424 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2425
dd930cc5
SP
2426 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2427
c19a9f89
DM
24282013-01-15 David S. Miller <davem@davemloft.net>
2429
1aa61767
DM
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2431 trunc{,f} to libm-sysdep_routes.
2432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2434 file.
2435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2437 file.
2438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2439 file.
2440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2442 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2443 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2444 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2445 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2446 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2447 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2448
c42d5e98
DM
2449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2450 nearbyint{,f} to libm-sysdep_routes.
2451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2453 New file.
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2455 file.
2456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2457 New file.
2458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2459 file.
2460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2462 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2463 file.
2464 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2465 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2466 file.
2467 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2468 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2469 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2470
c19a9f89
DM
2471 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2472 libc_feholdexcept and libc_fesetenv.
2473
357679d2
MF
24742013-01-15 Mike Frysinger <vapier@gentoo.org>
2475
2476 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2477
65a82e3d
DM
24782013-01-14 David S. Miller <davem@davemloft.net>
2479
8b954ab9
DM
2480 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2481 (SPARC_ASM_VIS2_IFUNC): Likewise.
2482 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2484 use of 'siam' instruction.
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2486 Likewise.
2487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2488 Likewise.
2489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2490 Likewise.
2491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2496 file.
2497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2498 file.
2499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2500 file.
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2502 file.
2503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2508 new VIS2 routines.
2509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2512 Likewise.
2513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2518 routines to libm-sysdep_routines.
2519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2520
65a82e3d
DM
2521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2522 fdim/fdimf to libm-sysdep_routines.
2523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2524 file.
2525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2527 file.
2528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2531 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2532 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2533 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2534 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2535
e34ab705
SP
25362013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2537
2a91b573
SP
2538 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2539 to optimize copies.
2540
1066a534
SP
2541 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2544
e34ab705
SP
2545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2546 local variable MPTWO.
2547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2548 Likewise.
2549
aba5e596
MF
25502013-01-13 Mike Frysinger <vapier@gentoo.org>
2551
2552 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2553 GLOB_NOESCAPE.
2554
e557e9e5
MF
25552013-01-13 Mike Frysinger <vapier@gentoo.org>
2556
2557 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2558
0428cec9
MF
25592013-01-13 Mike Frysinger <vapier@gentoo.org>
2560
2561 * manual/pattern.texi (glob_t): Document gl_flags.
2562 (glob64_t): Likewise.
2563
8794a964
DM
25642013-01-11 David S. Miller <davem@davemloft.net>
2565
66438c3f
RM
2566 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2567 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2568 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2569 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2570 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2571 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2572 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2573 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2574 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2575 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2576 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2577 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2578 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2579
4ae4244d
DM
2580 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2581 sparc V9 rather than using V8 code.
2582 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2583 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2584
8794a964
DM
2585 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2586 Move to...
2587 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2588 Here.
2589
6270516e
RM
25902013-01-11 Roland McGrath <roland@hack.frob.com>
2591
2592 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2593 not in the main loop.
2594 * configure: Regenerated.
2595
6a57d931
JM
25962013-01-11 Joseph Myers <joseph@codesourcery.com>
2597
2598 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2599 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2600 to just #else.
2601 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2602 [!__GLIBC_HAVE_LONG_LONG] case.
2603 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2604 condition to just #else.
2605 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2606 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2607 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2608 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2609 unconditional.
2610 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2611 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2612 #elif condition to just #else.
2613 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2614 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2615 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2616 #elif condition to just #else.
2617
0e8529e9
SE
26182013-01-11 Steve Ellcey <sellcey@mips.com>
2619
2620 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2621 (EF_MIPS_ARCH_64): Fix value.
2622 (EF_MIPS_ARCH_32R2): New.
2623 (EF_MIPS_ARCH_64R2): New.
2624
740b3dbe
L
26252013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2626
2627 * Makeconfig (+link-pie-before-libc): New.
2628 (+link-pie-after-libc): Likewise.
2629 (+link-pie-tests): Likewise.
2630 (+link-pie): Rewritten.
2631 (link-before-libc): Remove $(config-LDFLAGS).
2632 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2633 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2634 (config-LDFLAGS): Renamed to ...
2635 (rtld-LDFLAGS): This.
2636 (rtld-tests-LDFLAGS): New macro.
2637 (link-libc-rpath-link): Likewise.
2638 (link-libc-tests-rpath-link): Likewise.
2639 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2640 (link-libc): Prepand $(link-libc-rpath-link).
2641 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2642 (test-program-prefix): New macro.
2643 (test-via-rtld-prefix): Likewise.
2644 (test-program-cmd): Likewise.
2645 (host-test-program-cmd): Likewise.
2646 * Makefile ($(common-objpfx)testrun.sh): Replace
2647 $(run-program-prefix) with $(test-program-prefix).
2648 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2649 $(rtld-LDFLAGS).
2650 ($(common-objpfx)shlib.lds): Likewise.
2651 (build-module-helper): Likewise.
2652 ($(common-objpfx)format.lds): Likewise.
2653 * Rules (binaries-pie-tests): New.
2654 (binaries-pie-notests): Likewise.
2655 (binaries-pie): Rewritten.
2656 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2657 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2658 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2659 (make-test-out): Replace $(host-built-program-cmd) with
2660 $(host-test-program-cmd).
2661 * config.make.in (build-hardcoded-path-in-tests): New variable.
2662 * configure.in (--enable-hardcoded-path-in-tests): New configure
2663 option.
2664 (hardcoded_path_in_tests): New AC_SUBST.
2665 * configure: Regenerated.
2666 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2667 $(built-program-cmd) with $(test-program-cmd).
2668 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2669 (test_program_cmd): This.
2670 * elf/Makefile ($(objpfx)order.out): Run test with
2671 $(test-program-prefix).
2672 ($(objpfx)order2.out): Likewise.
2673 ($(objpfx)tst-initorder.out): Likewise.
2674 ($(objpfx)tst-initorder2.out): Likewise.
2675 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2676 $(test-program-cmd).
2677 ($(objpfx)tst-array1-static.out): Likewise.
2678 ($(objpfx)tst-array2.out): Likewise.
2679 ($(objpfx)tst-array3.out): Likewise.
2680 ($(objpfx)tst-array4.out): Likewise.
2681 ($(objpfx)tst-array5.out): Likewise.
2682 ($(objpfx)tst-array5-static.out): Likewise.
2683 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2684 $(test-program-cmd).
2685 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2686 $(run-program-prefix) with $(test-program-prefix).
2687 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2688 (test_program_prefix): This.
2689 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2690 $(run-program-prefix) with $(test-program-prefix).
2691 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2692 (test_program_prefix): This.
2693 * iconvdata/tst-tables.sh: Likewise.
2694 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2695 $(run-program-prefix) with $(test-program-prefix).
2696 ($(objpfx)tst-translit.out): Likewise.
2697 ($(objpfx)tst-gettext2.out): Likewise.
2698 ($(objpfx)tst-gettext4.out): Likewise.
2699 ($(objpfx)tst-gettext6.out): Likewise.
2700 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2701 (test_program_prefix): This.
2702 * intl/tst-gettext2.sh: Likewise.
2703 * intl/tst-gettext4.sh Likewise.
2704 * intl/tst-gettext6.sh: Likewise.
2705 * intl/tst-translit.sh: Likewise.
2706 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2707 with $(test-program-cmd).
2708 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2709 $(run-program-prefix) with $(test-program-prefix).
2710 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2711 (test_program_prefix): This.
2712 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2713 $(run-program-prefix) with $(test-program-prefix).
2714 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2715 (test_program_prefix): This.
2716 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2717 * posix/Makefile ($(objpfx)globtest.out): Replace
2718 $(run-via-rtld-prefix) and $(test-wrapper) with
2719 $(test-program-prefix) and $(test-via-rtld-prefix).
2720 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2721 $(test-program-prefix).
2722 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2723 $(host-test-program-cmd).
2724 (tst-spawn-ARGS): Likewise.
2725 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2726 $(test-program-prefix).
2727 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2728 (test_via_rtld_prefix): This.
2729 (test_wrapper): Renamed to ...
2730 (test_program_prefix): This.
2731 (run_program_prefix): Replaced by test_program_prefix.
2732 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2733 (test_program_prefix): This.
2734 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2735 with $(host-test-program-cmd).
2736 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2737 $(run-program-prefix) with $(test-program-prefix).
2738 ($(objpfx)tst-printf.out): Likewise.
2739 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2740 $(test-program-cmd).
2741 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2742 (test_program_prefix): This.
2743 * stdio-common/tst-unbputc.sh: Likewise.
2744 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2745 $(run-program-prefix) with $(test-program-prefix).
2746 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2747 (test_program_prefix): This.
2748 * string/Makefile ($(objpfx)tst-svc.out): Replace
2749 $(built-program-cmd) with $(test-program-cmd).
2750
c6fe55cf
AJ
27512013-01-11 Andreas Jaeger <aj@suse.de>
2752
2753 [BZ #15003]
2754 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2755 value. Sync with Linux 3.7.
2756
9e6919c8
DM
27572013-01-10 David S. Miller <davem@davemloft.net>
2758
2759 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2760 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2761 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2762
1c9f1a02
RM
27632013-01-10 Roland McGrath <roland@hack.frob.com>
2764
2765 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2766 never set.
2767 * configure: Regenerated.
2768
b9de2dde
DM
27692013-01-10 David S. Miller <davem@davemloft.net>
2770
2771 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2772 sparc V9 rather than using V8 code.
2773 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2774 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2775
e7f68ef4
RM
27762013-01-10 Roland McGrath <roland@hack.frob.com>
2777
2778 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2779 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2780 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2781 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2782 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2783 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2784 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2785 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2786 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2787 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2788 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2789 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2790 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2791 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2792 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2793 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2794 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2795 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2796 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2797 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2798 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2799 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2800 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2801 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2802 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2803 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2804 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2805
5a47cc9c
DM
28062013-01-10 David S. Miller <davem@davemloft.net>
2807
2808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2809
4cf8f209
L
28102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 * posix/Makefile (tests-static): New variable.
2813 (tests): Add $(tests-static).
2814 (tst-exec-static-ARGS): New variable.
2815 (tst-spawn-static-ARGS): Likewise.
2816 * posix/tst-exec-static.c: New file.
2817 * posix/tst-spawn-static.c: Likewise.
2818 * posix/tst-exec.c: Support run directly.
2819 * posix/tst-spawn.c: Likewise.
2820
fed0faa1
JM
28212013-01-10 Joseph Myers <joseph@codesourcery.com>
2822
828beb13
JM
2823 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2824 long.
2825 * math/bits/mathcalls.h (llrint): Likewise.
2826 (llround): Likewise.
2827 * stdlib/stdlib.h (struct drand48_data): Likewise.
2828 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2829 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2830 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2831 Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2833 Likewise.
2834 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2835 (elf_greg_t): Likewise.
2836 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2837 (__jmp_buf): Likewise.
2838 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2839 definitions.
2840 (llrint): Likewise, for all definitions.
2841 (llrintl): Likewise.
2842
fed0faa1
JM
2843 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2844 Remove [__GNUC__] condition.
2845 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2846 condition to just [__USE_ISOC99].
2847 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2848
1a20cb20
L
28492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2850
2851 [BZ #14200]
2852 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2853 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2854 defined.
2855 (_POSIX_V6_ILP32_OFF32): Likewise.
2856 (_XBS5_ILP32_OFF32): Likewise.
2857 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2858 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2859
751b85f7
SP
28602013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2861
7490eb81
SP
2862 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2863
751b85f7
SP
2864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2865 doubles __mpexp_twomm1. Adjust usage.
2866 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2867 Remove.
2868
988197f0
AS
28692013-01-10 Andreas Schwab <schwab@suse.de>
2870
2871 [BZ #14964]
2872 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2873 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2874
e83d7298
DM
28752013-01-09 David S. Miller <davem@davemloft.net>
2876
034ed64b 2877 [BZ #15003]
e83d7298
DM
2878 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2879 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2880 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2881 TCP_FASTOPEN): Define.
2882 (tcp_repair_opt): New structure.
2883 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2884 enum values.
2885 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2886 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2887 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2888 (tcp_cookie_transactions): New structure.
2889
d5e0b9bd
AB
28902013-01-09 Anton Blanchard <anton@samba.org>
2891
2892 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2893 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2894 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2895 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2896
0c07e3ea
JM
28972013-01-09 Joseph Myers <joseph@codesourcery.com>
2898
2899 * include/features.h (__USE_ANSI): Remove.
2900
232f7002
RM
29012013-01-09 Roland McGrath <roland@hack.frob.com>
2902
ad98e30c
RM
2903 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2904
232f7002
RM
2905 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2906
950c99ca
SP
29072013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2908
b5792741
SP
2909 * sysdeps/s390/fpu/libm-test-ulps: Update.
2910
47cf2278
SP
2911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2912
950c99ca
SP
2913 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2914 (__acr): Likewise.
2915 (__cpy): Likewise.
2916 (norm): Likewise.
2917 (denorm): Likewise.
2918 (__mp_dbl): Likewise.
2919 (__dbl_mp): Likewise.
2920 (add_magnitudes): Likewise.
2921 (sub_magnitudes): Likewise.
2922 (__add): Likewise.
2923 (__sub): Likewise.
2924 (__mul): Likewise.
2925 (__inv): Likewise.
2926 (__dvd): Likewise.
2927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2928 (__acr): Likewise.
2929 (__cpy): Likewise.
2930 (norm): Likewise.
2931 (denorm): Likewise.
2932 (__mp_dbl): Likewise.
2933 (__dbl_mp): Likewise.
2934 (add_magnitudes): Likewise.
2935 (sub_magnitudes): Likewise.
2936 (__add): Likewise.
2937 (__sub): Likewise.
2938 (__mul): Likewise.
2939 (__inv): Likewise.
2940 (__dvd): Likewise.
2941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2942 (__acr): Likewise.
2943 (__cpy): Likewise.
2944 (norm): Likewise.
2945 (denorm): Likewise.
2946 (__mp_dbl): Likewise.
2947 (__dbl_mp): Likewise.
2948 (add_magnitudes): Likewise.
2949 (sub_magnitudes): Likewise.
2950 (__add): Likewise.
2951 (__sub): Likewise.
2952 (__mul): Likewise.
2953 (__inv): Likewise.
2954 (__dvd): Likewise.
2955
eede9df9
JM
29562013-01-08 Joseph Myers <joseph@codesourcery.com>
2957
2958 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2959 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2960 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2961 2 && __USE_EXTERN_INLINES]: Likewise.
2962
c40ea3d9
AJ
29632013-01-08 Andreas Jaeger <aj@suse.de>
2964
2965 [BZ# 14985]
2966 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2967 Remove.
2968 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2969 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2970
2ccdea26
AB
29712013-01-07 Anton Blanchard <anton@samba.org>
2972
2973 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2974 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2975 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2976 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2977 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2978 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2979 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2980 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2982 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2983 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2985 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2986 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2987 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2988 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2989 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2990 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2991 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2992 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2993 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2994 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2995 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2996 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2997 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2998 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2999 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3000 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3001 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3002 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3003 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3006 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3007 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3008 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3009 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3010 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3011 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3012 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3013 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3014 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3015 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3016
a9708fed
JM
30172013-01-07 Joseph Myers <joseph@codesourcery.com>
3018
375607b9
JM
3019 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3020 (__MALLOC_PMT): Likewise.
3021 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3022 [__GNUC__], only on [_LIBC].
3023 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3024 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3025 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3026 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3027 forward declaration.
3028 (realloc_hook_ini): Likewise.
3029 (memalign_hook_ini): Likewise.
3030 (__libc_memalign): Do not use __MALLOC_PMT in variable
3031 declaration.
3032 (__libc_valloc): Likewise.
3033 (__libc_pvalloc): Likewise.
3034 (__libc_calloc): Likewise.
3035 (__posix_memalign): Likewise.
3036
a9708fed
JM
3037 [BZ #14996]
3038 * math/s_casinh.c: Include <float.h>.
3039 (__casinh): Do not do computation with squaring and square root
3040 for large arguments.
3041 * math/s_casinhf.c: Include <float.h>.
3042 (__casinhf): Do not do computation with squaring and square root
3043 for large arguments.
3044 * math/s_casinhl.c: Include <float.h>.
3045 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3046 (__casinhl): Do not do computation with squaring and square root
3047 for large arguments.
3048 * math/libm-test.inc (casin_test): Add more tests.
3049 (casinh_test): Likewise.
3050 * sysdeps/i386/fpu/libm-test-ulps: Update.
3051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3052
afec409a
L
30532013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3054
3055 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3056 (__x86_64_raw_data_cache_size): Likewise.
3057 (__x86_64_data_cache_size_half): Likewise.
3058 (__x86_64_raw_data_cache_size_half): Likewise.
3059 (__x86_64_shared_cache_size): Likewise.
3060 (__x86_64_raw_shared_cache_size): Likewise.
3061 (__x86_64_shared_cache_size_half): Likewise.
3062 (__x86_64_raw_shared_cache_size_half): Likewise.
3063 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3064 to ...
3065 (__x86_data_cache_size): This.
3066 (__x86_64_raw_data_cache_size): Renamed to ...
3067 (__x86_raw_data_cache_size): This.
3068 (__x86_64_data_cache_size_half): Renamed to ...
3069 (__x86_data_cache_size_half): This.
3070 (__x86_64_raw_data_cache_size_half): Renamed to ...
3071 (__x86_raw_data_cache_size_half): This.
3072 (__x86_64_shared_cache_size): Renamed to ...
3073 (__x86_shared_cache_size): This.
3074 (__x86_64_raw_shared_cache_size): Renamed to ...
3075 (__x86_raw_shared_cache_size): This.
3076 (__x86_64_shared_cache_size_half): Renamed to ...
3077 (__x86_shared_cache_size_half): This.
3078 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3079 (__x86_raw_shared_cache_size_half): This.
3080 * sysdeps/x86_64/memcpy.S: Updated.
3081 * sysdeps/x86_64/memset.S: Likewise.
3082 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3083 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3084 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3085
0b3986d0
DM
30862013-01-04 David S. Miller <davem@davemloft.net>
3087
3088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3089
e47686e9
AS
30902013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3091
d643bac1
AS
3092 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3093 1 to avoid redefinition warning.
3094 (__USE_GNU): Don't define.
3095 (init_signaling_nan): Protoize.
3096
e47686e9
AS
3097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3098
b18decba
SP
30992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3100
fffb407f
SP
3101 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3102 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3109 (__cpymn): Likewise.
3110 (norm): Remove commented code.
3111 (denorm): Likewise.
3112 (__mp_dbl): Likewise.
3113 (__inv): Likewise.
3114
b18decba
SP
3115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3116 mp_no value for 1.0 and 2.0.
3117 (norm): Use RADIXI instead of radixi.d.
3118 (denorm): Likewise.
3119 (__mul): Use 0.0 instead of zero.d.
3120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3121 mp_no value for 1.0 and 2.0.
3122 (norm): Use RADIXI instead of radixi.d.
3123 (denorm): Likewise.
3124 (__mul): Use 0.0 instead of zero.d.
3125
cdc1c96f
JM
31262013-01-04 Joseph Myers <joseph@codesourcery.com>
3127
3128 [BZ #14994]
3129 * math/s_casinh.c (__casinh): Reduce finite argument to first
3130 quadrant then set signs of results at the end.
3131 * math/s_casinhf.c (__casinhf): Likewise.
3132 * math/s_casinhl.c (__casinhl): Likewise.
3133 * math/libm-test.inc (casin_test): Add more tests.
3134 (casinh_test): Likewise.
3135 * sysdeps/i386/fpu/libm-test-ulps: Update.
3136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3137
302913e1
SP
31382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3139
6420d207
SP
3140 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3141
a9e48ab4
SP
3142 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3143
b7837264
SP
3144 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3145 declarations.
3146 (denorm): Likewise.
3147 (__mp_dbl): Likewise.
3148 (__inv): Likewise.
3149
f8af25d2
SP
3150 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3151 and adjust the header comment.
3152
302913e1
SP
3153 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3154 variable name from declaration.
3155
5d7dd1ca
L
31562013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3159 Initialize COMMON_CPUID_INDEX_7 element.
3160 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3161 (CPUID_RTM): Likewise.
3162 (HAS_RTM): Likewise.
3163 (COMMON_CPUID_INDEX_7): New enum.
3164
2f5f40f4
AS
31652013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3166
3167 [BZ #14981]
3168 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3169 size is zero, record memory as freed.
3170
4056f4a0
AJ
31712013-01-03 Andreas Jaeger <aj@suse.de>
3172
3173 * po/ia.po: Add new Interlingua translation.
3174
ab15736f 31752012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3176
3177 * locale/programs/localedef.c: Fix description of '--posix' flag.
3178
568035b7
JM
31792013-01-02 Joseph Myers <joseph@codesourcery.com>
3180
e6898b8d
JM
3181 * NEWS: Update dates in second copyright notice.
3182 * README: Update copyright dates in example.
3183 * manual/libc.texinfo: Update copyright dates.
3184 * scripts/test-installation.pl: Update copyright date in --version
3185 output.
3186
0e2f9562
JM
3187 * hurd/ctty-input.c: Fix copyright notice formatting.
3188 * hurd/ctty-output.c: Likewise.
3189 * hurd/dtable.c: Likewise.
3190 * hurd/hurd-raise.c: Likewise.
3191 * hurd/hurdprio.c: Likewise.
3192 * hurd/msgportdemux.c: Likewise.
3193 * misc/sys/file.h: Likewise.
3194 * misc/sys/ioctl.h: Likewise.
3195 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3196 * sysdeps/mach/hurd/chdir.c: Likewise.
3197 * sysdeps/mach/hurd/fchdir.c: Likewise.
3198 * sysdeps/mach/hurd/rename.c: Likewise.
3199 * sysdeps/mach/hurd/rmdir.c: Likewise.
3200 * sysdeps/mach/hurd/seekdir.c: Likewise.
3201 * sysdeps/mach/hurd/setsid.c: Likewise.
3202 * sysdeps/posix/wait3.c: Likewise.
3203
568035b7
JM
3204 * All files with FSF copyright notices: Update copyright dates
3205 using scripts/update-copyrights.
3206 * intl/plural.c: Regenerated.
3207 * locale/programs/charmap-kw.h: Likewise.
3208 * locale/programs/locfile-kw.h: Likewise.
3209
da08f647
SP
32102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3211
0f5477af
SP
3212 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3213 four values.
3214
44e0d4c2
SP
3215 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3216 calculation loop and add branch prediction.
3217
4d55b4e5
SP
3218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3219 check access beyond bounds of m1np.
3220
da08f647
SP
3221 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3222 MPTWO.
3223 (__inv): Remove local variable MPTWO to use the global
3224 constant.
3225 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3226 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3227 variable MPTWO.
3228 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3229 MP3HALFS static const.
3230
8e051029
DM
32312013-01-01 David S. Miller <davem@davemloft.net>
3232
3233 * po/ca.po: Update from translation team.
3234
f4cf5f2d
JM
32352013-01-01 Joseph Myers <joseph@codesourcery.com>
3236
3237 * scripts/update-copyrights: New file.
3238 * Makeconfig: Reformat copyright notice.
3239 * ctype/ctype.h: Likewise.
3240 * debug/swprintf_chk.c: Likewise.
3241 * elf/dl-cache.c: Likewise.
3242 * elf/dl-debug.c: Likewise.
3243 * elf/dl-object.c: Likewise.
3244 * grp/initgroups.c: Likewise.
3245 * hurd/Makefile: Likewise.
3246 * hurd/hurd/signal.h: Likewise.
3247 * hurd/hurdfault.c: Likewise.
3248 * hurd/hurdioctl.c: Likewise.
3249 * hurd/hurdlookup.c: Likewise.
3250 * hurd/intr-msg.c: Likewise.
3251 * iconv/gconv_open.c: Likewise.
3252 * libio/swprintf.c: Likewise.
3253 * locale/lc-ctype.c: Likewise.
3254 * locale/nl_langinfo.c: Likewise.
3255 * mach/Machrules: Likewise.
3256 * mach/Makefile: Likewise.
3257 * malloc/obstack.h: Likewise.
3258 * manual/Makefile: Likewise.
3259 * manual/tsort.awk: Likewise.
3260 * misc/bits/stab.def: Likewise.
3261 * nis/nis_print_group_entry.c: Likewise.
3262 * nis/nis_table.c: Likewise.
3263 * nis/nss_compat/compat-pwd.c: Likewise.
3264 * nis/nss_compat/compat-spwd.c: Likewise.
3265 * po/Makefile: Likewise.
3266 * posix/fnmatch.c: Likewise.
3267 * posix/regex.h: Likewise.
3268 * resolv/Makefile: Likewise.
3269 * resolv/nss_dns/dns-network.c: Likewise.
3270 * resolv/res_hconf.c: Likewise.
3271 * scripts/gen-sorted.awk: Likewise.
3272 * soft-fp/soft-fp.h: Likewise.
3273 * stdio-common/printf.h: Likewise.
3274 * stdlib/monetary.h: Likewise.
3275 * stdlib/random.c: Likewise.
3276 * stdlib/random_r.c: Likewise.
3277 * sysdeps/generic/Makefile: Likewise.
3278 * sysdeps/gnu/Makefile: Likewise.
3279 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3281 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3300 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3301 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3302 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3303 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3304 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3305 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3306 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3307 * sysdeps/mach/hurd/errnos.awk: Likewise.
3308 * sysdeps/mach/hurd/fork.c: Likewise.
3309 * sysdeps/mach/hurd/getcwd.c: Likewise.
3310 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3311 * sysdeps/mach/hurd/mmap.c: Likewise.
3312 * sysdeps/mach/hurd/utimes.c: Likewise.
3313 * sysdeps/mach/hurd/xmknod.c: Likewise.
3314 * sysdeps/posix/profil.c: Likewise.
3315 * sysdeps/posix/readdir_r.c: Likewise.
3316 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3317 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3318 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3319 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3321 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3322 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3323 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3325 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3326 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3327 * sysdeps/pthread/lio_listio.c: Likewise.
3328 * sysdeps/sparc/dl-procinfo.h: Likewise.
3329 * sysdeps/unix/i386/sysdep.S: Likewise.
3330 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3331 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3332 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3333 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3335 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3336 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3337 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3338 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3339 * sysdeps/wordsize-32/divdi3.c: Likewise.
3340 * time/sys/time.h: Likewise.
3341 * wcsmbs/Makefile: Likewise.
3342
0549fbba
DM
33432013-01-01 David S. Miller <davem@davemloft.net>
3344
a141f1a7
DM
3345 * po/fr.po: Update from translation team.
3346
0549fbba
DM
3347 * catgets/gencat.c: Update copyright year.
3348 * csu/version.c: Likewise.
3349 * debug/catchsegv.sh: Likewise.
3350 * debug/pcprofiledump.c: Likewise.
3351 * debug/xtrace.sh: Likewise.
3352 * elf/ldconfig.c: Likewise.
3353 * elf/ldd.bash.in: Likewise.
3354 * elf/pldd.c: Likewise.
3355 * elf/sotruss.ksh: Likewise.
3356 * elf/sprof.c: Likewise.
3357 * iconv/iconv_prog.c: Likewise.
3358 * iconv/iconvconfig.c: Likewise.
3359 * locale/programs/locale.c: Likewise.
3360 * locale/programs/localedef.c: Likewise.
3361 * login/programs/pt_chown.c: Likewise.
3362 * malloc/memusage.sh: Likewise.
3363 * malloc/memusagestat.c: Likewise.
3364 * malloc/mtrace.pl: Likewise.
3365 * nscd/nscd.c: Likewise.
3366 * nss/getent.c: Likewise.
3367 * nss/makedb.c: Likewise.
3368 * posix/getconf.c: Likewise.
3369
18ea052c
SP
33702012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
3372 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3373 numbers.
3374
9c89fca6
MF
33752012-12-30 Mike Frysinger <vapier@gentoo.org>
3376
3377 * math/bits/mathcalls.h (modf): Use __nonnull.
3378
085ec079
SP
33792012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3380
3381 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3382 (split): Use macro CN instead of the bare value.
3383 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3384 could be used.
3385 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3386 instead of the bare value.
3387 (power1): Likewise.
3388
6d9f97e1
SP
33892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3390
d63f73be
SP
3391 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3392 __ATAN_TWOM.
3393 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3394
6d9f97e1
SP
3395 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3396 their values.
3397 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3398 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3399 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3400 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3401
4c4febf5
AJ
34022012-12-28 Andreas Jaeger <aj@suse.de>
3403
af5843ef
AJ
3404 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3405 values are from Linux 3.7.
3406
4c4febf5
AJ
3407 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3408 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3409
99136f82
SP
34102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3411
2f216c3c 3412 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3413 TRUE case.
3414
99136f82
SP
3415 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3416 (norm): Likewise.
3417 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3418 variables with preprocessor constants.
3419 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3420 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3421 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3422
7fffbdff
BH
34232012-12-27 Bruno Haible <bruno@clisp.org>
3424
3425 [BZ #14317]
3426 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3427 only if needed.
3428
b76eb5f0
SP
34292012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3430
31a7fe5c
SP
3431 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3432 and use variable directly.
3433 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3434
b76eb5f0
SP
3435 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3436 MPONE.
3437 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3438 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3439 variable MPONE.
3440 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3442 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3443 include directive. Remove local variable MPONE.
3444 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3445 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3446 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3447
2c8bfe7d
DM
34482012-12-25 David S. Miller <davem@davemloft.net>
3449
3450 * version.h (RELEASE): Set to "development".
3451 (VERSION): Set to "2.17.90".
3452 * NEWS: Add 2.18 section.
3453
147d03b0
DM
34542012-12-21 David S. Miller <davem@davemloft.net>
3455
3456 * po/hr.po: Update from translation team.
3457
a8ebb2b9
AK
34582012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3459
3460 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3461
95b4f1b6
SE
34622012-12-19 Steve Ellcey <sellcey@mips.com>
3463
b2d94007 3464 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 3465
cedb2a90
MS
34662012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3467
3468 * manual/contrib.texi (Contributors): Spelling correction.
3469
bbf527d6
DM
34702012-12-15 David S. Miller <davem@davemloft.net>
3471
3472 * po/ru.po: Update from translation team.
3473
bc38c906
DM
34742012-12-13 David S. Miller <davem@davemloft.net>
3475
85429b1a
DM
3476 * NEWS: Mention IFUNC testsuite enhancements.
3477
d283e353
DM
3478 * po/pl.po: Update from translation team.
3479 * po/bg.po: Likewise.
3480
bc38c906
DM
3481 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3482 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3483
a181b0d7
DM
34842012-12-11 David S. Miller <davem@davemloft.net>
3485
4641d57e
DM
3486 * po/sv.po: Update from translation team.
3487
f7bc6495
DM
3488 * po/vi.po: Update from translation team.
3489
6fc9048f
DM
3490 * po/cs.po: Update from translation team.
3491
a181b0d7
DM
3492 * po/de.po: Update from translation team.
3493 * po/eo.po: Likewise.
3494 * po/nl.po: Likewise.
3495
f70bfe80
SP
34962012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3497
3c8b4190
SP
3498 [BZ #14246]
3499 * manual/argp.texi (Argp Helper Functions): Move node to follow
3500 Argp Parsing State.
3501
f70bfe80
SP
3502 [BZ #14872]
3503 * manual/conf.texi (Limits on File System Capacity): Mention if
3504 terminating null is included in the max size.
3505
188f0adf
AJ
35062012-12-10 Andreas Jaeger <aj@suse.de>
3507
3508 * po/cs.po: Update from translation team.
3509
56e7d3ad
SP
35102012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3511
3512 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3513 void pointer and cast to uintptr_t.
3514 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3515 path.
3516 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3517 * sysdeps/s390/s390-64/memset.S: Likewise.
3518
76f2d2ea 35192012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3520
3521 [BZ #14833]
3522 * menual/message.texi (Message Translation): Fix typos.
3523 (Helper programs for gettext): Likewise.
3524
67cbf9a2
AS
35252012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3526
3527 [BZ #14898]
3528 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3529 Change to -1.
3530
682d0e9a
DM
35312012-12-07 David S. Miller <davem@davemloft.net>
3532
3533 * po/libc.pot: Update.
3534
573cd484
RH
35352012-12-07 Richard Henderson <rth@redhat.com>
3536
7e9da188 3537 [BZ #10114]
573cd484
RH
3538 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3539 normal/normal case to before the switch.
3540 (_FP_DIV): Likewise.
3541
e933a943
MF
35422012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3543 Mike Frysinger <vapier@gentoo.org>
3544
3545 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3546 check for __NR_fadvise64_64.
3547
82123268
CM
35482012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3549
3550 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3551 0, not just to plain "0" as a statement.
3552 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3553 with cw.
3554
d9814526
JM
35552012-12-06 Joseph Myers <joseph@codesourcery.com>
3556
3557 * NEWS: Use sourceware.org in Bugzilla URL.
3558
7728c574
SP
35592012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3560
f16946dd
SP
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3562 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3563
5704bbcb
SP
3564 * stdio-common/tst-put-error.c (do_test): Add newline to the
3565 padded test to ensure flush.
3566
17aa0516
JL
35672012-12-05 Jeff Law <law@redhat.com>
3568
3569 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3570
363313b5
JM
35712012-12-05 Joseph Myers <joseph@codesourcery.com>
3572
effbd42a
JM
3573 * README: Don't refer to ports add-on as distributed separately.
3574 Mention AArch64 in list of systems supported in the ports add-on.
3575
87600365
JM
3576 * LICENSES: Add more non-FSF copyright and license notices.
3577
a0d7066a
JM
3578 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3579 ((unused)).
3580
66ca5a5b
JM
3581 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3582
363313b5
JM
3583 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3584 10000 as width of padded output.
3585
b37984ad
JM
35862012-12-04 Joseph Myers <joseph@codesourcery.com>
3587
9003570a
JM
3588 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3589
b37984ad
JM
3590 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3591 variable LX with __attribute__ ((unused)).
3592 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3593 Likewise.
3594 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3595 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3596 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3597 with __attribute__ ((unused)).
3598
c8df52ec
DM
35992012-12-04 David S. Miller <davem@abraco.davemloft.net>
3600
3601 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3602
b3b099af
JM
36032012-12-04 Joseph Myers <joseph@codesourcery.com>
3604
c33aa6e3
JM
3605 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3606 (CFLAGS-nldbl-acos.c): New variable.
3607 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3608 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3609 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3610 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3611 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3612 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3613 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3614 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3615 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3616 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3617 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3618 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3619 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3620 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3621 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3622 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3623 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3624 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3625 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3626 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3627 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3628 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3629 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3630 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3631 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3632 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3633 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3634 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3635 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3636 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3637 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3638 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3639 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3640 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3641 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3642 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3643 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3644 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3645 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3646 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3647 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3648 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3649 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3650 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3651 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3652 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3653 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3654 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3655 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3656 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3657 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3658 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3659 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3660 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3661 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3662 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3663 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3664 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3665 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3666 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3667 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3668 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3669 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3670 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3671 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3672 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3673 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3674 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3675 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3676 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3677 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3678 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3679 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3680 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3681 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3682 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3683 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3684 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3685 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3686 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3687 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3688 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3689 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3690 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3691 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3692 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3693 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3694 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3695 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3696 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3697 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3698 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3699 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3700 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3701 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3702 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3703 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3704
20f0018d
JM
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3706 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3707
b3b099af
JM
3708 [BZ #14914]
3709 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3710 whole low double instead of just low 47 bits when splitting values
3711 into two parts.
3712
029264d1
AM
37132012-12-03 Allan McRae <allan@archlinux.org>
3714
3715 * manual/stdio.texi (Predefined Printf Handlers): Remove
3716 @hsep and @vsep usage.
3717
c9d6789e
MF
37182012-12-03 Mike Frysinger <vapier@gentoo.org>
3719
3720 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3721 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3722
4b7634a5
JL
37232012-12-03 Jeff Law <law@redhat.com>
3724
3725 * time/sys/time.h (settimeofday): Do not mark TV argument
3726 as __nonnull.
3727
eb6cbd24
MF
37282012-12-01 Mike Frysinger <vapier@gentoo.org>
3729
3730 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3731 when currently writing and seek to current position when not.
3732 * libio/Makefile (tests): Remove bug-fclose1.
3733 * libio/bug-fclose1.c: Delete.
3734
f638872a
JM
37352012-12-01 Joseph Myers <joseph@codesourcery.com>
3736
3737 * manual/arith.texi (feenableexcept): Fix typo.
3738 (fedisableexcept): Likewise.
3739
48085d14
RM
37402012-11-30 Roland McGrath <roland@hack.frob.com>
3741
3742 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3743 second, differently-typed declaration, rather than a cast.
3744
1a538b9f
SP
37452012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3746
3747 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3748 * include/rpc/svc.h: ... here.
3749
d07f2ff1 37502012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3751
3752 [BZ #13013]
3753 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3754 depending n and resplen2 to catch cases where answer
3755 equals answerp2.
3756
c93ec1f0
CD
37572012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3758
3759 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3760 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3761
37db69de
MF
37622012-11-29 Mike Frysinger <vapier@gentoo.org>
3763
3764 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3765
e10c4e4f
RM
37662012-11-29 Roland McGrath <roland@hack.frob.com>
3767
3768 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3769
2af1b328
JL
37702012-11-28 Jeff Law <law@redhat.com>
3771
3772 [BZ #13761]
3773 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3774 dataset_temporary. Track alloca usage into alloca_used.
3775 If dataset is large allocate and release it via malloc/free.
3776
111db5b1
FW
37772012-06-04 Florian Weimer <fweimer@redhat.com>
3778
f06cc227 3779 [BZ #14197]
111db5b1
FW
3780 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3781
dd694abd
DM
37822012-11-28 David S. Miller <davem@davemloft.net>
3783
3784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3785
9984dd01
JM
37862012-11-28 Joseph Myers <joseph@codesourcery.com>
3787
3788 [BZ #14803]
3789 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3790 of pi/2 rounded to nearest to 64 bits.
3791 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3792 nearest to 64 bits.
3793 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3794 bits.
3795
14bc93a9
JL
37962012-11-28 Jeff Law <law@redhat.com>
3797 Martin Osvald <mosvald@redhat.com>
3798
3799 [BZ #14889]
3800 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3801 * sunrpc/svc.c: Include time.h.
3802 (__svc_accept_failed): New function.
3803 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3804 any reason other than EINTR, call __svc_accept_failed.
3805 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3806 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3807
e3c6aa3a
AS
38082012-11-28 Andreas Schwab <schwab@suse.de>
3809
3810 * scripts/abilist.awk: Also handle indirect functions in .opd
3811 section.
3812
1bead169
JM
38132012-11-28 Joseph Myers <joseph@codesourcery.com>
3814
3815 [BZ #13881]
3816 * sysdeps/x86/fpu/powl_helper.c: New file.
3817 * sysdeps/x86/fpu/Makefile: Likewise.
3818 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3819 (p3): New object.
3820 (__ieee754_powl): Use __powl_helper for finite arguments except
3821 integer exponents below 8.
3822 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3823 (p3): New object.
3824 (__ieee754_powl): Use __powl_helper for finite arguments except
3825 integer exponents below 8.
3826 * math/libm-test.inc (pow_test): Add more tests and enable some
3827 previously disabled tests.
3828 * sysdeps/i386/fpu/libm-test-ulps: Update.
3829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3830
0817d63d
SP
38312012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3832 Carlos O'Donell <carlos_odonell@mentor.com>
3833
3834 * nss/makedb.c (is_prime): Assert that input is odd and greater
3835 than 4. Note that fact in a comment too.
3836 (next_prime): Add 4 to input.
3837
de2fd463
SP
38382012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3839
3840 [BZ #11741]
3841 * libio/Makefile (tests): Add test case tst-fwrite-error.
3842 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3843 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3844 * libio/tst-fwrite-error.c: New test case.
3845
c515fb51
L
38462012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3847
3848 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3849 before casting to void *.
3850 * include/libc-internal.h (__pointer_type): New macro.
3851 (__integer_if_pointer_type_sub): Likewise.
3852 (__integer_if_pointer_type): Likewise.
3853 (cast_to_integer): Likewise.
3854 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3855 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3856 before casting to atomic64_t.
3857 (atomic_exchange_acq): Likewise.
3858 (__arch_exchange_and_add_body): Likewise.
3859 (__arch_add_body): Likewise.
3860 (atomic_add_negative): Likewise.
3861 (atomic_add_zero): Likewise.
3862
4cf77aa9
JM
38632012-11-26 Joseph Myers <joseph@codesourcery.com>
3864
3865 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3866 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3867 (add_fdes): Likewise.
3868 (linear_search_fdes): Likewise.
3869 (binary_search_unencoded_fdes): Likewise.
3870
d260b3b4
AS
38712012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3872
3873 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3874
67060746
AC
38752012-11-24 Adam Conrad <adconrad@0c3.net>
3876
3877 * configure.in: Autodetect C++ header directories.
3878 * configure: Regenerated.
3879
800938a1
MF
38802012-11-23 Mike Frysinger <vapier@gentoo.org>
3881
3882 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3883
4e6e34e6
AS
38842012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3885
3886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3887
7c7feb47
JM
38882012-11-22 Joseph Myers <joseph@codesourcery.com>
3889
7184dcdf
JM
3890 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3891 LDBL_MANT_DIG == 106]: Disable some tests.
3892 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3893 Likewise.
3894 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3895 Likewise.
3896
0a42601f
JM
3897 [BZ #14871]
3898 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3899 input for small inputs. Return +/- pi/2 for large inputs.
3900 * math/libm-test.inc (atan_test): Add more tests.
3901
79c9b9fe
JM
3902 * sysdeps/generic/unwind-dw2-fde-glibc.c
3903 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3904 __attribute__ ((unused)).
3905
c60d3bf2
JM
3906 [BZ #14645]
3907 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3908 x * y if x and y are nonzero and z is zero.
3909
ef1e0867
JM
3910 [BZ #14811]
3911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3912 nonzero exponents with absolute value below 0x1p-117 to +/-
3913 0x1p-117.
3914
1468ded3
JM
3915 [BZ #14869]
3916 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3917 up arguments below 2**-450, not just those below 2**-500.
3918 * math/libm-test.inc (hypot_test): Add another test.
3919
8e27e3cc
JM
3920 [BZ #14868]
3921 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3922 Return a+b for ratio over 2**120, not 2**60.
3923 * math/libm-test.inc (hypot_test): Add another test.
3924
c9c0279b
JM
3925 * math/libm-test.inc (clog_test): Use
3926 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3927 (clog10_test): Likewise.
3928
7c7feb47
JM
3929 [BZ #6778]
3930 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3931
fff1530e
AS
39322012-11-22 Andreas Schwab <schwab@suse.de>
3933
3934 * sysdeps/i386/fpu/libm-test-ulps: Update.
3935
94558d30
PT
39362012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3937
3938 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3939 printf output with newline.
3940
7e1be741
L
39412012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3942
6bfea974
L
3943 [BZ #14865]
3944 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3945 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3946 -z nodlopen, -z initfirst and -z execstack support.
3947 * configure: Regenerated.
3948
7e1be741
L
3949 * elf/elf.h (DF_1_NODIRECT): New macro.
3950 (DF_1_IGNMULDEF): Likewise.
3951 (DF_1_NOKSYMS): Likewise.
3952 (DF_1_NOHDR): Likewise.
3953 (DF_1_EDITED): Likewise.
3954 (DF_1_NORELOC): Likewise.
3955 (DF_1_SYMINTPOSE): Likewise.
3956 (DF_1_GLOBAUDIT): Likewise.
3957 (DF_1_SINGLETON): Likewise.
3958 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3959 DT_1_SUPPORTED_MASK bits.
3960 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3961
105ce2ce
CD
39622012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3963
3964 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3965
123be9de
TS
39662012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3967
d072f3f7
TS
3968 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3969 macro.
3970
123be9de
TS
3971 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3972 (sendmmsg): Move declarations...
3973 * socket/sys/socket.h: ... here.
3974 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3975 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3976 include it from...
3977 * socket/recvmmsg.c: ... this new file.
3978 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3979 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3980 definition of __sendmmsg hidden.
3981 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3982 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3983 Move ENOSYS stub into and include it from...
3984 * socket/sendmmsg.c: ... this new file.
3985 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3986 (sysdep_routines): Move recvmmsg and sendmmsg...
3987 * socket/Makefile (routines): ... here.
3988 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3989 (GLIBC_PRIVATE): Add __sendmmsg.
3990 * include/sys/socket.h (__sendmmsg): Add declarations.
3991 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3992 sendmmsg.
3993
cf9a5d18
JM
39942012-11-20 Joseph Myers <joseph@codesourcery.com>
3995
3996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3997 variable I1 with __attribute__ ((unused)).
3998 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3999
ecd4caf9
JM
40002012-11-19 Joseph Myers <joseph@codesourcery.com>
4001
be14d48f
JM
4002 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4003 DUMMY variables with __attribute__ ((unused)).
4004
ecd4caf9
JM
4005 * bits/byteswap.h: Include <bits/types.h>.
4006 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4007
986cab95
PT
40082012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4009
4010 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4011 string_t. Do not manually set errno.
4012 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4013 length with __strnlen. Make sure to both set errno and return it on
4014 failure.
4015
6d33cc9d
DM
40162012-11-19 David S. Miller <davem@davemloft.net>
4017
4018 With help from Joseph Myers.
4019 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4020 very large arguments properly.
4021 * math/libm-test.inc (atan_test): New tests.
4022 (atan2_test): New tests.
4023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4025
ee663277
JM
40262012-11-19 Joseph Myers <joseph@codesourcery.com>
4027
877f2d8e
JM
4028 [BZ #14856]
4029 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4030 Define to 3.
4031
116fc08a
JM
4032 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4033 [POSIX] (EADDRNOTAVAIL): Likewise.
4034 [POSIX] (EAFNOSUPPORT): Likewise.
4035 [POSIX] (EALREADY): Likewise.
4036 [POSIX] (ECONNABORTED): Likewise.
4037 [POSIX] (ECONNREFUSED): Likewise.
4038 [POSIX] (ECONNRESET): Likewise.
4039 [POSIX] (EDESTADDRREQ): Likewise.
4040 [POSIX] (EDQUOT): Likewise.
4041 [POSIX] (EHOSTUNREACH): Likewise.
4042 [POSIX] (EIDRM): Likewise.
4043 [POSIX] (EISCONN): Likewise.
4044 [POSIX] (ELOOP): Likewise.
4045 [POSIX] (EMULTIHOP): Likewise.
4046 [POSIX] (ENETDOWN): Likewise.
4047 [POSIX] (ENETUNREACH): Likewise.
4048 [POSIX] (ENOBUFS): Likewise.
4049 [POSIX] (ENODATA): Likewise.
4050 [POSIX] (ENOLINK): Likewise.
4051 [POSIX] (ENOMSG): Likewise.
4052 [POSIX] (ENOPROTOOPT): Likewise.
4053 [POSIX] (ENOSR): Likewise.
4054 [POSIX] (ENOSTR): Likewise.
4055 [POSIX] (ENOTCONN): Likewise.
4056 [POSIX] (ENOTSOCK): Likewise.
4057 [POSIX] (EOPNOTSUPP): Likewise.
4058 [POSIX] (EOVERFLOW): Likewise.
4059 [POSIX] (EPROTO): Likewise.
4060 [POSIX] (EPROTONOSUPPORT): Likewise.
4061 [POSIX] (EPROTOTYPE): Likewise.
4062 [POSIX] (ESTALE): Likewise.
4063 [POSIX] (ETIME): Likewise.
4064 [POSIX] (ETXTBSY): Likewise.
4065 [POSIX] (EWOULDBLOCK): Likewise.
4066 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4067 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4068 [POSIX] (SEEK_CUR): Likewise.
4069 [POSIX] (SEEK_END): Likewise.
4070 [POSIX || UNIX98] (mode_t): Do not require.
4071 [POSIX] (off_t): Likewise.
4072 [POSIX] (pid_t): Likewise.
4073 [POSIX] (sys/stat.h): Do not allow header.
4074 [POSIX] (unistd.h): Likewise.
4075 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4076 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4077 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4078 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4079 require.
4080 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4081 sigevent): Specify elements.
4082 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4083 entry.
4084 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4085 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4086
a483863f
JM
4087 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4088 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4089 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4090 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4091 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4092 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4093 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4094 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4095 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4096 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4097 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4098 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4099 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4100 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4101 Likewise.
4102 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4103 Likewise.
4104 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4105 Likewise.
4106 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4107 Likewise.
4108 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4109 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4110 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4111 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4112 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4113 Specify lower bound on value.
4114 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4115 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4116 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4117 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4118 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4119 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4120 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4121 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4122 value.
4123 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4124 as optional.
4125 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4126 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4127 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4128 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4130 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4131 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4132 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4133 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4134 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4135 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4136 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4137 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4138 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4139 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4140 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4141 entry.
4142 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4143 optional.
4144 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4145 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4146 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4147 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4148 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4149 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4150 Likewise.
4151 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4152 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4153 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4154 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4155 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4156 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4157 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4158 as optional.
4159 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4160 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4161 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4162 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4163 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4164 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4165 specify as optional.
4166 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4167 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4168 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4169 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4170 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4171 [XPG3] (NL_LANGMAX): Likewise.
4172 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4173 [POSIX || XPG3] (NL_NMAX): Likewise.
4174 [POSIX || XPG3] (NL_SETMAX): Likewise.
4175 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4176 [XPG3] (NZERO): Likewise.
4177 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4178 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4179 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4180 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4181 (REG_ERANGE): Expect.
4182 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4183 optional-constant.
4184 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4185 Use (void) in prototype.
4186 [POSIX] (*_t): Allow.
4187 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4188 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4189 (WRDE_BADVAL): Expect.
4190
5ba924e3
JM
4191 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4192 expect.
4193 [XPG3 || XPG4] (O_RSYNC): Likewise.
4194 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4195 Likewise.
4196 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4197 [XPG3 || XPG4] (sigqueue): Likewise.
4198 [XPG3 || XPG4] (sigtimedwait): Likewise.
4199 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4200 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4201 [XPG3 || XPG4] (vsnprintf): Likewise.
4202 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4203 Likewise.
4204 [XPG3 || XPG4] (blksize_t): Likewise.
4205 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4206 Likewise.
4207 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4208 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4209 [XPG3 || XPG4] (struct itimerspec): Likewise.
4210 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4211 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4212 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4213 [XPG3 || XPG4] (clockid_t): Likewise.
4214 [XPG3 || XPG4] (timer_t): Likewise.
4215 [XPG3 || XPG4] (clock_getres): Likewise.
4216 [XPG3 || XPG4] (clock_gettime): Likewise.
4217 [XPG3 || XPG4] (clock_settime): Likewise.
4218 [XPG3 || XPG4] (nanosleep): Likewise.
4219 [XPG3 || XPG4] (timer_create): Likewise.
4220 [XPG3 || XPG4] (timer_delete): Likewise.
4221 [XPG3 || XPG4] (timer_gettime): Likewise.
4222 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4223 [XPG3 || XPG4] (timer_settime): Likewise.
4224 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4225 [XPG3 || XPG4] (getlogin_r): Likewise.
4226 [XPG3 || XPG4] (pread): Likewise.
4227 [XPG3 || XPG4] (pthread_atfork): Likewise.
4228 [XPG3 || XPG4] (pwrite): Likewise.
4229
ee663277
JM
4230 [BZ #14835]
4231 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4232 <bits/siginfo.h>.
4233
942caa16
PT
42342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4235
e19af380
PT
4236 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4237 finalizing MALLSTREAM.
4238
942caa16
PT
4239 * sysdeps/mach/hurd/syncfs.c: New file.
4240
cfde9b46
SP
42412012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4242
4243 [BZ #14719]
4244 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4245 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4246 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4247 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4248 (_nss_dns_gethostbyname4_r): Likewise.
4249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4250 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4251
f6da27e5
PH
42522012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4253
4254 [BZ #13763]
4255 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4256
6665d4a2
SM
42572012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4258
1f51ee92
SM
4259 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4260 * elf/cache.c (print_entry): Print ",AArch64" for
4261 FLAG_AARCH64_LIB64
4262
6665d4a2
SM
4263 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4264 * elf/cache.c (print_entry): Print ",hard-float" for
4265 FLAG_ARM_LIBHF.
4266
05b227bd
DM
42672012-11-18 David S. Miller <davem@davemloft.net>
4268
4269 With help from Joseph Myers.
4270 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4271 cutoff to 2**-13.
4272 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4273 cutoff to 2**-25.
4274 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4275 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4276 small.
4277 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4278 * math/libm-test.inc (y0_test): New tests.
4279 (y1_test): New tests.
4280 * sysdeps/i386/fpu/libm-test-ulps: Update.
4281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4283
786b0b67
AS
42842012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4285
4286 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4287 64-bit targets.
4288 * configure: Regenerated.
4289
8e18b86d
DM
42902012-11-17 David S. Miller <davem@davemloft.net>
4291
4292 [BZ #14811]
4293 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4294 nonzero exponents with absolute value below 0x1p-128 to +/-
4295 0x1p-128.
4296
531f1ae0
JM
42972012-11-17 Joseph Myers <joseph@codesourcery.com>
4298
12df29e2
JM
4299 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4300
150dc1a0
JM
4301 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4302
531f1ae0
JM
4303 * posix/getconf-speclist.c: New file.
4304 * posix/posix-envs.def: Likewise.
4305 * posix/confstr.c (START_ENV_GROUP): New macro.
4306 (END_ENV_GROUP): Likewise.
4307 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4308 (KNOWN_PRESENT_ENV_STRING): Likewise.
4309 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4310 (UNKNOWN_ENVIRONMENT): Likewise.
4311 (confstr): Include posix-envs.def instead of handling
4312 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4313 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4314 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4315 (END_ENV_GROUP): Likewise.
4316 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4317 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4318 (UNKNOWN_ENVIRONMENT): Likewise.
4319 (__sysconf): Include posix-envs.def instead of handling associated
4320 cases directly here.
4321 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4322 preprocessing getconf-speclist.c rather than running getconf or
4323 generating empty file.
4324
a93f9cbc
PT
43252012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4326
4327 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4328
d64d9f87
AL
43292012-11-16 Andrej Lajovic <natrij@gmail.com>
4330
4331 [BZ #14672]
4332 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4333
447885eb
DM
43342012-11-16 David S. Miller <davem@davemloft.net>
4335
4336 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4337 smaller than LDBL_EPSILON/2.0L, just return xm1.
4338
bcbf9830
L
43392012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4340
4341 * elf/tst-array1.c (init): Set constructor priority to 1000.
4342 (fini): Set destructor priority to 1000.
4343 * elf/tst-array2dep.c: Likewise.
4344
2b766585
SP
43452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4346
4347 [BZ #11741]
4348 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4349 (_IO_new_file_xsputn): Also return EOF if none of the input
4350 data was written when overflow failed.
4351 * libio/iopadn.c (_IO_padn): Likewise.
4352 * libio/iowpadn.c (_IO_wpadn): Likewise.
4353 * stdio-common/tst-put-error.c: Add copyright notice.
4354 (do_test): Add case for printing padded string.
4355 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4356 _IO_padn returned error.
4357 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4358 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4359 return EOF.
4360
b1848fde
SP
43612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4362
4363 * libio/libioP.h: Add comment note that the references to C++
4364 bits are now obsolete.
4365
2fd89785
MS
43662012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4367
4368 * math/libm-test.inc (check_complex): Use asprintf.
4369
e3ea5409
JM
43702012-11-14 Joseph Myers <joseph@codesourcery.com>
4371
4372 * debug/pcprofiledump.c (print_version): Update copyright year.
4373 * malloc/memusagestat.c (print_version): Likewise.
4374
2e64d265
L
43752012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 [BZ #14831]
4378 * elf/Makefile (tests): Add tst-audit8.
4379 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4380 ($(objpfx)tst-audit8.out): New target.
4381 (tst-audit8-ENV): New variable.
4382 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4383 audit if l_reloc_result is NULL.
4384 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4385 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4386 * elf/tst-audit8.c: New file.
4387
c485e4d2
MS
43882012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4389
4390 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4391 * misc/Makefile (CFLAGS-select.c): Define.
4392 * posix/Makefile (CFLAGS-pause.c): Define.
4393
3a0d900a
DM
43942012-11-13 David S. Miller <davem@davemloft.net>
4395
4396 * crypt/Makefile: Move test targets after toplevel Rules
4397 inclusion. Grab any necessary sysdep routines when linking.
4398 * crypt/md5.c (md5_process_block): Remove define, we will always
4399 name it __md5_process_block.
4400 (md5_finish_ctx): Update md5_process_block call.
4401 (md5_stream): Likewise.
4402 (md5_process_bytes): Likewise.
4403 (md5_process_block): Rename to __md5_process_block and move to ...
4404 * crypt/md5-block.c: ... here.
4405 * crypt/sha256.c (sha256_process_block): Move to ...
4406 * crypt/sha256-block.c: ... here.
4407 * crypt/sha512.c (sha512_process_block): Move to ...
4408 * crypt/sha512-block.c: ... here.
4409 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4410 path.
4411 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4412 * sysdeps/sparc/sparc64/multiarch/Makefile
4413 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4414 crypt subdir.
4415 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4416 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4417 multiarch changes.
4418 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4419 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4420 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4421 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4422 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4423 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4424 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4425 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4426 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4427 file.
4428 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4429 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4430 file.
4431 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4432
8ca89318
JM
44332012-11-13 Joseph Myers <joseph@codesourcery.com>
4434
e27d476a
JM
4435 * timezone/tzselect.ksh: Update from tzcode git revision
4436 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4437 * timezone/zdump.c: Likewise.
4438 * timezone/zic.c: Likewise.
4439 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4440 in TZVERSION setting, not $(PKGVERSION).
4441 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4442 REPORT_BUGS_TO settings.
4443
8ca89318
JM
4444 [BZ #14838]
4445 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4446 macro.
4447
47594329
MS
44482012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4449
4450 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4451 detection to immediately after _FP_ROUND().
4452 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4453 bits are 0.
4454
640ac3f1
DM
44552012-11-11 David S. Miller <davem@davemloft.net>
4456
4457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4458 inttypes.h
4459 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4460 __close rather than their public counterparts.
4461
3d2577bb
JM
44622012-11-10 Joseph Myers <joseph@codesourcery.com>
4463
4464 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4465 file.
4466 [UNIX98] (sem_timedwait): Do not expect.
4467 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4468 [XPG4 || UNIX98] (sockatmark): Do not expect.
4469 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4470 (clock_getcpuclockid): Do not expect.
4471 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4472 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4473 Do not expect.
4474 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4475 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4476 [UNIX98] (vwscanf): Likewise.
4477 [UNIX98] (vswscanf): Likewise.
4478
fb1ae1ee
JM
44792012-11-09 Joseph Myers <joseph@codesourcery.com>
4480
9ec6f8bd
JM
4481 * timezone/version.h: Remove file.
4482 * timezone/README: Do not refer to version.h.
4483 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4484 $(objpfx)version.h.
4485 ($(objpfx)zdump.o): Likewise.
c3f81911 4486 ($(objpfx)version.h): New target.
9ec6f8bd 4487
0aa8f8a1
JM
4488 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4489 2012i.
4490 * timezone/README: Don't mention modification to tzselect.ksh.
4491 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4492 work on unmodified tzselect.ksh. Substitute version numbers in
4493 tzselect.ksh.
4494
4e87147f
JM
4495 * Makefile (format-me): Remove.
4496 (INSTALL): Adjust indentation. Use commands directly instead of
4497 using $(format-me).
4498
8b748aed
JM
4499 * aclocal.m4 (ACX_PKGVERSION): New macro.
4500 (ACX_BUGURL): Likewise.
4501 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4502 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4503 (REPORT_BUGS_TO): Likewise.
4504 * configure: Regenerated.
4505 * config.h.in (PKGVERSION): New macro.
4506 (REPORT_BUGS_TO): Likewise.
4507 * config.make.in (PKGVERSION): New variable.
4508 (PKGVERSION_TEXI): Likewise.
4509 (REPORT_BUGS_TO): Likewise.
4510 (REPORT_BUGS_TEXI): Likewise.
4511 * Makefile (format-me): Use -I$(common-objpfx)manual.
4512 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4513 ($(common-objpfx)manual/%): New target.
4514 (manual/%): Remove target.
4515 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4516 (print_version): Use PKGVERSION.
4517 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4518 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4519 and REPORT_BUGS_TO.
4520 ($(objpfx)xtrace): Likewise.
4521 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4522 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4523 (print_version): Use PKGVERSION.
4524 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4525 (do_version): Use PKGVERSION.
4526 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4527 REPORT_BUGS_TO.
4528 (common-ldd-rewrite): Likewise.
4529 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4530 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4531 (print_version): Use PKGVERSION.
4532 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4533 * elf/pldd.c (argp_program_bug_address): Remove variable.
4534 (more_help): New function.
4535 (argp): Use more_help.
4536 (print_version): Use PKGVERSION.
4537 * elf/sln.c (main): Use PKGVERSION.
4538 (usage): Use REPORT_BUGS_TO.
4539 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4540 (top level): Use PKGVERSION.
4541 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4542 (print_version): Use PKGVERSION.
4543 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4544 (print_version): Use PKGVERSION.
4545 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4546 (print_version): Use PKGVERSION.
4547 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4548 (print_version): Use PKGVERSION.
4549 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4550 (print_version): Use PKGVERSION.
4551 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4552 (print_version): Use PKGVERSION.
4553 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4554 and BUGURL.
4555 ($(objpfx)memusage): Likewise.
4556 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4557 (do_version): Use PKGVERSION.
4558 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4559 (print_version): Use PKGVERSION.
4560 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4561 ($PKGVERSION): New variable.
4562 ($REPORT_BUGS_TO): Likewise.
4563 (usage): Use $REPORT_BUGS_TO.
4564 (top level): Use $PKGVERSION.
4565 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4566 ($(objpfx)pkgvers.texi): New rule.
4567 ($(objpfx)stamp-pkgvers): Likewise.
4568 * manual/install.texi: Include pkgvers.texi.
4569 (--with-pkgversion): Document new configure option.
4570 (--with-bugurl): Likewise.
4571 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4572 than necessarily for this particular distribution. Use
4573 REPORT_BUGS_TO for where to report bugs.
4574 * INSTALL: Regenerated.
4575 * manual/libc.texinfo: Include pkgvers.texi.
4576 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4577 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4578 (print_version): Use PKGVERSION.
4579 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4580 (print_version): Use PKGVERSION.
4581 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4582 (print_version): Use PKGVERSION.
4583 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4584 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4585 macro.
4586 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4587 (print_version): Use PKGVERSION.
4588 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4589 (print_version): Use PKGVERSION.
4590 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4591 and PKGVERSION.
4592
92e4b6a9
JM
4593 * timezone/checktab.awk: Update from tzcode 2012i.
4594 * timezone/ialloc.c: Likewise.
4595 * timezone/private.h: Likewise.
4596 * timezone/scheck.c: Likewise.
4597 * timezone/tzfile.h: Likewise.
4598 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4599 (TZVERSION): Hardcode tzcode version number.
4600 * timezone/zdump.c: Update from tzcode 2012i.
4601 * timezone/zic.c: Likewise.
4602 * timezone/version.h: New file.
4603 * timezone/README: Describe version.h. Update upstream location.
4604
9bde902c
JM
4605 [BZ #14824]
4606 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4607 (mktemp): Enable declaration.
4608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4611 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4612 Likewise.
4613 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4614 Likewise.
4615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4616 Likewise.
4617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4618 Likewise.
4619 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4620 Likewise.
4621 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4622 Likewise.
4623
fb1ae1ee
JM
4624 [BZ #14821]
4625 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4626 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4627 for copies of such integer values.
4628 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4629 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4630
2c1adbcb
AJ
46312012-11-09 Andreas Jaeger <aj@suse.de>
4632
4633 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4634 definitions and declarations that are provided by
4635 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4636
d0f8457e
AK
46372012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4638
3a235abb 4639 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4640 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4641 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4642 definition.
4643
57241e26
MS
46442012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4645
4646 * elf/elf.h: Update comment before AArch64 relocations.
4647
60e8270d
DM
46482012-11-07 David S. Miller <davem@davemloft.net>
4649
4650 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4652 (__start_context): Declare.
4653 (__makecontext_ret): Delete.
4654 (__makecontext): Hook up __start_context instead of
4655 __makecontext_ret.
4656 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4657 (sysdep_routines): Add __start_context when in stdlib.
4658
0fbb0fbc
JM
46592012-11-07 Joseph Myers <joseph@codesourcery.com>
4660
4661 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4662 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4663 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4664 hardcoded "nm".
4665 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4666 (READELF): New variable. Use it instead of hardcoded "readelf".
4667
eb48db7e
L
46682012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4669
4670 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4671 * sysdeps/x86/Makefile: Here.
4672 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4673 * sysdeps/x86/tst-xmmymm.sh: This.
4674
05bcf62a
JM
46752012-11-07 Joseph Myers <joseph@codesourcery.com>
4676
c4b6cf53
JM
4677 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4678 expectations.
4679 [UNIX98] (pthread_barrier_t): Do not expect.
4680 [UNIX98] (pthread_barrierattr_t): Likewise.
4681 [UNIX98] (pthread_spinlock_t): Likewise.
4682 [UNIX98] (pthread_barrier_destroy): Likewise.
4683 [UNIX98] (pthread_barrier_init): Likewise.
4684 [UNIX98] (pthread_barrier_wait): Likewise.
4685 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4686 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4687 [UNIX98] (pthread_barrierattr_init): Likewise.
4688 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4689 [UNIX98] (pthread_getcpuclockid): Likewise.
4690 [UNIX98] (pthread_mutex_timedlock): Likewise.
4691 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4692 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4693 [UNIX98] (pthread_sigmask): Likewise.
4694 [UNIX98] (pthread_spin_destroy): Likewise.
4695 [UNIX98] (pthread_spin_init): Likewise.
4696 [UNIX98] (pthread_spin_lock): Likewise.
4697 [UNIX98] (pthread_spin_trylock): Likewise.
4698 [UNIX98] (pthread_spin_unlock): Likewise.
4699 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4700 Do not expect.
4701 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4702 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4703 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4704 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4705 [XPG3 || XPG4] (pthread_key_t): Likewise.
4706 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4707 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4708 [XPG3 || XPG4] (pthread_once_t): Likewise.
4709 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4710 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4711 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4712 [XPG3 || XPG4] (pthread_t): Likewise.
4713
cbe6e120
JM
4714 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4715 not expect.
4716 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4717
1b126443
JM
4718 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4719 Change function return type to int.
4720
b961a573
JM
4721 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4722 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4723 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4724 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4725 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4726 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4727 [!POSIX] (posix_madvise): Likewise.
4728 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4729 && !UNIX98].
4730 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4731 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4732 (mode_t): Likewise.
4733 (posix_mem_offset): Likewise.
4734 (posix_typed_mem_get_info): Likewise.
4735 (posix_typed_mem_open): Likewise.
4736
9e188909
JM
4737 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4738 Change condition to [XOPEN2K8].
4739
05bcf62a
JM
4740 * conform/conformtest.pl: Preprocess allow-header data with -x c
4741 instead of from stdin.
4742 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4743 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4744 [C99-based standards] (cerfc): Likewise.
4745 [C99-based standards] (cexp2): Likewise.
4746 [C99-based standards] (cexpm1): Likewise.
4747 [C99-based standards] (clog10): Likewise.
4748 [C99-based standards] (clog1p): Likewise.
4749 [C99-based standards] (clog2): Likewise.
4750 [C99-based standards] (clgamma): Likewise.
4751 [C99-based standards] (ctgamma): Likewise.
4752 [C99-based standards] (cerff): Likewise.
4753 [C99-based standards] (cerfcf): Likewise.
4754 [C99-based standards] (cexp2f): Likewise.
4755 [C99-based standards] (cexpm1f): Likewise.
4756 [C99-based standards] (clog10f): Likewise.
4757 [C99-based standards] (clog1pf): Likewise.
4758 [C99-based standards] (clog2f): Likewise.
4759 [C99-based standards] (clgammaf): Likewise.
4760 [C99-based standards] (ctgammaf): Likewise.
4761 [C99-based standards] (cerfl): Likewise.
4762 [C99-based standards] (cerfcl): Likewise.
4763 [C99-based standards] (cexp2l): Likewise.
4764 [C99-based standards] (cexpm1l): Likewise.
4765 [C99-based standards] (clog10l): Likewise.
4766 [C99-based standards] (clog1pl): Likewise.
4767 [C99-based standards] (clog2l): Likewise.
4768 [C99-based standards] (clgammal): Likewise.
4769 [C99-based standards] (ctgammal): Likewise.
4770 * conform/data/inttypes.h-data [C99-based standards]: Include
4771 stdint.h-data. Remove all expectations for stdint.h contents.
4772 [C99-based standards] (PRI*): Do not allow.
4773 [C99-based standards] (SCN*): Likewise.
4774 [C99-based standards] (*_t): Likewise.
4775 [C99-based-standards] (PRId8): Expect macro.
4776 [C99-based-standards] (PRIi8): Likewise.
4777 [C99-based-standards] (PRIo8): Likewise.
4778 [C99-based-standards] (PRIu8): Likewise.
4779 [C99-based-standards] (PRIx8): Likewise.
4780 [C99-based-standards] (PRIX8): Likewise.
4781 [C99-based-standards] (SCNd8): Likewise.
4782 [C99-based-standards] (SCNi8): Likewise.
4783 [C99-based-standards] (SCNo8): Likewise.
4784 [C99-based-standards] (SCNu8): Likewise.
4785 [C99-based-standards] (SCNx8): Likewise.
4786 [C99-based-standards] (PRIdLEAST8): Likewise.
4787 [C99-based-standards] (PRIiLEAST8): Likewise.
4788 [C99-based-standards] (PRIoLEAST8): Likewise.
4789 [C99-based-standards] (PRIuLEAST8): Likewise.
4790 [C99-based-standards] (PRIxLEAST8): Likewise.
4791 [C99-based-standards] (PRIXLEAST8): Likewise.
4792 [C99-based-standards] (SCNdLEAST8): Likewise.
4793 [C99-based-standards] (SCNiLEAST8): Likewise.
4794 [C99-based-standards] (SCNoLEAST8): Likewise.
4795 [C99-based-standards] (SCNuLEAST8): Likewise.
4796 [C99-based-standards] (SCNxLEAST8): Likewise.
4797 [C99-based-standards] (PRIdFAST8): Likewise.
4798 [C99-based-standards] (PRIiFAST8): Likewise.
4799 [C99-based-standards] (PRIoFAST8): Likewise.
4800 [C99-based-standards] (PRIuFAST8): Likewise.
4801 [C99-based-standards] (PRIxFAST8): Likewise.
4802 [C99-based-standards] (PRIXFAST8): Likewise.
4803 [C99-based-standards] (SCNdFAST8): Likewise.
4804 [C99-based-standards] (SCNiFAST8): Likewise.
4805 [C99-based-standards] (SCNoFAST8): Likewise.
4806 [C99-based-standards] (SCNuFAST8): Likewise.
4807 [C99-based-standards] (SCNxFAST8): Likewise.
4808 [C99-based-standards] (PRId16): Likewise.
4809 [C99-based-standards] (PRIi16): Likewise.
4810 [C99-based-standards] (PRIo16): Likewise.
4811 [C99-based-standards] (PRIu16): Likewise.
4812 [C99-based-standards] (PRIx16): Likewise.
4813 [C99-based-standards] (PRIX16): Likewise.
4814 [C99-based-standards] (SCNd16): Likewise.
4815 [C99-based-standards] (SCNi16): Likewise.
4816 [C99-based-standards] (SCNo16): Likewise.
4817 [C99-based-standards] (SCNu16): Likewise.
4818 [C99-based-standards] (SCNx16): Likewise.
4819 [C99-based-standards] (PRIdLEAST16): Likewise.
4820 [C99-based-standards] (PRIiLEAST16): Likewise.
4821 [C99-based-standards] (PRIoLEAST16): Likewise.
4822 [C99-based-standards] (PRIuLEAST16): Likewise.
4823 [C99-based-standards] (PRIxLEAST16): Likewise.
4824 [C99-based-standards] (PRIXLEAST16): Likewise.
4825 [C99-based-standards] (SCNdLEAST16): Likewise.
4826 [C99-based-standards] (SCNiLEAST16): Likewise.
4827 [C99-based-standards] (SCNoLEAST16): Likewise.
4828 [C99-based-standards] (SCNuLEAST16): Likewise.
4829 [C99-based-standards] (SCNxLEAST16): Likewise.
4830 [C99-based-standards] (PRIdFAST16): Likewise.
4831 [C99-based-standards] (PRIiFAST16): Likewise.
4832 [C99-based-standards] (PRIoFAST16): Likewise.
4833 [C99-based-standards] (PRIuFAST16): Likewise.
4834 [C99-based-standards] (PRIxFAST16): Likewise.
4835 [C99-based-standards] (PRIXFAST16): Likewise.
4836 [C99-based-standards] (SCNdFAST16): Likewise.
4837 [C99-based-standards] (SCNiFAST16): Likewise.
4838 [C99-based-standards] (SCNoFAST16): Likewise.
4839 [C99-based-standards] (SCNuFAST16): Likewise.
4840 [C99-based-standards] (SCNxFAST16): Likewise.
4841 [C99-based-standards] (PRId32): Likewise.
4842 [C99-based-standards] (PRIi32): Likewise.
4843 [C99-based-standards] (PRIo32): Likewise.
4844 [C99-based-standards] (PRIu32): Likewise.
4845 [C99-based-standards] (PRIx32): Likewise.
4846 [C99-based-standards] (PRIX32): Likewise.
4847 [C99-based-standards] (SCNd32): Likewise.
4848 [C99-based-standards] (SCNi32): Likewise.
4849 [C99-based-standards] (SCNo32): Likewise.
4850 [C99-based-standards] (SCNu32): Likewise.
4851 [C99-based-standards] (SCNx32): Likewise.
4852 [C99-based-standards] (PRIdLEAST32): Likewise.
4853 [C99-based-standards] (PRIiLEAST32): Likewise.
4854 [C99-based-standards] (PRIoLEAST32): Likewise.
4855 [C99-based-standards] (PRIuLEAST32): Likewise.
4856 [C99-based-standards] (PRIxLEAST32): Likewise.
4857 [C99-based-standards] (PRIXLEAST32): Likewise.
4858 [C99-based-standards] (SCNdLEAST32): Likewise.
4859 [C99-based-standards] (SCNiLEAST32): Likewise.
4860 [C99-based-standards] (SCNoLEAST32): Likewise.
4861 [C99-based-standards] (SCNuLEAST32): Likewise.
4862 [C99-based-standards] (SCNxLEAST32): Likewise.
4863 [C99-based-standards] (PRIdFAST32): Likewise.
4864 [C99-based-standards] (PRIiFAST32): Likewise.
4865 [C99-based-standards] (PRIoFAST32): Likewise.
4866 [C99-based-standards] (PRIuFAST32): Likewise.
4867 [C99-based-standards] (PRIxFAST32): Likewise.
4868 [C99-based-standards] (PRIXFAST32): Likewise.
4869 [C99-based-standards] (SCNdFAST32): Likewise.
4870 [C99-based-standards] (SCNiFAST32): Likewise.
4871 [C99-based-standards] (SCNoFAST32): Likewise.
4872 [C99-based-standards] (SCNuFAST32): Likewise.
4873 [C99-based-standards] (SCNxFAST32): Likewise.
4874 [C99-based-standards] (PRId64): Likewise.
4875 [C99-based-standards] (PRIi64): Likewise.
4876 [C99-based-standards] (PRIo64): Likewise.
4877 [C99-based-standards] (PRIu64): Likewise.
4878 [C99-based-standards] (PRIx64): Likewise.
4879 [C99-based-standards] (PRIX64): Likewise.
4880 [C99-based-standards] (SCNd64): Likewise.
4881 [C99-based-standards] (SCNi64): Likewise.
4882 [C99-based-standards] (SCNo64): Likewise.
4883 [C99-based-standards] (SCNu64): Likewise.
4884 [C99-based-standards] (SCNx64): Likewise.
4885 [C99-based-standards] (PRIdLEAST64): Likewise.
4886 [C99-based-standards] (PRIiLEAST64): Likewise.
4887 [C99-based-standards] (PRIoLEAST64): Likewise.
4888 [C99-based-standards] (PRIuLEAST64): Likewise.
4889 [C99-based-standards] (PRIxLEAST64): Likewise.
4890 [C99-based-standards] (PRIXLEAST64): Likewise.
4891 [C99-based-standards] (SCNdLEAST64): Likewise.
4892 [C99-based-standards] (SCNiLEAST64): Likewise.
4893 [C99-based-standards] (SCNoLEAST64): Likewise.
4894 [C99-based-standards] (SCNuLEAST64): Likewise.
4895 [C99-based-standards] (SCNxLEAST64): Likewise.
4896 [C99-based-standards] (PRIdFAST64): Likewise.
4897 [C99-based-standards] (PRIiFAST64): Likewise.
4898 [C99-based-standards] (PRIoFAST64): Likewise.
4899 [C99-based-standards] (PRIuFAST64): Likewise.
4900 [C99-based-standards] (PRIxFAST64): Likewise.
4901 [C99-based-standards] (PRIXFAST64): Likewise.
4902 [C99-based-standards] (SCNdFAST64): Likewise.
4903 [C99-based-standards] (SCNiFAST64): Likewise.
4904 [C99-based-standards] (SCNoFAST64): Likewise.
4905 [C99-based-standards] (SCNuFAST64): Likewise.
4906 [C99-based-standards] (SCNxFAST64): Likewise.
4907 [C99-based-standards] (PRIdMAX): Likewise.
4908 [C99-based-standards] (PRIiMAX): Likewise.
4909 [C99-based-standards] (PRIoMAX): Likewise.
4910 [C99-based-standards] (PRIuMAX): Likewise.
4911 [C99-based-standards] (PRIxMAX): Likewise.
4912 [C99-based-standards] (PRIXMAX): Likewise.
4913 [C99-based-standards] (SCNdMAX): Likewise.
4914 [C99-based-standards] (SCNiMAX): Likewise.
4915 [C99-based-standards] (SCNoMAX): Likewise.
4916 [C99-based-standards] (SCNuMAX): Likewise.
4917 [C99-based-standards] (SCNxMAX): Likewise.
4918 [C99-based-standards] (PRIdPTR): Likewise.
4919 [C99-based-standards] (PRIiPTR): Likewise.
4920 [C99-based-standards] (PRIoPTR): Likewise.
4921 [C99-based-standards] (PRIuPTR): Likewise.
4922 [C99-based-standards] (PRIxPTR): Likewise.
4923 [C99-based-standards] (PRIXPTR): Likewise.
4924 [C99-based-standards] (SCNdPTR): Likewise.
4925 [C99-based-standards] (SCNiPTR): Likewise.
4926 [C99-based-standards] (SCNoPTR): Likewise.
4927 [C99-based-standards] (SCNuPTR): Likewise.
4928 [C99-based-standards] (SCNxPTR): Likewise.
4929 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4930 allow.
4931 * conform/data/stdint.h-data: Update comments to clarify
4932 requirements.
4933 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4934 type.
4935 [C99-based standards] (INT8_MAX): Likewise.
4936 [C99-based standards] (INT16_MIN): Likewise.
4937 [C99-based standards] (INT16_MAX): Likewise.
4938 [C99-based standards] (INT32_MIN): Likewise.
4939 [C99-based standards] (INT32_MAX): Likewise.
4940 [C99-based standards] (INT64_MIN): Likewise.
4941 [C99-based standards] (INT64_MAX): Likewise.
4942 [C99-based standards] (UINT8_MAX): Likewise.
4943 [C99-based standards] (UINT16_MAX): Likewise.
4944 [C99-based standards] (UINT32_MAX): Likewise.
4945 [C99-based standards] (UINT64_MAX): Likewise.
4946 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4947 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4948 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4949 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4950 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4951 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4952 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4953 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4954 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4955 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4956 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4957 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4958 [C99-based standards] (INT_FAST8_MIN): Likewise.
4959 [C99-based standards] (INT_FAST8_MAX): Likewise.
4960 [C99-based standards] (INT_FAST16_MIN): Likewise.
4961 [C99-based standards] (INT_FAST16_MAX): Likewise.
4962 [C99-based standards] (INT_FAST32_MIN): Likewise.
4963 [C99-based standards] (INT_FAST32_MAX): Likewise.
4964 [C99-based standards] (INT_FAST64_MIN): Likewise.
4965 [C99-based standards] (INT_FAST64_MAX): Likewise.
4966 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4967 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4968 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4969 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4970 [C99-based standards] (INTPTR_MIN): Likewise.
4971 [C99-based standards] (INTPTR_MAX): Likewise.
4972 [C99-based standards] (UINTPTR_MAX): Likewise.
4973 [C99-based standards] (INTMAX_MIN): Likewise.
4974 [C99-based standards] (INTMAX_MAX): Likewise.
4975 [C99-based standards] (UINTMAX_MAX): Likewise.
4976 [C99-based standards] (PTRDIFF_MIN): Likewise.
4977 [C99-based standards] (PTRDIFF_MAX): Likewise.
4978 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4979 [C99-based standards] (SIZE_MAX): Likewise.
4980 [C99-based standards] (WCHAR_MAX): Likewise.
4981 [C99-based standards] (WINT_MAX): Likewise.
4982 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4983 constraint on value.
4984 [C99-based standards] (WCHAR_MIN): Likewise.
4985 [C99-based standards] (WINT_MIN): Likewise.
4986 [C99-based standards] (*_t): Allow.
4987 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4988 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4989 Include math.h-data and complex.h-data. Remove all expectations
4990 of math.h and complex.h contents.
4991 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4992 at end of line.
4993 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4994 (struct tm): Expect tag.
4995 [C99-based-standards] (wcstof): Expect function.
4996 [C99-based-standards] (wcstold): Likewise.
4997 [C99-based-standards] (wcstoll): Likewise.
4998 [C99-based-standards] (wcstoull): Likewise.
4999 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5000 macro-int-constant. Specify type.
5001 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5002 constraint on value.
5003 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5004 Specify type.
5005 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5006 Specify value.
5007 [ISO C standards]: Do not allow headers.
5008 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5009 wcs[abcdefghijklmnopqrstuvwxyz]*.
5010 [ISO C standards] (*_t): Do not allow.
5011 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5012 Expect function.
5013 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5014 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5015 Specify type.
5016 [ISO C standards]: Do not allow headers.
5017 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5018 is[abcdefghijklmnopqrstuvwxyz]*.
5019 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5020 to[abcdefghijklmnopqrstuvwxyz]*.
5021 [ISO C standards] (*_t): Do not allow.
5022 * conform/data/stdalign.h-data: New file.
5023 * conform/data/stdbool.h-data: Likewise.
5024 * conform/data/stdnoreturn.h-data: Likewise.
5025
7514feb8
RM
50262012-11-07 Roland McGrath <roland@hack.frob.com>
5027
5028 [BZ #14815]
5029 * manual/filesys.texi (Directory Entries): Typo fix.
5030 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5031
19b2ecfc
MS
50322012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5033
5034 * elf/elf.h (EM_AARCH64): New macro.
5035 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5036 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5037 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5038 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5039 (R_AARCH64_TLSDESC): Likewise.
5040 (NT_ARM_TLS): Likewise.
5041 (NT_ARM_HW_BREAK): Likewise.
5042 (NT_ARM_HW_WATCH): Likewise.
5043
60e235ee
JM
50442012-11-07 Joseph Myers <joseph@codesourcery.com>
5045
5046 [BZ #14811]
5047 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5048 (__ieee754_powl): Saturate nonzero exponents with absolute value
5049 below 0x1p-79 to +/- 0x1p-79.
5050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5051 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5052 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5053 nonzero exponents with absolute value below 0x1p-32 to +/-
5054 0x1p-32.
5055 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5056 (__ieee754_powl): Saturate nonzero exponents with absolute value
5057 below 0x1p-79 to +/- 0x1p-79.
5058 * math/libm-test.inc (pow_test): Add more tests.
5059
0ab234b7
AK
50602012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5061
5062 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5063 _dl_s390_cap_flags with kernel. Increase string length.
5064 (_dl_s390_platforms): Add z196 and zEC12.
5065
45832f74
JM
50662012-11-07 Joseph Myers <joseph@codesourcery.com>
5067
5068 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5069 Change XOPEN21K to XOPEN2K.
5070
19218757
MK
50712012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5072
5073 * string/memmove.c: Use memcpy when possible.
5074
c5f45721
AJ
50752012-11-06 Andreas Jaeger <aj@suse.de>
5076
5077 * po/eo.po: Update from translation team.
5078
82477c28
JM
50792012-11-06 Joseph Myers <joseph@codesourcery.com>
5080
5081 [BZ #14793]
5082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5083 exponent and small x and y exponents, scale x or y up. Increase
5084 by 2 the exponent used in scaling up.
5085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5087 * math/libm-test.inc (fma_test): Add more tests.
5088 (fma_test_towardzero): Likewise.
5089 (fma_test_downward): Likewise.
5090 (fma_test_upward): Likewise.
5091
99252c8c
JM
50922012-11-05 Joseph Myers <joseph@codesourcery.com>
5093
acfa885f
JM
5094 [BZ #14805]
5095 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5096 fenv_t *.
5097
99252c8c
JM
5098 [BZ #14801]
5099 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5100 namespace for names of struct fields.
5101 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5102 fenv_t fields.
5103 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5104 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5105
d6d98dea
ST
51062012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5107
5108 [BZ #3665]
5109 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5110
e10bb107
TS
51112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5112
5113 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5114 PTR_DEMANGLE.
5115
5116 [BZ #5246]
5117 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5118 PTR_DEMANGLE.
5119
a0c2940d
JM
51202012-11-04 Joseph Myers <joseph@codesourcery.com>
5121
5122 [BZ #14797]
5123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5124 definitely overflow as x * y not x * y + z.
5125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5126 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5127 * math/libm-test.inc (fma_test): Add more tests.
5128 (fma_test_towardzero): Likewise.
5129 (fma_test_downward): Likewise.
5130 (fma_test_upward): Likewise.
5131
b830319d
TS
51322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5133
5134 [BZ #157]
5135
5136 * include/stub-tag.h: Remove file.
5137 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5138 '#include' of it.
5139 * manual/maint.texi (Porting): Don't reference it.
5140 * Makerules ($(objpfx)stubs): Likewise.
5141 * dirent/closedir.c: Don't include <stub-tag.h>.
5142 * dirent/dirfd.c: Likewise.
5143 * dirent/fdopendir.c: Likewise.
5144 * dirent/getdents.c: Likewise.
5145 * dirent/getdents64.c: Likewise.
5146 * dirent/opendir.c: Likewise.
5147 * dirent/readdir.c: Likewise.
5148 * dirent/readdir64.c: Likewise.
5149 * dirent/readdir64_r.c: Likewise.
5150 * dirent/readdir_r.c: Likewise.
5151 * dirent/rewinddir.c: Likewise.
5152 * dirent/seekdir.c: Likewise.
5153 * dirent/telldir.c: Likewise.
5154 * gmon/profil.c: Likewise.
5155 * grp/setgroups.c: Likewise.
5156 * inet/if_index.c: Likewise.
5157 * io/access.c: Likewise.
5158 * io/chdir.c: Likewise.
5159 * io/chmod.c: Likewise.
5160 * io/chown.c: Likewise.
5161 * io/close.c: Likewise.
5162 * io/dup.c: Likewise.
5163 * io/dup2.c: Likewise.
5164 * io/dup3.c: Likewise.
5165 * io/euidaccess.c: Likewise.
5166 * io/faccessat.c: Likewise.
5167 * io/fchdir.c: Likewise.
5168 * io/fchmod.c: Likewise.
5169 * io/fchmodat.c: Likewise.
5170 * io/fchown.c: Likewise.
5171 * io/fchownat.c: Likewise.
5172 * io/fcntl.c: Likewise.
5173 * io/flock.c: Likewise.
5174 * io/fstatfs.c: Likewise.
5175 * io/fstatfs64.c: Likewise.
5176 * io/fstatvfs.c: Likewise.
5177 * io/fstatvfs64.c: Likewise.
5178 * io/futimens.c: Likewise.
5179 * io/fxstat.c: Likewise.
5180 * io/fxstat64.c: Likewise.
5181 * io/fxstatat.c: Likewise.
5182 * io/fxstatat64.c: Likewise.
5183 * io/getcwd.c: Likewise.
5184 * io/isatty.c: Likewise.
5185 * io/lchmod.c: Likewise.
5186 * io/lchown.c: Likewise.
5187 * io/link.c: Likewise.
5188 * io/linkat.c: Likewise.
5189 * io/lseek.c: Likewise.
5190 * io/lseek64.c: Likewise.
5191 * io/lxstat64.c: Likewise.
5192 * io/mkdir.c: Likewise.
5193 * io/mkdirat.c: Likewise.
5194 * io/mkfifo.c: Likewise.
5195 * io/mkfifoat.c: Likewise.
5196 * io/open.c: Likewise.
5197 * io/open64.c: Likewise.
5198 * io/openat.c: Likewise.
5199 * io/openat64.c: Likewise.
5200 * io/pipe.c: Likewise.
5201 * io/pipe2.c: Likewise.
5202 * io/poll.c: Likewise.
5203 * io/posix_fadvise.c: Likewise.
5204 * io/posix_fadvise64.c: Likewise.
5205 * io/posix_fallocate.c: Likewise.
5206 * io/posix_fallocate64.c: Likewise.
5207 * io/read.c: Likewise.
5208 * io/readlink.c: Likewise.
5209 * io/readlinkat.c: Likewise.
5210 * io/rmdir.c: Likewise.
5211 * io/sendfile.c: Likewise.
5212 * io/sendfile64.c: Likewise.
5213 * io/statfs.c: Likewise.
5214 * io/statfs64.c: Likewise.
5215 * io/statvfs.c: Likewise.
5216 * io/statvfs64.c: Likewise.
5217 * io/symlink.c: Likewise.
5218 * io/symlinkat.c: Likewise.
5219 * io/ttyname.c: Likewise.
5220 * io/ttyname_r.c: Likewise.
5221 * io/umask.c: Likewise.
5222 * io/unlink.c: Likewise.
5223 * io/unlinkat.c: Likewise.
5224 * io/utime.c: Likewise.
5225 * io/utimensat.c: Likewise.
5226 * io/write.c: Likewise.
5227 * io/xmknod.c: Likewise.
5228 * io/xmknodat.c: Likewise.
5229 * io/xstat.c: Likewise.
5230 * io/xstat64.c: Likewise.
5231 * login/getpt.c: Likewise.
5232 * login/grantpt.c: Likewise.
5233 * login/unlockpt.c: Likewise.
5234 * math/e_acoshl.c: Likewise.
5235 * math/e_acosl.c: Likewise.
5236 * math/e_asinl.c: Likewise.
5237 * math/e_atan2l.c: Likewise.
5238 * math/e_atanhl.c: Likewise.
5239 * math/e_coshl.c: Likewise.
5240 * math/e_expl.c: Likewise.
5241 * math/e_fmodl.c: Likewise.
5242 * math/e_gammal_r.c: Likewise.
5243 * math/e_hypotl.c: Likewise.
5244 * math/e_j0l.c: Likewise.
5245 * math/e_j1l.c: Likewise.
5246 * math/e_jnl.c: Likewise.
5247 * math/e_lgammal_r.c: Likewise.
5248 * math/e_log10l.c: Likewise.
5249 * math/e_log2l.c: Likewise.
5250 * math/e_logl.c: Likewise.
5251 * math/e_powl.c: Likewise.
5252 * math/e_rem_pio2l.c: Likewise.
5253 * math/e_sinhl.c: Likewise.
5254 * math/e_sqrtl.c: Likewise.
5255 * math/fclrexcpt.c: Likewise.
5256 * math/fedisblxcpt.c: Likewise.
5257 * math/feenablxcpt.c: Likewise.
5258 * math/fegetenv.c: Likewise.
5259 * math/fegetexcept.c: Likewise.
5260 * math/fegetround.c: Likewise.
5261 * math/feholdexcpt.c: Likewise.
5262 * math/fesetenv.c: Likewise.
5263 * math/fesetround.c: Likewise.
5264 * math/feupdateenv.c: Likewise.
5265 * math/fgetexcptflg.c: Likewise.
5266 * math/fraiseexcpt.c: Likewise.
5267 * math/fsetexcptflg.c: Likewise.
5268 * math/ftestexcept.c: Likewise.
5269 * math/k_cosl.c: Likewise.
5270 * math/k_rem_pio2l.c: Likewise.
5271 * math/k_sinl.c: Likewise.
5272 * math/k_tanl.c: Likewise.
5273 * math/s_asinhl.c: Likewise.
5274 * math/s_atanl.c: Likewise.
5275 * math/s_cbrtl.c: Likewise.
5276 * math/s_erfl.c: Likewise.
5277 * math/s_expm1l.c: Likewise.
5278 * math/s_log1pl.c: Likewise.
5279 * math/s_tanhl.c: Likewise.
5280 * misc/acct.c: Likewise.
5281 * misc/brk.c: Likewise.
5282 * misc/chflags.c: Likewise.
5283 * misc/chroot.c: Likewise.
5284 * misc/fchflags.c: Likewise.
5285 * misc/fgetxattr.c: Likewise.
5286 * misc/flistxattr.c: Likewise.
5287 * misc/fremovexattr.c: Likewise.
5288 * misc/fsetxattr.c: Likewise.
5289 * misc/fsync.c: Likewise.
5290 * misc/ftruncate.c: Likewise.
5291 * misc/futimes.c: Likewise.
5292 * misc/futimesat.c: Likewise.
5293 * misc/getdomain.c: Likewise.
5294 * misc/getdtsz.c: Likewise.
5295 * misc/gethostid.c: Likewise.
5296 * misc/gethostname.c: Likewise.
5297 * misc/getloadavg.c: Likewise.
5298 * misc/getpagesize.c: Likewise.
5299 * misc/getsysstats.c: Likewise.
5300 * misc/getxattr.c: Likewise.
5301 * misc/gtty.c: Likewise.
5302 * misc/ioctl.c: Likewise.
5303 * misc/lgetxattr.c: Likewise.
5304 * misc/listxattr.c: Likewise.
5305 * misc/llistxattr.c: Likewise.
5306 * misc/lremovexattr.c: Likewise.
5307 * misc/lsetxattr.c: Likewise.
5308 * misc/lutimes.c: Likewise.
5309 * misc/madvise.c: Likewise.
5310 * misc/mincore.c: Likewise.
5311 * misc/mlock.c: Likewise.
5312 * misc/mlockall.c: Likewise.
5313 * misc/mmap.c: Likewise.
5314 * misc/mprotect.c: Likewise.
5315 * misc/msync.c: Likewise.
5316 * misc/munlock.c: Likewise.
5317 * misc/munlockall.c: Likewise.
5318 * misc/munmap.c: Likewise.
5319 * misc/preadv.c: Likewise.
5320 * misc/preadv64.c: Likewise.
5321 * misc/ptrace.c: Likewise.
5322 * misc/pwritev.c: Likewise.
5323 * misc/pwritev64.c: Likewise.
5324 * misc/readv.c: Likewise.
5325 * misc/reboot.c: Likewise.
5326 * misc/remap_file_pages.c: Likewise.
5327 * misc/removexattr.c: Likewise.
5328 * misc/revoke.c: Likewise.
5329 * misc/select.c: Likewise.
5330 * misc/setdomain.c: Likewise.
5331 * misc/setegid.c: Likewise.
5332 * misc/seteuid.c: Likewise.
5333 * misc/sethostid.c: Likewise.
5334 * misc/sethostname.c: Likewise.
5335 * misc/setregid.c: Likewise.
5336 * misc/setreuid.c: Likewise.
5337 * misc/setxattr.c: Likewise.
5338 * misc/sstk.c: Likewise.
5339 * misc/stty.c: Likewise.
5340 * misc/swapoff.c: Likewise.
5341 * misc/swapon.c: Likewise.
5342 * misc/sync.c: Likewise.
5343 * misc/syncfs.c: Likewise.
5344 * misc/syscall.c: Likewise.
5345 * misc/truncate.c: Likewise.
5346 * misc/ualarm.c: Likewise.
5347 * misc/usleep.c: Likewise.
5348 * misc/ustat.c: Likewise.
5349 * misc/utimes.c: Likewise.
5350 * misc/vhangup.c: Likewise.
5351 * misc/writev.c: Likewise.
5352 * posix/_exit.c: Likewise.
5353 * posix/alarm.c: Likewise.
5354 * posix/execve.c: Likewise.
5355 * posix/fexecve.c: Likewise.
5356 * posix/fork.c: Likewise.
5357 * posix/fpathconf.c: Likewise.
5358 * posix/getaddrinfo.c: Likewise.
5359 * posix/getegid.c: Likewise.
5360 * posix/geteuid.c: Likewise.
5361 * posix/getgid.c: Likewise.
5362 * posix/getgroups.c: Likewise.
5363 * posix/getlogin.c: Likewise.
5364 * posix/getlogin_r.c: Likewise.
5365 * posix/getpgid.c: Likewise.
5366 * posix/getpid.c: Likewise.
5367 * posix/getppid.c: Likewise.
5368 * posix/getresgid.c: Likewise.
5369 * posix/getresuid.c: Likewise.
5370 * posix/getsid.c: Likewise.
5371 * posix/getuid.c: Likewise.
5372 * posix/glob64.c: Likewise.
5373 * posix/nanosleep.c: Likewise.
5374 * posix/pathconf.c: Likewise.
5375 * posix/pause.c: Likewise.
5376 * posix/posix_madvise.c: Likewise.
5377 * posix/pread.c: Likewise.
5378 * posix/pread64.c: Likewise.
5379 * posix/pwrite.c: Likewise.
5380 * posix/pwrite64.c: Likewise.
5381 * posix/sched_getaffinity.c: Likewise.
5382 * posix/sched_getp.c: Likewise.
5383 * posix/sched_gets.c: Likewise.
5384 * posix/sched_primax.c: Likewise.
5385 * posix/sched_primin.c: Likewise.
5386 * posix/sched_rr_gi.c: Likewise.
5387 * posix/sched_setaffinity.c: Likewise.
5388 * posix/sched_setp.c: Likewise.
5389 * posix/sched_sets.c: Likewise.
5390 * posix/sched_yield.c: Likewise.
5391 * posix/setgid.c: Likewise.
5392 * posix/setlogin.c: Likewise.
5393 * posix/setpgid.c: Likewise.
5394 * posix/setresgid.c: Likewise.
5395 * posix/setresuid.c: Likewise.
5396 * posix/setsid.c: Likewise.
5397 * posix/setuid.c: Likewise.
5398 * posix/sleep.c: Likewise.
5399 * posix/spawni.c: Likewise.
5400 * posix/sysconf.c: Likewise.
5401 * posix/times.c: Likewise.
5402 * posix/wait.c: Likewise.
5403 * posix/wait3.c: Likewise.
5404 * posix/wait4.c: Likewise.
5405 * posix/waitpid.c: Likewise.
5406 * resolv/gai_sigqueue.c: Likewise.
5407 * resource/getpriority.c: Likewise.
5408 * resource/getrlimit.c: Likewise.
5409 * resource/getrusage.c: Likewise.
5410 * resource/nice.c: Likewise.
5411 * resource/setpriority.c: Likewise.
5412 * resource/setrlimit.c: Likewise.
5413 * resource/ulimit.c: Likewise.
5414 * rt/aio_cancel.c: Likewise.
5415 * rt/aio_fsync.c: Likewise.
5416 * rt/aio_read.c: Likewise.
5417 * rt/aio_sigqueue.c: Likewise.
5418 * rt/aio_suspend.c: Likewise.
5419 * rt/aio_write.c: Likewise.
5420 * rt/clock_getres.c: Likewise.
5421 * rt/clock_gettime.c: Likewise.
5422 * rt/clock_nanosleep.c: Likewise.
5423 * rt/clock_settime.c: Likewise.
5424 * rt/lio_listio.c: Likewise.
5425 * rt/mq_close.c: Likewise.
5426 * rt/mq_getattr.c: Likewise.
5427 * rt/mq_notify.c: Likewise.
5428 * rt/mq_open.c: Likewise.
5429 * rt/mq_receive.c: Likewise.
5430 * rt/mq_send.c: Likewise.
5431 * rt/mq_setattr.c: Likewise.
5432 * rt/mq_timedreceive.c: Likewise.
5433 * rt/mq_timedsend.c: Likewise.
5434 * rt/mq_unlink.c: Likewise.
5435 * rt/shm_open.c: Likewise.
5436 * rt/shm_unlink.c: Likewise.
5437 * rt/timer_create.c: Likewise.
5438 * rt/timer_delete.c: Likewise.
5439 * rt/timer_getoverr.c: Likewise.
5440 * rt/timer_gettime.c: Likewise.
5441 * rt/timer_settime.c: Likewise.
5442 * setjmp/__longjmp.c: Likewise.
5443 * setjmp/setjmp.c: Likewise.
5444 * signal/kill.c: Likewise.
5445 * signal/killpg.c: Likewise.
5446 * signal/raise.c: Likewise.
5447 * signal/sigaction.c: Likewise.
5448 * signal/sigaltstack.c: Likewise.
5449 * signal/sigblock.c: Likewise.
5450 * signal/sigignore.c: Likewise.
5451 * signal/sigintr.c: Likewise.
5452 * signal/signal.c: Likewise.
5453 * signal/sigpause.c: Likewise.
5454 * signal/sigpending.c: Likewise.
5455 * signal/sigqueue.c: Likewise.
5456 * signal/sigreturn.c: Likewise.
5457 * signal/sigset.c: Likewise.
5458 * signal/sigsetmask.c: Likewise.
5459 * signal/sigstack.c: Likewise.
5460 * signal/sigsuspend.c: Likewise.
5461 * signal/sigtimedwait.c: Likewise.
5462 * signal/sigvec.c: Likewise.
5463 * signal/sigwait.c: Likewise.
5464 * signal/sigwaitinfo.c: Likewise.
5465 * signal/sysv_signal.c: Likewise.
5466 * socket/accept.c: Likewise.
5467 * socket/accept4.c: Likewise.
5468 * socket/bind.c: Likewise.
5469 * socket/connect.c: Likewise.
5470 * socket/getpeername.c: Likewise.
5471 * socket/getsockname.c: Likewise.
5472 * socket/getsockopt.c: Likewise.
5473 * socket/isfdtype.c: Likewise.
5474 * socket/listen.c: Likewise.
5475 * socket/recv.c: Likewise.
5476 * socket/recvfrom.c: Likewise.
5477 * socket/recvmsg.c: Likewise.
5478 * socket/send.c: Likewise.
5479 * socket/sendmsg.c: Likewise.
5480 * socket/sendto.c: Likewise.
5481 * socket/setsockopt.c: Likewise.
5482 * socket/shutdown.c: Likewise.
5483 * socket/sockatmark.c: Likewise.
5484 * socket/socket.c: Likewise.
5485 * socket/socketpair.c: Likewise.
5486 * stdio-common/ctermid.c: Likewise.
5487 * stdio-common/cuserid.c: Likewise.
5488 * stdio-common/remove.c: Likewise.
5489 * stdio-common/rename.c: Likewise.
5490 * stdio-common/renameat.c: Likewise.
5491 * stdio-common/tempname.c: Likewise.
5492 * stdlib/getcontext.c: Likewise.
5493 * stdlib/makecontext.c: Likewise.
5494 * stdlib/setcontext.c: Likewise.
5495 * stdlib/swapcontext.c: Likewise.
5496 * stdlib/system.c: Likewise.
5497 * streams/fattach.c: Likewise.
5498 * streams/fdetach.c: Likewise.
5499 * streams/getmsg.c: Likewise.
5500 * streams/getpmsg.c: Likewise.
5501 * streams/putmsg.c: Likewise.
5502 * streams/putpmsg.c: Likewise.
5503 * sysdeps/unix/bsd/getpt.c: Likewise.
5504 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5505 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5506 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5508 Likewise.
5509 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5510 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5511 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5512 * sysvipc/msgctl.c: Likewise.
5513 * sysvipc/msgget.c: Likewise.
5514 * sysvipc/msgrcv.c: Likewise.
5515 * sysvipc/msgsnd.c: Likewise.
5516 * sysvipc/semctl.c: Likewise.
5517 * sysvipc/semget.c: Likewise.
5518 * sysvipc/semop.c: Likewise.
5519 * sysvipc/semtimedop.c: Likewise.
5520 * sysvipc/shmat.c: Likewise.
5521 * sysvipc/shmctl.c: Likewise.
5522 * sysvipc/shmdt.c: Likewise.
5523 * sysvipc/shmget.c: Likewise.
5524 * termios/tcdrain.c: Likewise.
5525 * termios/tcflow.c: Likewise.
5526 * termios/tcflush.c: Likewise.
5527 * termios/tcgetattr.c: Likewise.
5528 * termios/tcgetpgrp.c: Likewise.
5529 * termios/tcsendbrk.c: Likewise.
5530 * termios/tcsetattr.c: Likewise.
5531 * termios/tcsetpgrp.c: Likewise.
5532 * time/adjtime.c: Likewise.
5533 * time/clock.c: Likewise.
5534 * time/getitimer.c: Likewise.
5535 * time/gettimeofday.c: Likewise.
5536 * time/setitimer.c: Likewise.
5537 * time/settimeofday.c: Likewise.
5538 * time/stime.c: Likewise.
5539 * time/time.c: Likewise.
5540
55412012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5542
a20492cf
PT
5543 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5544 /usr/old/bin.
5545
72e182e3
PT
5546 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5547 instead of spaces.
5548 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5549
fbeafede
JM
55502012-11-03 Joseph Myers <joseph@codesourcery.com>
5551
5b5b04d6
JM
5552 [BZ #14796]
5553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5554 FE_TONEAREST before applying Dekker multiplication and Knuth
5555 addition. Clear inexact exceptions and check for exact zero
5556 results afterwards.
5557 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5558 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5560 * math/libm-test.inc (fma_test): Add more tests.
5561 (fma_test_towardzero): Likewise.
5562 (fma_test_downward): Likewise.
5563 (fma_test_upward): Likewise.
5564 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5565 function.
5566 (libc_fesetround): New macro.
5567 (libc_fesetroundf): Likewise.
5568 (libc_fesetroundl): Likewise.
5569 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5570 function.
5571 (libc_fesetround_387): Likewise.
5572 (libc_fesetroundf): New macro.
5573 (libc_fesetround): Likewise.
5574 (libc_fesetroundl): Likewise.
5575 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5576 function.
5577 (libc_fesetroundf): New macro.
5578 (libc_fesetround): Likewise.
5579 (libc_fesetroundl): Likewise.
5580 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5581 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5582 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5583 libm_hidden_ver.
5584 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5585 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5586 libm_hidden_def.
5587 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5588 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5589 libm_hidden_ver.
5590 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5591 libm_hidden_def.
5592
fbeafede
JM
5593 [BZ #3439]
5594 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5595 integer constant usable in #if and use that to give value to enum
5596 constant.
5597 (FE_DIVBYZERO): Likewise.
5598 (FE_UNDERFLOW): Likewise.
5599 (FE_OVERFLOW): Likewise.
5600 (FE_INVALID): Likewise.
5601 (FE_INVALID_SNAN): Likewise.
5602 (FE_INVALID_ISI): Likewise.
5603 (FE_INVALID_IDI): Likewise.
5604 (FE_INVALID_ZDZ): Likewise.
5605 (FE_INVALID_IMZ): Likewise.
5606 (FE_INVALID_COMPARE): Likewise.
5607 (FE_INVALID_SOFTWARE): Likewise.
5608 (FE_INVALID_SQRT): Likewise.
5609 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5610 (FE_TONEAREST): Likewise.
5611 (FE_TOWARDZERO): Likewise.
5612 (FE_UPWARD): Likewise.
5613 (FE_DOWNWARD): Likewise.
5614 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5615 (FE_DIVBYZERO): Likewise.
5616 (FE_OVERFLOW): Likewise.
5617 (FE_UNDERFLOW): Likewise.
5618 (FE_INEXACT): Likewise.
5619 (FE_TONEAREST): Likewise.
5620 (FE_DOWNWARD): Likewise.
5621 (FE_UPWARD): Likewise.
5622 (FE_TOWARDZERO): Likewise.
5623 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5624 (FE_UNDERFLOW): Likewise.
5625 (FE_OVERFLOW): Likewise.
5626 (FE_DIVBYZERO): Likewise.
5627 (FE_INVALID): Likewise.
5628 (FE_TONEAREST): Likewise.
5629 (FE_TOWARDZERO): Likewise.
5630 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5631 (FE_OVERFLOW): Likewise.
5632 (FE_UNDERFLOW): Likewise.
5633 (FE_DIVBYZERO): Likewise.
5634 (FE_INEXACT): Likewise.
5635 (FE_TONEAREST): Likewise.
5636 (FE_TOWARDZERO): Likewise.
5637 (FE_UPWARD): Likewise.
5638 (FE_DOWNWARD): Likewise.
5639 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5640 (FE_DIVBYZERO): Likewise.
5641 (FE_OVERFLOW): Likewise.
5642 (FE_UNDERFLOW): Likewise.
5643 (FE_INEXACT): Likewise.
5644 (FE_TONEAREST): Likewise.
5645 (FE_DOWNWARD): Likewise.
5646 (FE_UPWARD): Likewise.
5647 (FE_TOWARDZERO): Likewise.
5648
105ca950
CM
56492012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5650
5651 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5652
a542b389
AS
56532012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5654
5655 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5656 commands. Quote $PWD.
5657 (blacklist_exports): Don't use remove_newlines. Replace "declare
5658 -x" by "export".
5659 (remove_newlines): Remove.
5660
f62c8abc
L
56612012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5662
5663 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5664 * stdlib/stdlib.h (atof): Moved to ...
5665 * include/bits/stdlib-float.h: Here. New file.
5666 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5667 * stdlib/bits/stdlib-float.h: New file.
5668 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5669 -mno-sse -mno-mmx.
5670 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5671 <xmmintrin.h>.
5672
0155d5b2
JM
56732012-11-02 Joseph Myers <joseph@codesourcery.com>
5674
a68d0680
JM
5675 * conform/conformtest.pl (@headers): Add fenv.h.
5676 * conform/data/fenv.h-data: New file.
5677 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5678 include of <math/fenv.h>.
5679
caf7f573
JM
5680 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5681 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5682 && !UNIX98]. Enables tests for XOPEN2K8.
5683 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5684 POSIX2008]: Likewise.
5685
6c073ad6
JM
5686 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5687 (struct rusage): Do not expect type or its members.
5688
0155d5b2
JM
5689 [BZ #3439]
5690 * math/math.h (FP_NAN): Define macro to integer constant usable in
5691 #if and use that to give value to enum constant.
5692 (FP_INFINITE): Likewise.
5693 (FP_ZERO): Likewise.
5694 (FP_SUBNORMAL): Likewise.
5695 (FP_NORMAL): Likewise.
5696
b5dcacb4
AS
56972012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5698
5699 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5700 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5701 arguments.
5702
f7934be8
RM
57032012-11-02 Roland McGrath <roland@hack.frob.com>
5704
5705 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5706 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5707 autoconf-time if not.
5708 * configure.in: Remove AC_PREREQ.
5709
d7d08bde
TMQMF
57102012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5711
5712 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5713 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5714 of the internal implementation.
5715
dcdae19a
JM
57162012-11-02 Joseph Myers <joseph@codesourcery.com>
5717
5718 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5719 except include of <misc/sys/syslog.h>.
5720
d6cffd3e
AS
57212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5722
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5724 function returns with a NULL context exit with zero.
5725
b3563932
TMQMF
57262012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5727
5728 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5729
b288a93d
L
57302012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5731
5732 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5733 (run_program_cmd): This.
5734 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5735 (tst_langinfo): New variable. Use it.
5736
a2421a68
SAS
57372012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5738
5739 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5740 floating point opcodes.
5741
6f796e1b
TS
57422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5743
7402596b
TS
5744 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5745 variable.
5746
d0d4f868
TS
5747 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5748
6f796e1b
TS
5749 * sysdeps/mach/hurd/powerpc: Remove directory.
5750 * sysdeps/mach/powerpc: Likewise.
5751
4da224a2
AS
57522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5753
5754 * scripts/check-local-headers.sh: Ignore c++ headers.
5755
341dd673
TS
57562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5757
5758 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5759 __libc_cleanup_region_start argument.
5760
473611b2
JM
57612012-11-01 Joseph Myers <joseph@codesourcery.com>
5762
5763 [BZ #14784]
5764 [BZ #14785]
5765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5766 x * y using scaling, not as x * y + z.
5767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5769 * math/libm-test.inc (fma_test): Add more tests.
5770 (fma_test_towardzero): Likewise.
5771 (fma_test_downward): Likewise.
5772 (fma_test_upward): Likewise.
5773
4078da3d
TS
57742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5775
5776 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5777
903252aa
JM
57782012-10-31 Joseph Myers <joseph@codesourcery.com>
5779
5780 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5781 New variable.
5782
cbc818d0
TS
57832012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5784
5785 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5786
5a03cb1e
AS
57872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5788
5789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5790 Fix sort order.
5791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5792 Likewise.
5793
90aff2ff
TMQMF
57942012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5795
5796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5797 Fix the order of the list for glibc 2.17.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5799 Likewise.
5800
1818fcb7
AS
58012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5802
5803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5804
ef82f4da
JM
58052012-10-31 Joseph Myers <joseph@codesourcery.com>
5806
16a0e2ec
JM
5807 [BZ #14610]
5808 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5809 for low part of x being zero before using __atanl (y).
5810 * math/libm-test.inc (atan2_test): Add another test.
5811
0eb69512
JM
5812 * manual/install.texi (Configuring and compiling): Document
5813 general use of test-wrapper and test-wrapper-env.
5814 * INSTALL: Regenerated.
5815
ef82f4da
JM
5816 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5817 (__fma): Do not extract and scale down low bits on after-rounding
5818 systems when result rounded to normal precision would have normal
5819 exponent.
5820 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5821 (__fmal): Do not extract and scale down low bits on after-rounding
5822 systems when result rounded to normal precision would have normal
5823 exponent.
5824 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5825 (__fmal): Do not extract and scale down low bits on after-rounding
5826 systems when result rounded to normal precision would have normal
5827 exponent.
5828 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5829 macro.
5830 (fma_test): Add more tests.
5831 (fma_test_towardzero): Likewise.
5832 (fma_test_downward): Likewise.
5833 (fma_test_upward): Likewise.
5834
954ef0d9
L
58352012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5836
5837 * sysdeps/i386/tininess.h: Renamed to ...
5838 * sysdeps/x86/tininess.h: This.
5839 * sysdeps/x86_64/tininess.h: Removed.
5840
df61ffb2
JM
58412012-10-30 Joseph Myers <joseph@codesourcery.com>
5842
5843 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5844 input. Use $(build-program-cmd).
5845 ($(objpfx)tst-array1-static.out): Likewise.
5846 ($(objpfx)tst-array2.out): Likewise.
5847 ($(objpfx)tst-array3.out): Likewise.
5848 ($(objpfx)tst-array4.out): Likewise.
5849 ($(objpfx)tst-array5.out): Likewise.
5850 ($(objpfx)tst-array5-static.out): Likewise.
5851
01767843
CM
58522012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5853
47cc1490
CM
5854 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5855 if defined.
5856
01767843
CM
5857 * nss/nsswitch.h (nss_interface_function): Provide new
5858 macro for use with NSS functions.
5859 * grp/initgroups.c: Use new macro.
5860 * nss/getXXbyYY.c: Likewise.
5861 * nss/getXXbyYY_r.c: Likewise.
5862 * nss/getXXent.c: Likewise.
5863 * nss/getXXent_r.c: Likewise.
5864 * sysdeps/posix/getaddrinfo.c: Likewise.
5865
8321aa97
AJ
58662012-10-30 Andreas Jaeger <aj@suse.de>
5867
5868 * po/ru.po: Update Russion translation from translation project.
5869
2a27fd6d
JM
58702012-10-30 Joseph Myers <joseph@codesourcery.com>
5871
8627a232
JM
5872 [BZ #14152]
5873 [BZ #14783]
5874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5875 result and shift together with sticky bit instead of replicating
5876 round-to-nearest rounding.
5877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5879 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5880 missing underflow exceptions.
5881 (fma_test_towardzero): Add more tests.
5882 (fma_test_downward): Likewise.
5883 (fma_test_upward): Likewise.
5884
2a27fd6d
JM
5885 [BZ #14047]
5886 * sysdeps/generic/tininess.h: New file.
5887 * sysdeps/i386/tininess.h: Likewise.
5888 * sysdeps/sh/tininess.h: Likewise.
5889 * sysdeps/x86_64/tininess.h: Likewise.
5890 * stdlib/tst-strtod-underflow.c: Likewise.
5891 * stdlib/tst-tininess.c: Likewise.
5892 * stdlib/strtod_l.c: Include <tininess.h>.
5893 (round_and_return): Do not set errno for exact underflow cases.
5894 Force an underflow exception when setting errno for underflow.
5895 Determine underflow based on rounding to normal precision if
5896 TININESS_AFTER_ROUNDING.
5897 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5898 ERANGE for exact underflow cases.
5899 * stdlib/Makefile (tests): Add tst-tininess and
5900 tst-strtod-underflow.
5901 ($(objpfx)tst-tininess): Use $(link-libm).
5902 ($(objpfx)tst-strtod-underflow): Likewise.
5903
e7170363
AJ
59042012-10-30 Andreas Jaeger <aj@suse.de>
5905
e5088dc6
AJ
5906 [BZ#14767]
5907 * elf/Makefile (tests): Remove conditional for have-initfini-array
5908 since this is now always required and the variable does not exist
5909 anymore.
5910 (tests-static): Likewise.
5911 (modules-names): Likewise.
5912
e7170363 5913 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5914
5915 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5916 merged with constructor/destructor.
5917 (init_array): Likewise.
5918 * elf/tst-array2dep.c (fini_array): Likewise.
5919 (init_array): Likewise.
5920
60457d8a
MF
59212012-10-29 Mike Frysinger <vapier@gentoo.org>
5922
5923 * manual/message.texi: Delete @cartouche tags.
5924
8bece752
PT
59252012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5926
94ce799f
PT
5927 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5928 EOPNOTSUPP.
5929 * sysdeps/mach/hurd/fsync.c: Likewise.
5930
8bece752
PT
5931 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5932 [_POSIX_REALTIME_SIGNALS]: Change condition to
5933 [_POSIX_REALTIME_SIGNALS > 0].
5934
86ebe6b1
AJ
59352012-10-27 Andreas Jaeger <aj@suse.de>
5936
5937 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5938 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5940 [__WORDSIZE != 64]: Likewise.
5941
54399c08
L
59422012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5943
5944 * iconvdata/tst-table.sh: Remove ${SHELL}.
5945 * iconvdata/tst-tables.sh: Likewise.
5946
e2211bed
DM
59472012-10-25 David S. Miller <davem@davemloft.net>
5948
5949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5950 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5951 of strtoull.
5952
f303f97c
DM
5953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5954 ifunc-impl-list.c
5955 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5956 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5957 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5958 file.
5959
1e9d84cd
RM
59602012-10-25 Roland McGrath <roland@hack.frob.com>
5961
5962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5963 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5964 __getdirentries.
5965
df381762
JM
59662012-10-25 Joseph Myers <joseph@codesourcery.com>
5967 Jim Blandy <jimb@codesourcery.com>
5968
5969 * scripts/cross-test-ssh.sh: New file.
5970 * manual/install.texi (Configuring and compiling): Document use of
5971 cross-test-ssh.sh.
5972 * INSTALL: Regenerated.
5973
bff64913
PT
59742012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5975
5976 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5977 EOPNOTSUPP.
5978
25fe8932
JM
59792012-10-25 Joseph Myers <joseph@codesourcery.com>
5980
5981 * Makeconfig (run-program-prefix): Fix comment.
5982
cc1290d0
JM
59832012-10-24 Joseph Myers <joseph@codesourcery.com>
5984 Jim Blandy <jimb@codesourcery.com>
5985
5986 * Makeconfig (test-wrapper): New variable,
5987 (test-wrapper-env): Likewise.
5988 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5989 (run-built-tests): Define to yes.
5990 (run-program-prefix): Use $(test-wrapper).
5991 (built-program-cmd): Likewise.
5992 * Rules (make-test-out): Use $(test-wrapper-env) and
5993 $(host-built-program-cmd).
5994 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5995 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5996 tst-pathopt.sh.
5997 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5998 $(test-wrapper-env) to tst-rtld-load-self.sh.
5999 ($(objpfx)order2.out): Use $(test-wrapper).
6000 ($(objpfx)tst-initorder.out): Likewise.
6001 ($(objpfx)tst-initorder2.out): Likewise.
6002 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6003 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6004 (test_wrapper_env): New variable. Use it to run ld.so.
6005 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6006 Use it to run ld.so.
6007 (test_wrapper_env): Likewise.
6008 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6009 $(test-wrapper) to run-iconv-test.sh.
6010 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6011 (ICONV): Use $test_wrapper.
6012 * posix/Makefile ($(objpfx)globtest.out): Pass
6013 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6014 globtest.sh, not $(run-program-prefix).
6015 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6016 (test_wrapper): Likewise.
6017 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6018 set together with run_via_rtld_prefix.
6019 (run_program_prefix): Define in terms of test_wrapper and
6020 run_via_rtld_prefix.
6021
6e6249d0
RM
60222012-10-24 Roland McGrath <roland@hack.frob.com>
6023
6024 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6025 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6026 Targets removed.
6027
6028 [BZ #14743]
6029 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6030 Declare __clock_getres, __clock_gettime, __clock_settime,
6031 __clock_nanosleep, and __clock_getcpuclockid.
6032 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6033 Remove librt_hidden_def (clock_gettime).
6034 * sysdeps/unix/clock_gettime.c: Likewise.
6035 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6036 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6037 * rt/clock_getres.c: Define __clock_getres as an alias.
6038 * sysdeps/posix/clock_getres.c: Likewise.
6039 * rt/clock_settime.c: Define __clock_settime as an alias.
6040 * sysdeps/unix/clock_settime.c: Likewise.
6041 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6042 * sysdeps/unix/clock_nanosleep.c: Likewise.
6043 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6044 * rt/clock-compat.c: New file.
6045 * rt/Makefile (librt-routines): Add clock-compat and move
6046 $(clock-routines) to ...
6047 (routines): ... here, new variable.
6048 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6049 Don't add get_clockfreq here.
6050 * rt/Versions (libc: GLIBC_2.17): New version set.
6051 Add clock_* symbols here.
6052 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6053 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6054 (GLIBC_2.17): Add clock_* symbols.
6055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6059 Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6061 Likewise.
6062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6066 * NEWS: Mention the move.
6067
6068 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6069 Use __open, __read, __close rather than their public counterparts.
6070 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6071 (__get_clockfreq_via_cpuinfo): Likewise.
6072 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6073 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6074
6075 * config.h.in (HAVE_IFUNC): New #undef.
6076 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6077 was successful.
6078 * configure: Regenerated.
6079
0cae3f4b
MF
60802012-10-24 Mike Frysinger <vapier@gentoo.org>
6081
6082 * configure.in: Move READELF check to start of file.
6083 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6084 libc_cv_asm_gnu_indirect_function in the process.
6085 * configure: Regenerated.
6086
8175a253
MF
60872012-10-24 Mike Frysinger <vapier@gentoo.org>
6088
6089 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6090 send the output to /dev/null.
6091 (libc_cv_cc_with_libunwind): Likewise.
6092 (libc_cv_as_noexecstack): Likewise.
6093 * configure: Regenerate.
6094
0708a7d1
JM
60952012-10-24 Joseph Myers <joseph@codesourcery.com>
6096
10b40d85
JM
6097 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6098
0708a7d1
JM
6099 * posix/globtest.sh (TMPDIR): Do not set.
6100 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6101 (testout): Likewise.
6102
9fddec1a
AJ
61032012-10-24 Andreas Jaeger <aj@suse.de>
6104
3a8db22f
AJ
6105 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6106 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6107 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6108 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6109 posix_fadvise64, posix_fallocate64.
6110
9fddec1a
AJ
6111 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6112 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6113 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6114 Likewise.
6115 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6116 Likewise.
6117 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6118
6119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6120 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6121 <bits/fcntl-linux.h>.
6122 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6123
6124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6125 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6126 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6127 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6128 [__WORDSIZE != 64]: Likewise.
6129
ebfd1bbd
JM
61302012-10-23 Joseph Myers <joseph@codesourcery.com>
6131
03ac099f
JM
6132 * Makeconfig (run-built-tests): New variable.
6133 * Rules [$(cross-compiling) = yes]: Change condition to
6134 [$(run-built-tests) = no].
6135 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6136 to [$(run-built-tests) = yes].
6137 * elf/Makefile [$(cross-compiling) = no]: Likewise
6138 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6139 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6140 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6141 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6142 * io/Makefile [$(cross-compiling) = no]: Likewise.
6143 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6144 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6145 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6146 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6147 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6148 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6149 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6150 * string/Makefile [$(cross-compiling) = no]: Likewise.
6151
ebfd1bbd
JM
6152 * posix/Makefile ($(objpfx)globtest.out): Pass
6153 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6154 $(rtld-installed-name).
6155 * posix/globtest.sh (elf_objpfx): Remove variable.
6156 (rtld_installed_name): Likewise.
6157 (library_path): Likewise.
6158 (run_program_prefix): New variable. Use for running globtest
6159 binary.
6160
166bca24
JB
61612012-10-23 Jim Blandy <jimb@codesourcery.com>
6162 Joseph Myers <joseph@codesourcery.com>
6163
6164 * Makeconfig (host-built-program-cmd): New variable.
6165 * elf/Makefile (tst-stackguard1-ARGS): Use
6166 $(host-built-program-cmd).
6167 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6168 (tst-spawn-ARGS): Likewise.
6169 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6170
88866099
JM
61712012-10-23 Joseph Myers <joseph@codesourcery.com>
6172 Jim Blandy <jimb@codesourcery.com>
6173
6174 * Makeconfig (run-via-rtld-prefix): New variable.
6175 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6176 (built-program-cmd): Likewise.
6177
b4b4c296
AJ
61782012-10-22 Andreas Jaeger <aj@suse.de>
6179
6180 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6181 __O_RSYNC if it exists, otherwise to O_SYNC.
6182
6fb54a22
JB
61832012-10-22 Jim Blandy <jimb@codesourcery.com>
6184 Joseph Myers <joseph@codesourcery.com>
6185
6186 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6187 /dev/null.
6188 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6189 from /dev/null
6190 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6191 /dev/null.
6192
481b90b9
AJ
61932012-10-22 Andreas Jaeger <aj@suse.de>
6194
2a0e2669
AJ
6195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6196 Define always.
6197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6198
76e38f9a
AJ
6199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6200 bits/fcntl-linux.h.
6201
7cd37b43
AJ
6202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6203 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6204
481b90b9
AJ
6205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6206 to __O_LARGEFILE.
6207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6208 to __O_LARGEFILE.
6209
aba75984
JB
62102012-10-21 Jim Blandy <jimb@codesourcery.com>
6211 Joseph Myers <joseph@codesourcery.com>
6212
6213 * config.make.in (NM): New variable.
6214
88d4247f
AJ
62152012-10-21 Andreas Jaeger <aj@suse.de>
6216
6217 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6218 definitions and declarations that are provided by
6219 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6220
f2eed205
L
62212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6222
6223 [BZ #14683]
6224 * elf/Makefile (tests-static): Add tst-leaks1-static.
6225 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6226 ($(objpfx)tst-leaks1-static): New rule.
6227 ($(objpfx)tst-leaks1-static-mem): Likewise.
6228 (tst-leaks1-static-ENV): New macro.
6229 * elf/dl-open.c (dl_open_worker): Check the main application
6230 only if SHARED is defined.
6231 * elf/tst-leaks1-static.c: New file.
6232
335e6931
AJ
62332012-10-20 Andreas Jaeger <aj@suse.de>
6234
6235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6236 generic values for Linux.
6237 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6238 and declarations that are provided by <bits/fcntl-linux.h> and
6239 include <bits/fcntl-linux.h>.
6240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6242
ac5c94d3
RM
62432012-10-20 Roland McGrath <roland@hack.frob.com>
6244
6245 * io/fcntl.h: Move include of <bits/types.h> to the top and
6246 include it unconditionally.
6247
de54b33a
L
62482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6249
228cfb01
L
6250 * wcsmbs/Makefile (tests-ifunc): New variable.
6251 (tests): Add $(tests-ifunc).
6252 * wcsmbs/test-wcschr-ifunc.c: New file.
6253 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6254 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6255 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6256 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6257 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6258
69f07e5f
L
6259 * string/Makefile (tests-ifunc): New variable.
6260 (tests): Add $(tests-ifunc).
6261 * string/test-memccpy.c (TEST_NAME): New macro.
6262 * string/test-memchr.c (TEST_NAME): Likewise.
6263 * string/test-memcmp.c (TEST_NAME): Likewise.
6264 * string/test-memcpy.c (TEST_NAME): Likewise.
6265 * string/test-memmem.c (TEST_NAME): Likewise.
6266 * string/test-memmove.c (TEST_NAME): Likewise.
6267 * string/test-memset.c (TEST_NAME): Likewise.
6268 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6269 * string/test-stpcpy.c (TEST_NAME): Likewise.
6270 * string/test-stpncpy.c (TEST_NAME): Likewise.
6271 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6272 * string/test-strcasestr.c (TEST_NAME): Likewise.
6273 * string/test-strcat.c (TEST_NAME): Likewise.
6274 * string/test-strchr.c (TEST_NAME): Likewise.
6275 * string/test-strcmp.c(TEST_NAME): Likewise.
6276 * string/test-strcpy.c (TEST_NAME): Likewise.
6277 * string/test-strcspn.c (TEST_NAME): Likewise.
6278 * string/test-strlen.c (TEST_NAME): Likewise.
6279 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6280 * string/test-strncmp.c (TEST_NAME): Likewise.
6281 * string/test-strncpy.c (TEST_NAME): Likewise.
6282 * string/test-strnlen.c (TEST_NAME): Likewise.
6283 * string/test-strpbrk.c (TEST_NAME): Likewise.
6284 * string/test-strrchr.c (TEST_NAME): Likewise.
6285 * string/test-strspn.c (TEST_NAME): Likewise.
6286 * string/test-strstr.c (TEST_NAME): Likewise.
6287 * string/test-bcopy-ifunc.c: New file.
6288 * string/test-bzero-ifunc.c: Likewise.
6289 * string/test-memccpy-ifunc.c: Likewise.
6290 * string/test-memchr-ifunc.c: Likewise.
6291 * string/test-memcmp-ifunc.c: Likewise.
6292 * string/test-memcpy-ifunc.c: Likewise.
6293 * string/test-memmem-ifunc.c: Likewise.
6294 * string/test-memmove-ifunc.c: Likewise.
6295 * string/test-mempcpy-ifunc.c: Likewise.
6296 * string/test-memset-ifunc.c: Likewise.
6297 * string/test-rawmemchr-ifunc.c: Likewise.
6298 * string/test-stpcpy-ifunc.c: Likewise.
6299 * string/test-stpncpy-ifunc.c: Likewise.
6300 * string/test-strcasecmp-ifunc.c: Likewise.
6301 * string/test-strcasestr-ifunc.c: Likewise.
6302 * string/test-strcat-ifunc.c: Likewise.
6303 * string/test-strchr-ifunc.c: Likewise.
6304 * string/test-strchrnul-ifunc.c: Likewise.
6305 * string/test-strcmp-ifunc.c: Likewise.
6306 * string/test-strcpy-ifunc.c: Likewise.
6307 * string/test-strcspn-ifunc.c: Likewise.
6308 * string/test-strlen-ifunc.c: Likewise.
6309 * string/test-strncasecmp-ifunc.c: Likewise.
6310 * string/test-strncat-ifunc.c: Likewise.
6311 * string/test-strncmp-ifunc.c: Likewise.
6312 * string/test-strncpy-ifunc.c: Likewise.
6313 * string/test-strnlen-ifunc.c: Likewise.
6314 * string/test-strpbrk-ifunc.c: Likewise.
6315 * string/test-strrchr-ifunc.c: Likewise.
6316 * string/test-strspn-ifunc.c: Likewise.
6317 * string/test-strstr-ifunc.c: Likewise.
6318
de54b33a
L
6319 * debug/Makefile (tests-ifunc): New variable.
6320 (tests): Add $(tests-ifunc).
6321 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6322 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6323 * debug/test-stpcpy_chk-ifunc.c: New file.
6324 * debug/test-strcpy_chk-ifunc.c: Likewise.
6325
88481c16
SP
63262012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6327
6328 [BZ #13601]
6329 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6330 header is not read in.
6331
135948bd
JM
63322012-10-19 Joseph Myers <joseph@codesourcery.com>
6333
89f1c388
JM
6334 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6335 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6336 directly. Pass built executable to script as
6337 $(built-program-cmd).
6338 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6339 $testprogram without using LD_LIBRARY_PATH and $ldso.
6340
e40a0d21
JM
6341 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6342 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6343 $(rtld-installed-name).
6344 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6345 (rtld_installed_name): Likewise.
6346 (library_path): Likewise.
6347 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6348 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6349 $(run-program-prefix) to tst-tables.sh.
6350 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6351 it to run tst-table-from and tst-table-to.
6352 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6353 Pass it to tst-table.sh.
6354 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6355 $(run-program-prefix) to tst-gettext.sh.
6356 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6357 tst-translit.sh.
6358 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6359 tst-gettext2.sh.
6360 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6361 to run tst-gettext.
6362 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6363 to run tst-gettext2.
6364 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6365 to run tst-translit.
6366 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6367 $(run-program-prefix) to tst-mtrace.sh.
6368 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6369 to run tst-mtrace.
6370 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6371 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6372 $(rtld-installed-name).
6373 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6374 (rtld_installed_name): Likewise.
6375 (run_program_prefix): New variable. Use it to run wordexp-test.
6376
728e272a
JM
6377 * Makeconfig (ARCH): Remove all definitions.
6378 (machine): Likewise.
6379 [ARCH]: Remove conditional code.
6380 [!objdir]: Give error.
6381 [!objdir] (objpfx): Remove.
6382 [!objdir] (common-objpfx): Likewise.
6383 [!objdir] (common-objdir): Likewise.
6384 * configure.in (config_makefile): Remove. Hardcode Makefile in
6385 AC_CONFIG_FILES call.
6386 * configure: Regenerated.
6387
d528cdcf
JM
6388 [BZ #13888]
6389 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6390 or TMPDIR.
6391 (testout): Likewise.
6392
135948bd
JM
6393 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6394 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6395 $(rtld-installed-name).
6396 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6397 (rtld_installed_name): Likwise.
6398 (runit): Remove function.
6399 (run_getconf): New variable, Use it for running getconf binary.
6400
38c78296
L
64012012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6402
6403 [BZ #14716]
6404 * string/test-memmem.c (check_result): New function.
6405 (do_one_test): Use it.
6406 (check1): New function.
6407 (test_main): Use it.
6408
d077f65f
MT
64092012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6410
6411 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6412
ced52c71
JM
64132012-10-18 Joseph Myers <joseph@codesourcery.com>
6414
6415 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6416 (_G_LSEEK64): Likewise.
6417 (_G_MMAP64): Likewise.
6418 (_G_FSTAT64): Likewise.
6419 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6420 (_G_LSEEK64): Likewise.
6421 (_G_MMAP64): Likewise.
6422 (_G_FSTAT64): Likewise.
6423 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6424 unconditional. Call __mmap64 directly.
6425 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6426 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6427 __lseek64 directly.
6428 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6429 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6430 __mmap64 directly.
6431 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6432 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6433 __lseek64 directly.
6434 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6435 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6436 __lseek64 directly.
6437 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6438 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6439 __lseek64 directly.
6440 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6441 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6442 __fxstat64 directly.
6443 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6444 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6445 unconditional.
6446 (freopen64) [!_G_OPEN64]: Remove conditional code.
6447 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6448 unconditional.
6449 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6450 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6451 unconditional.
6452 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6453 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6454 unconditional.
6455 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6456 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6457 unconditional.
6458 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6459 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6460 unconditional.
6461 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6462 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6463 unconditional.
6464 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6465 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6466 unconditional.
6467 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6468
b741de23
SP
64692012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6470
6471 [BZ #12140]
6472 * manual/memory.texi (Malloc Tunable Parameters): Add note
6473 about free list pointers overwriting some perturb bytes.
6474 Wording suggested by Roland McGrath.
6475
f9b9d9c9
JM
64762012-10-17 Joseph Myers <joseph@codesourcery.com>
6477
6478 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6479 (lgamma_test): Likewise.
6480 (tgamma_test): Likewise.
6481
172a631a
FW
64822012-10-16 Florian Weimer <fweimer@redhat.com>
6483
6484 [BZ #14700]
6485 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6486 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6487
e9f37252
MK
64882012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6489
6490 * NEWS: Mention BZ #14716.
6491 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6492 when removing AVAILABLE1_USES_J macro.
6493
d394eb74
L
64942012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6495
6496 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6497 (__bswap_64): __uint64_t for unsigned 64-bit int.
6498
ca38dc17
AS
64992012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6500
6501 * include/string.h (memmem): Declare libc hidden alias.
6502 * string/memmem.c (memmem): Define libc hidden alias.
6503 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6504 __read, __close instead of open, read, close.
6505
9a387d1f
L
65062012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6507
ac49ecaf
L
6508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6509 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6510 global and hidden.
6511 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6512 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6513 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6514 Likewise.
6515 (__rawmemchr_sse2): Likewise.
6516 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6517 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6518 (__strchr_sse2): Likewise.
6519 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6520 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6521 (__strcasecmp_sse2): Likewise.
6522 (__strncasecmp_sse2): Likewise.
6523 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6524 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6525 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6526 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6527 (__strrchr_sse2): Likewise.
6528 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6529 ifunc-impl-list.c.
6530 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6531 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6532 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6533 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6534 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6535 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6536 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6537 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6538 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6539 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6540 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6541 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6542 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6543 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6544 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6545 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6546 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6547 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6548 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6549 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6550 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6551 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6552 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6553 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6554 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6555 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6556 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6557 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6558 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6559 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6560
b090e8ea
L
6561 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6562 global and hidden.
6563 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6564 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6565 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6566 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6567 Likewise.
6568 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6569 Likewise.
6570 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6571 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6572 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6573 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6574 ifunc-impl-list.c.
6575 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6576 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6577 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6578 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6579 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6580 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6585 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6586 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6587 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6588 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6589 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6590 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6591 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6592 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6593 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6594 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6595 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6596 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6597 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6598 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6599 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6600 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6601 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6602 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6603 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6604 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6605 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6606 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6607 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6608 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6609 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6610 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6611 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6612 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6613 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6614 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6615 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6616
11dd4af6
L
6617 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6618 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6619 * include/ifunc-impl-list.h: New file.
6620 * misc/ifunc-impl-list.c: Likewise.
6621 * misc/Makefile (routines): Add ifunc-impl-list.
6622 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6623 * string/test-string.h: Include <ifunc-impl-list.h>.
6624 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6625 impl_array): New variables.
6626 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6627 are defined.
6628 (test_init): Call __libc_ifunc_impl_list to initialize
6629 func_list if TEST_IFUNC and TEST_NAME are defined.
6630
9a387d1f
L
6631 * string/Makefile (strop-tests): Add bcopy and bzero.
6632 * string/test-bcopy.c: New file.
6633 * string/test-bzero.c: Likewise.
6634 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6635 defined.
6636 * string/test-memset.c: Support bzero test if TEST_BZERO is
6637 defined.
6638 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6639 __libc_memmove.
6640 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6641 __libc_memset.
6642 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6643 of memset.
6644
472371b9
JM
66452012-10-10 Joseph Myers <joseph@codesourcery.com>
6646
1e4a9536
JM
6647 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6648 * configure: Regenerated.
6649
d173d12e
JM
6650 * Makeconfig (+link-static-before-libc): Don't include
6651 $(link-static-libc).
6652
472371b9
JM
6653 * libio/libio.h (_IO_pos_t): Remove.
6654
89a3ad0b
AO
66552012-10-10 Alexandre Oliva <aoliva@redhat.com>
6656
6657 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6658 McGrath.
6659
e7451425
AO
66602012-10-10 Alexandre Oliva <aoliva@redhat.com>
6661
6662 * crypt/crypt-entry.c: Include fips-private.h.
6663 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6664 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6665 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6666 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6667
4ba74a35
AO
66682012-10-10 Alexandre Oliva <aoliva@redhat.com>
6669
6670 * crypt/crypt-private.h: Include stdbool.h.
6671 (_ufc_setup_salt_r): Return bool.
6672 * crypt/crypt-entry.c: Include errno.h.
6673 (__crypt_r): Return NULL with EINVAL for bad salt.
6674 * crypt/crypt_util.c (bad_for_salt): New.
6675 (_ufc_setup_salt_r): Check that salt is long enough and within
6676 the specified alphabet.
6677 * crypt/badsalttest.c: New file.
6678 * crypt/Makefile (tests): Add it.
6679 ($(objpfx)badsalttest): New.
6680
f96f1242
MK
66812012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6682
6683 * NEWS: Add entry for BZ #14602.
6684
0e8e0c1c
JM
66852012-10-09 Joseph Myers <joseph@codesourcery.com>
6686
6687 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6688 type-generic.
6689 * math/libm-test.inc: Update comment listing what functions and
6690 macros are tested.
6691 (isgreater_test): New function.
6692 (isgreaterequal_test): Likewise.
6693 (isless_test): Likewise.
6694 (islessequal_test): Likewise.
6695 (islessgreater_test): Likewise.
6696 (isunordered_test): Likewise.
6697 (main): Call the new functions.
6698
273edc5e
RM
66992012-10-09 Roland McGrath <roland@hack.frob.com>
6700
b8493de0
RM
6701 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6702 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6703 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6704 * sysdeps/i386/configure: Regenerated.
6705 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6706 * sysdeps/mach/configure: Regenerated.
6707 * sysdeps/mach/hurd/configure: Regenerated.
6708 * sysdeps/powerpc/configure: Regenerated.
6709 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6710 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6711 * sysdeps/s390/s390-32/configure: Regenerated.
6712 * sysdeps/s390/s390-64/configure: Regenerated.
6713 * sysdeps/sh/configure: Regenerated.
6714 * sysdeps/sparc/configure: Regenerated.
6715 * sysdeps/unix/sysv/linux/configure: Regenerated.
6716 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6717 * sysdeps/x86_64/configure: Regenerated.
6718
273edc5e
RM
6719 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6720 defined. Don't check if MAP is NULL.
6721
c8450f70
JM
67222012-10-09 Joseph Myers <joseph@codesourcery.com>
6723
6724 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6725 (_G_stat64): Likewise.
6726 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6727 (_G_stat64): Likewise.
6728 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6729 instead of struct _G_stat64.
6730 * libio/fileops.c (mmap_remap_check): Likewise.
6731 (decide_maybe_mmap): Likewise.
6732 (_IO_new_file_seekoff): Likewise.
6733 (_IO_file_stat): Likewise.
6734 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6735 _G_off64_t.
6736 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6737 instead of struct _G_stat64.
6738 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6739
57e605ba
MK
67402012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6741
6742 [BZ #14602]
6743 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6744 Replace with ...
6745 (CHECK_EOL): New macro.
6746 (two_way_short_needle): Check beginning of haystack for EOL. Use
6747 CHECK_EOL.
6748 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6749 Replace with CHECK_EOL.
6750 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6751 Replace with CHECK_EOL.
6752
ef1bb361
JM
67532012-10-08 Joseph Myers <joseph@codesourcery.com>
6754
6755 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6756 type-generic.
6757 * math/libm-test.inc: Update comment listing what functions and
6758 macros are tested.
6759 (finite_test): New function.
6760 (isinf_test): Likewise.
6761 (isnan_test): Likewise.
6762 (fpclassify_test): Test subnormal input.
6763 (isfinite_test): Likewise.
6764 (isnormal_test): Likewise.
6765 (main): Call the new functions.
6766
55f11534
JN
67672012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6768
6769 [BZ #14660]
6770 * Makerules (%.dynsym): Force C locale when running
6771 $(OBJDUMP) --dynamic-syms.
6772
1ab29350
AS
67732012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6774
6775 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6776 <stdint.h>.
6777
f1ecb7ef
DM
67782012-10-06 David S. Miller <davem@davemloft.net>
6779
6780 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6781 upper 32-bits of the length value in %o2 since we use branch-on-register
6782 tests which consider the entire 64-bit register.
6783
5d41d91a
L
67842012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6785
6786 * string/test-strstr.c (check2): Add a test for page boundary.
6787
3baddb72
DM
67882012-10-05 David S. Miller <davem@davemloft.net>
6789
6790 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6791 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6792 file.
6793 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6794 sysdep_routines.
6795 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6796 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6797 and bzero when HWCAP_SPARC_CRYPTO is present.
6798
9cee5585
L
67992012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6800
d7e0dab9
L
6801 [BZ #14602]
6802 * string/test-strstr.c (check2): New function.
6803 (test_main): Call check2.
6804
03759f47
L
6805 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6806 and bug-strchr1.
6807 * string/bug-strcasestr1.c (do_test): Moved to ...
6808 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
6814 * string/test-strchr.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-strstr1.c (main): Moved to ...
046f153e 6820 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6821 (do_one_test): Break out result checking code into ...
6822 (check_result): This. New function.
6823 (do_one_test): Call check_result.
6824 (test_main): Call check1.
6825 * string/bug-strcasestr1.c: Removed.
6826 * string/bug-strchr1.c: Likewise.
6827 * string/bug-strstr1.c: Likewise.
6828
53cea63e
L
6829 * elf/Makefile (dl-routines): Add hwcaps.
6830 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6831 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6832 (_dl_important_hwcaps): Moved to ...
6833 * elf/dl-hwcaps.c: Here. New file.
6834 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6835
9cee5585 6836 [BZ #14557]
bb859b06
L
6837 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6838 if IS_IN_rtld isn't defined.
6839
9cee5585
L
6840 * elf/dl-support.c (_dl_sysinfo_map): New.
6841 Include "get-dynamic-info.h" and "setup-vdso.h".
6842 (_dl_non_dynamic_init): Call setup_vdso.
6843 * elf/dynamic-link.h: Don't include <assert.h>.
6844 (elf_get_dynamic_info): Moved to ...
6845 * elf/get-dynamic-info.h: Here. New file.
6846 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6847 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6848 * elf/setup-vdso.h: Here. New file.
6849 * elf/rtld.c: Include "setup-vdso.h".
6850 (dl_main): Call setup_vdso.
6851
23c31b76
JM
68522012-10-05 Joseph Myers <joseph@codesourcery.com>
6853
28234b07
JM
6854 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6855 creal in comment listing functions tested. List finite, isinf,
6856 isnan, isless, islessequal, isgreater, isgreaterequal,
6857 islessgreater, isunordered, lgamma_r and pow10 as functions and
6858 macros not tested. Mention which functions not tested are aliases
6859 for other functions. Fix typo. Note that signs of NaNs are not
6860 tested.
6861
23c31b76
JM
6862 * scripts/config.guess: Update from config.git.
6863 * scripts/config.sub: Likewise.
6864
9043e228
RM
68652012-10-04 Roland McGrath <roland@hack.frob.com>
6866
6867 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6868 * misc/madvise.c (madvise): Renamed to __madvise.
6869 Make madvise a weak alias.
6870 * include/sys/mman.h: Declare __madvise.
6871 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6872 * sysdeps/unix/syscalls.list
6873 (madvise): Make __madvise the strong name, and madvise a weak alias.
6874 * sysdeps/unix/sysv/linux/syscalls.list
6875 (madvise, mmap): Remove redundant entries.
6876 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6877 * malloc/malloc.c (mtrim): Likewise.
6878 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6879
f57f8055
RM
68802012-10-03 Roland McGrath <roland@hack.frob.com>
6881
6882 * sysdeps/mach/hurd/dl-cache.c: File removed.
6883 * config.h.in (USE_LDCONFIG): New #undef.
6884 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6885 * configure: Regenerated.
6886 * elf/Makefile (dl-routines): Add dl-cache only under
6887 [$(use-ldconfig) = yes].
6888 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6889 cache on [USE_LDCONFIG].
6890 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6891 [USE_LDCONFIG].
6892 * elf/rtld.c (dl_main): Likewise.
6893
5bb0c10a
PT
68942012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6895
6896 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6897 _SC_LEVEL4_CACHE_LINESIZE.
6898
010188c6
RM
68992012-10-03 Roland McGrath <roland@hack.frob.com>
6900
6901 * sysdeps/unix/bsd/confstr.h: File removed.
6902
b6c5ec07
AO
69032012-10-02 Alexandre Oliva <aoliva@redhat.com>
6904
6905 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6906 sys/sdt-config.h.
6907
408223d4
RM
69082012-10-02 Roland McGrath <roland@hack.frob.com>
6909
6910 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6911 Make 'mapoff' field ElfW(Off) rather than off_t.
6912
bb9510dc
DL
69132012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6914
fc997c6e
DL
6915 * nscd/Makefile: Remove nscd-cflags and all its users.
6916 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6917 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6918
bb9510dc
DL
6919 [BZ #10631]
6920 * malloc.c (malloc_printerr): Clarify error message.
6921
05699367
L
69222012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6923
6924 [BZ #14648]
6925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6926 Set bit_FMA_Usable if FMA is supported.
6927 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6928 macro.
6929 (bit_FMA4_Usable): Updated.
6930 (index_FMA_Usable): New macro.
6931 (CPUID_FMA): Likewise
6932 (HAS_FMA): Defined with bit_FMA_Usable.
6933
51367701
RM
69342012-10-01 Roland McGrath <roland@hack.frob.com>
6935
6936 * bits/types.h (__swblk_t): Type removed.
6937 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6938 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6940 (__SWBLK_T_TYPE): Likewise.
6941 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6942 (__SWBLK_T_TYPE): Likewise.
6943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6944 (__SWBLK_T_TYPE): Likewise.
6945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6946 (__SWBLK_T_TYPE): Likewise.
6947
4d57bf63 69482012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6949 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6950
6951 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6952 (xdr_mapname): Use YPMAXMAP as maxsize.
6953 (xdr_peername): Use YPMAXPEER as maxsize.
6954 (xdr_keydat): Use YPAXRECORD as maxsize.
6955 (xdr_valdat): Use YPMAXRECORD as maxsize.
6956
93c65d43
RM
69572012-10-01 Roland McGrath <roland@hack.frob.com>
6958
497a03d6
RM
6959 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6960
93c65d43
RM
6961 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6962 * csu/init-first.c: ... here.
6963 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6964 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6965 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6966 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6967 * sysdeps/i386/init-first.c: File removed.
6968 * sysdeps/sh/init-first.c: File removed.
6969
bec749fd
JM
69702012-10-01 Joseph Myers <joseph@codesourcery.com>
6971
6972 [BZ #14645]
6973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6974 if x * y might underflow to zero and z is zero.
6975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6977 * math/libm-test.inc (min_subnorm_value): New variable.
6978 (fma_test): Add more tests.
6979 (fma_test_towardzero): Likewise.
6980 (fma_test_downward): Likewise
6981 (fma_test_upward): Likewise.
6982 (initialize): Set min_subnorm_value.
6983
8ec5b013
JM
69842012-09-29 Joseph Myers <joseph@codesourcery.com>
6985
6986 [BZ #14638]
6987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6988 0 + 0.
6989 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6990 mode for addition resulting in exact zero.
6991 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6993 exact 0 + 0.
6994 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6996 * math/libm-test.inc (fma_test): Add more tests.
6997 (fma_test_towardzero): New function.
6998 (fma_test_downward): Likewise.
6999 (fma_test_upward): Likewise.
7000 (main): Call the new functions.
7001
b1fa802e
DM
70022012-09-28 David S. Miller <davem@davemloft.net>
7003
7004 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7005
d3b9fd9e
RM
70062012-09-28 Roland McGrath <roland@hack.frob.com>
7007
ea4d37b3
RM
7008 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7009 instead of SIGALRM.
7010
ac51c949
RM
7011 * sysdeps/gnu/_G_config.h: Moved to ...
7012 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7013 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7014 * sysdeps/generic/_G_config.h: ... here.
7015
28c195f7
RM
7016 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7017
848917f9
RM
7018 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7019
6bacf05b
RM
7020 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7021 Conditionalize target on [libnss_test1.so-version].
7022
91363dbb
RM
7023 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7024
cc87f7d8
RM
7025 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7026 (elfobjdir): Move out of conditionals.
7027
b1c608fe
RM
7028 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7029 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7030 (__nss_lookup_function): Conditionalize label remove_from_tree on
7031 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7032
1d9a6d96
DM
70332012-09-28 David S. Miller <davem@davemloft.net>
7034
7035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7036 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7037 file.
7038 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7039 sysdep_routines.
7040 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7042 when HWCAP_SPARC_CRYPTO is present.
7043
72581615
PT
70442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7045
7046 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7047
715a900c
JL
70482012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7049
7050 [BZ #6530]
7051 * stdio-common/vfprintf.c (process_string_arg): Revert
7052 2000-07-22 change.
7053
70542011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7055
7056 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7057 for testcase.
7058 * stdio-common/tst-sprintf.c: Include <locale.h>
7059 (main): Test sprintf's handling of incomplete multibyte
7060 characters.
7061
9bac1d86
L
70622012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7063
7064 * elf/dl-runtime.c (VERSYMIDX): Removed.
7065 * elf/dl-version.c (VERSYMIDX): Likewise.
7066 * elf/do-rel.h (VERSYMIDX): Likewise.
7067 (VALIDX): Likewise.
7068 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7069 * elf/rtld.c (VALIDX): Likewise.
7070 (ADDRIDX): Likewise.
9bac1d86
L
7071 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7072 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7073 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7074 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7075 (VALIDX): Likewise.
7076 (ADDRIDX): Likewise.
9bac1d86 7077
b31606c0
PT
70782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7079
7080 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7081
11541177
JL
70822012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7083
7084 [BZ #11438]
7085 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7086 to global scope.
7087 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7088 addresses are in the same scope as 192.0.2/24.
7089 * posix/gai.conf: Document new scope table defaults.
7090
adb26fae
SP
70912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
7093 [BZ #5298]
7094 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7095 for ftell. Compute offsets from write pointers instead.
7096 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7097
4573c6b0
SP
70982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7099
7100 [BZ #14543]
7101 * libio/Makefile (tests): New test case tst-fseek.
7102 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7103 combination works in wide mode.
7104 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7105 state when the external buffer state changes.
7106
aa9bbfe6
DM
71072012-09-27 David S. Miller <davem@davemloft.net>
7108
7109 [BZ #14376]
7110 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7111 pass reloc->r_addend in as the 'high' argument to
7112 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7113
784421e7
DM
7114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7115
c39bc8b8
PT
71162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7117
7118 * rt/tst-aio2.c: Include <pthread.h>.
7119 * rt/tst-aio3.c: Likewise.
7120
1ccc2399
SE
71212012-09-27 Steve Ellcey <sellcey@mips.com>
7122
7123 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7124
31ed4153
L
71252012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7126
25f5f885
L
7127 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7128 contents on [SHARED].
31ed4153 7129
b7bfe116
MP
71302012-09-26 Marek Polacek <polacek@redhat.com>
7131
7132 [BZ #14530]
7133 [BZ #13741]
7134 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7135 for C++ and GCC <4.3 as well as for non GCC compilers.
7136
43c4edba
MT
71372012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7138
7139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7140
6a1bf82f
RM
71412012-09-25 Roland McGrath <roland@hack.frob.com>
7142
7143 * Makefile.in (all, install): Declare with .PHONY.
7144 Reported by Michael Hope <michael.hope@linaro.org>.
7145
8ad11b9a
TMQMF
71462012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7147
7148 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7149 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7150 system header.
7151 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7152 Likewise.
7153 (sydep_routines): Add the new and the internal functions.
7154 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7155 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7157 (GLIBC_2.17): Add the new function.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7159 (GLIBC_2.17): Likewise.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7161 (GLIBC_2.17): Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7163 (GLIBC_2.17): Likewise.
7164 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7165
7e2fca8d
AM
71662012-09-25 Alan Modra <amodra@gmail.com>
7167
7168 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7169 Add release barrier before setting once_control to say
7170 initialisation is done. Add hints on lwarx. Use macro in
7171 place of isync.
7172 (clear_once_control): Add release barrier.
7173
b87c4b24
JM
71742012-09-25 Joseph Myers <joseph@codesourcery.com>
7175
d032e0d2
JM
7176 [BZ #13629]
7177 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7178 specially.
7179 * math/s_clog10.c (__clog10): Likewise.
7180 * math/s_clog10f.c (__clog10f): Likewise.
7181 * math/s_clog10l.c (__clog10l): Likewise.
7182 * math/s_clogf.c (__clogf): Likewise.
7183 * math/s_clogl.c (__clogl): Likewise.
7184 * math/Makefile (libm-calls): Add x2y2m1.
7185 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7186 (__x2y2m1): Likewise.
7187 (__x2y2m1l): Likewise.
7188 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7189 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7190 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7192 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7193 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7194 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7195 * sysdeps/i386/fpu/libm-test-ulps: Update.
7196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7197
b87c4b24
JM
7198 [BZ #14621]
7199 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7200 int as type of variable DEPTH.
7201 (glob): Use size_t instead of int as type of variables NEWCOUNT
7202 and OLD_PATHC.
7203
6d3bf199
LD
72042012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7205
22bf5c17
LD
7206 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7207 Add s_sincosf-sse2.
7208 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7209 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7210 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7211 macros for using routine as __sincosf_ia32.
7212 Use macro for function declaration and weak_alias.
7213 * sysdeps/i386/fpu/libm-test-ulps: Update.
7214
7215 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7217
7218 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7219 subnormal argument.
7220 * math/s_cexpf.c (__cexpf): Likewise.
7221 * math/s_csinf.c (__csinf): Likewise.
7222 * math/s_csinhf.c (__csinhf): Likewise.
7223 * math/s_ctanf.c (__ctanf): Likewise.
7224 * math/s_ctanhf.c (__ctanhf): Likewise.
7225 * math/s_ccosh.c (__ccoshf): Likewise.
7226 * math/s_cexp.c (__cexpl): Likewise.
7227 * math/s_csin.c (__csin): Likewise.
7228 * math/s_csinh.c (__csinh): Likewise.
7229 * math/s_ctan.c (__ctan): Likewise.
7230 * math/s_ctanh.c (ctanh): Likewise.
7231 * math/s_ccoshl.c (__ccoshl): Likewise.
7232 * math/s_cexpl.c (__cexpl): Likewise.
7233 * math/s_csinl.c (__csinl): Likewise.
7234 * math/s_csinhl.c (__csinhl): Likewise.
7235 * math/s_ctanl.c (__ctanl): Likewise.
7236 * math/s_ctanhl.c (__ctanhl): Likewise.
7237
203e5603
JM
72382012-09-25 Joseph Myers <joseph@codesourcery.com>
7239
7240 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7241 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7242 (_IO_off_t): Define to __off_t, not _G_off_t.
7243 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7244 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7245 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7246 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7247 type of __dummy and __dummy2 fields.
7248 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7249 (_G_ssize_t): Likewise.
7250 (_G_off_t): Likewise.
7251 (_G_pid_t): Likewise.
7252 (_G_uid_t): Likewise.
7253 (_G_wchar_t): Likewise.
7254 (_G_wint_t): Likewise.
7255 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7256 (_G_ssize_t): Likewise.
7257 (_G_off_t): Likewise.
7258 (_G_pid_t): Likewise.
7259 (_G_uid_t): Likewise.
7260 (_G_wchar_t): Likewise.
7261 (_G_wint_t): Likewise.
7262 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7263 (_G_ssize_t): Likewise.
7264 (_G_off_t): Likewise.
7265 (_G_pid_t): Likewise.
7266 (_G_uid_t): Likewise.
7267 (_G_wchar_t): Likewise.
7268 (_G_wint_t): Likewise.
7269
9fab36eb
SP
72702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7271
7272 * malloc/arena.c: Include malloc-sysdep.h.
7273 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7274 is sufficient to shrink the heap or an unmap is needed.
7275 * sysdeps/generic/malloc-sysdep.h: New file. Define
7276 new function check_may_shrink_heap.
7277 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7278 new function check_may_shrink_heap.
7279
2b4f00d1
SP
72802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7281
7282 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7283 comments.
7284
9a9028b1
DL
72852012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7286
57c69bef
DL
7287 * catgets/test-gencat.sh: Add "set -e".
7288 * elf/tst-pathopt.sh: Likewise.
7289 * grp/tst_fgetgrent.sh: Likewise.
7290 * iconvdata/run-iconv-test.sh: Likewise.
7291 * intl/tst-gettext.sh: Likewise.
7292 * intl/tst-gettext2.sh: Likewise.
7293 * intl/tst-gettext4.sh: Likewise.
7294 * intl/tst-gettext6.sh: Likewise.
7295 * intl/tst-translit.sh: Likewise.
7296 * io/ftwtest-sh: Likewise.
7297 * libio/test-freopen.sh: Likewise.
7298 * malloc/tst-mtrace.sh: Likewise.
7299 * posix/globtest.sh: Likewise.
7300 * posix/tst-getconf.sh: Likewise.
7301 * posix/wordexp-tst.sh: Likewise.
7302 * stdio-common/tst-printf.sh: Likewise.
7303 * stdio-common/tst-unbputc.sh: Likewise.
7304 * stdlib/tst-fmtmsg.sh: Likewise.
7305 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7306 * catgets/Makefile: Do not specify -e option when running
7307 testsuite shell scripts.
7308 * elf/Makefile: Likewise.
7309 * grp/Makefile: Likewise.
7310 * iconvdata/Makefile: Likewise.
7311 * intl/Makefile: Likewise.
7312 * io/Makefile: Likewise.
7313 * libio/Makefile: Likewise.
7314 * malloc/Makefile: Likewise.
7315 * posix/Makefile: Likewise.
7316 * stdio-common/Makefile: Likewise.
7317 * stdlib/Makefile: Likewise.
7318 * sysdeps/x86_64/Makefile: Likewise.
7319
9a9028b1
DL
7320 * io/ftwtest-sh: Add copyright header.
7321 * posix/globtest.sh: Likewise.
7322 * posix/tst-getconf.sh: Likewise.
7323 * posix/wordexp-tst.sh: Likewise.
7324 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7325
ced6f16e
L
73262012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7327
94b32c39
L
7328 [BZ #13679]
7329 * Makeconfig (+link): Defined as $(+link-static) if
7330 $(build-shared) isn't yes.
7331 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7332 isn't yes.
7333 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7334
189e935b
L
7335 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7336
ced6f16e
L
7337 [BZ #14562]
7338 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7339 new chunk size with MALLOC_ALIGN_MASK.
7340
a9f8e53a
JM
73412012-09-24 Joseph Myers <joseph@codesourcery.com>
7342
7343 [BZ #5044]
7344 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7345 <rounding-mode.h>.
7346 (__printf_fphex): Determine rounding using get_rounding_mode and
7347 round_away.
7348 * stdio-common/tst-printf-round.c (struct hex_test): New
7349 structure.
7350 (hex_tests): New variable.
7351 (test_hex_in_one_mode): New function.
7352 (do_test): Also run tests for hex float output.
7353
43153109
JM
73542012-09-21 Joseph Myers <joseph@codesourcery.com>
7355
7356 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7357 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7358 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7359 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7360 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7361 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7362 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7363 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7364
8a26625d
JM
73652012-09-20 Joseph Myers <joseph@codesourcery.com>
7366
7367 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7368 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7369 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7370 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7371
f3fd569c
DL
73722012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7373
7374 [BZ #14579]
7375 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7376 mode only.
7377 * elf/tst-rtld-load-self.sh: New test.
7378 * elf/Makefile: Run it.
7379
63bbedd4
JM
73802012-09-18 Joseph Myers <joseph@codesourcery.com>
7381
7382 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7383 (tst-writev-ENV): Remove.
7384 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7385
626f8b6a
CM
73862012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7387
7388 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7389
b7aaa4d6
JM
73902012-09-17 Joseph Myers <joseph@codesourcery.com>
7391
7392 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7393 unconditional.
7394 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7395 Likewise.
7396 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7397 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7398 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7399 Likewise.
7400
65513990
L
74012012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7402
7403 [BZ #14587]
7404 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7405 * config.make.in (have-cpp-asm-debuginfo): Removed.
7406 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7407 * configure: Regenerated.
7408
784761be
JM
74092012-09-14 Joseph Myers <joseph@codesourcery.com>
7410
7411 [BZ #5044]
7412 * stdio-common/printf_fp.c: Include <stdbool.h> and
7413 <rounding-mode.h>.
7414 (___printf_fp): Determine rounding using get_rounding_mode and
7415 round_away.
7416 * stdio-common/tst-printf-round.c: New file.
7417 * stdio-common/Makefile (tests): Add tst-printf-round.
7418 (link-libm): New variable.
7419 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7420
9503345f
L
74212012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7422
7423 [BZ #14576]
7424 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7425 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7426 Likewise.
7427 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7428 Likewise.
7429
ad35fc00
JM
74302012-09-13 Joseph Myers <joseph@codesourcery.com>
7431
7432 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7433 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7434 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7435 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7436
6c9b0f68
JM
74372012-09-12 Joseph Myers <joseph@codesourcery.com>
7438
7439 [BZ #14518]
7440 * include/rounding-mode.h: New file.
7441 * sysdeps/generic/get-rounding-mode.h: Likewise.
7442 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7443 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7444 (MAX_VALUE): New macro.
7445 (MIN_VALUE): Likewise.
7446 (overflow_value): New function.
7447 (underflow_value): Likewise.
7448 (round_and_return): Use overflow_value and underflow_value to
7449 determine return values in overflow and underflow cases. Use
7450 round_away to determine rounding depending on rounding mode.
7451 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7452 determine return values in overflow and underflow cases.
7453 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7454 (struct test_results): New structure.
7455 (struct test): Use struct test_results to store expected results
7456 for all rounding modes.
7457 (TEST): Include expected results for all rounding modes.
7458 (test_in_one_mode): New function.
7459 (do_test): Use test_in_one_mode to compute and check results.
7460 Check results for all rounding modes.
7461 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7462 $(link-libm).
7463
19fcedd5
AM
74642012-12-09 Allan McRae <allan@archlinux.org>
7465
1e9d84cd 7466 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7467
8bbfd2f1
JM
74682012-09-11 Joseph Myers <joseph@codesourcery.com>
7469
7470 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7471 (_G_int32_t): Likewise.
7472 (_G_uint16_t): Likewise.
7473 (_G_uint32_t): Likewise.
7474 (_G_HAVE_BOOL): Likewise.
7475 (_G_HAVE_ATEXIT): Likewise.
7476 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7477 (_G_HAVE_IO_FILE_OPEN): Likewise.
7478 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7479 (_G_int32_t): Likewise.
7480 (_G_uint16_t): Likewise.
7481 (_G_uint32_t): Likewise.
7482 (_G_HAVE_BOOL): Likewise.
7483 (_G_HAVE_ATEXIT): Likewise.
7484 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7485 (_G_HAVE_IO_FILE_OPEN): Likewise.
7486 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7487 (_G_int32_t): Likewise.
7488 (_G_uint16_t): Likewise.
7489 (_G_uint32_t): Likewise.
7490 (_G_HAVE_BOOL): Likewise.
7491 (_G_HAVE_ATEXIT): Likewise.
7492 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7493 (_G_HAVE_IO_FILE_OPEN): Likewise.
7494
b1dc5912
L
74952012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7496
7497 * csu/libc-tls.c: Update copyright years.
7498
0e886ef9
JM
74992012-09-10 Joseph Myers <joseph@codesourcery.com>
7500
28361c5e
JM
7501 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7502 [!_G_USING_THUNKS]: Remove conditional code.
7503 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7504 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7505
0e886ef9
JM
7506 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7507 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7508 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7509 (_G_VTABLE_LABEL_PREFIX): Likewise.
7510 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7511 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7512 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7513 (_G_VTABLE_LABEL_PREFIX): Likewise.
7514 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7515 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7516 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7517 (_G_VTABLE_LABEL_PREFIX): Likewise.
7518 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7519
bcba7aa2
L
75202012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7521
7522 * libio/Makefile: Include ../Makeconfig before tests.
7523 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7524 only if $(build-shared) is yes.
7525
06585ee8
L
7526 * iconv/gconv_db.c: Update copyright years.
7527
80ccd52c
LD
75282012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7529
7530 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7531 unwind info if defined PIC. Fix special cases description.
7532 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7533
7534 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7535 DP_HI_MASK entry.
7536 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7537
691bc9c1
L
75382012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7539
3d9b46b3
L
7540 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7541
de2139a9
L
7542 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7543 is NULL.
7544
5ca78dd0
L
7545 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7546 (LDLIBS-tst-chk4): This.
7547 (LDFLAGS-tst-chk5): Renamed to ...
7548 (LDLIBS-tst-chk5): This.
7549 (LDFLAGS-tst-chk6): Renamed to ...
7550 (LDLIBS-tst-chk6): This.
7551 (LDFLAGS-tst-lfschk4): Renamed to ...
7552 (LDLIBS-tst-lfschk4): This.
7553 (LDFLAGS-tst-lfschk5): Renamed to ...
7554 (LDLIBS-tst-lfschk5): This.
7555 (LDFLAGS-tst-lfschk6): Renamed to ...
7556 (LDLIBS-tst-lfschk6): This.
7557
691bc9c1
L
7558 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7559 on $(common-objpfx)soversions.mk.
7560
65cafb1c
JM
75612012-09-07 Joseph Myers <joseph@codesourcery.com>
7562
7563 [BZ #10014]
7564 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7565 example host name.
7566
c78ab094
SP
75672012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7568
7569 * malloc/arena.c (arena_get_retry): New function that gets
7570 another arena for the caller to try its request on.
7571 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7572 current arena cannot fulfill the request.
7573 (__libc_memalign): Likewise.
7574 (__libc_memalign): Likewise.
7575 (__libc_pvalloc): Likewise.
7576 (__libc_calloc): Likewise.
7577
01f49f59
JT
75782012-09-05 John Tobey <john.tobey@gmail.com>
7579
7580 [BZ #13542]
7581 * manual/arith.texi (Operations on Complex): Fix description
7582 of carg branch cut.
7583
4c23fed5
JM
75842012-09-06 Joseph Myers <joseph@codesourcery.com>
7585
1d3c8572
JM
7586 [BZ #10014]
7587 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7588 host name.
7589
4c23fed5
JM
7590 [BZ #10038]
7591 * manual/memory.texi (Memory): Make order of menu items match
7592 order of sections.
7593
04570aaa
L
75942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7595
7596 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7597 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7598 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7599
b80af2f4
L
76002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7601
7602 * csu/libc-tls.c (static_dtv): Renamed to ...
7603 (_dl_static_dtv): This. Make it global.
7604 (_dl_initial_dtv): Removed.
7605 (__libc_setup_tls): Updated.
7606 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7607 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7608 DL_INITIAL_DTV.
7609
2abe9f15
PM
76102012-09-06 Petr Machata <pmachata@redhat.com>
7611
7612 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7613 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7614 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7615 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7616
0948c3af
L
76172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7618
7619 [BZ #14545]
7620 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7621 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7622 freeing dtv[-1].
7623
a5055ad1
L
76242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7625
7626 [BZ #14544]
7627 * Makeconfig (link-static-before-libc): Replace $(+prector)
7628 with $(+prectorT).
7629 (link-static-after-libc): Replace $(+postctor) with
7630 $(+postctorT).
7631 (link-bounded): Replace $(+prector)/$(+postctor) with
7632 $(+prectorT)/$(+postctorT).
7633 (+prectorT): New macro.
7634 (+postctorT): Likewise.
7635
ed8c2ecd
JM
76362012-09-06 Joseph Myers <joseph@codesourcery.com>
7637
7638 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7639 (round_str): Handle values above the maximum for IBM long double
7640 as inexact.
7641 * stdlib/tst-strtod-round.c (tests): Regenerated.
7642
14c996c8
AK
76432012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7644
7645 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7646 assembler flag.
7647 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7648 zarch_nohighgprs around the zarch optimized routines.
7649 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7650 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7651 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7652 for zarch.
7653
430d6ce6
DM
76542012-09-05 David S. Miller <davem@davemloft.net>
7655
7656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7657
ff04dda4
DM
7658 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7659 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7660 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7661 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7662 entries.
7663
24d4e01b
AO
76642012-09-05 Alexandre Oliva <aoliva@redhat.com>
7665
7666 * malloc/arena.c: Fold copyright years.
7667 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7668
61d58174
AO
76692012-09-05 Alexandre Oliva <aoliva@redhat.com>
7670
7671 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7672
20196a5e
AO
76732012-09-05 Alexandre Oliva <aoliva@redhat.com>
7674
7675 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7676
5c447383
AO
76772012-09-05 Alexandre Oliva <aoliva@redhat.com>
7678
7679 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7680 change internal state upon failure.
7681
fad64255
AO
76822012-09-05 Alexandre Oliva <aoliva@redhat.com>
7683
7684 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7685 * malloc/memusage.c (mmap): Likewise.
7686 (mmap64, mremap): Likewise. Adjust name in comment.
7687
1ffb8c90
SP
76882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7689
7690 * libio/fileops.c: Fix typos in comments.
7691 * libio/oldfileops.c: Likewise.
7692 * libio/wfileops.c: Likewise.
7693
6ef9cc37
SP
76942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7695
7696 [BZ #1349]
7697 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7698 (tst-malloc-usable-ENV): Set environment for test case.
7699 * malloc/hooks.c (malloc_check_get_size): New function to get
7700 requested size.
7701 * malloc/malloc.c (musable): Use malloc_check_get_size.
7702 * malloc/tst-malloc-usable.c: New test case.
7703
4d038ae3
AS
77042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7705
7706 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7707
c4e85184
AM
77082012-09-05 Allan McRae <allan@archlinux.org>
7709
b9dafc56 7710 [BZ #13966]
c4e85184
AM
7711 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7712 determine header location.
7713 * configure: Regenerated.
7714
e1343020
AS
77152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7716
7717 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7718 float format.
7719 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7720 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7721 format.
e1343020
AS
7722 (test): Regenerate.
7723
0a9f1987
DM
77242012-09-04 David S. Miller <davem@davemloft.net>
7725
7726 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7727 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7728 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7729
29237804
FW
77302012-09-04 Florian Weimer <fweimer@redhat.com>
7731
7732 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7733 failures.
7734
edb3cb88
FW
7735 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7736
60160d83
JM
77372012-09-04 Joseph Myers <joseph@codesourcery.com>
7738
7739 [BZ #9914]
7740 * libio/iogetdelim.c: Include <limits.h>.
7741 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7742 + len + 1 would overflow.
7743
bcd6c8dc
AJ
77442012-09-03 Andreas Jaeger <aj@suse.de>
7745
7746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7747 * sysdeps/i386/fpu/libm-test-ulps: Update.
7748
4ffffbd2
LD
77492012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7750
7751 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7752 Add s_sinf-sse2, s_conf-sse2.
7753
7754 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7755 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7756 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7757 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7758
7759 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7760 for using routine as __sinf_ia32.
7761 Use macro for function declaration and weak_alias.
7762 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7763 for using routine as __cosf_ia32.
7764 Use macro for function declaration and weak_alias.
7765
7766 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7767 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7768
7769 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7770 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7772
7773 * math/libm-test.inc (cos_test): Add more test cases.
7774 (sin_test): Likewise.
7775 (sincos_test): Likewise.
7776
511fa286
AK
77772012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7778
7779 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7780 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7781 hidden.
7782 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7783
5f30cfec
L
77842012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 [BZ #14538]
7787 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7788 first element of the GOT.
7789 (elf_machine_load_address): Return the difference between
7790 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7791
0786794f
AM
77922012-09-01 Allan McRae <allan@archlinux.org>
7793
5f30cfec
L
7794 [BZ #13412]
7795 * configure.in (AWK): Require gawk version 3.0 or later.
7796 * configure: Regenerated.
0786794f 7797
26889eac
JM
77982012-09-01 Joseph Myers <joseph@codesourcery.com>
7799
7800 * sysdeps/unix/sysv/linux/kernel-features.h
7801 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7802 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7803 [__NR_clock_getres]: Make code unconditional.
7804 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7805 (clock_getcpuclockid): Remove code left unreachable by removal of
7806 conditionals.
7807 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7808 code unconditional.
7809 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7810 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7811 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7812 Make code unconditional.
7813 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7814 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7815 * sysdeps/unix/sysv/linux/clock_settime.c
7816 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7817 conditional code.
7818 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7819 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7820
d22e28b0
L
78212012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7822
7823 [BZ #14476]
7824 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7825 scripts/test-installation.pl.
7826
7827 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7828 and $ld_so_version if it is set.
7829
050af9c4
SP
78302012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7831
7832 [BZ #14516]
7833 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7834 failure if reading from procfs failed.
7835 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7836
ad845c0b
JM
78372012-08-27 Joseph Myers <joseph@codesourcery.com>
7838
7839 * sysdeps/unix/sysv/linux/kernel-features.h
7840 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7841 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7842 Remove conditional code.
7843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7844 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7845 Remove conditional code.
7846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7847 * sysdeps/unix/sysv/linux/i386/fxstat.c
7848 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7850 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7851 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7852 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7853 * sysdeps/unix/sysv/linux/i386/lxstat.c
7854 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7855 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7856 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7857 Remove conditional code.
7858 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7859 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7860 Remove conditional code.
7861 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7862 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7863 <kernel-features.h>.
7864 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7865 Remove.
7866 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7867 Remove conditional code.
7868 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7869 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7870 Remove conditional.
7871
5dbf56af
MF
78722012-08-27 Mike Frysinger <vapier@gentoo.org>
7873
7874 [BZ #5400]
7875 * NEWS: Add fixed bug number.
7876
d6e70f43
JM
78772012-08-27 Joseph Myers <joseph@codesourcery.com>
7878
7efb4737
JM
7879 [BZ #14519]
7880 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7881 underflowing exponent in case of negative sign.
7882 * stdlib/tst-strtod-round-data: Add more tests.
7883 * stdlib/tst-strtod-round.c (tests): Regenerated.
7884
af92131a
JM
7885 [BZ #3479]
7886 * stdlib/strtod_l.c (NDIG): Remove.
7887 (HEXNDIG): Likewise.
7888 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7889 smallest representable value.
7890 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7891 lie within an exact representation of 1/2 ulp of the result.
7892 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7893 unconditionally.
7894 (TENS_P9_IDX): Define unconditionally.
7895 (TENS_P9_SIZE): Likewise.
7896 (TENS_P10_IDX): Likewise.
7897 (TENS_P10_SIZE): Likewise.
7898 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7899 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7900 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7901 entries for 10^2^13 and 10^2^14.
7902 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7903 (TENS_P13_IDX): Define.
7904 (TENS_P13_SIZE): Likewise.
7905 (TENS_P14_IDX): Likewise.
7906 (TENS_P14_SIZE): Likewise.
7907 (_fpioconst_pow10): Change array size to
7908 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7909 unconditional.
7910 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7911 1024]: Add entries for 10^2^13 and 10^2^14.
7912 [LAST_POW10 > _LAST_POW10]: Remove #error.
7913 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7914 (_fpioconst_pow10): Change array size to
7915 FPIOCONST_POW10_ARRAY_SIZE.
7916 * stdlib/gen-fpioconst.c: New file.
7917 * stdlib/gen-tst-strtod-round.c: Likewise.
7918 * stdlib/tst-strtod-round-data: Likewise.
7919 * stdlib/tst-strtod-round.c: Likewise.
7920 * stdlib/Makefile (tests): Add tst-strtod-round.
7921
d6e70f43
JM
7922 [BZ #14459]
7923 * stdlib/strtod_l.c: Include <stdint.h>.
7924 (NDEBUG): Do not define.
7925 (round_and_return): Change EXPONENT parameter to type intmax_t.
7926 Rearrange calculations to avoid internal overflow possibilities.
7927 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7928 Rearrange calculations to avoid internal overflow possibilities.
7929 Assert that number fits inside MPNSIZE limbs.
7930 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7931 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7932 calculations and add assertions to avoid internal overflow
7933 possibilities. Add casts to avoid signed/unsigned operations.
7934 * stdlib/tst-strtod-overflow.c: New file.
7935 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7936
1f529f7d
MP
79372012-08-25 Marek Polacek <polacek@redhat.com>
7938
7939 * time/time.h: Fix some typos in comments.
7940
59a629f1
RM
79412012-08-23 Roland McGrath <roland@hack.frob.com>
7942
7943 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7944 * posix/tst-rfc3484-2.c: Likewise.
7945 * posix/tst-rfc3484-3.c: Likewise.
7946
d3bafbc9
SM
79472012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7948
7949 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7950 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7951
4efcc022
JM
79522012-08-23 Joseph Myers <joseph@codesourcery.com>
7953
7954 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7955 #include of fxstatat64.c.
7956
3cc3ef96
RM
79572012-08-22 Roland McGrath <roland@hack.frob.com>
7958
f04e2132
RM
7959 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7960 * shadow/getspent_r.c: Likewise.
7961 * shadow/getspnam.c: Likewise.
7962 * shadow/getspnam_r.c: Likewise.
7963 * gshadow/getsgent.c: Likewise.
7964 * gshadow/getsgent_r.c: Likewise.
7965 * gshadow/getsgnam.c: Likewise.
7966 * gshadow/getsgnam_r.c: Likewise.
7967 * inet/getnetbyad.c: Likewise.
7968 * inet/getnetbyad_r.c: Likewise.
7969 * inet/getnetbynm.c: Likewise.
7970 * inet/getnetbynm_r.c: Likewise.
7971 * inet/getnetent.c: Likewise.
7972 * inet/getnetent_r.c: Likewise.
7973 * inet/getproto.c: Likewise.
7974 * inet/getproto_r.c: Likewise.
7975 * inet/getprtent.c: Likewise.
7976 * inet/getprtent_r.c: Likewise.
7977 * inet/getprtname.c: Likewise.
7978 * inet/getprtname_r.c: Likewise.
7979 * inet/getrpcbyname.c: Likewise.
7980 * inet/getrpcbyname_r.c: Likewise.
7981 * inet/getrpcbynumber.c: Likewise.
7982 * inet/getrpcbynumber_r.c: Likewise.
7983 * inet/getrpcent.c: Likewise.
7984 * inet/getrpcent_r.c: Likewise.
7985 * inet/getaliasent.c: Likewise.
7986 * inet/getaliasent_r.c: Likewise.
7987 * inet/getaliasname.c: Likewise.
7988 * inet/getaliasname_r.c: Likewise.
7989 * nscd/getgrgid_r.c: Likewise.
7990 * nscd/getgrnam_r.c: Likewise.
7991 * nscd/gethstbyad_r.c: Likewise.
7992 * nscd/gethstbynm3_r.c: Likewise.
7993 * nscd/getpwnam_r.c: Likewise.
7994 * nscd/getpwuid_r.c: Likewise.
7995 * nscd/getsrvbynm_r.c: Likewise.
7996 * nscd/getsrvbypt_r.c: Likewise.
7997 * nscd/gai.c: Likewise.
7998
c53d909c
RM
7999 * configure.in (build_nscd): New substituted variable, set
8000 by --disable-build-nscd and defaults to $use_nscd.
8001 * configure: Regenerated.
8002 * config.make.in (build-nscd): New substituted variable.
8003 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8004 Change conditional to require [$(build-nscd) = yes] as well.
8005 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8006
3cc3ef96
RM
8007 [BZ# 13696]
8008 * configure.in (use_nscd): New substituted variable, set by
8009 --disable-nscd. If enabled, define USE_NSCD.
8010 * configure: Regenerated.
8011 * config.h.in: Add USE_NSCD.
8012 * config.make.in (use-nscd): New substituted variable.
8013 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8014 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8015 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8016 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8017 (CFLAGS-getgrnam_r.c): Likewise.
8018 (CFLAGS-initgroups.c): Likewise.
8019 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8020 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8021 Variables removed.
8022 * inet/getnetgrent_r.c
8023 (nscd_setnetgrent): New function, broken out of ...
8024 (setnetgrent): ... here. Call it.
8025 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8026 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8027 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8028 * nscd/Makefile (routines, aux): Move definitions after include of
8029 Makeconfig. Conditionalize on [$(use-nscd) != no].
8030 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8031 Conditionalize on [USE_NSCD].
8032 (is_nscd, nscd_init_cb): Likewise.
8033 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8034 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8035 * nss/nss_db/db-init.c: Likewise.
8036 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8037 [USE_NSCD].
8038 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8039 (make_request): Use it.
8040 (cache_valid_p): New function.
8041 (__check_pf): Use it.
8042 * NEWS: Add item for --disable-nscd.
8043
07e51550
DL
80442012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8045
8046 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8047 to support sed >= 4.2.1-20-ga9bf076.
8048 * configure: Regenerated.
8049
35a5b08b
RM
80502012-08-22 Roland McGrath <roland@hack.frob.com>
8051
8052 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8053 Conditionalize whole body on [IREL].
8054
8479f23a
JL
80552012-08-22 Jeff Law <law@redhat.com>
8056
8057 [BZ #14505]
8058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8059 if the family is PF_UNSPEC.
8060
48da0b21
MF
80612012-08-22 Mike Frysinger <vapier@gentoo.org>
8062
8063 * Makerules (lib-version): Rename from V.
8064 (install-lib-nosubdir): Change V to lib-version.
8065
15d0da8c
WS
80662012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8067
8068 [BZ #14252]
8069 * powerpc32/power6/wcschr.c: New file.
8070 * powerpc32/power6/wcscpy.c: New file.
8071 * powerpc32/power6/wcsrchr.c: New file.
8072 * powerpc64/power6/wcschr.c: New file.
8073 * powerpc64/power6/wcscpy.c: New file.
8074 * powerpc64/power6/wcsrchr.c: New file.
8075
bcca0895
MK
80762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8077
8078 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8079 (two_way_short_needle): Use it.
5a4aaa33
RM
8080 * string/strstr.c (AVAILABLE1_USES_J): Define.
8081 * string/strcasestr.c: Likewise.
99677e57
MK
8082
8083 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8084 array references.
8085 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8086
400726de
MK
8087 [BZ #11607]
8088 * NEWS: Add an entry.
8089 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8090 define their defaults.
8091 (two_way_short_needle): Detect end-of-string on-the-fly.
8092 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8093 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8094 * string/bug-strcasestr1.c: New test.
8095 * string/Makefile: Run it.
8096
20a71f2c
MK
80972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8098
8099 [BZ #11607]
8100 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8101 the first character.
8102
21ad0558
RM
81032012-08-21 Roland McGrath <roland@hack.frob.com>
8104
8105 * csu/elf-init.c (__libc_csu_irel): Function removed.
8106 * csu/libc-start.c (apply_irel): New function.
8107 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8108
0e1d9911
JM
81092012-08-21 Joseph Myers <joseph@codesourcery.com>
8110
8111 * sysdeps/unix/sysv/linux/kernel-features.h
8112 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8113 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8114 <kernel-features.h>.
8115 [__NR_fadvise64_64]: Make code unconditional.
8116 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8117 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8118 !__NR_fadvise64_64)]: Likewise.
8119 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8120 !__NR_fadvise64_64))]: Likewise.
8121 [__NR_fadvise64]: Make code unconditional.
8122 [!__NR_fadvise64]: Remove conditional code.
8123 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8124 <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/powerpc/powerpc32/posix_fadvise64.c: Do
8130 not 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 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8136 include <kernel-features.h>.
8137 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8138 unconditional.
8139 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8140 conditional code.
8141
14a50c9d
WS
81422012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8143
8144 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8145 slight instruction rearrangements per scrollpipe analysis.
8146 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8147
c0f4faf0
RM
81482012-08-20 Roland McGrath <roland@hack.frob.com>
8149
696da859
RM
8150 * manual/syslog.texi (syslog; vsyslog, closelog):
8151 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8152 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8153
c0f4faf0
RM
8154 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8155 DSOCAPS to match condition on defining it.
8156
348363b2
JM
81572012-08-20 Joseph Myers <joseph@codesourcery.com>
8158
a35cbf28
JM
8159 * sysdeps/unix/sysv/linux/kernel-features.h
8160 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8162 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8163 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8165 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8166 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8168 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8169 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8170
445f7ecd
JM
8171 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8172 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8173
348363b2
JM
8174 * sysdeps/unix/sysv/linux/kernel-features.h
8175 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8176 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8177 unconditional.
8178 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8179 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8180 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8181 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8182 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8183 Make code unconditional.
8184 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8185 (__mmap64) [!__NR_mmap2]: Likewise.
8186 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8187 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8188 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8189 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8190 [__NR_mmap2]: Make code unconditional.
8191 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8192 (__mmap64) [!__NR_mmap2]: Likewise.
8193
bc5bc0e5
AK
81942012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8195
8196 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8197
88d506de
AJ
81982012-08-18 Andreas Jaeger <aj@suse.de>
8199
8200 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8201
493387d2
MF
82022012-08-18 Mike Frysinger <vapier@gentoo.org>
8203
8204 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8205 * include/unistd.h (__have_sock_cloexec): Likewise.
8206 (__have_pipe2): Likewise.
8207 (__have_dup3): Likewise.
8208
a277af22
MF
82092012-08-18 Mike Frysinger <vapier@gentoo.org>
8210
8211 [BZ #9685]
8212 * include/unistd.h (__have_pipe2): Change define into an extern int.
8213 (__have_dup3): Likewise.
8214 * socket/have_sock_cloexec.c: Include fcntl.h.
8215 (__have_pipe2): New variable.
8216 (__have_dup3): Likewise.
8217
fdab8fd3
MF
82182012-08-17 Mike Frysinger <vapier@gentoo.org>
8219
8220 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8221
31035e80
MP
82222012-08-17 Marek Polacek <polacek@redhat.com>
8223
8224 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8225 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8226
3bd9e993
RM
82272012-08-17 Roland McGrath <roland@hack.frob.com>
8228
c91c505f
RM
8229 * configure.in: Add AC_SUBST for sysheaders.
8230 * configure: Regenerated.
8231 * config.make.in (sysheaders): New substituted variable.
8232
7c6f9d53
RM
8233 * sysdeps/unix/mkfifo.c: Moved ...
8234 * sysdeps/posix/mkfifo.c: ... here.
8235 * sysdeps/unix/mkfifoat.c: Moved ...
8236 * sysdeps/posix/mkfifoat.c: ... here.
8237
8238 * sysdeps/unix/utime.c: Moved ...
8239 * sysdeps/posix/utime.c: ... here.
8240
8241 * sysdeps/unix/time.c: Moved ...
8242 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8243 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8244 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8245
8246 * sysdeps/unix/nice.c: Moved ...
8247 * sysdeps/posix/nice.c: ... here.
8248
8249 * sysdeps/unix/alarm.c: Moved ...
8250 * sysdeps/posix/alarm.c: ... here.
8251
3bd9e993
RM
8252 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8253
d1f09384
JL
82542012-08-17 Jeff Law <law@redhat.com>
8255
8256 * intl/Makefile (codeset_mo): New variable.
8257 ($(codeset_mo)): New target.
8258 (tst-codeset.out): Depend on that. Remove explicit rule.
8259 (tst-gettext3.out, tst-gettext5.out): Likewise.
8260 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8261 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8262 * intl/tst-codeset.sh: Remove.
8263 * intl/tst-gettext3.sh: Likewise.
8264 * intl/tst-gettext5.sh: Likewise.
8265
2ae1ae5c
RM
82662012-08-17 Roland McGrath <roland@hack.frob.com>
8267
c31fdb83
RM
8268 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8269 * sysdeps/unix/syscalls.list: ... here.
8270
a0844057
RM
8271 * sysdeps/posix/getaddrinfo.c
8272 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8273 (gaiconf_init, gaiconf_reload): Use them.
8274 [!_STATBUF_ST_NSEC]
8275 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8276 Define using time_t rather than struct timespec.
8277
750c1f2a
RM
8278 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8279 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8280 Macros removed.
8281 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8282 [!NO_THREADS].
8283 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8284 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8285 Likewise.
8286
2ae1ae5c
RM
8287 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8288 __libc_cleanup_push argument.
8289
e66a42f5
RM
8290 * bits/param.h: New file.
8291 * misc/sys/param.h: New file.
8292 * include/sys/param.h: New file.
8293 * misc/Makefile (headers): Add bits/param.h.
8294 * sysdeps/generic/sys/param.h: File removed.
8295 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8296 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8297 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8298 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8299
b7c08a66
RM
8300 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8301 last change.
8302
b2e1c562
RM
8303 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8304 [_IO_MTSAFE_IO].
8305 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8306 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8307 New macros.
8308
c75ccd4c
RM
8309 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8310 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8311 rather than -D_IO_MTSAFE_IO conditionally.
8312 * stdio-common/Makefile (CPPFLAGS): Likewise.
8313 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8314 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8315 Use $(libio-mtsafe).
8316 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8317 of -D_IO_MTSAFE_IO.
8318 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8319 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8320 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8321 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8322 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8323 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8324 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8325 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8326 (CFLAGS-fread_u_chk.c): Likewise.
8327 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8328 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8329 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8330 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8331 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8332 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8333 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8334 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8335 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8336
8337 * libio/Makefile: Test [$(libc-reentrant) = yes]
8338 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8339
8340 * Makeconfig
8341 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8342 * sysdeps/pthread/configure: File removed.
8343 * sysdeps/pthread/Makeconfig: New file.
8344 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8345 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8346
d9195db8
GB
83472012-08-16 Gary Benson <gbenson@redhat.com>
8348
8349 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8350 unmapping the first object in a namespace.
8351
86466cd9
RM
83522012-08-16 Roland McGrath <roland@hack.frob.com>
8353
8354 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8355 (__internal_setnetgrent): ... this. Add internal_function to
8356 definition. Add libc_hidden_def.
8357 (setnetgrent): Update caller.
8358 (internal_endnetgrent): Renamed to ...
8359 (__internal_endnetgrent): ... this. Add internal_function to
8360 definition. Add libc_hidden_def.
8361 (endnetgrent): Update caller.
8362 (internal_getnetgrent_r): Renamed to ...
8363 (__internal_getnetgrent_r): ... this. Add internal_function to
8364 definition. Add libc_hidden_def.
8365 (__getnetgrent_r): Update caller.
8366 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8367
c3c8283c
JM
83682012-08-16 Joseph Myers <joseph@codesourcery.com>
8369
8370 * stdlib/longlong.h: Update from GCC.
8371
db1ee0a8
RM
83722012-08-16 Roland McGrath <roland@hack.frob.com>
8373
8374 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8375 on _QL, which is set by umul_ppmm but never used.
8376 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8377 variables, which are set by GMP macros but never used.
8378 * stdio-common/_itowa.c (_itowa): Likewise.
8379 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8380 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8381
30f69637
CD
83822012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8383
8384 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8385 struct La_sh_regs is not constant.
8386 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8387 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8388 and struct La_sparc64_regs are not constant.
8389
93a78ac4
JM
83902012-08-16 Joseph Myers <joseph@codesourcery.com>
8391
8392 * sysdeps/unix/sysv/linux/kernel-features.h
8393 (__ASSUME_POSIX_TIMERS): Remove.
8394 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8395 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8396 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8397 Make code unconditional.
8398 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8399 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8400 Make code unconditional.
8401 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8402 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8403 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8404 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8405 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8406 Make code unconditional.
8407 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8408 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8409 (__libc_missing_posix_timers): Remove.
8410
dd924cd7
RM
84112012-08-15 Roland McGrath <roland@hack.frob.com>
8412
4b4f2771
RM
8413 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8414 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8415
601c888b
RM
8416 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8417
176790a7
RM
8418 * elf/dl-sym.c: Include <stdlib.h>.
8419
329bc018
RM
8420 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8421 constants, which avoids warnings in 32-bit builds.
8422
e04e272d
RM
8423 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8424 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8425
952bf94a
RM
8426 * misc/lseek.c: File moved to ...
8427 * io/lseek.c: ... here.
8428
7c99b50a
RM
8429 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8430
dd924cd7
RM
8431 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8432 shifting LEN more than 31 bits at once.
8433
b3f479a8
LD
84342012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8435
8436 [BZ #14195]
8c4ae0d4
RM
8437 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8438 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8439 * string/test-strncasecmp.c (check1): Renamed to...
8440 (bz12205): ...this.
8441 (bz14195): Add new testcase for two empty input strings and N > 0.
8442 (test_main): Call new testcase, adapt for renamed function.
8443
9c55864e
AJ
84442012-08-15 Andreas Jaeger <aj@suse.de>
8445
8446 [BZ #14090]
8447 * crypt/md5test2.c: New test, based on test supplied by Serge
8448 Belyshev <belyshev@depni.sinp.msu.ru>.
8449 * crypt/Makefile (xtests): Add md5test-giant..
8450 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8451
02dcb6c5
PE
84522012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8453
8454 [BZ #14090]
8455 * crypt/md5.c (md5_process_block): Don't assume the buffer
8456 length is less than 2**32.
8457 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8458 length is less than 2**64.
8459
a3f95dcc
RM
84602012-08-15 Roland McGrath <roland@hack.frob.com>
8461
be75d758
RM
8462 * string/str-two-way.h: Include <sys/param.h>.
8463 (MAX): Macro removed.
8464
7312ca90
RM
8465 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8466 Move #define and #undef of memmove to just before and after
8467 including <string.h>.
8468
9a0a5486
RM
8469 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8470 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8471 and after including <string.h>. Move declarations of
8472 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8473 to before #include "string/memmove.c".
8474
67cc348d
RM
8475 * include/dirent.h: Declare __getdirentries.
8476
a3f95dcc
RM
8477 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8478 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8479
ca98e171
MF
84802012-08-14 Mike Frysinger <vapier@gentoo.org>
8481
8482 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8483 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8484 * sysdeps/i386/configure: Regenerated.
8485 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8486 STABS_CURRENT_FILE, and STABS_FUN.
8487 (END): Remove call to STABS_FUN_END.
8488 (STABS_CURRENT_FILE1): Delete.
8489 (STABS_CURRENT_FILE): Likewise.
8490 (STABS_FUN): Likewise.
8491 (STABS_FUN_END): Likewise.
8492 (STABS_FUN2): Likewise.
8493 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8494 * sysdeps/x86_64/configure: Regenerated.
8495
5908bf46
RM
84962012-08-14 Roland McGrath <roland@hack.frob.com>
8497
8498 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8499 * elf/dl-lookup.c: Likewise.
5908bf46 8500
f2c05b9e
JM
85012012-08-14 Joseph Myers <joseph@codesourcery.com>
8502
8503 * sysdeps/unix/sysv/linux/kernel-features.h
8504 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8505 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8506 unconditionally.
8507 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8508 unconditionally.
8509 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8510 condition on __ASSUME_CLONE_THREAD_FLAGS.
8511
e11f5155
AJ
85122012-08-14 Andreas Jaeger <aj@suse.de>
8513
8514 * sysdeps/i386/fpu/libm-test-ulps: Update.
8515
51a9ba86
MK
85162012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8517
2fdd4f78
AJ
8518 * include/atomic.h (atomic_exchange_and_add): Split into ...
8519 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8520 New atomic macros.
51a9ba86 8521
ba6cba9e
MT
85222012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8523
8524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8525
42443a47
JL
85262012-08-13 Jeff Law <law@redhat.com>
8527
8528 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8529 null byte in the output string.
8530
121dce05
JM
85312012-08-10 Joseph Myers <joseph@codesourcery.com>
8532
8533 * sysdeps/unix/sysv/linux/kernel-features.h
8534 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8535 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8536 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8537 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8538 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8539 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8540 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8541
bf51f568
JL
85422012-08-09 Jeff Law <law@redhat.com>
8543
8544 [BZ #13939]
8545 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8546 When avoid_arena is set, don't retry in the that arena. Pick the
8547 next one, whatever it might be.
8548 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8549 (arena_lock): Pass in new parameter to arena_get2.
8550 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8551 arena_get2.
8552 (__libc_malloc): Unify retrying after main arena failure with
8553 __libc_memalign version.
8554 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8555
f85fa270
L
85562012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8557
8558 [BZ #14166]
8559 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8560 to __redirect_strstr.
8561 (__strstr_sse42): Use typeof __redirect_strstr.
8562 (__strstr_ia32): Likewise.
8563 (__libc_strstr): New prototype.
8564 (strstr): Renamed to ...
8565 (__libc_strstr): This.
8566 (strstr): New strong alias of __libc_strstr.
8567 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8569 __redirect_time.
8570 Include <time.h>.
8571 (__libc_time): New prototype.
8572 (time_ifunc): Replace time with __libc_time.
8573 (time): New strong alias and hidden definition of __libc_time.
8574 (__GI_time): Remove strong alias.
8575 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8576 Include <stddef.h>.
8577 (memmove): Redefined to __redirect_memmove.
8578 (__memmove_sse2): Use typeof __redirect_memmove.
8579 (__memmove_ssse3): Likewise.
8580 (__memmove_ssse3_back): Likewise.
8581 (__libc_memmove): New prototype.
8582 (memmove): Renamed to ...
8583 (__libc_memmove): This.
8584 (memmove): New strong alias of __libc_memmove.
8585
33b4a91e
MS
85862012-08-08 Mark Salter <msalter@redhat.com>
8587
8588 * elf/elf.h
8589 (R_MN10300_TLS_GD): Define.
8590 (R_MN10300_TLS_LD): Likewise.
8591 (R_MN10300_TLS_LDO): Likewise.
8592 (R_MN10300_TLS_GOTIE): Likewise.
8593 (R_MN10300_TLS_IE): Likewise.
8594 (R_MN10300_TLS_LE): Likewise.
8595 (R_MN10300_TLS_DTPMOD): Likewise.
8596 (R_MN10300_TLS_DTPOFF): Likewise.
8597 (R_MN10300_TLS_TPOFF): Likewise.
8598 (R_MN10300_SYM_DIFF): Likewise.
8599 (R_MN10300_ALIGN): Likewise.
8600 (R_MN10300_NUM): Update.
8601
b36137f1
JM
86022012-08-08 Joseph Myers <joseph@codesourcery.com>
8603
8604 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8605 Remove.
8606
cdd915fd
RM
86072012-08-08 Roland McGrath <roland@hack.frob.com>
8608
a2433aac
RM
8609 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8610
cdd915fd
RM
8611 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8612 sysdeps/unix -> sysdeps/posix move.
8613 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8614
bf9b740a
AM
86152012-08-07 Allan McRae <allan@archlinux.org>
8616
8617 [BZ #14303]
8618 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8619 (SUNOS_CPP): Likewise.
8620 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8621 not found.
8622 (open_input): Call CPP using execvp.
8623
93df14ee
JM
86242012-08-07 Joseph Myers <joseph@codesourcery.com>
8625
8626 * sysdeps/unix/sysv/linux/kernel-features.h
8627 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8628 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8629 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8630 (__ASSUME_WAITID_SYSCALL): Likewise.
8631 * sysdeps/unix/sysv/linux/dl-execstack.c
8632 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8633 code unconditional.
8634 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8635 conditional code.
8636 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8637 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8638 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8639 code.
8640 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8641 unconditional.
8642 [__ASSUME_WAITID_SYSCALL]: Likewise.
8643 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8644
d34689de
RM
86452012-08-07 Roland McGrath <roland@hack.frob.com>
8646
a281decc
RM
8647 * sysdeps/unix/closedir.c: Renamed to ...
8648 * sysdeps/posix/closedir.c: ... here.
8649 * sysdeps/unix/dirfd.c: Renamed to ...
8650 * sysdeps/posix/dirfd.c: ... here.
8651 * sysdeps/unix/dirstream.h: Renamed to ...
8652 * sysdeps/posix/dirstream.h: ... here.
8653 * sysdeps/unix/fdopendir.c: Renamed to ...
8654 * sysdeps/posix/fdopendir.c: ... here.
8655 * sysdeps/unix/opendir.c: Renamed to ...
8656 * sysdeps/posix/opendir.c: ... here.
8657 * sysdeps/unix/readdir.c: Renamed to ...
8658 * sysdeps/posix/readdir.c: ... here.
8659 * sysdeps/unix/readdir_r.c: Renamed to ...
8660 * sysdeps/posix/readdir_r.c: ... here.
8661 * sysdeps/unix/rewinddir.c: Renamed to ...
8662 * sysdeps/posix/rewinddir.c: ... here.
8663 * sysdeps/unix/seekdir.c: Renamed to ...
8664 * sysdeps/posix/seekdir.c: ... here.
8665 * sysdeps/unix/telldir.c: Renamed to ...
8666 * sysdeps/posix/telldir.c: ... here.
8667 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8668 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8669 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8670 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8671
22895b47
RM
8672 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8673 * bits/fcntl.h: ... here.
8674
707a53b6
RM
8675 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8676 not 0.
8677 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8678 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8679 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8680 (struct flock): Move l_start, l_len to the beginning.
8681 Use __pid_t for l_pid.
8682 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8683 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8684 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8685 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8686 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8687 [__USE_LARGEFILE64] (struct flock64): New type.
8688 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8689
f0bd3e25
RM
8690 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8691 * bits/dirent.h: ... here.
8692
d34689de
RM
8693 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8694 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8695
6dad2c06
JM
86962012-08-07 Joseph Myers <joseph@codesourcery.com>
8697
8698 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8699 Change from 2.6.0 to 2.6.16.
8700 * sysdeps/unix/sysv/linux/configure: Regenerated.
8701 * sysdeps/unix/sysv/linux/kernel-features.h
8702 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8703 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8704 version.
8705 (__ASSUME_UTIMES): Likewise.
8706 (__ASSUME_CLONE_STOPPED): Remove.
8707 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8708 architectures, not kernel version.
8709 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8710 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8711 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8712 (__ASSUME_WAITID_SYSCALL): Likewise.
8713 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8714 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8715 * README: State 2.6.16 as minimum Linux kernel version. Do not
8716 refer to older versions.
8717
03af9520
RM
87182012-08-06 Roland McGrath <roland@hack.frob.com>
8719
8e49df1d
RM
8720 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8721 Define alphasort64 as an alias.
8722 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8723 Define versionsort64 as an alias.
8724 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8725 Define scandir64 as an alias.
8726 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8727 Define scandirat64 as an alias.
8728 * dirent/alphasort64.c (alphasort64):
8729 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8730 * dirent/versionsort64.c: Likewise.
8731 * dirent/scandir64.c: Likewise.
8732 * dirent/scandirat64.c: Likewise.
8733 * sysdeps/wordsize-64/alphasort.c: File removed.
8734 * sysdeps/wordsize-64/alphasort64.c: File removed.
8735 * sysdeps/wordsize-64/scandir.c: File removed.
8736 * sysdeps/wordsize-64/scandir64.c: File removed.
8737 * sysdeps/wordsize-64/scandirat.c: File removed.
8738 * sysdeps/wordsize-64/scandirat64.c: File removed.
8739 * sysdeps/wordsize-64/versionsort.c: File removed.
8740 * sysdeps/wordsize-64/versionsort64.c: File removed.
8741 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8742 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8743 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8744 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8745 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8746 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8747 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8748 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8749
8750 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8752 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8754 [defined __arch64__ || defined __sparcv9]
8755 (__INO_T_MATCHES_INO64_T): New macro.
8756 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8757 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8758 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8759 * sysdeps/unix/sysv/linux/bits/dirent.h
8760 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8761 (_DIRENT_MATCHES_DIRENT64): New macro.
8762
03af9520
RM
8763 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8764 Define lockf64 as an alias.
8765 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8766 Define fseeko64 as an alias.
8767 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8768 Define ftello64 as an alias.
8769 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8770 Define _IO_fgetpos64 and fgetpos64 as aliases.
8771 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8772 Define _IO_fsetpos64 and fsetpos64 as aliases.
8773 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8774 Conditionalize body on this.
8775 * libio/fseeko64.c: Likewise.
8776 * libio/ftello64.c: Likewise.
8777 * libio/iofgetpos64.c: Likewise.
8778 * libio/iofsetpos64.c: Likewise.
8779 * sysdeps/wordsize-64/lockf.c: File removed.
8780 * sysdeps/wordsize-64/lockf64.c: File removed.
8781 * sysdeps/wordsize-64/fseeko.c: File removed.
8782 * sysdeps/wordsize-64/fseeko64.c: File removed.
8783 * sysdeps/wordsize-64/ftello.c: File removed.
8784 * sysdeps/wordsize-64/ftello64.c: File removed.
8785 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8786 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8787 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8788 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8789 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8795 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8796 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8797 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8798 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8799
8800 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8802 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8804 [defined __arch64__ || defined __sparcv9]
8805 (__OFF_T_MATCHES_OFF64_T): New macro.
8806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8807 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8809 (__OFF_T_MATCHES_OFF64_T): New macro.
8810
c5757acd
L
88112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8812
8813 * stdlib/secure-getenv.c (__secure_getenv): Replace
8814 GLIBC_2_16 with GLIBC_2_17.
8815
3a31811e
L
88162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8817
8818 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8819 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8820
faa2bccb
DM
88212012-08-03 David S. Miller <davem@davemloft.net>
8822
8823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8824
85fe1997
JM
88252012-08-03 Joseph Myers <joseph@codesourcery.com>
8826
8827 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8828 Remove.
8829 (__ASSUME_CORRECT_SI_PID): Likewise.
8830 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8831 (__ASSUME_TMPFS_NAME): Likewise.
8832 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8833 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8834 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8835 (HAVE_AUX_SECURE): Make definition unconditional.
8836 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8837 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8838
4f75b7a0
RM
88392012-08-03 Roland McGrath <roland@hack.frob.com>
8840
8841 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8842 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8843 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8844 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8845 __eloop_threshold instead of SYMLOOP_MAX.
8846
8847 * sysdeps/generic/eloop-threshold.h: New file.
8848 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8849 of MAXSYMLINKS.
8850 * elf/chroot_canon.c (chroot_canon): Likewise.
8851
7aab07e4
JM
88522012-08-03 Joseph Myers <joseph@codesourcery.com>
8853
8854 [BZ #13717]
8855 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8856 Change to 2.6.0 everywhere.
8857 * sysdeps/unix/sysv/linux/configure: Regenerated.
8858 * sysdeps/unix/sysv/linux/kernel-features.h
8859 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8860 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8861 kernel versions.
8862 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8863 (__ASSUME_FUTEX_REQUEUE): Remove.
8864 (__ASSUME_STATFS64): Define unconditionally.
8865 (__ASSUME_AT_SECURE): Likewise.
8866 (__ASSUME_CORRECT_SI_PID): Likewise.
8867 (__ASSUME_TGKILL): Define without depending on kernel version for
8868 i386.
8869 (__ASSUME_UTIMES): Likewise.
8870 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8871 kernel version.
8872 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8873 (__ASSUME_TMPFS_NAME): Likewise.
8874 * README: Update reference to Linux kernel versions.
8875
b67e9372
MP
88762012-08-02 Marek Polacek <polacek@redhat.com>
8877
1f529f7d 8878 [BZ# 14150]
b67e9372
MP
8879 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8880 libc_cv_asm_type_prefix with %.
8881 * configure: Regenerated.
d2441631
RM
8882 * include/libc-symbols.h: Remove comment about
8883 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8884 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8885 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8886 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8887 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8888 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8889 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8890 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8891 * elf/tst-unique2mod1.c: Likewise.
8892 * elf/tst-unique1mod2.c: Likewise.
8893 * elf/tst-unique1mod1.c: Likewise.
8894 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8895 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8896 Replace ASM_TYPE_DIRECTIVE with .type.
8897 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8898 * sysdeps/i386/sysdep.h: Likewise.
8899 * sysdeps/x86_64/sysdep.h: Likewise.
8900 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8902 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8903 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8904 * sysdeps/powerpc/powerpc32/sysdep.h:
8905 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8906 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8907 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8908 * sysdeps/i386/fpu/e_powf.S: Likewise.
8909 * sysdeps/i386/fpu/e_expl.S: Likewise.
8910 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8911 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8912 * sysdeps/i386/fpu/e_pow.S: Likewise.
8913 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8914 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8915 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8916 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8917 * sysdeps/i386/fpu/e_log2.S: Likewise.
8918 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8919 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8920 * sysdeps/i386/fpu/e_powl.S: Likewise.
8921 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8922 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8923 * sysdeps/i386/fpu/e_logl.S: Likewise.
8924 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8925 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8926 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8927 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8928 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8929 * sysdeps/i386/fpu/e_log.S: Likewise.
8930 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8931 * sysdeps/i386/fpu/e_logf.S: Likewise.
8932 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8933 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8934 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8935 * sysdeps/i386/fpu/e_log10.S: Likewise.
8936 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8937 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8938 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8939 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8940 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8941 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8942 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8943 * sysdeps/i386/i686/strtok.S: Likewise.
8944 * sysdeps/i386/i386-mcount.S: Likewise.
8945 * sysdeps/i386/strtok.S: Likewise.
8946 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8947 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8948 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8949 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8950 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8951 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8952 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8953 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8954 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8955 * sysdeps/x86_64/_mcount.S: Likewise.
8956 * sysdeps/x86_64/strtok.S: Likewise.
8957 * sysdeps/sh/_mcount.S: Likewise.
8958
2747bf9a
RM
89592012-08-01 Roland McGrath <roland@hack.frob.com>
8960
8961 * libio/iofopen.c: Include <fcntl.h>.
8962 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8963 (_IO_fopen64, fopen64): Define as aliases.
8964 * libio/iofopen64.c: Include <fcntl.h>.
8965 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8966 Conditionalize body on this.
8967 * sysdeps/wordsize-64/iofopen.c: File removed.
8968 * sysdeps/wordsize-64/iofopen64.c: File removed.
8969
3fb791b8
MP
89702012-08-01 Marek Polacek <polacek@redhat.com>
8971
8972 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8973 Use dlfcn directly instead of a variable.
8974 (binfmt-subdir): Do not define.
8975 (dlfcn): Likewise.
8976
a9f1039f
JM
89772012-08-01 Joseph Myers <joseph@codesourcery.com>
8978
23bddc06
JM
8979 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8980 Remove all definitions.
8981 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8982 <kernel-features.h>.
8983 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8984 (miss_F_GETOWN_EX): Remove all definitions.
8985 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8986 macro definition.
8987 [!__ASSUME_FCNTL64]: Remove conditional code.
8988 [__ASSUME_FCNTL64]: Make code unconditional.
8989 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8990 <kernel-features.h>.
8991 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8992 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8993 (lockf64) [__NR_fcntl64]: Make code unconditional.
8994 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8995
a9f1039f
JM
8996 * sysdeps/unix/sysv/linux/kernel-features.h
8997 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8998 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8999 Make code unconditional.
9000 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9001 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9003 [__NR_vfork]: Make code unconditional.
9004 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9005 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9007 [__NR_vfork]: Make code unconditional.
9008 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9009 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9010
09c0ee5f
RM
90112012-08-01 Roland McGrath <roland@hack.frob.com>
9012
48aec5b9
RM
9013 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9014 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9015
cd97c966
RM
9016 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9017 Define mkstemp64 as an alias.
3f55550c
RM
9018 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9019 Define mkstemps64 as an alias.
cd97c966
RM
9020 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9021 Define mkostemp64 as an alias.
b8625cfc
RM
9022 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9023 Define mkostemps64 as an alias.
cd97c966
RM
9024 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9025 Conditionalize body on this.
9026 * misc/mkostemp64.c: Likewise.
b8625cfc 9027 * misc/mkostemps64.c: Likewise.
3f55550c 9028 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9029 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9030 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9031 * sysdeps/wordsize-64/mkostemp.c: File removed.
9032 * sysdeps/wordsize-64/mkstemp.c: File removed.
9033 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9034 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9035 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9036 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9037
09c0ee5f
RM
9038 [BZ #14138]
9039 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9040 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9041 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9042 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9043
9044 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9045 compat_symbol macros from <shlib-compat.h> rather than the underlying
9046 default_symbol_version and symbol_version macros, so that DEFAULT
9047 lines in shlib-versions are respected.
9048 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9049
7e66ee51
FW
90502012-08-01 Florian Weimer <fweimer@redhat.com>
9051
9052 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9053 Declare with warn_unused_result.
9054 (setgid, setregid, setegid, setresgid): Likewise.
9055 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9056 Likewise.
9057 * WUR-REPORT: Remove set*id functions.
9058
d2a54255
PT
90592012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9060
9061 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9062
7ecdb005
RM
90632012-07-31 Roland McGrath <roland@hack.frob.com>
9064
789bd351
RM
9065 * include/sys/socket.h (__libc_accept, __libc_accept4):
9066 Add attribute_hidden.
9067 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9068
40ce302d
RM
9069 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9070 use of PTR_MANGLE.
9071 * inet/getnetgrent_r.c (setup): Likewise.
9072
7ecdb005
RM
9073 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9074
e2eabb2c
DM
90752012-07-31 David S. Miller <davem@davemloft.net>
9076
9077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9078
d0419dbf
JM
90792012-07-31 Joseph Myers <joseph@codesourcery.com>
9080
9081 [BZ #13629]
9082 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9083 value between 1.0 and 2.0 and smaller part has absolute value less
9084 than 1.0.
9085 * math/s_clog10.c (__clog10): Likewise.
9086 * math/s_clog10f.c (__clog10f): Likewise.
9087 * math/s_clog10l.c (__clog10l): Likewise.
9088 * math/s_clogf.c (__clogf): Likewise.
9089 * math/s_clogl.c (__clogl): Likewise.
9090 * math/libm-test.inc (clog_test): Add more tests.
9091 (clog10_test): Likewise.
9092 * sysdeps/i386/fpu/libm-test-ulps: Update.
9093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9094
2bc13872
FW
90952012-07-31 Florian Weimer <fweimer@redhat.com>
9096
9097 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9098 Exit with zero in case no suitable GID is found, and write a
9099 message to standard error.
9100
bea9b193
RM
91012012-07-30 Roland McGrath <roland@hack.frob.com>
9102
9103 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9104 rather than to 1.
9105 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9106 (MAXPATHLEN): Removed.
9107 (NOGROUP, NODEV): New macros.
9108 (setbit, clrbit, isset, isclr): New macros.
9109 (howmany, roundup, powerof2): New macros.
9110 (DEV_BSIZE): New macro.
9111
9112 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9113 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9114
9115 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9116 definition on [!__NO_LONG_DOUBLE_MATH].
9117
9118 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9119 PTR_MANGLE and PTR_DEMANGLE.
9120
9121 * socket/accept4.c (accept4): Rename to __libc_accept4.
9122 Define accept4 as a weak alias.
9123
9124 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9125 on [_DIRENT_HAVE_D_TYPE].
9126 * io/ftw.c (ftw_dir): Likewise.
9127
9128 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9129
9130 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9131
9132 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9133 Use the BSD numbers rather than the arbitrary ones we had.
9134 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9135 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9136 (SIGXCPU, SIGXFSZ): New macros.
9137 (_NSIG): Now 32.
9138
9139 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9140 initializer on [_LIBC_REENTRANT].
9141
9142 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9143 definitions inside [_POSIX_MAPPED_FILES].
9144
9145 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9146
9147 * dirent/opendir.c: Include <fcntl.h>.
9148
9149 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9150 (__libc_getspecific): Likewise.
9151 (__libc_key_create): Likewise.
9152
9153 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9154 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9155 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9156 (tmpfile64): Define as alias.
9157 * sysdeps/wordsize-64/tmpfile.c: File removed.
9158 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9159 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9160 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9161
9162 * stdio-common/vfscanf.c: Include <stdbool.h>.
9163 * nss/makedb.c: Likewise.
9164 * stdio-common/_i18n_number.h: Likewise.
9165 * argp/argp-help.c: Likewise.
9166 * posix/wordexp.c: Likewise.
9167 * sysdeps/posix/spawni.c: Likewise.
9168 * nss/nss_files/files-initgroups.c: Likewise.
9169 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9170 * nss/nss_files/files-initgroups.c: Likewise.
9171 * nss/nss_db/db-netgrp.c: Likewise.
9172 * nss/nss_db/db-initgroups.c: Likewise.
9173 * io/fchmodat.c: Include <sys/stat.h>.
9174
9175 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9176 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9177
9178 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9179 [HAVE_MMAP].
9180
9181 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9182 Add multiple inclusion protection.
9183
e5abc686
DM
91842012-07-27 David S. Miller <davem@davemloft.net>
9185
9186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9187
815e6fa3
GB
91882012-07-27 Gary Benson <gbenson@redhat.com>
9189
9190 [BZ #14298]
9191 * elf/rtld.c: Include <stap-probe.h>.
9192 (dl_main): Added static probes "init_start" and "init_complete".
9193 * elf/dl-load.c: Include <stap-probe.h>.
9194 (lose): Take new parameter "nsid".
9195 Added static probe "map_failed".
9196 (_dl_map_object_from_fd): Pass namespace id to lose.
9197 Added static probe "map_start".
9198 (open_verify): Pass namespace id to lose.
9199 * elf/dl-open.c: Include <stap-probe.h>.
9200 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9201 and "reloc_complete".
9202 * elf/dl-close.c: Include <stap-probe.h>.
9203 (_dl_close_worker): Added static probes "unmap_start" and
9204 "unmap_complete".
9205 * elf/rtld-debugger-interface.txt: New file documenting the above.
9206
9f98c16c
RM
92072012-07-26 Roland McGrath <roland@hack.frob.com>
9208
9209 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9210 rather than a string variable.
9211 * sunrpc/rpc_main.c (h_output): Likewise.
9212 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9213
f3c22df3
PT
92142012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9215
9216 * inet/check_native.c: New file.
9217
3129cfc6
JM
92182012-07-26 Joseph Myers <joseph@codesourcery.com>
9219
da865e95
JM
9220 [BZ #13629]
9221 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9222 if larger part has absolute value 1.0.
9223 * math/s_clog10.c (__clog10): Likewise.
9224 * math/s_clog10f.c (__clog10f): Likewise.
9225 * math/s_clog10l.c (__clog10l): Likewise.
9226 * math/s_clogf.c (__clogf): Likewise.
9227 * math/s_clogl.c (__clogl): Likewise.
9228 * math/libm-test.inc (clog_test): Add more tests.
9229 (clog10_test): Likewise.
9230 * sysdeps/i386/fpu/libm-test-ulps: Update.
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9232
3129cfc6
JM
9233 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9234 (pltexit): Likewise.
9235 (La_regs): Likewise.
9236 (La_retval): Likewise.
9237 (int_retval): Likewise.
9238 Update #error for removed macros to refer only to definitions in
9239 tst-audit.h.
9240 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
9265 macro.
9266 (pltexit): Likewise.
9267 (La_regs): Likewise.
9268 (La_retval): Likewise.
9269 (int_retval): Likewise.
9270 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9271 macro.
9272 (pltexit): Likewise.
9273 (La_regs): Likewise.
9274 (La_retval): Likewise.
9275 (int_retval): Likewise.
9276 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9277 macro definitions in tst-audit.h.
9278 * sysdeps/i386/tst-audit.h: New file.
9279 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9280 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9281 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9282 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9283 * sysdeps/sh/tst-audit.h: Likewise.
9284 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9285 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9286 * sysdeps/x86_64/tst-audit.h: Likewise.
9287
bfc07087
AJ
92882012-07-26 Andreas Jaeger <aj@suse.de>
9289
b1b2aaf8
AJ
9290 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9291 ptrace.
9292
9293 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9294 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9295 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9296 PTRACE_O_MASK.
9297 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9298 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9299 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9300
bfc07087
AJ
9301 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9302 value.
9303
9304 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9305 _sigsys.
9306 (si_call_addr, si_syscall, si_arch): Define new macro.
9307 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9308 _sigsys.
9309 (si_call_addr, si_syscall, si_arch): Define new marcro.
9310 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9311 _sigsys.
9312 (si_call_addr, si_syscall, si_arch): Define new macro.
9313 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9314 _sigsys.
9315 (si_call_addr, si_syscall, si_arch): Define new macro.
9316
89b4b02f
JM
93172012-07-25 Joseph Myers <joseph@codesourcery.com>
9318
9319 [BZ #13717]
9320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9321 Change to 2.4.21 where previously 2.4.1.
9322 * sysdeps/unix/sysv/linux/configure: Regenerated.
9323 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9324 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9325 Linux kernel version.
9326 (__ASSUME_STD_AUXV): Remove.
9327 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9328 kernel version.
9329 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9330 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9331 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9332 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9333 (__ASSUME_NETLINK_SUPPORT): Likewise.
9334 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9335 (__no_netlink_support): Remove conditional definition.
9336 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9337 Remove.
9338 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9339 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9340 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9341 (if_nameindex_ioctl): Remove.
9342 (if_nameindex_netlink): Do not handle __no_netlink_support.
9343 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9344 code.
9345 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9346 Remove conditional code.
9347 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9348 code.
9349 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9350 unconditional.
9351 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9352 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9353 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9354 Remove.
9355 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9356 [!__ASSUME_STD_AUXV]: Remove conditional code.
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9358 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9359 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9361 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9362 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9363 code.
9364 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9366 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9367 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9368 conditional code.
9369 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9371 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9372 code.
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9374 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9375 conditional code.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9377 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9378 code unconditional.
9379 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9380 conditional code.
9381 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9382 unconditional.
9383 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9384 conditional code.
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9386 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9387 unconditional.
9388 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9389 conditional code.
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9391 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9392 code unconditional.
9393 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9394 conditional code.
9395 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9396 unconditional.
9397 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9398 conditional code.
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9400 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9401 code unconditional.
9402 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9403 conditional code.
9404 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9405 unconditional.
9406 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9407 conditional code.
9408
842a39cd
AS
94092012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9410
9411 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9412 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9413 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9414 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9415 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9416 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9417 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9418 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9419 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9420 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9421 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9422 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9423 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9424 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9428 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9429 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9431 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9432 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9433 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9434
84b3fd84
FW
94352012-07-25 Florian Weimer <fweimer@redhat.com>
9436
9437 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9438 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9439 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9440 Introduce __libc_secure_getenv.
0c7936d5
FW
9441 * stdlib/Versions (2.17): Add secure_getenv
9442 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9443 * stdlib/secure-getenv.c: Rename __secure_getenv to
9444 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9445 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9446 * stdlib/tst-secure-getenv.c: New.
9447 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
9448 * manual/startup.texi (Environment Access): Document
9449 secure_getenv.
84b3fd84
FW
9450 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9451 __libc_secure_getenv.
9452 * inet/ruserpass.c (ruserpass): Likewise.
9453 * malloc/mtrace.c (mtrace): Likewise.
9454 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 9455 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
9456 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9457 * sysdeps/posix/tempname.c: Likewise. Evaluate
9458 HAVE_SECURE_GETENV.
9459 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 9460 __secure_getenv to __libc_secure_getenv.
84b3fd84 9461 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
9462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9463 Likewise.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9465 Likewise.
9466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9473
56e49b71
JM
94742012-07-25 Joseph Myers <joseph@codesourcery.com>
9475
9476 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9477 (struct La_i86_retval): Likewise.
9478 (struct La_x86_64_regs): Likewise.
9479 (struct La_x86_64_retval): Likewise.
9480 (struct La_x32_regs): Likewise.
9481 (struct La_x32_retval): Likewise.
9482 (struct La_ppc32_regs): Likewise.
9483 (struct La_ppc32_retval): Likewise.
9484 (struct La_ppc64_regs): Likewise.
9485 (struct La_ppc64_retval): Likewise.
9486 (struct La_sh_regs): Likewise.
9487 (struct La_sh_retval): Likewise.
9488 (struct La_s390_32_regs): Likewise.
9489 (struct La_s390_32_retval): Likewise.
9490 (struct La_s390_64_regs): Likewise.
9491 (struct La_s390_64_retval): Likewise.
9492 (struct La_sparc32_regs): Likewise.
9493 (struct La_sparc32_retval): Likewise.
9494 (struct La_sparc64_regs): Likewise.
9495 (struct La_sparc64_retval): Likewise.
9496 (struct audit_ifaces): Remove architecture-specific pltenter and
9497 pltexit members.
9498 * sysdeps/i386/ldsodefs.h: New file.
9499 * sysdeps/powerpc/ldsodefs.h: Likewise.
9500 * sysdeps/s390/ldsodefs.h: Likewise.
9501 * sysdeps/sh/ldsodefs.h: Likewise.
9502 * sysdeps/sparc/ldsodefs.h: Likewise.
9503 * sysdeps/x86_64/ldsodefs.h: Likewise.
9504
354691b7
MP
95052012-07-25 Marek Polacek <polacek@redhat.com>
9506
9507 [BZ #6808]
9508 * math/libm-test.inc (yn_test): Add another test.
9509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9510 to ERANGE when the result is +-Inf.
9511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9512 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9513 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9514 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9515
bf9e2071
JM
95162012-07-24 Joseph Myers <joseph@codesourcery.com>
9517
9518 * conform/data/time.h-data (NULL): Use macro-constant. Require
9519 equal to 0.
9520 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9521 clock_t.
9522 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9523
57633811
TS
95242012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9525
9526 * configure.in <sysdeps resolving>: Correct printing
9527 Implies_before.
9528 * configure: Regenerate.
9529
c23c33b0
TS
95302012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9531
9532 * math/w_ilogb.c: Include <limits.h>.
9533 * math/w_ilogbl.c: Likewise.
9534
b5982523
JM
95352012-07-20 Joseph Myers <joseph@codesourcery.com>
9536
9537 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9538 va_copy. Document allowing for unavailable va_copy only as
9539 pre-C99 compatibility.
9540 * manual/string.texi (Copying and Concatenation): Use va_copy
9541 instead of __va_copy in concat example.
9542
ac4ea442
PT
95432012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9544
9545 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9546 (__sendto): Use create_address_port. Initialize APORT and deallocate
9547 it if not null.
9548
f98eafbd
PT
9549 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9550 with O_NOLINK passed to __file_name_lookup.
9551
898c7aab
PT
9552 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9553 with O_NOLINK passed to __file_name_lookup.
9554
0ced335a
PT
9555 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9556 negative N or less than NGIDS.
9557
b3404dbd
PT
9558 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9559 type to string_t. Set ERANGE as errno and return it if NAME is not big
9560 enough. Use memcpy instead of strncpy.
9561
0f48659e
JM
95622012-07-20 Joseph Myers <joseph@codesourcery.com>
9563
9564 * elf/Makefile (check-data): Remove.
9565 (localplt.data): New vpath directive.
9566 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9567 instead of $(check-data).
9568 * scripts/data/localplt-generic.data: Move to ...
9569 * sysdeps/generic/localplt.data: ... here.
9570 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9571 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9572 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9574 ... here.
9575 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9577 ... here.
9578 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9580 ... here.
9581 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9583 ... here.
9584 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9586 ... here.
9587 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9589 ... here.
9590
d37cbdaa
AZ
95912012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9592
9593 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9594 PPC32 and PPC64 files.
9595 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9596 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9597
46f85fc2
AK
95982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9599
9600 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9601 __makecontext_ret to ...
9602 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9603 ... here and call exit if uc_link is NULL. New file.
9604 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9605 __makecontext_ret.S.
9606 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9607 __makecontext_ret to ...
9608 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9609 ... here and call exit if uc_link is NULL. New file.
9610 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9611 __makecontext_ret.S.
9612
08f43f9b
AK
96132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9614
9615 * elf/elf.h (R_390_IRELATIVE): New definition.
9616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9617 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9618 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9620 (elf_machine_lazy_rel): Likewise.
9621 * sysdeps/s390/dl-irel.h: New file.
9622 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9623 * sysdeps/s390/s390-64/memset.S: New asm code.
9624 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9625 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9626 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9627 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9628 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9629 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9631 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9632 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9633 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9634 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9635 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9636 * sysdeps/s390/s390-32/memset.S: New asm code.
9637 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9638
3b05db33
MP
96392012-07-17 Marek Polacek <polacek@redhat.com>
9640
9641 [BZ #14349]
9642 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9643 * sysdeps/s390/s390-64/configure.in: Likewise.
9644 * sysdeps/sparc/configure.in: Likewise.
9645 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9646 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9647 * sysdeps/i386/configure.in: Likewise.
9648 * sysdeps/x86_64/configure.in: Likewise.
9649 * sysdeps/sh/configure.in: Likewise.
9650 * sysdeps/s390/s390-32/configure: Regenerated.
9651 * sysdeps/s390/s390-64/configure: Likewise.
9652 * sysdeps/x86_64/configure: Likewise.
9653 * sysdeps/sh/configure: Likewise.
9654 * sysdeps/powerpc/powerpc64/configure: Likewise.
9655 * sysdeps/powerpc/powerpc32/configure: Likewise.
9656 * sysdeps/sparc/configure: Likwise.
9657 * sysdeps/i386/configure: Likewise.
9658
a66877c6
MP
9659 * elf/dl-open.c: Comment fixes.
9660
cfc82fd8
JM
96612012-07-17 Joseph Myers <joseph@codesourcery.com>
9662
bd29910a
JM
9663 * Makefile [CXX] (check-data): Remove.
9664 [CXX] (c++-types.data): New vpath directive.
9665 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9666 vpath. Do not allow for C++ type data being missing.
9667 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9668 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9669 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9670 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9671 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9672 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9673 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9675 ... here.
9676 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9678 ... here.
9679 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9681 ... here.
9682 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9684 ... here.
9685 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9687 ... here.
9688 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9690 ... here.
9691 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9693 ... here.
9694 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9696
cfc82fd8
JM
9697 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9698 definitions to architecture-specific files.
9699 (TLS_IE): Likewise.
9700 (TLS_LD): Likewise.
9701 (TLS_GD): Likewise.
9702 * sysdeps/i386/tls-macros.h: New file.
9703 * sysdeps/powerpc/tls-macros.h: Likewise.
9704 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9705 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9706 * sysdeps/sh/tls-macros.h: Likewise.
9707 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9708 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9709 * sysdeps/x86_64/tls-macros.h: Likewise.
9710
f7db3170
TS
97112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9712
07cbfc23
TS
9713 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9714 zero value for regular exit case.
9715
f7db3170
TS
9716 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9717 (__start_context): Preserve zero value for regular exit case.
9718
dc97c227
TS
97192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9720 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9721
9722 * manual/setjmp.texi (setcontext): Clarify normal process
9723 termination when uc_link is the null pointer.
9724 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9725 exit call.
9726
d0cd7d02
AS
97272012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9728
9729 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9730 preprocessor. Test for each exception mask separately.
9731
dd318934
AJ
97322012-07-16 Andreas Jaeger <aj@suse.de>
9733
9734 * po/ru.po: Update from translation team.
9735
8048311a
JM
97362012-07-15 Joseph Myers <joseph@codesourcery.com>
9737
9738 * conform/data/string.h-data (NULL): Use macro-constant. Require
9739 equal to 0.
9740 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9741 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9742 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9743 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9745
b637d46e
AJ
97462012-07-13 Andreas Jaeger <aj@suse.de>
9747
9748 * po/fr.po: Update from translation team.
9749
541428fe
MP
97502012-07-12 Marek Polacek <polacek@redhat.com>
9751
9752 [BZ #14173]
9753 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9754 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9755 loop condition.
9756
ec332e94
JM
97572012-07-12 Joseph Myers <joseph@codesourcery.com>
9758
9759 [BZ #13717]
9760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9761 Change to 2.4.1 where previously 2.4.0.
9762 * sysdeps/unix/sysv/linux/configure: Regenerated.
9763 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9764 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9765 version.
9766 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9767 (__ASSUME_AT_CLKTCK): Remove.
9768 (__ASSUME_AT_PAGESIZE): Likewise.
9769 (__ASSUME_AT_XID): Likewise.
9770 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9771 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9772 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9773 unconditionally.
9774 (HAVE_AUX_PAGESIZE): Likewise.
9775 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9776 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9777 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9778
7b6e99be
JB
97792012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9780
9781 [BZ #14307]
9782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9783 the temporary buffer used to invoke __gethostbyname2_r,
9784 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9785 host_data / struct gaih_addrtuple.
9786 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9787 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9788 header file nss/nsswitch.h.
9789 * nss/nsswitch.h (global scope): Add definition of implementation
9790 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9791 resolv/nss_dns/dns-host.c).
9792
608404eb
AJ
97932012-07-11 Andreas Jaeger <aj@suse.de>
9794
9795 * po/fr.po: Update from translation team.
9796
71220aca
AJ
9797 * po/sv.po: Update from translation team
9798 * po/fr.po: Another update from translation team.
9799
28cfe843
AZ
98002012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9801
9802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9803 for subnormals or multiply small sinh result by itself.
9804 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9806
6b90f981
DM
98072012-07-11 David S. Miller <davem@davemloft.net>
9808
9809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9810
c6825772
AS
98112012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9812
9813 [BZ #14347]
9814 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9815 (INTERNAL_MARK): Shift it here.
9816
7b8e0d49
MP
98172012-07-10 Marek Polacek <polacek@redhat.com>
9818
9819 [BZ #14151]
9820 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9821 libc_cv_asm_global_directive with .globl.
9822 * configure: Regenerated.
9823 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9824 with .globl.
9825 * sysdeps/i386/configure: Regenerated.
9826 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9827 with .globl.
9828 * sysdeps/x86_64/configure: Regenerated.
9829 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9830 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9831 * elf/tst-unique2mod2.c: Likewise.
9832 * elf/tst-unique2mod1.c: Likewise.
9833 * elf/tst-unique1mod2.c: Likewise.
9834 * elf/tst-unique1mod1.c: Likewise.
9835 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9836 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9837 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9838 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9839 * sysdeps/mach/sysdep.h: Likewise.
9840 * sysdeps/i386/sysdep.h: Likewise.
9841 * sysdeps/i386/i386-mcount.S: Likewise.
9842 * sysdeps/x86_64/_mcount.S: Likewise.
9843 * sysdeps/x86_64/sysdep.h: Likewise.
9844 * sysdeps/sh/_mcount.S: Likewise.
9845 * sysdeps/sh/sysdep.h: Likewise.
9846 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9847 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9848 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9849 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9850 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9851 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9852 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9853 * locale/localeinfo.h: Likewise.
9854 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9855 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9856
6c55cda3
RM
98572012-07-09 Roland McGrath <roland@hack.frob.com>
9858
9859 [BZ #14336]
9860 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9861 system".
9862 * manual/message.texi (The Uniforum approach): Likewise.
9863 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9864 (glibc iconv Implementation): Likewise.
9865
638a572e
JM
98662012-07-09 Joseph Myers <joseph@codesourcery.com>
9867
9868 [BZ #14337]
9869 * math/s_clog.c (__clog): Avoid scaling a value down where that
9870 could result in underflow.
9871 * math/s_clog10.c (__clog10): Likewise.
9872 * math/s_clog10f.c (__clog10f): Likewise.
9873 * math/s_clog10l.c (__clog10l): Likewise.
9874 * math/s_clogf.c (__clogf): Likewise.
9875 * math/s_clogl.c (__clogl): Likewise.
9876 * math/libm-test.inc (clog_test): Add more tests.
9877 (clog10_test): Likewise.
9878 * sysdeps/i386/fpu/libm-test-ulps: Update.
9879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9880
261f4859
AS
98812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9882
0abaf3e4
AS
9883 [BZ #14283]
9884 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9885 by 7 not 8 to examine high bit of fractional part.
9886
261f4859
AS
9887 [BZ #14042]
9888 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9889 for call to __mcount_internal.
9890 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9891 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9892 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9893
f17ac40d
JM
98942012-07-06 Joseph Myers <joseph@codesourcery.com>
9895
9ad63c23
JM
9896 [BZ #14154]
9897 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9898 approximation for values within 0x1p-13f of an odd multiple of
9899 pi/4.
9900 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9901 exception. Add more tests.
9902 * sysdeps/i386/fpu/libm-test-ulps: Update.
9903
f17ac40d
JM
9904 [BZ #6778]
9905 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9906 inputs and return -1 for them. Do not check for +Inf in case not
9907 reachable for +Inf.
9908 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9909 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9910 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9911 and return -1 for them. Do not check for +Inf in case not
9912 reachable for +Inf.
9913 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9914 define.
9915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9916 and return -1 for them. Do not check for +Inf in case not
9917 reachable for +Inf.
9918 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9919 spurious underflow.
9920 * sysdeps/i386/fpu/libm-test-ulps: Update.
9921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9922
fb21f89b
MF
99232012-07-06 Mike Frysinger <vapier@gentoo.org>
9924
9925 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9926
cdfe2c5e
JM
99272012-07-05 Joseph Myers <joseph@codesourcery.com>
9928
9929 [BZ #14157]
9930 [BZ #14331]
9931 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9932 could result in spurious underflow. Scale down values above
9933 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9934 * math/s_csqrtf.c (__csqrtf): Likewise.
9935 * math/s_csqrtl.c (__csqrtl): Likewise.
9936 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9937 spurious underflow.
9938 * sysdeps/i386/fpu/libm-test-ulps: Update.
9939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9940
70d35b67
AS
99412012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9942
704bc459
AS
9943 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9944 xopen-msg.sed.
9945 * catgets/xopen-msg.awk: New file.
9946 * catgets/xopen-msg.sed: Removed.
9947
70d35b67
AS
9948 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9949 po2text.sed.
9950 * intl/po2test.awk: New file.
9951 * intl/po2test.sed: Removed.
9952
ca61cf32
JM
99532012-07-04 Joseph Myers <joseph@codesourcery.com>
9954
9955 [BZ #14328]
9956 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9957 or multiply small sinh result by itself.
9958 * math/s_ctanf.c (__ctanf): Likewise.
9959 * math/s_ctanh.c (__ctanh): Likewise.
9960 * math/s_ctanhf.c (__ctanhf): Likewise.
9961 * math/s_ctanhl.c (__ctanhl): Likewise.
9962 * math/s_ctanl.c (__ctanl): Likewise.
9963 * math/libm-test.inc (ctan_test_tonearest): New function.
9964 (ctan_test_towardzero): Likewise.
9965 (ctan_test_downward): Likewise.
9966 (ctan_test_upward): Likewise.
9967 (ctanh_test_tonearest): Likewise.
9968 (ctanh_test_towardzero): Likewise.
9969 (ctanh_test_downward): Likewise.
9970 (ctanh_test_upward): Likewise.
9971 (main): Call these new functions.
9972 * sysdeps/i386/fpu/libm-test-ulps: Update.
9973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9974
ca48a46a
MF
99752012-07-03 Mike Frysinger <vapier@gentoo.org>
9976
9977 * .gitignore: Delete /ports entry.
9978
9d63d37d
AJ
99792012-07-03 Andreas Jaeger <aj@suse.de>
9980
9981 * po/bg.po: Update from translation team.
9982 * po/cs.po: Likewise.
9983 * po/de.po: Likewise.
9984 * po/hr.po: Likewise.
9985 * po/nl.pl: Likewise.
9986 * po/pl.po: Likewise.
9987 * po/vi.po: Likewise.
9988
370ca3d2
JM
99892012-07-03 Joseph Myers <joseph@codesourcery.com>
9990
95f5a9a8
JM
9991 * Makeconfig [!+link] (+link-before-libc): New variable.
9992 [!+link] (+link-after-libc): Likewise.
9993 [!+link] (+link-tests): Likewise.
9994 [!+link] (+link): Define in terms of $(+link-before-libc) and
9995 $(+link-after-libc).
9996 [!+link-static] (+link-static-before-libc): New variable.
9997 [!+link-static] (+link-static-after-libc): Likewise.
9998 [!+link-static] (+link-static-tests): Likewise.
9999 [!+link-static] (+link-static): Define in terms of
10000 $(+link-static-before-libc) and $(+link-static-after-libc).
10001 [build-shared] (link-libc-before-gnulib): New variable.
10002 [build-shared] (link-libc-tests): Likewise.
10003 [build-shared] (link-libc): Define in terms of
10004 $(link-libc-before-gnulib).
10005 [!build-shared] (link-libc-tests): New variable.
10006 (link-libc-static-tests): New variable.
10007 [!gnulib] (gnulib-arch): New variable.
10008 [!gnulib] (gnulib-tests): Likewise.
10009 [!gnulib] (static-gnulib-arch): Likewise.
10010 [!gnulib] (static-gnulib-tests): Likewise.
10011 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10012 Define with "=" instead of ":=".
10013 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10014 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10015 * Rules (binaries-all-notests): New variable.
10016 (binaries-all-tests): Likewise.
10017 (binaries-static-notests): Likewise.
10018 (binaries-static-tests): Likewise.
10019 (binaries-all): Define using $(binaries-all-notests) and
10020 $(binaries-all-tests).
10021 (binaries-static): Define using $(binaries-static-notests) and
10022 $(binaries-static-tests).
10023 (binaries-shared-tests): New variable.
10024 (binaries-shared-notests): Likewise.
10025 (binaries-shared): Remove variable.
10026 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10027 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10028 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10029 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10030 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10031 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10032 * elf/Makefile (sln-modules): New variable.
10033 (extra-objs): Add $(sln-modules:=.o).
10034 (ldconfig-modules): Add static-stubs.
10035 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10036 * elf/static-stubs.c: New file.
10037
7a845b2c
JM
10038 [BZ #14283]
10039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10040 by 7 not 8 to examine high bit of fractional part. Use volatile
10041 variables when splitting into final array of floats if
10042 __FLT_EVAL_METHOD__ != 0.
10043 * math/libm-test.inc (cos_test): Add another test.
10044 (sin_test): Likewise.
10045 * sysdeps/i386/fpu/libm-test-ulps: Update.
10046
e2283f38
JM
10047 [BZ #14273]
10048 * math/libm-test.inc (cosh_test): Add more tests.
10049
370ca3d2
JM
10050 * version.h (RELEASE): Set to "development".
10051 (VERSION): Set to "2.16.90".
10052
ee9247c3
CD
100532012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10054
10055 * NEWS: Update copyright. Remove last-updated date.
10056 Mention math library bug fixes and timezone data changes.
10057 * README: Mention GNU/Hurd, x32, and HPPA support status.
10058
4648c381
TS
100592012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10060
10061 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10062
aac78a43
AJ
100632012-06-27 Andreas Jaeger <aj@suse.de>
10064
10065 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10066
ed3dbfad
AJ
100672012-06-25 Andreas Jaeger <aj@suse.de>
10068
10069 * sysdeps/s390/fpu/libm-test-ulps: Update.
10070
4d0ee855
AS
100712012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10072 Thomas Schwinge <thomas@codesourcery.com>
10073
10074 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10075 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10077 fanotify_mark.
10078
af1bce34
TS
100792012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10080
a9fa33ba
TS
10081 * sysdeps/mach/start.c: Remove file.
10082 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10083 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10084 * sysdeps/sh/init-first.c: Likewise.
10085
58f902b8
TS
10086 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10087 registers for frame unwinding purposes, add CFI directives.
10088 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10089 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10090 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10091 Likewise.
10092
1518f58b
TS
10093 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10094 __fortify_fail returning.
10095 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10096
db9b5059
TS
10097 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10098 sysdeps/sh/____longjmp_chk.S.
10099 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10100 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10101 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10102 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10103
967705fe
TS
10104 * sysdeps/sh/abort-instr.h: New file.
10105 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10106 process in case exit returns.
10107
a9def8c4
TS
10108 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10109 initialize the GOT register before use.
10110
2a649725
TS
10111 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10112 calculation of ARGC > 4.
10113
af1bce34
TS
10114 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10115 meaningful names to some local labels.
10116
d230f50a
KK
101172012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10118 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10119
10120 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10121 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10122 (__arch_compare_and_exchange_val_16_acq): Likewise.
10123 (__arch_compare_and_exchange_val_32_acq): Likewise.
10124 (atomic_exchange_and_add): Fix gUSA sequence.
10125 (atomic_add): Likewise.
10126 (atomic_add_negative): Likewise.
10127 (atomic_add_zero): Likewise.
10128 (atomic_bit_test_set): Likewise.
10129
0479b305
AS
101302012-06-22 Andreas Schwab <schwab@redhat.com>
10131
10132 [BZ #13579]
10133 * include/link.h (struct link_map): Add l_free_initfini.
10134 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10135 l_initfini.
10136 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10137 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10138 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10139 set.
10140
0e3933b9
CD
101412012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10142
10143 * configure.in: Use AC_LANG_SOURCE.
10144 * configure: Regenerate.
10145
4248b1b1
RM
101462012-06-22 Roland McGrath <roland@hack.frob.com>
10147
10148 * configure.in (libc_cv_localstatedir): New substituted variable.
10149 * configure: Regenerated.
10150 * config.make.in (localstatedir): New variable, substituted from
10151 libc_cv_localstatedir.
10152 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10153 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10154 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10155 * sysdeps/gnu/configure: Regenerated.
10156
006dd861
JL
101572012-06-21 Jeff Law <law@redhat.com>
10158
10159 [BZ #14277]
10160 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10161 free. Simplify list management for _LIBC case.
10162
79662d42
JM
101632012-06-21 Joseph Myers <joseph@codesourcery.com>
10164
b7abb4bf
JM
10165 [BZ #14273]
10166 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10167 Clear sign bit of 64-bit integer value before comparing against
10168 overflow value.
10169
79662d42
JM
10170 * sysdeps/mach/configure: Regenerated.
10171
1f150908
L
101722012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10173
10174 [BZ #14278]
10175 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10176
28363bbf
JL
101772012-06-21 Jeff Law <law@redhat.com>
10178
10179 [BZ #13882]
10180 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10181 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10182 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10183 * elf/dl-open.c (dl_open_worker): Likewise.
10184
09615db4
CD
101852012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10186
10187 * scripts/list-sources.sh: Scan PORTS for translations.
10188 * po/libc.pot: Regenerated.
10189
2174c6dd
AJ
101902012-06-21 Andreas Jaeger <aj@suse.de>
10191
10192 [BZ #12194]
10193 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10194 warning.
10195 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10196 * bits/byteswap-16.h (__bswap_16): Likewise.
10197 * bits/byteswap.h (__bswap_constant_16): Likewise.
10198
3ee947b1
L
101992012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10200
10201 [BZ #14117]
a2f34833
L
10202 * sysdeps/i386/fpu_control.h: Removed.
10203 * sysdeps/x86_64/fpu_control.h: Moved to ...
10204 * sysdeps/x86/fpu_control.h: Here.
10205
3ee947b1
L
10206 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10207 (_FPU_SETCW): Likewise.
10208
ed1825f8
L
102092012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10210
25f1282a
L
10211 [BZ #14117]
10212 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10213 * sysdeps/x86/fpu/bits/mathinline.h: This.
10214 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10215
ed1825f8
L
10216 [BZ #14050]
10217 [BZ #14117]
10218 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10219 functions if __x86_64__ is defined.
10220
36d54b74
CLT
102212012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10222
10223 * string/endian.h: Add !__ASSEMBLER__ condition for including
10224 conversion interfaces.
10225
10285c21
JM
102262012-06-15 Joseph Myers <joseph@codesourcery.com>
10227
10228 [BZ #14241]
10229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10230 of ABS(x) in calculating zero to negative powers other than odd
10231 integers.
10232 * math/libm-test.inc (pow_test): Add more tests.
10233
06c5abbd
AJ
102342012-06-15 Andreas Jaeger <aj@suse.de>
10235
10236 * manual/contrib.texi (Contributors): Update entry of Liubov
10237 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10238 Machado Filho.
10239
a3aeac40
CH
102402012-06-15 Cyril Hrubis <metan@ucw.cz>
10241
10242 * string/string.h: Add __wur to GNU version of strerror_r.
10243
49bdf4c1
L
102442012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10245
10246 [BZ #14229]
10247 * string/Makefile (tests): Add tst-strtok_r.
10248 * string/tst-strtok_r.c: New file.
10249 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10250 RAX_LP/RDX_LP on SAVE_PTR.
10251
834f9b8d
RM
102522012-06-14 Roland McGrath <roland@hack.frob.com>
10253
10254 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10255
75fa1921
JM
102562012-06-14 Joseph Myers <joseph@codesourcery.com>
10257
10258 * libm_test.inc (csqrt_test): Allow more spurious underflow
10259 exceptions.
10260 (j0_test): Likewise.
10261 (j1_test): Likewise.
10262 (y0_test): Likewise.
10263 (y1_test): Likewise.
10264
771766df
CD
102652012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10266
10267 * po/Makefile (libc.pot): Use UTF-8 charset.
10268
ceb9e56b
PP
102692012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10270
10271 [BZ #14210]
10272 Suppress sign-conversion warning from FD_SET.
10273 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10274 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10275 not unsigned long int.
10276 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10277
ddb28975
L
102782012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10279
10280 [BZ #14050]
10281 [BZ #14117]
10282 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10283 __extern_always_inline instead of __extern_inline.
10284 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10285 (__signbit): Likewise.
10286 (__signbitl): Support C++ namespace.
10287 (lrintf): New inline function.
10288 (lrint): Likewise.
10289 (llrintf): Likewise.
10290 (llrint): Likewise.
10291 (fmaxf): Likewise.
10292 (fmax): Likewise.
10293 (fminf): Likewise.
10294 (fmin): Likewise.
10295 (rint): Likewise.
10296 (rintf): Likewise.
10297 (ceil): Likewise.
10298 (ceilf): Likewise.
10299 (floor): Likewise.
10300 (floorf): Likewise.
10301 (nearbyint): Likewise.
10302 (nearbyintf): Likewise.
10303
d7b4fb26
TS
103042012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10305
10306 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10307 non-default versions.
10308
eb55f5c2
RM
103092012-06-11 Roland McGrath <roland@hack.frob.com>
10310
10311 [BZ #14218]
10312 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10313
366af02c
TS
103142012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10315
99ff6e5c
TS
10316 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10317 (FE_UPWARD, FE_DOWNWARD): Don't define.
10318 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10319 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10320
366af02c
TS
10321 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10322 reading it.
10323 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10324 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10325
793ea851
KK
103262012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10327
10328 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10330 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10331 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10332
a728a38f
L
103332012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10334
10335 [BZ #14117]
c08010c7
L
10336 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10337 * sysdeps/i386/fpu/Implies: New file.
10338 * sysdeps/x86_64/fpu/Implies: Likewise.
10339 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10340 * sysdeps/x86/fpu/bits/fenv.h: This.
10341
a728a38f
L
10342 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10343 __SSE_MATH__.
10344
6e230d11
SP
103452012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10346
10347 [BZ #14134]
10348 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10349 character 0xffff that matches the last element of the
10350 conversion table.
10351
1b671feb
AZ
103522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10353
10354 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10355 fmodl commit.
10356
6043738b
AZ
103572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10358
10359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10360 values higher than 25.6283.
10361
34ae0b32
AZ
103622012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10363
10364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10365 subnormal exponent extraction and add some __builtin_expect.
10366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10367 Fix for subnormal mantissa calculation.
10368
1214ec8f
MF
103692012-06-04 Mike Frysinger <vapier@gentoo.org>
10370
10371 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10372 cpu2 is -1 and errno is not ENOSYS.
10373
f3d1f93c
L
103742012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10375
10376 [BZ #14117]
0e4a3cd7
L
10377 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10378 * sysdeps/x86/bits/string.h: This.
10379 * sysdeps/x86_64/bits/string.h: Removed.
10380
6704c645
L
10381 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10382 if not compiling for x86-64, but compiling for >= i486.
10383
48495318
L
10384 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10385 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10386
14adcbfc
L
10387 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10388 New macro from Linux kernel 3.4.0.
10389 (FP_XSTATE_MAGIC2): Likewise.
10390 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10391 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10392 (struct _fpx_sw_bytes): New struct.
10393 (struct _xsave_hdr): Likewise.
10394 (struct _ymmh_state): Likewise.
10395 (struct _xstate): Likewise.
10396
68e408ab
L
10397 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10398 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10399 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10400 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10401 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10402 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10403
f3d1f93c
L
10404 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10405 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10406 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10407 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10408 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10409 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10410
d9dc34cd
TMQMF
104112012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10412
10413 [BZ #13743]
10414 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10415 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10416 (sysdep_headers): Include sys/platform/ppc.h.
10417 * sysdeps/powerpc/test-gettimebase.c: Test for
10418 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10419 * manual/Makefile (appendices): Include platform.texi.
10420 * manual/contrib.texi (Contributors): Update @node pointers.
10421 * manual/maint.texi (Maintenance): Likewise.
10422 (Platform): New node.
10423 * manual/platform.texi: New file. Document the new features.
10424
4af3879c
SP
104252012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10426 Jakub Jelinek <jakub@redhat.com>
10427
10428 [BZ #14188]
10429 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10430 where __builtin_expect is unavailable.
10431
2fd6ff13
DM
104322012-06-03 David S. Miller <davem@davemloft.net>
10433
10434 * stdlib/longlong.h: Updated from GCC.
10435
173f7220
AS
104362012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10437
10438 [BZ #14042]
10439 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10440 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10441 __mcount_internal.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10443 (GLIBC_2.16): Likewise.
10444
f34a1c6f
L
104452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10446
10447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10448
88a4576f
JM
104492012-06-01 Joseph Myers <joseph@codesourcery.com>
10450
ea32bcdd
JM
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10452 (default-abi): New variable.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10454 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10455 variable.
10456 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10457 Likewise.
10458 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10459 Likewise.
10460 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10461 Likewise.
10462
88a4576f
JM
10463 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10464 definition. Document in comment.
10465
402fe938
DM
104662012-06-01 David S. Miller <davem@davemloft.net>
10467
10468 * stdlib/longlong.h: Updated from GCC.
10469
3553723f
L
104702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10471
10472 [BZ #14117]
3bd872c4
L
10473 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10474 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10475 sys/debugreg.h sys/io.h here.
10476 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10477 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10478 sys/io.h.
10479 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10480 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10481 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10482 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10483 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10484 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10485
3553723f
L
10486 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10487 Define only if __x86_64__ is defined.
10488
4842e4fe
JM
104892012-06-01 Joseph Myers <joseph@codesourcery.com>
10490
c5bfe3d5
JM
10491 [BZ #14048]
10492 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10493 Use int64_t for variable i.
10494 * math/libm-test.inc (fmod_test): Add more tests.
10495
4842e4fe
JM
10496 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10497 z computation is not scheduled after fetestexcept.
10498 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10499 Use math_force_eval instead of asm to ensure calculation scheduled
10500 before exception test.
10501 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10502 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10503
efb73488
AJ
105042012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10505
10506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10507 computation is not scheduled after fetestexcept.
10508
29bcce7c
L
105092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10510
10511 [BZ #14117]
10512 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10513 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10514
73a68f94
AZ
105152012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10516
10517 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10518 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10519
67b6df78
L
105202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10521
edf2933a 10522 [BZ #14117]
ebc64a18
L
10523 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10524 <bits/wordsize.h>.
10525 (__WCHAR_MIN): Support __WORDSIZE == 64.
10526 (__WCHAR_MAX): Likewise.
10527
edf2933a
L
10528 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10529 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10530
57c6cf40
L
10531 [BZ #14183]
10532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10533 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10534
67b6df78 10535 [BZ #14117]
8eb6281e
L
10536 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10537 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10538
aac639f4
L
10539 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10540 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10541
67b6df78
L
10542 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10543 Defined to 1 if __x86_64__ isn't defined.
10544 (_STAT_VER_LINUX_OLD): New.
10545 (st_atime): Remove duplicate.
10546 (st_mtime): Likewise.
10547 (st_ctime): Likewise.
10548
1c2cfe81
DM
105492012-05-31 David S. Miller <davem@davemloft.net>
10550
10551 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10552 entries.
10553
5be8418c
AS
105542012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10555
e7725326
AS
10556 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10557 gen-libm-test.pl.
10558
5be8418c
AS
10559 [BZ #14132]
10560 * elf/dl-reloc.c: Include <_itoa.h>.
10561 (_dl_reloc_bad_type): Remove use of INTUSE.
10562 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10563 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10564 * stdio-common/psiginfo.c (psiginfo): Likewise.
10565 * stdio-common/psignal.c (psignal): Likewise.
10566 * string/strsignal.c (strsignal): Likewise.
10567 * include/signal.h (_sys_siglist): Declare hidden proto.
10568 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10569 INTVARDEF with libc_hidden_data_def.
10570 * stdio-common/itoa-udigits.c: Likewise.
10571 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10572 (_itoa_lower_digits_internal): Remove declaration.
10573 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10574 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10575 (_sys_sigabbrev_internal): Remove aliases.
10576 (_sys_siglist): Define hidden alias.
10577
507352f1
MT
105782012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10579
10580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10581 bits/sysctl.h.
10582
42bbb1c3
L
105832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10584
10585 [BZ #14117]
6bd784b6
L
10586 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10587 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10588
8bca20f0
L
10589 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10590 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10591 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10592 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10594 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10595
f9e890a9
L
10596 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10597 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10598 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10599
471101a1
L
10600 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10601 with __addr.
10602 (insw): Likewise.
10603 (insl): Likewise.
10604 (outsb): Likewise.
10605 (outsw): Likewise.
10606 (outsl): Likewise.
10607
6451c862
L
10608 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10609 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10610 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10611
a254b8c9
L
10612 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10613 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10615 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10616 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10617 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10618
b8dfdd92
L
10619 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10620 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10621
578cd270
L
10622 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10623 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10624
de662f5f
L
10625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10627 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10628
25653439
L
10629 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10630 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10631 to ...
10632 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10633
6bad24a0
L
10634 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10635 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10636 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10637
42bbb1c3
L
10638 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10639 for x86-64.
10640 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10641
2d10d547
JM
106422012-05-31 Joseph Myers <joseph@codesourcery.com>
10643
10644 * math/math.h (M_El): Use two more decimal places.
10645 (M_LOG2El): Likewise.
10646 (M_LOG10El): Likewise.
10647 (M_LN2l): Likewise.
10648 (M_LN10l): Likewise.
10649 (M_PIl): Likewise.
10650 (M_PI_2l): Likewise.
10651 (M_PI_4l): Likewise.
10652 (M_1_PIl): Likewise.
10653 (M_2_PIl): Likewise.
10654 (M_2_SQRTPIl): Likewise.
10655 (M_SQRT2l): Likewise.
10656 (M_SQRT1_2l): Likewise.
10657
f230c29b
DM
106582012-05-31 David S. Miller <davem@davemloft.net>
10659
10660 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10661 values between float registers.
10662 * sysdeps/sparc/sparc64/memset.S: Likewise.
10663 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10664
fed806c3
MF
106652012-05-31 Mike Frysinger <vapier@gentoo.org>
10666
10667 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10668 -D_FORTIFY_SOURCE=1.
10669 (CPPFLAGS-tst-longjmp_chk.c): Define.
10670 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10671 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10672 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10673 CFLAGS-tst-wchar-h.c.
10674
30917259
MP
106752012-05-31 Marek Polacek <polacek@redhat.com>
10676
10677 [BZ #14132]
10678 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10679 __endmntent_internal): Remove declaration.
10680 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10681 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10682 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10683
1c58d5dc
DM
106842012-05-30 David S. Miller <davem@davemloft.net>
10685
10686 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10687 (___Q_simulate_exceptions): Use real FP ops rather than writing
10688 into the %fsr.
10689 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10690 Likewise.
10691
7dc00e0d
L
106922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10693
10694 [BZ #14117]
0bd53985
L
10695 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10696 * sysdeps/x86/bits/xtitypes.h: This.
10697
3a257e66
L
10698 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10699 * sysdeps/x86/bits/wordsize.h: This.
10700
62f62904
L
10701 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10702 * sysdeps/x86/bits/huge_vall.h: This.
10703
404fe9d9
L
10704 * sysdeps/i386/bits/select.h: Removed.
10705 * sysdeps/x86_64/bits/select.h: Renamed to ...
10706 * sysdeps/x86/bits/select.h: This.
10707
d48d0446
L
10708 * sysdeps/i386/bits/setjmp.h: Removed.
10709 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10710 * sysdeps/x86/bits/setjmp.h: This.
10711
7dc00e0d
L
10712 * sysdeps/i386/bits/mathdef.h: Removed.
10713 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10714 * sysdeps/x86/bits/mathdef.h: This.
10715
03277f8f
AS
107162012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10717
10718 [BZ #14132]
10719 * include/sys/socket.h (__connect_internal)
10720 (__libc_sa_len_internal): Remove declaration.
10721 (__connect, __libc_sa_len): Declare hidden_proto.
10722 (SA_LEN): Remove use of INTUSE.
10723 * socket/connect.c: Add libc_hidden_def.
10724 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10725 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10726 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10727 alias.
10728 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10729 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10730 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10731 of adding _internal alias.
10732
13764867
L
107332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 [BZ #14117]
6bd97696
L
10736 * sysdeps/i386/bits/link.h: Removed.
10737 * sysdeps/i386/bits/linkmap.h: Likewise.
10738 * sysdeps/x86_64/bits/link.h: Renamed to ...
10739 * sysdeps/x86/bits/link.h: This.
10740 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10741 * sysdeps/x86/bits/linkmap.h: This.
10742
f726f0bb
L
10743 * sysdeps/i386/bits/endian.h: Removed.
10744 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10745 * sysdeps/x86/bits/endian.h: This.
10746
13764867
L
10747 * sysdeps/i386/bits/byteswap.h: Removed.
10748 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10749 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10750 * sysdeps/x86/bits/byteswap.h: This.
10751 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10752 * sysdeps/x86/bits/byteswap-16.h: This.
10753 * sysdeps/i386/Implies: Add x86.
10754 * sysdeps/x86_64/Implies: Likewise.
10755
ae251b0b
DM
107562012-05-30 David S. Miller <davem@davemloft.net>
10757
10758 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10759 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10760 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10761 (FP_TRAPPING_EXCEPTIONS): Define.
10762 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10763 (FP_TRAPPING_EXCEPTIONS): Define.
10764 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10765 subnormals only when inexact has been signalled or underflow
10766 exceptions are enabled.
10767 (_FP_PACK_CANONICAL): Likewise.
10768
d5c90867
L
107692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10770
10771 [BZ #14183]
10772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10773 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10774
63f1549e
RH
107752012-05-30 Richard Henderson <rth@twiddle.net>
10776
8d8f2279
RH
10777 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10778 with #ifndef NOT_IN_libc.
10779
63f1549e
RH
10780 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10781 marked to avoid plt entry.
10782
0ab0291b
L
107832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10784
10785 [BZ #14112]
10786 * Makeconfig (default-abi): New macro.
10787 (abi-includes): Likewise.
10788 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10789 $(abi-$(default-abi)-lib-soname) for soname if defined.
10790 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10791 abi-variants.
10792 * Makefile (installed-stubs): Likewise.
10793 * include/stubs-biarch.h: Removed.
10794 * scripts/lib-names.awk: Only handle one library at a time.
10795 * scripts/soversions.awk: Remove WORDSIZE support.
10796 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10797 entries.
10798 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10799 Removed.
10800 (syscall-list-default-condition): Likewise.
10801 (syscall-list-default-condition): Likewise.
10802 (syscall-list-includes): Likewise.
10803 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10804 syscall-list-* with abi-*. Handle undefined abi-variants.
10805 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10806 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10807 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10808 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10809 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10810 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10811 Removed.
10812 (syscall-list-32-options): Likewise.
10813 (syscall-list-32-condition): Likewise.
10814 (syscall-list-64-options): Likewise.
10815 (syscall-list-64-condition): Likewise.
10816 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10817 macro.
10818 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10819 Renamed to ...
10820 (abi-*): This.
10821 (abi-64-ld-soname): New macro.
10822 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10823 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10824 Renamed to ...
10825 (abi-*): This.
10826 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10827 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10828
4da0431d
JM
108292012-05-30 Joseph Myers <joseph@codesourcery.com>
10830
3a85279c
JM
10831 * sysdeps/unix/sysv/linux/kernel-features.h
10832 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10833 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10852 include <kernel-features.h>.
10853 [!__NR_ftruncate64]: Remove conditional code.
10854 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10855 [__NR_ftruncate64]: Make code unconditional.
10856 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10857
4da0431d
JM
10858 * configure.in (libc_cv_fpie): Weaken to a compile test using
10859 LIBC_TRY_CC_OPTION.
10860 * configure: Regenerated.
10861
11ef492c
AK
108622012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10863
10864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10868 Refreshed.
10869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10875 Refreshed.
10876
d66ef399
DM
108772012-05-27 David S. Miller <davem@davemloft.net>
10878
10879 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10880 (___Q_zero): New.
10881 (__Q_simulate_exceptions): Return void. Change to simulate
10882 exceptions by writing into the %fsr.
10883 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10884 (__Qp_handle_exceptions): Likewise.
10885 (numbers): Delete.
10886 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10887 __Qp_handle_exceptions.
10888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10889 __Qp_handle_exceptions.
10890 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10891 as unused and give dummy FP_RND_NEAREST initializer.
10892 (FP_INHIBIT_RESULTS): Define.
10893 (___Q_simulate_exceptions): Update declaration.
10894 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10895 formatting.
10896 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10897 as unused and give dummy FP_RND_NEAREST initializer.
10898 (__Qp_handle_exceptions): Update declaration.
10899 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10900 formatting.
10901
04fb54b5
TS
109022012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10903
10904 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10905 the temporary FPU control word.
10906 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10907 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10908 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10909 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10910 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10911 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10912 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10913 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10914 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10915 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10916 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10917
3f99608f
KK
109182012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10919
10920 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10921 fields.
10922
65a4de4e
CLT
109232012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10924
10925 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10926 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10927 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10928 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10929 Likewise.
10930 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10931 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10932 Likewise.
10933
15749d40
UD
109342012-05-27 Ulrich Drepper <drepper@gmail.com>
10935
10936 * po/h.po: Update from translation team.
10937
25dbcb27
AS
109382012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10939
3d3f8e55
AS
10940 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10941
25dbcb27
AS
10942 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10943 handling of denormals.
10944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10945 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10946 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10947 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10948 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10951 Likewise.
10952
7ad47a80 109532012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10954
10955 [BZ #14152]
10956 * math/libm-test.inc (fma_test): Don't always expect underflow
10957 exception.
10958
9c6ea9fa
SP
109592012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10960
10961 [BZ #12416]
10962 * elf/tst-execstack.c: Include stackinfo.h.
10963 (do_test): Adjust test case to ensure that pthread_getattr_np
10964 behaviour remains the same after marking stack executable.
10965
a8239222
JM
109662012-05-25 Joseph Myers <joseph@codesourcery.com>
10967
10968 * sysdeps/unix/sysv/linux/kernel-features.h
10969 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10970 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10971 kernel-features.h.
10972 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10973 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10974 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10975 kernel-features.h.
10976 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10977 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10978
918b5606
L
109792012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10980
10981 * configure.in: Define the default includes to being none.
10982 * configure: Regenerated.
10983
3a097cc7
RM
109842012-05-25 Roland McGrath <roland@hack.frob.com>
10985
8422c9a5
RM
10986 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10987 * sysdeps/x86_64/setjmp.S: Likewise.
10988 * sysdeps/i386/bsd-setjmp.S: Likewise.
10989 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10990 * sysdeps/i386/setjmp.S: Likewise.
10991 * sysdeps/i386/__longjmp.S: Likewise.
10992 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10993 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10994
3a097cc7
RM
10995 * include/stap-probe.h: New file.
10996 * configure.in: Handle --enable-systemtap.
10997 * configure: Regenerated.
10998 * config.h.in (USE_STAP_PROBE): New #undef.
10999 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11000 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11001 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11002
21708942
JM
110032012-05-25 Joseph Myers <joseph@codesourcery.com>
11004
11005 [BZ #13717]
11006 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11007 to 2.4.0 where earlier.
11008 * sysdeps/unix/sysv/linux/configure: Regenerated.
11009 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11010 <kernel-features.h>.
11011 [__ASSUME_32BITUIDS]: Make code unconditional.
11012 [!__ASSUME_32BITUIDS]: Remove conditional code.
11013 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11014 <kernel-features.h>.
11015 [__ASSUME_32BITUIDS]: Make code unconditional.
11016 [!__ASSUME_32BITUIDS]: Remove conditional code.
11017 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11018 [__ASSUME_32BITUIDS]: Make code unconditional.
11019 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11020 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11021 <kernel-features.h>.
11022 [__ASSUME_32BITUIDS]: Make code unconditional.
11023 [!__ASSUME_32BITUIDS]: Remove conditional code.
11024 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11025 <kernel-features.h>.
11026 [__ASSUME_32BITUIDS]: Make code unconditional.
11027 [!__ASSUME_32BITUIDS]: Remove conditional code.
11028 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11029 <kernel-features.h>.
11030 [__ASSUME_32BITUIDS]: Make code unconditional.
11031 [!__ASSUME_32BITUIDS]: Remove conditional code.
11032 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11033 <kernel-features.h>.
11034 [__ASSUME_32BITUIDS]: Make code unconditional.
11035 [!__ASSUME_32BITUIDS]: Remove conditional code.
11036 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11037 <kernel-features.h>.
11038 [__ASSUME_32BITUIDS]: Make code unconditional.
11039 [!__ASSUME_32BITUIDS]: Remove conditional code.
11040 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11041 <kernel-features.h>.
11042 [__ASSUME_32BITUIDS]: Make code unconditional.
11043 [!__ASSUME_32BITUIDS]: Remove conditional code.
11044 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11045 <kernel-features.h>.
11046 [__ASSUME_32BITUIDS]: Make code unconditional.
11047 [!__ASSUME_32BITUIDS]: Remove conditional code.
11048 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11049 <kernel-features.h>.
11050 [__ASSUME_32BITUIDS]: Make code unconditional.
11051 [!__ASSUME_32BITUIDS]: Remove conditional code.
11052 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11053 <kernel-features.h>.
11054 [__ASSUME_32BITUIDS]: Make code unconditional.
11055 [!__ASSUME_32BITUIDS]: Remove conditional code.
11056 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11057 <kernel-features.h>.
11058 [__ASSUME_32BITUIDS]: Make code unconditional.
11059 [!__ASSUME_32BITUIDS]: Remove conditional code.
11060 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11061 <kernel-features.h>.
11062 [__NR_setresgid] (__setresgid): Do not declare.
11063 [__ASSUME_32BITUIDS]: Make code unconditional.
11064 [!__ASSUME_32BITUIDS]: Remove conditional code.
11065 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11066 <kernel-features.h>.
11067 [__NR_setresuid] (__setresuid): Do not declare.
11068 [__ASSUME_32BITUIDS]: Make code unconditional.
11069 [!__ASSUME_32BITUIDS]: Remove conditional code.
11070 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11071 <kernel-features.h>.
11072 [__ASSUME_32BITUIDS]: Make code unconditional.
11073 [!__ASSUME_32BITUIDS]: Remove conditional code.
11074 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11075 <kernel-features.h>.
11076 [__ASSUME_32BITUIDS]: Make code unconditional.
11077 [!__ASSUME_32BITUIDS]: Remove conditional code.
11078 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11079 <kernel-features.h>.
11080 [__ASSUME_32BITUIDS]: Make code unconditional.
11081 [!__ASSUME_32BITUIDS]: Remove conditional code.
11082 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11083 <kernel-features.h>.
11084 [__ASSUME_32BITUIDS]: Make code unconditional.
11085 [!__ASSUME_32BITUIDS]: Remove conditional code.
11086 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11087 <kernel-features.h>.
11088 [__ASSUME_32BITUIDS]: Make code unconditional.
11089 [!__ASSUME_32BITUIDS]: Remove conditional code.
11090 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11091 <kernel-features.h>.
11092 [__ASSUME_32BITUIDS]: Make code unconditional.
11093 [!__ASSUME_32BITUIDS]: Remove conditional code.
11094 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11095 <kernel-features.h>.
11096 [__ASSUME_32BITUIDS]: Make code unconditional.
11097 [!__ASSUME_32BITUIDS]: Remove conditional code.
11098 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11099 <kernel-features.h>.
11100 [__ASSUME_32BITUIDS]: Make code unconditional.
11101 [!__ASSUME_32BITUIDS]: Remove conditional code.
11102 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11103 <kernel-features.h>.
11104 [__ASSUME_32BITUIDS]: Make code unconditional.
11105 [!__ASSUME_32BITUIDS]: Remove conditional code.
11106 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11107 <kernel-features.h>.
11108 [__ASSUME_32BITUIDS]: Make code unconditional.
11109 [!__ASSUME_32BITUIDS]: Remove conditional code.
11110 * sysdeps/unix/sysv/linux/kernel-features.h
11111 (__ASSUME_SETRESUID_SYSCALL): Remove.
11112 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11113 (__ASSUME_32BITUIDS): Likewise.
11114 (__ASSUME_LDT_WORKS): Likewise.
11115 (__ASSUME_O_DIRECTORY): Likewise.
11116 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11117 architecture but not kernel version.
11118 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11119 (__ASSUME_MMAP2_SYSCALL): Likewise.
11120 (__ASSUME_STAT64_SYSCALL): Likewise.
11121 (__ASSUME_IPC64): Likewise.
11122 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11123 <kernel-features.h>.
11124 [__ASSUME_32BITUIDS]: Make code unconditional.
11125 [!__ASSUME_32BITUIDS]: Remove conditional code.
11126 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11127 <kernel-features.h>.
11128 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11129 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11130 132096]: Remove conditional code.
11131 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11132 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11133 <kernel-features.h>.
11134 [__ASSUME_32BITUIDS]: Make code unconditional.
11135 [!__ASSUME_32BITUIDS]: Remove conditional code.
11136 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11137 <kernel-features.h>.
11138 [__ASSUME_32BITUIDS]: Make code unconditional.
11139 [!__ASSUME_32BITUIDS]: Remove conditional code.
11140 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11141 <kernel-features.h>.
11142 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11143 unconditional.
11144 (__setresgid): Do not declare.
11145 [__ASSUME_32BITUIDS]: Make code unconditional.
11146 [!__ASSUME_32BITUIDS]: Remove conditional code.
11147 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11148 <kernel-features.h>.
11149 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11150 unconditional.
11151 (__setresuid): Do not declare.
11152 [__ASSUME_32BITUIDS]: Make code unconditional.
11153 [!__ASSUME_32BITUIDS]: Remove conditional code.
11154 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11155 <kernel-features.h>.
11156 [__ASSUME_32BITUIDS]: Make code unconditional.
11157 [!__ASSUME_32BITUIDS]: Remove conditional code.
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11159 <kernel-features.h>.
11160 [__ASSUME_32BITUIDS]: Make code unconditional.
11161 [!__ASSUME_32BITUIDS]: Remove conditional code.
11162
a386f1cc
RH
111632012-05-25 Richard Henderson <rth@twiddle.net>
11164
11165 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11166 dl_hwcap to ifunc resolver.
11167 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11168 elf_ifunc_invoke.
11169 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11170 dl_hwcap to ifunc resolver.
11171 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11172
b6550497
JM
111732012-05-24 Joseph Myers <joseph@codesourcery.com>
11174
11175 [BZ #14153]
11176 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11177 for |x| <= 2**-26, not 2**-57.
11178 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11179 exception.
11180
b0bc23a1
JL
111812012-05-24 Jeff Law <law@redhat.com>
11182
11183 * stdio-common/Makefile (tests): Add bug25.
11184 * stdio-common/bug25.c: New test.
11185
347c92e9
L
111862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11187
11188 [BZ #13576]
11189 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11190 multiple of MALLOC_ALIGNMENT in size.
11191 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11192
6bcc8b3f
JM
111932012-05-24 Joseph Myers <joseph@codesourcery.com>
11194
11195 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11196 Require >= 256.
11197 (FILENAME_MAX): Use macro-int-constant.
11198 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11199 (_IOFBF): Use macro-int-constant.
11200 (_IOLBF): Likewise.
11201 (_IONBF): Likewise.
11202 (SEEK_CUR): Likewise.
11203 (SEEK_END): Likewise.
11204 (SEEK_SET): Likewise.
11205 (TMP_MAX): Likewise.
11206 (EOF): Use macro-int-constant. Require < 0.
11207 (NULL): Use macro-constant. Require == 0.
11208 (stdin): Require type to be FILE *.
11209 (stdout): Likewise.
11210 (stderr): Likewise.
11211 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11212 macro-int-constant.
11213 (EXIT_SUCCESS): Likewise.
11214 (NULL): Use macro-constant. Require == 0.
11215 (RAND_MAX): Use macro-int-constant.
11216 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11217 [C99-based standards] (strtof): Require function.
11218 [C99-based standards] (strtold): Likewise.
11219 [C99-based standards] (strtoll): Likewise.
11220 [C99-based standards] (strtoull): Likewise.
11221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11222 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11223 [ISO || ISO99 || ISO11] (math.h): Likewise.
11224 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11225 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11227
d18ea0c5
AS
112282012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11229
11230 [BZ #14132]
56d25bb8
AS
11231 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11232 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11233 * intl/dgettext.c (DCGETTEXT): Likewise.
11234 * intl/gettext.c (DCGETTEXT): Likewise.
11235 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11236 * posix/regex_internal.h (gettext): Likewise.
11237 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11238 Remove declaration.
11239 * include/argz.h (__argz_count_internal)
11240 (__argz_stringify_internal): Remove declaration.
11241 (__argz_count, __argz_stringify): Declare hidden proto.
11242 * intl/dcgettext.c: Remove use of INTDEF.
11243 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11244 * string/argz-stringify.c: Likewise.
11245 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11246 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11247 Declare hidden proto.
d18ea0c5
AS
11248 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11249 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11250 Declare hidden proto.
11251 * include/stdio.h (__asprintf_internal): Don't declare.
11252 (__asprintf): Don't define as macro. Declare hidden proto.
11253 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11254 (__fsetlocking): Declare hidden proto.
11255 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11256 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11257 hidden proto.
11258 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11259 (_IO_setlinebuf): Remove use of INTUSE.
11260 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11261 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11262 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11263 Remove declaration.
11264 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11265 (_IO_do_flush): Remove use of INTUSE.
11266 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11267 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11268 (_IO_adjust_column, _IO_least_wmarker)
11269 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11270 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11271 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11272 (_IO_default_doallocate, _IO_wdefault_doallocate)
11273 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11274 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11275 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11276 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11277 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11278 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11279 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11280 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11281 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11282 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11283 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11284 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11285 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11286 proto.
11287 (_IO_flush_all_internal, _IO_adjust_column_internal)
11288 (_IO_default_uflow_internal, _IO_default_finish_internal)
11289 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11290 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11291 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11292 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11293 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11294 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11295 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11296 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11297 (_IO_file_close_internal, _IO_file_close_it_internal)
11298 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11299 (_IO_file_init_internal, _IO_file_attach_internal)
11300 (_IO_file_fopen_internal, _IO_file_read_internal)
11301 (_IO_file_sync_internal, _IO_file_seek_internal)
11302 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11303 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11304 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11305 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11306 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11307 (_IO_list_all_internal, _IO_link_in_internal)
11308 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11309 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11310 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11311 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11312 (_IO_do_write_internal, _IO_padn_internal)
11313 (_IO_getline_info_internal, _IO_getline_internal)
11314 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11315 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11316 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11317 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11318 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11319 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11320 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11321 with libc_hidden_ver, remove use of INTUSE.
11322 * libio/genops.c: Likewise.
11323 * libio/freopen.c: Likewise.
11324 * libio/freopen64.c: Likewise.
11325 * libio/iofclose.c: Likewise.
11326 * libio/iofdopen.c: Likewise.
11327 * libio/iofflush.c: Likewise.
11328 * libio/iofflush_u.c: Likewise.
11329 * libio/iofgets.c: Likewise.
11330 * libio/iofgets_u.c: Likewise.
11331 * libio/iofopen.c: Likewise.
11332 * libio/iofopncook.c: Likewise.
11333 * libio/iofread.c: Likewise.
11334 * libio/iofread_u.c: Likewise.
11335 * libio/ioftell.c: Likewise.
11336 * libio/iofwrite.c: Likewise.
11337 * libio/iogetline.c: Likewise.
11338 * libio/iogets.c: Likewise.
11339 * libio/iogetwline.c: Likewise.
11340 * libio/iopadn.c: Likewise.
11341 * libio/iopopen.c: Likewise.
11342 * libio/ioseekoff.c: Likewise.
11343 * libio/ioseekpos.c: Likewise.
11344 * libio/iosetbuffer.c: Likewise.
11345 * libio/iosetvbuf.c: Likewise.
11346 * libio/ioungetc.c: Likewise.
11347 * libio/ioungetwc.c: Likewise.
11348 * libio/iovdprintf.c: Likewise.
11349 * libio/iovsprintf.c: Likewise.
11350 * libio/iovsscanf.c: Likewise.
11351 * libio/memstream.c: Likewise.
11352 * libio/obprintf.c: Likewise.
11353 * libio/oldfileops.c: Likewise.
11354 * libio/oldiofclose.c: Likewise.
11355 * libio/oldiofdopen.c: Likewise.
11356 * libio/oldiofopen.c: Likewise.
11357 * libio/oldiopopen.c: Likewise.
11358 * libio/oldstdfiles.c: Likewise.
11359 * libio/putc.c: Likewise.
11360 * libio/setbuf.c: Likewise.
11361 * libio/setlinebuf.c: Likewise.
11362 * libio/stdfiles.c: Likewise.
11363 * libio/strops.c: Likewise.
11364 * libio/vasprintf.c: Likewise.
11365 * libio/vscanf.c: Likewise.
11366 * libio/vsnprintf.c: Likewise.
11367 * libio/vswprintf.c: Likewise.
11368 * libio/wfiledoalloc.c: Likewise.
11369 * libio/wfileops.c: Likewise.
11370 * libio/wgenops.c: Likewise.
11371 * libio/wmemstream.c: Likewise.
11372 * libio/wstrops.c: Likewise.
11373 * libio/__fpurge.c: Likewise.
11374 * libio/__fsetlocking.c: Likewise.
11375 * assert/assert.c: Likewise.
11376 * debug/fgets_chk.c: Likewise.
11377 * debug/fgets_u_chk.c: Likewise.
11378 * debug/fread_chk.c: Likewise.
11379 * debug/fread_u_chk.c: Likewise.
11380 * debug/gets_chk.c: Likewise.
11381 * debug/obprintf_chk.c: Likewise.
11382 * debug/vasprintf_chk.c: Likewise.
11383 * debug/vdprintf_chk.c: Likewise.
11384 * debug/vsnprintf_chk.c: Likewise.
11385 * debug/vsprintf_chk.c: Likewise.
11386 * malloc/mtrace.c: Likewise.
11387 * misc/error.c: Likewise.
11388 * misc/syslog.c: Likewise.
11389 * stdio-common/asprintf.c: Likewise.
11390 * stdio-common/fxprintf.c: Likewise.
11391 * stdio-common/getw.c: Likewise.
11392 * stdio-common/isoc99_fscanf.c: Likewise.
11393 * stdio-common/isoc99_scanf.c: Likewise.
11394 * stdio-common/isoc99_vfscanf.c: Likewise.
11395 * stdio-common/isoc99_vscanf.c: Likewise.
11396 * stdio-common/isoc99_vsscanf.c: Likewise.
11397 * stdio-common/printf-prs.c: Likewise.
11398 * stdio-common/printf_fp.c: Likewise.
11399 * stdio-common/printf_fphex.c: Likewise.
11400 * stdio-common/printf_size.c: Likewise.
11401 * stdio-common/putw.c: Likewise.
11402 * stdio-common/scanf.c: Likewise.
11403 * stdio-common/sprintf.c: Likewise.
11404 * stdio-common/tmpfile.c: Likewise.
11405 * stdio-common/vfprintf.c: Likewise.
11406 * stdio-common/vfscanf.c: Likewise.
11407 * stdlib/strfmon_l.c: Likewise.
11408 * sunrpc/openchild.c: Likewise.
11409 * sunrpc/xdr_stdio.c: Likewise.
11410 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11411 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11412
d6c33fda
RM
114132012-05-24 Roland McGrath <roland@hack.frob.com>
11414
c1487492
RM
11415 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11416
11417 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11418 in the third column, to generate for the shared library an IFUNC
11419 that uses _dl_vdso_vsym.
11420 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11421 * Makeconfig (object-suffixes-noshared): New variable.
11422
11423 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11424 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11425 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11426 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11427
d6c33fda
RM
11428 [BZ #14132]
11429 * include/sys/time.h (__gettimeofday): Remove macro.
11430 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11431 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11432 Remove INTDEF.
11433 (__gettimeofday): Add libc_hidden_def.
11434 (gettimeofday): Add libc_hidden_weak.
11435 * sysdeps/mach/gettimeofday.c: Likewise.
11436 * sysdeps/posix/gettimeofday.c: Likewise.
11437 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11438 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11440 (__gettimeofday_internal): Remove strong_alias.
11441 (__gettimeofday): Add libc_hidden_def.
11442 (gettimeofday): Add libc_hidden_weak.
11443 * sysdeps/unix/syscalls.list (gettimeofday):
11444 Remove __gettimeofday_internal alias.
11445
b5a2bbe6
L
114462012-05-24 Daniel Jacobowitz <drow@false.org>
11447 H.J. Lu <hongjiu.lu@intel.com>
11448
11449 [BZ #12495]
11450 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11451 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11452 (largebin_index_32_big): New.
11453 (largebin_index): Use it for 16-byte alignment.
11454 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11455 correction with front_misalign.
11456
cfba4fda
L
114572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11458
7f907421
L
11459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11461 Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11463 Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11465 Likewise.
11466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11467 Likewise.
11468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11469 Likewise.
11470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11471 Likewise.
11472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11473 Likewise.
11474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11475 Likewise.
11476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11477 Likewise.
11478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11479 Likewise.
11480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11481 Likewise.
11482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11483 Likewise.
11484
cfba4fda
L
11485 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11486 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11487
80bad0cc
JM
114882012-05-24 Joseph Myers <joseph@codesourcery.com>
11489
7a25eb06
JM
11490 [BZ #10846]
11491 [BZ #14036]
11492 * math/libm-test.inc (exp_test): Add test from bug 14036.
11493 (pow_test): Add test from bug 10846.
11494
795405f9
JM
11495 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11496 and other flags.
11497 (special_function): Do not include flags in test name.
11498 (parse_args): Likewise.
11499 * sysdeps/i386/fpu/libm-test-ulps: Update.
11500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11501 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11502 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11504
80bad0cc
JM
11505 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11506 exceptions.
11507 * math/libm-test.inc ("Philosophy"): Update comment about
11508 exception testing.
11509 (UNDERFLOW_EXCEPTION): New macro.
11510 (UNDERFLOW_EXCEPTION_OK): Likewise.
11511 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11512 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11513 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11514 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11515 (INVALID_EXCEPTION_OK): Update value.
11516 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11517 (OVERFLOW_EXCEPTION_OK): Likewise.
11518 (IGNORE_ZERO_INF_SIGN): Likewise.
11519 (test_exceptions): Handle underflow exceptions.
11520 (acos_test): Update for underflow exception expectations.
11521 (cexp_test): Likewise.
11522 (clog_test): Likewise.
11523 (clog10_test): Likewise.
11524 (csqrt_test): Likewise.
11525 (ctan_test): Likewise.
11526 (ctanh_test): Likewise.
11527 (exp_test): Likewise.
11528 (exp10_test): Likewise.
11529 (exp2_test): Likewise.
11530 (expm1_test): Likewise.
11531 (fma_test): Likewise.
11532 (j0_test): Likewise.
11533 (jn_test): Likewise.
11534 (nexttoward_test): Likewise.
11535 (pow_test): Likewise.
11536 (scalbn_test): Likewise.
11537 (scalbln_test): Likewise.
11538 (tan_test): Likewise.
11539 (y1_test): Likewise.
11540 * sysdeps/i386/fpu/libm-test-ulps: Update.
11541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11542
9e0e3d0b
DM
115432012-05-23 David S. Miller <davem@davemloft.net>
11544
11545 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11546 (__libc_sigaction): Remove unused local variables.
11547
ccd0a08f
L
115482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11549
11550 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11551
62bdf9a6
PE
115522012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11553
f8591f80
PE
11554 mktime: avoid signed integer overflow
11555 * time/mktime.c (__mktime_internal): Do not mishandle the case
11556 where diff == INT_MIN.
11557
94c7d826
PE
11558 mktime: simplify computation of average
11559 * time/mktime.c (ranged_convert): Use new time_t_avg function
11560 instead of rolling our own (probably-slower) code.
11561
ce73d683
PE
11562 mktime: do not assume signed right shift propagates sign bit
11563 * time/mktime.c (isdst_differ): New static function.
11564 (__mktime_internal): No need to normalize tm_isdst now.
11565 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11566 tm_isdst values.
11567
72a22e59
PE
11568 mktime: merge another wrapv change from gnulib
11569 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11570 from some compilers.
11571
68605433
PE
11572 mktime: remove incorrect attempt at unusual arithmetics
11573 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11574 The code didn't really work on such machines anyway.
11575 (TYPE_MINIMUM): Assume two's complement.
11576 (twos_complement_arithmetic): Verify that long_int and time_t
11577 are two's complement (or unsigned, in the latter case).
11578
03cf7fe3
PE
11579 mktime: check signed shifts on long_int and time_t, too
11580 * time/mktime.c (SHR): Check that shifts work as desired
11581 on the types long_int and time_t too, as SHR is used on
11582 such types.
11583
f04dfbc2
PE
11584 mktime: do not assume 'long' is wide enough
11585 * time/mktime.c (verify): Move decl up.
11586 (long_int): New type.
11587 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11588 to remove assumption in the code that 'long' is wide enough to
11589 store year values. This assumption is not true on x32 and on
11590 some non-glibc platforms.
11591
62bdf9a6
PE
11592 mktime: merge wrapv change from gnulib
11593 * time/mktime.c (WRAPV): New macro.
11594 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11595 (guess_time_tm, __mktime_internal): Do not assume that signed
11596 integer overflow wraps around; modern compilers generate code
11597 where this assumption is no longer valid.
11598
5e292e4f
L
115992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11600
11601 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11602 Replace "jmp L(pseudo_end)" with "ret".
11603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11604 Likewise.
11605
8caf8c87
AJ
116062012-05-23 Andreas Jaeger <aj@suse.de>
11607
11608 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11609 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11610
1a09dc56
AJ
116112012-05-23 Andreas Jaeger <aj@suse.de>
11612 Maximilian Attems <max@stro.at>
11613
11614 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11615 New macros.
11616
1c87aba0
L
116172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11618
11619 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11620 code so that pseudo_end is just ret and the stack pointer is
11621 correct also for static library in error case.
11622
40e45bd5
JM
116232012-05-23 Joseph Myers <joseph@codesourcery.com>
11624
c2670533
JM
11625 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11626 move to syscalls.list.
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11631
40e45bd5
JM
11632 * manual/install.texi (Running make install): Do not mention Linux
11633 kernel version for which pt_chown is not needed.
11634 (Linux): Do not mention problems with nscd with 2.0 kernels.
11635 * INSTALL: Regenerated.
11636
be08eda5
AJ
116372012-05-23 Andreas Jaeger <aj@suse.de>
11638
11639 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11640 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11641 macro.
11642 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11643 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11644 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11646 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11647 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11648 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11649 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11651 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11652 * sysdeps/unix/sysv/linux/bits/in.h
11653 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11654
a6a056bb
RM
116552012-05-22 Roland McGrath <roland@hack.frob.com>
11656
11657 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11658 (PREPARE_VERSION): Just use assert instead, it will be elided
11659 under [NDEBUG] anyway.
11660
c9009328
L
116612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11662
11663 * sysdeps/unix/sysv/linux/Makefile: Include
11664 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11665 (sysdep_routines): Remove sysctl.
c9009328
L
11666 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11667 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11668 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11669 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11670 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11671
73338355
AJ
116722012-05-22 Andreas Jaeger <aj@suse.de>
11673
11674 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11675 that pseudo_end is just ret and the stack pointer is correct also
11676 for static library in error case.
11677
d44638b0
PP
116782012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11679
11680 [BZ #14122]
11681 * nss/nsswitch.c (defconfig_entries): New variable.
11682 (__nss_database_lookup): Don't leak defconfig entries.
11683 (nss_parse_service_list): Don't leak on error paths.
11684 (free_database_entries): New function.
11685 (free_defconfig): New function.
11686 (free_mem): Move common code to free_database_entries.
11687
31a39bd8
L
116882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11689
da0331a8
L
11690 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11691 Add arch_prctl.
11692 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11693
31a39bd8
L
11694 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11695 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11697 New macro.
11698 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11699 (INTERNAL_SYSCALL_TYPES): Likewise.
11700 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11701 (LOAD_REGS_TYPES_[1-6]): Likewise.
11702 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11703 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11704
45470df3
AZ
117052012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11706
11707 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11708 copysignl for GLIBC_2_0.
11709 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11710 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11712 logbl for GLIBC_2_0.
11713 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11714 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11715
98a61bcb
L
117162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11717
a4f6e481
L
11718 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11719 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11720
f63d5db6
L
11721 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11722 Use "neg %eax".
11723
98a61bcb
L
11724 * time/mktime.c: Update copyright years.
11725
95770f14
PE
117262012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11727
6226efbd
PE
11728 mktime: merge comment-quoting-style change from gnulib
11729 * time/mktime.c: Quote 'like this' in comments.
11730 The GNU coding standards suggest that we no longer quote `like this',
11731 as "`" and "'" are typically rendered asymmetrically nowadays.
11732 The typical gnulib style is to quote 'like this' when quoting
11733 code, and "like this" when quoting English.
11734
b99e4f78
PE
11735 * time/mktime.c (compile-command): Add "-I.".
11736
643e01e6
PE
11737 mktime: merge mktime-internal.h change from gnulib
11738 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11739
2554247d
PE
11740 mktime: merge time_r change from gnulib
11741 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11742
826dd0ab
PE
11743 mktime: merge DEBUG change from gnulib
11744 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11745 case system <time.h> has a #define.
11746
bd83aabe
PE
11747 mktime: merge <sys/types.h> change from gnulib
11748 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11749 since <time.t> is now guaranteed to define time_t.
11750
95770f14
PE
11751 mktime: merge HAVE_CONFIG_H change from gnulib
11752 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11753
5e1a27a9
L
117542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11755
0e44a77e
L
11756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11757 Use "neg %eax".
11758
5e1a27a9
L
11759 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11760 __rlim_t cast.
11761 (struct rusage): Use anonymous union to pad each field to
11762 __syscall_slong_t.
11763
46259bec
DM
117642012-05-21 David S. Miller <davem@davemloft.net>
11765
11766 * Makefules (o-iterator): Remove .s cases.
11767 (compile-command.s): Delete.
11768 (COMPILE.s): Delete.
11769 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11770
59f0c22e
JM
117712012-05-21 Joseph Myers <joseph@codesourcery.com>
11772
11773 * configure.in (libc_cv_predef_stack_protector): Only consider
11774 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11775 * configure: Regenerated.
11776
20c07380
L
117772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11778
bbb3154b
L
11779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11780 New macro. Use R*LP on int and pointer.
11781 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11782 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11783 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11784 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11785
20c07380
L
11786 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11787 [__WORDSIZE_TIME64_COMPAT32] instead of
11788 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11789 (struct utmp): Likewise.
11790 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11791 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11792 Renamed to ...
11793 (__WORDSIZE_TIME64_COMPAT32): This.
11794 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11795 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11796 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11797 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11798 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11799 (__WORDSIZE_TIME64_COMPAT32): New macro.
11800
d8d1017e
AJ
118012012-05-21 Andreas Jaeger <aj@suse.de>
11802
11803 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11804 only if [SHARED]. Add prototype for __wcschr_ia32.
11805
6c7fb145
RM
118062012-05-21 Roland McGrath <roland@hack.frob.com>
11807
11808 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11809 of %rbp unmolested in the jmp_buf while mangling the low bits.
11810 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11811 unmolested high bits of %rbp while demangling the low bits.
11812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11813
66274218
AJ
118142012-05-21 Andreas Jaeger <aj@suse.de>
11815
07c58f8f
AJ
11816 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11817 * sunrpc/svc_simple.c: Use it for registerrpc.
11818 * sunrpc/xcrypt.c: Use it for passwd2des.
11819
66274218
AJ
11820 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11821
61f65140
L
118222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11823
11824 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11825 Don't define if [__SYSCALL_WORDSIZE != 32].
11826 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11827 New macro.
11828
5fefb436
AJ
118292012-05-21 Bruno Haible <bruno@clisp.org>
11830 Andreas Jaeger <aj@suse.de>
11831
11832 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11833 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11834 inptr and inend for must_buffer_ch.
11835 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11836 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11837 * stdio-common/Makefile (tests): Remove bug15.
11838 (bug15-ENV): Remove macro.
11839 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11840 anymore.
11841
d8e272ab
AJ
118422012-05-19 Andreas Jaeger <aj@suse.de>
11843 Roland McGrath <roland@hack.frob.com>
11844
11845 * manual/contrib.texi: Completely rewritten. It contains now an
11846 alphabetical list of contributors and their contributions.
11847
4a56a162
RH
118482012-05-21 Richard Henderson <rth@twiddle.net>
11849
11850 * misc/getauxval.c (__getauxval): Use unsigned long int.
11851 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11852 (getauxval): Use unsigned long int.
11853
d024d23c
L
118542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11855
11856 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11857
cbc00a03
RM
118582012-05-21 Roland McGrath <roland@hack.frob.com>
11859
11860 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11861 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11862 __alignof__ (long double).
11863
478143fa
AZ
118642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11865
11866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11867
c7683a6d
RH
118682012-05-20 Richard Henderson <rth@twiddle.net>
11869
11870 * misc/getauxval.c: New file.
11871 * misc/sys/auxv.h: New file.
11872 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11873 (routines): Add getauxval.
11874 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11875 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11876 * elf/dl-sysdep.c (_dl_auxv): Remove.
11877 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11878 * elf/dl-support.c (_dl_auxv): New variable.
11879 (_dl_aux_init): Initialize it.
11880 * manual/startup.texi (Auxiliary Vector): New node.
11881 * sysdeps/generic/bits/hwcap.h: New file.
11882 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11883 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11884 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11885 * sysdeps/sparc/sysdep.h: ... here. Include it.
11886 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11889 Update.
c7683a6d
RH
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11898
a6f1845d
AZ
118992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11900
11901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11902
cbcbe830
DM
119032012-05-19 David S. Miller <davem@davemloft.net>
11904
11905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11906
e0b16cc2
JM
119072012-05-19 Joseph Myers <joseph@codesourcery.com>
11908
11909 [BZ #14123]
11910 * math/s_ccosh.c: Include <float.h>
11911 (__ccosh): Avoid internal overflow calculating sinh and cosh
11912 values before multiplying by sin and cos values.
11913 * math/s_ccoshf.c: Likewise.
11914 * math/s_ccoshl.c: Likewise.
11915 * math/s_csin.c: Likewise.
11916 * math/s_csinf.c: Likewise.
11917 * math/s_csinl.c: Likewise.
11918 * math/s_csinh.c: Likewise.
11919 * math/s_csinhf.c: Likewise.
11920 * math/s_csinhl.c: Likewise.
11921 * math/libm-test.inc (ccos_test): Add more tests.
11922 (ccosh_test): Likewise.
11923 (csin_test): Likewise.
11924 (csinh_test): Likewise.
11925 * sysdeps/i386/fpu/libm-test-ulps: Update.
11926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11927
6ad13e08
L
119282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11929
f66f0ce8
L
11930 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11931 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11932
6ad13e08
L
11933 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11934
b1d072a7
JM
119352012-05-19 Joseph Myers <joseph@codesourcery.com>
11936
11937 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11938 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11939 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11940 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11941 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11942 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11943 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11944 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11945 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11946 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11947 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11948 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11949 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11950 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11951 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11952 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11953 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11954 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11955 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11956 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11957 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11958 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11959 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11960 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11961 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11962 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11963 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11964 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11965 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11966 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11967 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11968
9eae47cb
AJ
119692012-05-18 Andreas Jaeger <aj@suse.de>
11970
11971 * csu/.gitignore: Delete.
11972
bb07f69f
L
119732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11974
11975 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11976 (timex): Use __syscall_slong_t.
11977
e6bdb741
AJ
119782012-05-18 Andreas Jaeger <aj@suse.de>
11979 Carlos O'Donell <carlos_odonell@mentor.com>
11980
11981 * manual/install.texi (Configuring and compiling): Update
11982 description about files modified in the source directory.
d6c33fda 11983 * INSTALL: Regenerated.
e6bdb741 11984
1b74487e
L
119852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11986
11987 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11988 value. Use "or" to set return value to -1.
11989 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11990 negate return value.
11991
a88b64b9
TMQMF
119922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11993
11994 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11995 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11996 failure if the compiler has Graphite support disabled.
11997 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11998 Likewise.
11999 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12000 CFLAGS-memmove.c): Likewise.
12001 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12002 Likewise.
12003
3707636e
L
120042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12005
610b8622
L
12006 * sysdeps/x86_64/x32/_itoa.h: New file.
12007
7cd195df
L
12008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12009 getdents system call only if kernel and user dirents have the
12010 same d_ino and d_off.
12011
94b07d20
L
12012 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12013 LLONG_MAX != LONG_MAX.
12014 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12015 (_fitoa_word): Likewise.
12016
18298070
L
12017 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12018 years.
12019 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12020 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12021 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12022
553c7ea4
L
12023 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12024 include <bits/wordsize.h>. Check __x86_64__ instead of
12025 __WORDSIZE.
12026 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12027 if __x86_64__ is defined. Use anonymous union on fpstate.
12028
3707636e
L
12029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12030 anonymous union.
12031
b53ef01a
AS
120322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12033
37fb1dc0
AS
12034 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12035 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12036 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12037 Refer to _rtld_local_ro instead of _rtld_global_ro.
12038 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12039 Likewise.
12040 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12041 Likewise.
12042 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12043 Likewise.
12044 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12045 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12046 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12047
b53ef01a
AS
12048 * sysdeps/powerpc/powerpc32/dl-machine.c
12049 (__elf_machine_runtime_setup) [PROF]: Don't reference
12050 _dl_prof_resolve.
12051
7a185db2
AJ
120522012-05-18 Andreas Jaeger <aj@suse.de>
12053
12054 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12055 function only available for GCCs before 3.4 since GCC 3.4
12056 introduced a builtin.
12057 (lrint): Likewise.
12058 (llrintf): Likewise.
12059 (llrint): Likewise.
12060 (fmaxf): Likewise.
12061 (fmax): Likewise.
12062 (fminf): Likewise.
12063 (fmin): Likewise.
12064 (rint): Likewise.
12065 (rintf): Likewise.
12066 (nearbyint): Likewise.
12067 (nearbyintf): Likewise.
12068 (ceil): Likewise.
12069 (ceilf): Likewise.
12070 (floor): Likewise.
12071 (floorf): Likewise.
12072
3e5aef87
L
120732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12074
428bd707
L
12075 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12076 on both fields and cast pointer to __syscall_ulong_t.
12077
3e5aef87
L
12078 * bits/types.h (__fsword_t): New type.
12079 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12080 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12082 (__FSWORD_T_TYPE): Likewise.
12083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12084 (__FSWORD_T_TYPE): Likewise.
12085 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12086 (__FSWORD_T_TYPE): Likewise.
12087 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12088 (__FSWORD_T_TYPE): Likewise.
12089 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12090 __SWORD_TYPE with __fsword_t.
12091 (statfs64): Likewise.
12092
1ba7c3dc
DM
120932012-05-17 David S. Miller <davem@davemloft.net>
12094
12095 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12096
59910343
AJ
120972012-05-17 Andreas Jaeger <aj@suse.de>
12098
12099 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12100 warning.
12101
2e4c1e9e
L
121022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12103
12104 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12105
de7f5ce7
AJ
121062012-05-17 Andreas Jaeger <aj@suse.de>
12107
12108 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12109 when it is used.
12110
286abc3d
CM
121112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12112
12113 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12114
477cc68e
L
121152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12116
12117 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12118 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12119
1a0994f5
CD
121202012-05-17 Andreas Jaeger <aj@suse.de>
12121 Carlos O'Donell <carlos_odonell@mentor.com>
12122
12123 [BZ #14059]
12124 * sysdeps/x86_64/multiarch/init-arch.h
12125 (bit_YMM_Usable): Rename to...
12126 (bit_AVX_Usable): ... this.
12127 (bit_FMA4_Usable): New macro.
12128 (bit_XMM_state): New macro.
12129 (bit_YMM_state): New macro.
12130 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12131 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12132 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12133 (CPUID_OSXSAVE): New macro.
12134 (CPUID_AVX): New macro.
12135 (CPUID_FMA4): New macro.
12136 (index_YMM_Usable): Rename to...
12137 (index_AVX_Usable): ... this.
12138 (HAS_AVX): Use HAS_ARCH_FEATURE.
12139 (HAS_FMA4): Likewise.
12140 (HAS_YMM_USABLE): Remove.
12141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12142 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12143 are present.
12144 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12145 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12146 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12147 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12148 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12149
0af797de
CM
121502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12151
12152 * math/libm-test.c: Support platforms without multiple rounding modes.
12153 * math/bug-nextafter.c: Support platforms without FP exceptions.
12154 * math/bug-nexttoward.c: Likewise.
12155 * math/test-fenv.c: Likewise.
12156 * math/test-misc.c: Likewise.
12157 * stdlib/bug-getcontext.c: Likewise.
12158
e39745ff
AJ
121592012-05-17 Andreas Jaeger <aj@suse.de>
12160
12161 * manual/examples/search.c (critter_cmp): Change signature to
12162 avoid warnings.
12163 * manual/string.texi (Collation Functions): Likewise.
12164
48970aba
L
121652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12166
12167 * bits/types.h: Fold copyright years.
12168 * bits/typesizes.h: Likewise.
12169 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12173 * time/time.h: Likewise.
12174
bedee953
PP
121752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12176
12177 [BZ #208]
12178 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12179 in instead of returning them. Return void.
12180 (__libc_mallinfo): Accumulate over all arenas.
12181 (__malloc_stats): Adjust for change in int_mallinfo interface.
12182
61653dfb
RM
121832012-05-16 Roland McGrath <roland@hack.frob.com>
12184
30b99d79
RM
12185 [BZ #10375]
12186 * configure.in (NM): Add AC_CHECK_TOOL for it.
12187 (libc_extra_cflags): New substituted variable.
12188 Check for -fstack-protector being used implicitly.
12189 * configure: Regenerated.
12190 * config.make.in (config-extra-cflags): New variable,
12191 gets @libc_extra_cflags@.
12192 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12193
61653dfb
RM
12194 [BZ #10375]
12195 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12196 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12197 * configure: Regenerated.
12198 * config.make.in (CPPUNDEFS): New substituted variable.
12199 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12200 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12201 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12202
661768bb
L
122032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12204
12205 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12206 (mq_attr): Use __syscall_slong_t.
12207
d4261567
L
122082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12209
12210 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12211 Check __x86_64__ instead of __WORDSIZE.
12212 (_STAT_VER_LINUX): Likewise.
12213 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12214 __syscall_ulong_t and __syscall_slong_t.
12215 (stat64): Likewise.
12216
cf3ff365
L
122172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12218
12219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12220
76cf3e4d
L
122212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12224
a637753a
L
122252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12226
12227 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12228 __syscall_ulong_t.
12229
d5e05119
L
12230 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12231 include <bits/wordsize.h>. Check __x86_64__ instead of
12232 __WORDSIZE.
12233 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12234 defined.
12235 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12236
f62ee380
L
12237 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12238 include <bits/wordsize.h>. Check __x86_64__ instead of
12239 __WORDSIZE.
12240 (user_regs_struct): Use "__extension__ unsigned long long"
12241 instead of "unsigned long" if __x86_64__ is defined.
12242 (user): Likewise. Pad after pointer field if __ILP32__ is
12243 defined.
12244
4e124ced
JM
122452012-05-16 Joseph Myers <joseph@codesourcery.com>
12246
6a3951a0
JM
12247 * configure.in (makeinfo): Require version 4.5 or later. Allow
12248 versions 5 to 9.
12249 * configure: Regenerated.
12250 * manual/install.texi (texinfo): Increase version requirement to
12251 4.5 or later.
12252 * INSTALL: Regenerated.
12253
4e124ced
JM
12254 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12255
953ca31a
L
122562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12257
12258 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12259
617aca05
L
12260 * sysdeps/x86_64/x32/ffs.c: New file.
12261
5762f7ae
L
12262 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12263 __syscall_ulong_t.
12264 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12265 defined. Use __syscall_ulong_t.
12266 (shminfo): Use __syscall_ulong_t.
12267 (shm_info): Likewise.
12268
a26b6856
L
12269 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12270 __syscall_ulong_t.
12271
cb2b9ef7
L
12272 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12273 <bits/wordsize.h>.
12274 (msgqnum_t): Use __syscall_ulong_t.
12275 (msglen_t): Likewise.
12276 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12277 __syscall_ulong_t.
12278
34683bb0
L
12279 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12280 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12281
84a68786
L
12282 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12283
48baa5f1
L
12284 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12285 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12286
180be88b
L
12287 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12288 __syscall_slong_t.
12289
5e90c8ad
L
12290 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12291 include <bits/wordsize.h>. Check __x86_64__ instead of
12292 __WORDSIZE.
12293
23dfb58b
L
12294 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12295 "unsigned long long int" if __x86_64__ is defined.
12296 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12297
ce5d54b0
L
12298 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12299 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12300 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12301
13dc9eac
L
12302 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12303 <stdint.h>.
12304 (GET_PC): Cast to uintptr_t first.
12305 (GET_FRAME): Likewise.
12306 (GET_STACK): Likewise.
12307
a7895d15
L
12308 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12309 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12311 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12312 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12313 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12314 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12316 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12317 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12318 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12319 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12320 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12322 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12323 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12324 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12325 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12326 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12327 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12328 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12330 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12332 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12333 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12334 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12335 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12336 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12337
656416c9
AS
123382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12339
5bd66283
AS
12340 * Makerules (+depfiles): Also collect depfiles from .oS in
12341 $(extra-objs).
12342 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12343 .oS, $(libnldbl-routines)).
12344
656416c9
AS
12345 * Makerules (native-compile-mkdep-flags): Define.
12346 * sunrpc/Makefile (extra-objs): Add $(addprefix
12347 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12348 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12349 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12350 calling $(make-target-directory).
12351
a46f2169
L
123522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12353
12354 * bits/types.h (__snseconds_t): Removed.
12355 * time/time.h (struct timespec): Replace __snseconds_t with
12356 __syscall_slong_t.
12357 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12358 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12359 Likewise.
12360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12361 (__SNSECONDS_T_TYPE): Likewise.
12362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12363 (__SNSECONDS_T_TYPE): Likewise.
12364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12365 (__SNSECONDS_T_TYPE): Likewise.
12366
6af6528b
L
123672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 * sysdeps/mach/hurd/bits/typesizes.h
12370 (__SYSCALL_SLONG_TYPE): New macro.
12371 (__SYSCALL_ULONG_TYPE): Likewise.
12372
de986b56
L
123732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12374
12375 * bits/types.h (__syscall_slong_t): New type.
12376 (__syscall_ulong_t): Likewise.
12377
12378 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12379 (__SYSCALL_ULONG_TYPE): Likewise.
12380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12381 (__SYSCALL_SLONG_TYPE): Likewise.
12382 (__SYSCALL_ULONG_TYPE): Likewise.
12383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12384 (__SYSCALL_SLONG_TYPE): Likewise.
12385 (__SYSCALL_ULONG_TYPE): Likewise.
12386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12387 (__SYSCALL_SLONG_TYPE): Likewise.
12388 (__SYSCALL_ULONG_TYPE): Likewise.
12389
85736dc7
L
123902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12391
12392 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12393 Add sigaltstack-offsets.sym.
12394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12395 <sigaltstack-offsets.h>.
12396 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12397 longjmp_msg pointer.
12398 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12399 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12400 signal stack.
12401 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12402
cc03b296
JM
124032012-05-15 Joseph Myers <joseph@codesourcery.com>
12404
a9538892
JM
12405 * elf/stackguard-macros.h: Remove file.
12406 * sysdeps/generic/stackguard-macros.h: New file.
12407 * sysdeps/i386/stackguard-macros.h: Likewise.
12408 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12409 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12410 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12411 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12412 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12413 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12414 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12415 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12416 <elf/stackguard-macros.h>.
12417
cc03b296
JM
12418 [BZ #14109]
12419 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12420 __aligned__ in attribute.
12421 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12422 (gregset_t): Likewise.
12423
93171016
L
124242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12425
12426 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12427 * sysdeps/x86_64/64/Implies-after: Here. New file.
12428 * sysdeps/x86_64/x32/Implies-after: New file.
12429
d86813a0
L
124302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12431
12432 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12433 and access return value for _dl_profile_fixup. Use R10_LP to
12434 load frame size.
12435
2953ec75
L
124362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12437
12438 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12439
3b550e9e
L
124402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12441
12442 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12443 * sysdeps/x86_64/x32/sysdep.h: New file.
12444
eda41706
L
124452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12448 * sysdeps/x86_64/setjmp.S: Likewise.
12449
9ea01d93
AZ
124502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12451
12452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12453 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12454 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12455 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12456 remove unused global constant.
12457
02a91938
CM
124582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12459
12460 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12461 include of <not-cancel.h>.
12462
6540185f
RM
124632012-05-15 Roland McGrath <roland@hack.frob.com>
12464
12465 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12466
509072a0
AJ
124672012-05-15 Jeff Law <law@redhat.com>
12468 Andreas Jaeger <aj@suse.de>
12469
12470 [BZ #13594]
12471 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12472 out from...
12473 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12474 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12475 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12476 code changing __hst_map_handle.map.
12477
ba75122d
RM
124782012-05-15 Roland McGrath <roland@hack.frob.com>
12479
12480 * configure.in (sysnames): Look for Implies-before and Implies-after
12481 files.
12482 * configure: Regenerated.
12483
890d8bd8
L
124842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12487 8-byte data alignment with LP_SIZE alignment.
12488
f6ee6623
L
124892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12490
12491 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12492 into R10_LP.
12493
ea2626f6
L
124942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12495
12496 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12497
085f715e
L
124982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12499
12500 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12501 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12502 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12503 Likewise.
12504 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12505
be8498fc
L
125062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12507
12508 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12509 (stackinfo_sub_sp): Likewise.
12510
70bc83b9
L
125112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12512
12513 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12514 RAX_LP.
12515
9bc0b730
L
125162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12517
12518 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12519 into R*_LP.
12520
6d2850e7
L
125212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12522
12523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12524 sizes into R*_LP.
12525
3cb84561
L
125262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12527
12528 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12529
54e2ed81
L
125302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12533 into R11_LP and load __x86_64_shared_cache_size_half into
12534 R8_LP.
12535
8a17f349
L
125362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12537
12538 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12539 R8_LP.
12540
777b1eea
AZ
125412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12542
12543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12544 logb for POWER7.
12545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12546 logbf for POWER7.
12547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12548 logbl for POWER7.
12549 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12550 powerpc32/power7/fpu/s_logb.c via #include.
12551 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12552 powerpc32/power7/fpu/s_logbf.c via #include.
12553 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12554 powerpc32/power7/fpu/s_logbl.c via #include.
12555
d20d4ac2
JM
125562012-05-15 Joseph Myers <joseph@codesourcery.com>
12557
12558 * README.libm: Remove file.
12559
6cdef1ab
L
125602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12561
12562 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12563 count for x32. Use R*_LP and omit operand-size suffix.
12564
0b254d8f
L
125652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12566
12567 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12568 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12569 * sysdeps/x86_64/x32/shlib-versions: New file.
12570
ceb809dc
RM
125712012-05-14 Roland McGrath <roland@hack.frob.com>
12572
12573 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12574 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12575 Use _dl_fatal_printf instead.
12576
37f1abd4
JM
125772012-05-14 Joseph Myers <joseph@codesourcery.com>
12578
12579 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12580 set if not set by the user. Do not allow for being unset.
12581 * sysdeps/unix/sysv/linux/configure: Regenerated.
12582
11de3a33
L
125832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12584
12585 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12586 the `q' suffix from lea and replace .quad with ASM_ADDR.
12587
e02f153a
L
125882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12591 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12592 instead of $17.
12593 (PTR_DEMANGLE): Likewise.
12594
520ae0fd
L
125952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12596
12597 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12598 (LP_OP): Likewise.
12599 (ASM_ADDR): Likewise.
12600 (RAX_LP): Likewise.
12601 (RBP_LP): Likewise.
12602 (RBX_LP): Likewise.
12603 (RCX_LP): Likewise.
12604 (RDI_LP): Likewise.
12605 (RSI_LP): Likewise.
12606 (RSP_LP): Likewise.
12607 (R8_LP): Likewise.
12608 (R9_LP): Likewise.
12609 (R10_LP): Likewise.
12610 (R10_LP): Likewise.
12611 (R11_LP): Likewise.
12612 (R12_LP): Likewise.
12613 (R13_LP): Likewise.
12614 (R14_LP): Likewise.
12615 (R15_LP): Likewise.
12616
b985be81
L
126172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12618
12619 * sysdeps/x86_64/x32/dl-machine.h: New file.
12620
6a4888ff
AJ
126212012-05-14 Andreas Jaeger <aj@suse.de>
12622
12623 * manual/Makefile (subdir): Remove export of subdir.
12624 (all): Remove target.
12625 (.PHONY): Remove all from list.
12626 (mkinstalldirs): Remove.
12627 (.PHONY): Remove installdirs from list.
12628 ($(inst_infodir)/libc.info): Use make-target-directory.
12629 (installdirs): Remove.
12630 (subdir_%): Remove.
12631 (glibc-targets): Remove.
12632 (lib): Remove.
12633 (stubs): Remove.
12634 ($(objpfx)stubs ../po/manual.pot): Remove.
12635 ($(objpfx)stamp%): Remove.
12636 (make-target-directory): Remove.
12637 (subdir_install): Remove.
12638 (routines): Remove.
12639 (aux): Remove.
12640 (sources): Remove.
12641 (objects): Remove.
12642 (headers): Remove.
12643
12644 [BZ #13750]
12645 * manual/.gitignore: Remove, it's not needed anymore.
12646 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12647 all files in it.
12648 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12649 directory.
12650 (texis): Renamed to $(objpfx)texis.
12651 (texis-path): New, contains path to generated files.
12652 (chapters.%): Use texis-path for complete path, add extra argument
12653 libc-texinfo.sh.
12654 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12655 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12656 (summary,texi, stamp-summary): Use complete path of
12657 files. Generate files in build dir.
12658 (dir-add.texi): Build in build dir.
12659 (libm-err.texi,stamp-libm-err): Likewise.
12660 (version.texi, stamp-version): Likewise.
12661 (.%c.texi): Likewise.
12662 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12663 (mostlyclean): Remove target.
12664 (realclean): Remove target.
12665 (generated): Add new variable with contents from mostlyclean and
12666 realclean, remove entries duplicated in common-mostlyclean, add
12667 stamp-libm-err and stamp-version.
12668 (generated-dirs): Add libc directory.
12669 ($(inst_infodir)/libc.info): Install files from build dir.
12670
12671 * manual/install.texi (Configuring and compiling): Adjust since
12672 the info files are not part of the tar ball anymore.
12673
7ac77294
AJ
126742012-05-14 Andreas Jaeger <aj@suse.de>
12675
12676 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12677 variable.
12678
ffb7875d
JM
126792012-05-14 Joseph Myers <joseph@codesourcery.com>
12680
12681 [BZ #13717]
12682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12683 to 2.2.0 where earlier.
12684 * sysdeps/unix/sysv/linux/configure: Regenerated.
12685 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12686 Remove conditional code.
12687 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12688 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12689 Remove conditional code.
12690 [!__NR_lchown]: Likewise.
12691 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12692 [__NR_lchown]: Likewise.
12693 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12694 comment referencing __ASSUME_LCHOWN_SYSCALL.
12695 * sysdeps/unix/sysv/linux/i386/sigaction.c
12696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12698 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12699 Remove conditional code.
12700 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12701 (__protocol_available): Remove #if 0 code.
12702 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12703 conditional code.
12704 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12705 * sysdeps/unix/sysv/linux/kernel-features.h
12706 (__ASSUME_GETCWD_SYSCALL): Don't define.
12707 (__ASSUME_REALTIME_SIGNALS): Likewise.
12708 (__ASSUME_PREAD_SYSCALL): Likewise.
12709 (__ASSUME_PWRITE_SYSCALL): Likewise.
12710 (__ASSUME_POLL_SYSCALL): Likewise.
12711 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12712 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12713 non-SPARC.
12714 (__ASSUME_SIOCGIFNAME): Don't define.
12715 (__ASSUME_MSG_NOSIGNAL): Likewise.
12716 (__ASSUME_SENDFILE): Define unconditionally.
12717 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12718 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12719 conditional code.
12720 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12721 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12722 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12723 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12724 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12725 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12726 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12731 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12737 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12743 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12744 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12749 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12751 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12752 Remove conditional code.
12753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12754 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12755 Remove conditional code.
12756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12757 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12758 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12759 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12760 Remove conditional code.
12761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12762 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12763 Remove conditional code.
12764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12765 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12766 Remove conditional code.
12767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12768 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12769 Remove conditional code.
12770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12771 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12772 Remove conditional code.
12773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12774 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12777 * sysdeps/unix/sysv/linux/sigaction.c
12778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12780 * sysdeps/unix/sysv/linux/sigpending.c
12781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12783 * sysdeps/unix/sysv/linux/sigprocmask.c
12784 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12785 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12786 * sysdeps/unix/sysv/linux/sigsuspend.c
12787 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12788 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12789 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12790 (__libc_missing_rt_sigs): Remove.
12791 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12792 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12793 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12794 Remove conditional code.
12795 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12796 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12797 return 1.
12798 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12799 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12800 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12801 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12802
1bfb7291
AJ
128032012-05-14 Andreas Jaeger <aj@suse.de>
12804
caae5a81
AJ
12805 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12806 it's not used in glibc.
12807 (__coshm1): Likewise.
12808 (__acosh1p): Likewise.
12809 (__sgn): Likewise.
12810
1bfb7291
AJ
12811 * manual/string.texi (Copying and Concatenation): Add missing
12812 variable in concat example.
12813 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12814
c044d724
L
128152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12816
144c5467 12817 [BZ #14103]
c044d724
L
12818 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12819 __builtin_clzl with __builtin_clzll.
12820
2523c62b
L
128212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12822
12823 [BZ #14104]
12824 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12825 libc_freeres_ptr.
12826
d7bb4c42
LD
128272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12828
12829 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12830 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12831 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12832 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12833
9dc4e1fb
MF
128342012-05-14 Mike Frysinger <vapier@gentoo.org>
12835
12836 * NEWS: Update ia64 info.
12837
c7df0112
AS
128382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12839
12840 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12841 used as bcopy.
12842
dc70356c
TS
128432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12844
12845 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12846 * sysdeps/unix/syscalls.list (dup3): Likewise.
12847 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12848 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12849
9fb1a21f
L
128502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12851
12852 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12853 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12854
4822a2a5
L
128552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12856
12857 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12858 thread pointer.
12859 (TLS_IE): Use mov/add instead of movq/addq to load thread
12860 pointer.
12861 (TLS_GD_PREFIX): New.
12862 (TLS_GD): Use it.
12863
842b81d6
DM
128642012-05-11 David S. Miller <davem@davemloft.net>
12865
12866 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12867 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12868 (_FPU_SETCW): Likewise.
12869
1cf463cd
L
128702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12871
12872 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12873 is 32-byte aligned.
12874
60cc4a18
AS
128752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12876
12877 [BZ #11837]
12878 * iconvdata/gb18030.c: Update tables.
12879 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12880 characters specially.
12881 (BODY for TO_LOOP): Add encoding of missing ranges.
12882
febb44a4
TS
128832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12884
12885 [BZ #13673]
12886 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12887 * sysdeps/mach/hurd/dup3.c: Likewise.
12888 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12889 * sysdeps/powerpc/memmove.c:: Likewise.
12890
0a10fb9e
L
128912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12892
12893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12894 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12895
df8a552f
L
128962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12897
12898 * elf/elf.h (R_X86_64_RELATIVE64): New.
12899 (R_X86_64_NUM): Updated.
12900 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12901 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12902 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12903 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12904 tst-quad1pie tst-quad2pie
12905 (modules-names): Add tst-quadmod1 tst-quadmod2.
12906 ($(objpfx)tst-quad1): New dependency.
12907 ($(objpfx)tst-quad2): Likewise.
12908 ($(objpfx)tst-quad1pie): Likewise.
12909 ($(objpfx)tst-quad2pie): Likewise.
12910 * sysdeps/x86_64/tst-quad1.c: New file.
12911 * sysdeps/x86_64/tst-quad1pie.c: New file.
12912 * sysdeps/x86_64/tst-quad2.c: Likewise.
12913 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12914 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12915 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12916 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12917 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12918
f34d6f84
ST
129192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12920
f42d41d1
ST
12921 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12922 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12923 * streams/stropts.h (t_scalar_t): Define type.
12924
3c3571fc
ST
12925 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12926 (_PATH_PRESERVE): Set to "/var/lib".
12927 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12928
61f06bd3
ST
12929 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12930 instead of int.
12931
918d4d71
ST
12932 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12933 if __dir_mkfile succeeded.
12934
f34d6f84
ST
12935 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12936 checking for _hurd_dtablesize. Unlock it right after having
12937 finished _hurd_dtable allocation.
12938
10589b4a
TS
129392012-05-10 Thomas Schwinge <thomas@schwinge.name>
12940
674cdbc7
TS
12941 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12942 * sysdeps/mach/hurd/configure: Regenerated.
12943 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12944 special-casing to...
12945 * sysdeps/gnu/configure.in: ... this new file.
12946 * sysdeps/unix/sysv/linux/configure: Regenerated.
12947 * sysdeps/gnu/configure: New generated file.
12948
8e41b99f
TS
12949 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12950 for Linux: use nsec instead of usec, as well as:
12951 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12952 members of type struct timespec.
12953 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12954 New macros.
12955 (struct stat64): Likewise.
12956 (_STATBUF_ST_NSEC): New macro.
12957 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12958
10589b4a
TS
12959 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12960 __strtoul_internal rather than strtoul.
12961
63643c85
PT
129622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12963
12964 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12965 and reject them.
12966
3faebe6a
ST
129672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12968
12969 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12970 which preserves existing values.
12971 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12972
c6474b07
PT
129732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12974
12975 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12976 TIMEOUT values. Return EINVAL for NFDS values either negative or
12977 greater than FD_SETSIZE.
12978
1043890b
ST
129792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12980
12981 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12982 allocated, call __vm_protect to finish enabling the existing space, and
12983 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12984 allocate the remainder.
12985
37ed8b9b
PT
129862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12987
12988 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12989 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12990
db653660
ST
129912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12992
37ed8b9b
PT
12993 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12994 sysdeps/mach/hurd/readlink.c.
b29d4053 12995
db653660
ST
12996 * posix/tst-sysconf.c (posix_options): Only use
12997 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12998 _POSIX_SYNCHRONIZED_IO when they are defined
12999 * sysdeps/mach/hurd/bits/posix_opt.h:
13000 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13001 (_XOPEN_REALTIME): Undefine macro.
13002 (_XOPEN_REALTIME_THREADS): Undefine macro.
13003 (_XOPEN_SHM): Undefine macro.
13004 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13005 macro to -1.
13006 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13007 macro to -1.
13008 (_POSIX_ASYNC_IO): Undefine macro.
13009 (_POSIX_PRIORITIZED_IO): Undefine macro.
13010 (_POSIX_SPIN_LOCKS): Define macro to -1.
13011
ee16e894
ST
13012 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13013 SA_NODEFER, SA_RESETHAND.
13014 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13015 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13016 F_DUPFD_CLOEXEC.
13017
6103ae3b
TS
130182012-05-10 Thomas Schwinge <thomas@schwinge.name>
13019
13020 * elf/Makefile (pldd-modules): Define unconditionally.
13021
80b4e5f3
TS
130222012-05-10 Thomas Schwinge <thomas@schwinge.name>
13023
13024 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13025
edadcbd6
ST
130262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13027
13028 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13029 Return ENOENT when name is empty.
13030 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13031
80694780
TS
130322012-05-10 Thomas Schwinge <thomas@schwinge.name>
13033
1792c087
TS
13034 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13035
80694780
TS
13036 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13037
6b645f0d
ST
130382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13039
80694780
TS
13040 Fix mlock in all cases except non-readable pages.
13041 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13042 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13043
6b645f0d
ST
13044 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13045 (__mkdir): When path is `/', just fail with EEXIST.
13046 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13047
e468f8a3
TS
130482012-05-10 Thomas Schwinge <thomas@schwinge.name>
13049
13050 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13051 <sys/uio.h> (for writev).
13052 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13053 and <sys/param.h> (for MIN).
13054
a4186cff
PT
130552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13056
13057 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13058 REQUESTED_TIME. Properly set the remaining time and return EINTR
13059 if interrupted.
13060
510bbf14
TS
130612012-05-10 Thomas Schwinge <thomas@schwinge.name>
13062
13063 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13064 Depend on against $(link-rpcuserlibs).
13065
5d5722e8
ST
130662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13067
a4186cff
PT
13068 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13069 (__libc_stack_end): Do not use attribute_relro.
13070 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13071 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13072 to libthread-provided value.
a4186cff
PT
13073 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13074 attribute_relro.
5d5722e8 13075
37233df9
TS
130762012-05-10 Thomas Schwinge <thomas@schwinge.name>
13077
be971a2b
TS
13078 [BZ #3748]
13079 * bits/libc-lock.h (__libc_once_get): New macro.
13080 * sysdeps/mach/bits/libc-lock.h: Likewise.
13081 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13083 instead of using implementation details.
13084
37233df9
TS
13085 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13086 * libio/freopen.c: Likewise.
13087 * libio/freopen64.c: Likewise.
13088 * misc/syslog.c: Likewise.
13089 * nscd/connections.c: Likewise.
13090 * nscd/netgroupcache.c: Likewise.
13091 * sysdeps/posix/getcwd.c: Likewise.
13092
38de94a5
RM
130932012-05-10 Roland McGrath <roland@hack.frob.com>
13094
13095 * math/w_ilogbf.c: Add #include <limits.h>.
13096
67530489
ST
130972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13098
a4186cff 13099 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13100 path instead of returning without unlocking.
13101
67530489
ST
13102 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13103 immediate-write ioctls.
13104 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13105
5aa3a74a
TS
131062012-05-10 Thomas Schwinge <thomas@schwinge.name>
13107
18bad2ae
TS
13108 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13109 __builtin_frame_address instead of making assumptions about the
13110 location of the return address relative to DATA. Force early load of
13111 the return address.
13112 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13113 __builtin_frame_address.
13114
5aa3a74a
TS
13115 dup3 for GNU Hurd.
13116 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13117 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13118 implement dup3 and do some further code clean-ups.
13119 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13120 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13121
ecd0de9a
ST
131222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13123
cd9fa985
ST
13124 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13125
a4186cff
PT
13126 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13127 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13128 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13129 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13130 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13131 d->port.lock.
802ca5a5 13132
a4186cff
PT
13133 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13134 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13135 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13136
bcf55240
TS
131372012-05-10 Thomas Schwinge <thomas@schwinge.name>
13138
6960eb42
TS
13139 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13140 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13141 definitions.
13142
eb43375f
TS
13143 accept4 for GNU Hurd.
13144 * include/sys/socket.h (__libc_accept4): New prototype.
13145 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13146 to implement __libc_accept4.
13147 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13148 __libc_accept4.
13149 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13150
bcf55240
TS
13151 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13152 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13153 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13154 signal-defines.sym.
13155
6178c55b
ST
131562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13157
a4186cff 13158 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13159
6f080c2f
TS
131602012-05-10 Thomas Schwinge <thomas@schwinge.name>
13161
13162 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13163 assertion on O_CLOEXEC flag.
13164 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13165 * hurd/intern-fd.c: Likewise.
13166 * hurd/port2fd.c: Likewise.
13167
bcfe3a54
ST
131682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13169
13170 [BZ #3906]
13171 * bits/in.h (IPV6_PKTINFO): Define new macro.
13172 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13173
89c9aa49
AZ
131742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13175
13176 [BZ #13954]
13177 [BZ #13955]
13178 [BZ #13956]
13179 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13180 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13181 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13182 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13184 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13185 * math/libm-test.inc (logb_test) : Additional logb tests.
13186
021db4be
AJ
131872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13188 Andreas Jaeger <aj@suse.de>
13189
13190 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13191 * configure: Regenerated.
13192 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13193 * config.make.in (link-obsolete-rpc): New substituted variable.
13194 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13195 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13196 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13197 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13198 so that libc.a contains the symbols.
13199 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13200 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13201 * sunrpc/auth_none.c: Likewise.
13202 * sunrpc/auth_unix.c: Likewise.
13203 * sunrpc/authdes_prot.c: Likewise.
13204 * sunrpc/authuxprot.c: Likewise.
13205 * sunrpc/clnt_gen.c: Likewise.
13206 * sunrpc/clnt_perr.c: Likewise.
13207 * sunrpc/clnt_raw.c: Likewise.
13208 * sunrpc/clnt_simp.c: Likewise.
13209 * sunrpc/clnt_tcp.c: Likewise.
13210 * sunrpc/clnt_udp.c: Likewise.
13211 * sunrpc/clnt_unix.c: Likewise.
13212 * sunrpc/des_crypt.c: Likewise.
13213 * sunrpc/des_soft.c: Likewise.
13214 * sunrpc/get_myaddr.c: Likewise.
13215 * sunrpc/key_call.c: Likewise.
13216 * sunrpc/key_prot.c: Likewise.
13217 * sunrpc/netname.c: Likewise.
13218 * sunrpc/pm_getmaps.c: Likewise.
13219 * sunrpc/pm_getport.c: Likewise.
13220 * sunrpc/pmap_clnt.c: Likewise.
13221 * sunrpc/pmap_prot.c: Likewise.
13222 * sunrpc/pmap_prot2.c: Likewise.
13223 * sunrpc/pmap_rmt.c: Likewise.
13224 * sunrpc/publickey.c: Likewise.
13225 * sunrpc/rpc_cmsg.c: Likewise.
13226 * sunrpc/rpc_common.c: Likewise.
13227 * sunrpc/rpc_dtable.c: Likewise.
13228 * sunrpc/rpc_prot.c: Likewise.
13229 * sunrpc/rpc_thread.c: Likewise.
13230 * sunrpc/rtime.c: Likewise.
13231 * sunrpc/svc.c: Likewise.
13232 * sunrpc/svc_auth.c: Likewise.
13233 * sunrpc/svc_raw.c: Likewise.
13234 * sunrpc/svc_run.c: Likewise.
13235 * sunrpc/svc_tcp.c: Likewise.
13236 * sunrpc/svc_udp.c: Likewise.
13237 * sunrpc/svc_unix.c: Likewise.
13238 * sunrpc/svcauth_des.c: Likewise.
13239 * sunrpc/xcrypt.c: Likewise.
13240 * sunrpc/xdr.c: Likewise.
13241 * sunrpc/xdr_array.c: Likewise.
13242 * sunrpc/xdr_float.c: Likewise.
13243 * sunrpc/xdr_intXX_t.c: Likewise.
13244 * sunrpc/xdr_mem.c: Likewise.
13245 * sunrpc/xdr_rec.c: Likewise.
13246 * sunrpc/xdr_ref.c: Likewise.
13247 * sunrpc/xdr_sizeof.c: Likewise.
13248 * sunrpc/xdr_stdio.c: Likewise.
13249
b5c086a2
RM
132502012-05-10 Roland McGrath <roland@hack.frob.com>
13251
13252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13253 change. Update copyright years.
13254
6d74dd09
JM
132552012-05-10 Joseph Myers <joseph@codesourcery.com>
13256
13257 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13258
28e72501
MK
132592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13260 Joseph Myers <joseph@codesourcery.com>
13261 Paul Pluzhnikov <ppluzhnikov@google.com>
13262
13263 [BZ #14012]
13264 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13265 requiring rpcgen.
13266 [cross-compiling] (extra-libs): Likewise.
13267 [cross-compiling] (extra-libs-others): Likewise.
13268 [cross-compiling] (librpcsvc-routines): Likewise.
13269 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13270 [cross-compiling] (omit-deps): Likewise.
13271 (sunrpc-CPPFLAGS): New variable.
13272 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13273 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13274 (cross-rpcgen-objs): New variable.
13275 (extra-objs): Append $(cross-rpcgen-objs).
13276 ($(cross-rpcgen-objs)): New rule.
13277 ($(objpfx)cross-rpcgen): Likewise.
13278 (rpcgen-cmd): Define to use $(built-program-file). Expand
13279 comment.
13280 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13281 ($(objpfx)x%.stmp): Likewise.
13282 * sunrpc/proto.h [IS_IN_build] (_): Define.
13283 [IS_IN_build] (_libc_intl_domainname): Likewise.
13284
c8c59454
L
132852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13286
13287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13288 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13289 and R_X86_64_TPOFF64.
13290
6f27cd16
JM
132912012-05-10 Joseph Myers <joseph@codesourcery.com>
13292
13293 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13294 sysdeps/unix/sysv/syscalls.list.
13295 (stime): Likewise.
13296 (utime): Likewise.
13297 * sysdeps/unix/sysv/syscalls.list: Remove file.
13298
02467e1c
PE
132992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13300
13301 [BZ #3440]
13302 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13303 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13304 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13305 (__LC_IDENTIFICATION): Make these macros useful in #if
13306 expressions, as required by C99.
13307
da392631
AS
133082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13309
13310 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13311 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13312 after this.
13313
8115f29b
L
133142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13315
13316 * stdlib/longlong.h: Updated from GCC.
13317
bdd74070
AJ
133182012-05-09 Andreas Jaeger <aj@suse.de>
13319
edfe0dbe
AJ
13320 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13321 default is first entry.
13322 (run_mode): Set type.
13323 (main): Remove informal message about syslog.
13324 (options): Fix typo.
13325
bcfe3a54
ST
13326 [BZ #14053]
13327 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13328 to asm.
bcfe3a54
ST
13329 (lrint): Likewise.
13330 (llrintf): Likewise.
13331 (llrint): Likewise.
13332 (rint): Likewise.
13333 (rintf): Likewise.
13334 (nearbyint): Likewise.
13335 (nearbyintf): Likewise.
bdd74070 13336
91d8d69e
AJ
133372012-05-09 Andreas Jaeger <aj@suse.de>
13338 Pedro Alves <palves@redhat.com>
13339
13340 * nscd/nscd.c (run_mode): Use enum.
13341 (main): Cleanup coding style issue.
13342
bb90b80b
AJ
133432012-05-09 Alexandre Oliva <aoliva@redhat.com>
13344 Andreas Jaeger <aj@suse.de>
13345
bcfe3a54
ST
13346 * nscd/nscd.c (go_background): Replaced with...
13347 (run_mode): ... this.
bb90b80b 13348 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13349 (options): Add -F --foreground.
13350 (main): Implement it.
13351 (parse_opt): Parse it.
bb90b80b 13352
1a4b75a1
AJ
133532012-05-09 Andreas Jaeger <aj@suse.de>
13354
13355 [BZ #14083]
13356 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13357 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13358 -Wconversion warning.
13359 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13360 Likewise.
13361
b1cc2472
JM
133622012-05-09 Joseph Myers <joseph@codesourcery.com>
13363
13364 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13365 == 0.
13366 (LC_ALL): Use macro-int-constant.
13367 (LC_COLLATE): Likewise.
13368 (LC_CTYPE): Likewise.
13369 (LC_MESSAGES): Likewise.
13370 (LC_MONETARY): Likewise.
13371 (LC_NUMERIC): Likewise.
13372 (LC_TIME): Likewise.
13373 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13374 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13376 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13377 Specify type.
13378 [C99-based standards] (float_t): Expect type.
13379 [C99-based standards] (double_t): Expect type.
13380 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13381 type.
13382 [C99-based standards] (HUGE_VALL): Likewise.
13383 [C99-based standards] (INFINITY): Likewise.
13384 [C99-based standards] (NAN): Likewise.
13385 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13386 [C99-based standards] (FP_NAN): Likewise.
13387 [C99-based standards] (FP_NORMAL): Likewise.
13388 [C99-based standards] (FP_SUBNORMAL): Likewise.
13389 [C99-based standards] (FP_ZERO): Likewise.
13390 [C99-based standards] (FP_FAST_FMA): Use
13391 optional-macro-int-constant. Specify type. Require == 1.
13392 [C99-based standards] (FP_FAST_FMAF): Likewise.
13393 [C99-based standards] (FP_FAST_FMAL): Likewise.
13394 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13395 [C99-based standards] (FP_ILOGBNAN): Likewise.
13396 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13397 Specify type.
13398 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13399 [C99-based standards] (math_errhandling): Specify type.
13400 [ISO99 || ISO11] (signgam): Do not allow.
13401 [non-C99-based standards] (copysignf): Do not allow.
13402 [non-C99-based standards] (exp2f): Likewise.
13403 [non-C99-based standards] (log2f): Likewise.
13404 [non-C99-based standards] (modff): Allow.
13405 [non-C99-based standards] (erff): Do not allow.
13406 [non-C99-based standards] (erfcf): Likewise.
13407 [non-C99-based standards] (gammaf): Likewise.
13408 [non-C99-based standards] (hypotf): Likewise.
13409 [non-C99-based standards] (j0f): Likewise.
13410 [non-C99-based standards] (j1f): Likewise.
13411 [non-C99-based standards] (jnf): Likewise.
13412 [non-C99-based standards] (lgammaf): Likewise.
13413 [non-C99-based standards] (tgammaf): Likewise.
13414 [non-C99-based standards] (y0f): Likewise.
13415 [non-C99-based standards] (y1f): Likewise.
13416 [non-C99-based standards] (ynf): Likewise.
13417 [non-C99-based standards] (isnanf): Likewise.
13418 [non-C99-based standards] (acoshf): Likewise.
13419 [non-C99-based standards] (asinhf): Likewise.
13420 [non-C99-based standards] (atanhf): Likewise.
13421 [non-C99-based standards] (cbrtf): Likewise.
13422 [non-C99-based standards] (expm1f): Likewise.
13423 [non-C99-based standards] (ilogbf): Likewise.
13424 [non-C99-based standards] (log1pf): Likewise.
13425 [non-C99-based standards] (logbf): Likewise.
13426 [non-C99-based standards] (nextafterf): Likewise.
13427 [non-C99-based standards] (remainderf): Likewise.
13428 [non-C99-based standards] (rintf): Likewise.
13429 [non-C99-based standards] (scalbf): Likewise.
13430 [non-C99-based standards] (copysignl): Likewise.
13431 [non-C99-based standards] (exp2l): Likewise.
13432 [non-C99-based standards] (log2l): Likewise.
13433 [non-C99-based standards] (modfl): Allow.
13434 [non-C99-based standards] (erfl): Do not allow.
13435 [non-C99-based standards] (erfcl): Likewise.
13436 [non-C99-based standards] (gammal): Likewise.
13437 [non-C99-based standards] (hypotl): Likewise.
13438 [non-C99-based standards] (j0l): Likewise.
13439 [non-C99-based standards] (j1l): Likewise.
13440 [non-C99-based standards] (jnl): Likewise.
13441 [non-C99-based standards] (lgammal): Likewise.
13442 [non-C99-based standards] (tgammal): Likewise.
13443 [non-C99-based standards] (y0l): Likewise.
13444 [non-C99-based standards] (y1l): Likewise.
13445 [non-C99-based standards] (ynl): Likewise.
13446 [non-C99-based standards] (isnanl): Likewise.
13447 [non-C99-based standards] (acoshl): Likewise.
13448 [non-C99-based standards] (asinhl): Likewise.
13449 [non-C99-based standards] (atanhl): Likewise.
13450 [non-C99-based standards] (cbrtl): Likewise.
13451 [non-C99-based standards] (expm1l): Likewise.
13452 [non-C99-based standards] (ilogbl): Likewise.
13453 [non-C99-based standards] (log1pl): Likewise.
13454 [non-C99-based standards] (logbl): Likewise.
13455 [non-C99-based standards] (nextafterl): Likewise.
13456 [non-C99-based standards] (remainderl): Likewise.
13457 [non-C99-based standards] (rintl): Likewise.
13458 [non-C99-based standards] (scalbl): Likewise.
13459 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13460 [non-C99-based standards] (FP_*): Do not allow.
13461 [C99-based standards] (FP_*): Change to
13462 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13463 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13464 allow.
13465 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13466 (SIG_ERR): Likewise.
13467 [X/Open-based standards] (SIG_HOLD): Likewise.
13468 (SIG_IGN): Likewise.
13469 (SIGABRT): Use macro-int-constant. Specify type. Require
13470 positive value.
13471 (SIGFPE): Likewise.
13472 (SIGILL): Likewise.
13473 (SIGINT): Likewise.
13474 (SIGSEGV): Likewise.
13475 (SIGTER): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13494 [X/Open-based standards] (SIGTRAP): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13499 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13500 allow.
13501
b9f1922d
IW
135022012-05-08 Ian Wienand <ianw@vmware.com>
13503
13504 [BZ #14080]
13505 * time/tzset.c (__tzset_parse_tz): Update default rules for
13506 daylight time changes in the Energy Policy Act of 2005.
13507
1db86e88
AJ
135082012-05-09 Andreas Jaeger <aj@suse.de>
13509
13510 [BZ #13983]
13511 * elf/ldconfig.c (parse_conf): Change string to make clear that
13512 ldconfig only issued a warning if ld.so.conf does not exist.
13513
dee4a4e3
DM
135142012-05-08 David S. Miller <davem@davemloft.net>
13515
ee0db190
DM
13516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13517 movxtod instead of popping the value on the stack.
13518
dee4a4e3
DM
13519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13520
6a43ec98
CD
135212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13522
13523 * config.h.in: Add HAVE_ARM_PCS_VFP.
13524
05c2c961
RMG
135252012-05-08 Roland Mc Grath <roland@hack.frob.com>
13526
bcfe3a54
ST
13527 [BZ #13979]
13528 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13529 checking but the checks are disabled for any reason.
05c2c961 13530
4b30f61a
L
135312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13532
13533 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13534 and ELF64_R_TYPE with ELFW(R_TYPE).
13535
eee2bc67
JM
135362012-05-08 Joseph Myers <joseph@codesourcery.com>
13537
7ea5391a
JM
13538 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13539 (ulimit): Likewise.
13540
eee2bc67
JM
13541 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13542 (settimeofday): Likewise.
13543
abb66a67
MF
135442012-05-08 Mike Frysinger <vapier@gentoo.org>
13545
13546 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13547 a struct th_u2 inside the union, and move tu_block/tu_code into
13548 a new th_u3 union of tu_block/tu_code inside of that. Move
13549 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13550 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13551 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13552 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13553 (th_stuff): Change to th_u1.tu_stuff.
13554 (th_data): Define.
13555 (th_msg): Change to th_u1.th_u2.tu_data.
13556
7f18b530
DM
135572012-05-07 David S. Miller <davem@davemloft.net>
13558
05760585
DM
13559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13560
7f18b530
DM
13561 [BZ #14074]
13562 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13563 (SETUP_PIC_REG): Use it.
13564 (SETUP_PIC_REG_LEAF): Use it.
13565
495fd99f
JM
135662012-05-07 Joseph Myers <joseph@codesourcery.com>
13567
13568 [BZ #13885]
13569 [BZ #13923]
13570 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13571 USE_AS_EXPM1L.
13572 (EXPL_FINITE): Likewise.
13573 (FLDLOG): Likewise.
13574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13575 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13576 e_expl.S.
13577 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13578 USE_AS_EXPM1L.
13579 (EXPL_FINITE): Likewise.
13580 (FLDLOG): Likewise.
13581 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13582 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13583 e_expl.S.
13584 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13585 test of -max_value argument for long double.
13586 * sysdeps/i386/fpu/libm-test-ulps: Update.
13587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13588
6693d694
DM
135892012-05-06 David S. Miller <davem@davemloft.net>
13590
13591 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13592 quad soft-float symbols whose references which are compiler
13593 generated.
13594 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13595
6c23e11c
JM
135962012-05-06 Joseph Myers <joseph@codesourcery.com>
13597
d8b82cad
JM
13598 [BZ #13884]
13599 [BZ #13914]
13600 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13601 USE_AS_EXP10L.
13602 (EXPL_FINITE): Likewise.
13603 (FLDLOG): Likewise.
13604 (c0): Likewise.
13605 (c1): Likewise.
13606 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13607 Adjust comments for base varying.
13608 (__expl_finite): Change alias to EXPL_FINITE.
13609 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13610 e_expl.S.
13611 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13612 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13613 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13614 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13615 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13616 USE_AS_EXP10L.
13617 (EXPL_FINITE): Likewise.
13618 (FLDLOG): Likewise.
13619 (c0): Likewise.
13620 (c1): Likewise.
13621 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13622 Adjust comments for base varying.
13623 (__expl_finite): Change alias to EXPL_FINITE.
13624 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13625 tests for bugs.
13626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13627
6c23e11c
JM
13628 [BZ #14064]
13629 * math/libm-test.inc (check_float_internal): Correct ulp
13630 calculation for subnormal expected results.
13631
29ba805c
AJ
136322012-05-06 Andreas Jaeger <aj@suse.de>
13633
13634 * Makeconfig (+math-flags): New, set to -frounding-math.
13635 (+cflags): Add +math-flags so that all of glibc gets compiled with
13636 it.
13637
13638 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13639
7b17aeda
JM
136402012-05-05 Joseph Myers <joseph@codesourcery.com>
13641
5779f134
JM
13642 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13643 Disable one test.
13644
41498f4d
JM
13645 [BZ #13787]
13646 [BZ #13922]
13647 [BZ #14036]
13648 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13649 (__ieee754_expl): Allow for and saturate large arguments.
13650 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13651 (u_threshold): Likewise.
13652 (__exp): Call __ieee754_exp before checking for overflow and
13653 underflow.
13654 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13655 (u_threshold): Likewise.
13656 (__expf): Call __ieee754_expf before checking for overflow and
13657 underflow.
13658 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13659 (u_threshold): Likewise.
13660 (__expl): Call __ieee754_expl before checking for overflow and
13661 underflow.
13662 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13663 (__ieee754_expl): Allow for and saturate large arguments.
13664 * math/libm-test.inc (exp_test): Add another test. Do not allow
13665 missing overflow exception on overflow.
13666 (expm1_test): Do not allow missing overflow exception on overflow.
13667
6698b8bf
JM
13668 * sysdeps/i386/fpu/e_expl.c: Move to ...
13669 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13670 rather than using inline asm.
13671 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13672 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13673 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13674
7b17aeda
JM
13675 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13676 (nice): Likewise.
13677 (poll): Likewise.
13678 (signal): Likewise.
13679 (time): Likewise.
13680 (times): Likewise.
13681
f7c85819
JM
136822012-05-04 Joseph Myers <joseph@codesourcery.com>
13683
13684 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13685 sysdeps/unix/common/syscalls.list.
13686 (fchmod): Likewise.
13687 (fchown): Likewise.
13688 (ftruncate): Likewise.
13689 (getrusage): Likewise.
13690 (gettimeofday): Likewise.
13691 (setpgid): Likewise.
13692 (setregid): Likewise.
13693 (setreuid): Likewise.
13694 (sigaction): Likewise.
13695 (truncate): Likewise.
13696 (vhangup): Likewise.
13697 * sysdeps/unix/common/syscalls.list: Remove file.
13698 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13699 * sysdeps/unix/sysv/linux/Implies: Likewise.
13700
336270d0
L
137012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13705 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13706 Moved to ...
13707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13708 Here.
13709 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13710 to ...
13711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13712 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13713 to ...
13714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13715 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13716 to ...
13717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13718 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13719 to ...
13720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13721 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13722 to ...
13723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13724 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13725 to ...
13726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13727 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13728 to ...
13729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13730 Here.
13731 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13732 to ...
13733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13734 Here.
13735 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13736 to ...
13737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13738 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13739 Moved to ...
13740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13741 Here.
13742 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13743 to ...
13744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13745
d128e450
JM
137462012-05-04 Joseph Myers <joseph@codesourcery.com>
13747
fa8ee516
JM
13748 * sysdeps/unix/common/bits/dirent.h: Remove file.
13749 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13750
d128e450
JM
13751 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13752 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13753 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13754 * sysdeps/unix/bsd/isatty.c: Likewise.
13755 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13756 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13757 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13758
ff8faaf0 137592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13760
62881be4 13761 [BZ #13563]
31dc8730
AZ
13762 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13763 long double comparison inaccuracies.
13764 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13766
6fef930c
AS
137672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13768
13769 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13770 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13771
8f203e6c
JM
137722012-05-04 Joseph Myers <joseph@codesourcery.com>
13773
13774 [BZ #14049]
13775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13776 nonzero digits before rounding a hex value.
13777 * stdlib/tst-strtod.c (tests): Add another test.
13778
5197d9c2
AK
137792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13780
13781 * sysdeps/s390/fpu/libm-test-ulps: Update.
13782
f0c1dedf
AJ
137832012-05-03 Andreas Jaeger <aj@suse.de>
13784
13785 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13786 does not get optimized out.
13787 (malloc_opt_barrier): New.
13788
a65ef2ae 137892012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13790 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13791
2b942cb7 13792 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13793 intermediate file deletion.
2b942cb7 13794 (generated): Add .symlist files.
a65ef2ae 13795
54b71e02
JM
137962012-05-03 Joseph Myers <joseph@codesourcery.com>
13797
13798 [BZ #13775]
13799 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13800 Redirect under this condition.
13801 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13802 [__USE_GNU] (__dprintf_chk): Not under this condition.
13803 [__USE_GNU] (__vdprintf_chk): Likewise.
13804 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13805 under this condition.
13806 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13807 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13808 [__USE_XOPEN2K8] (vdprintf): Likewise.
13809 [__USE_GNU] (__dprintf_chk): Not under this condition.
13810 [__USE_GNU] (__vdprintf_chk): Likewise.
13811 [__USE_GNU] (dprintf): Likewise.
13812 [__USE_GNU] (vdprintf): Likewise.
13813
d3dfcc41
RM
138142012-05-03 Roland McGrath <roland@hack.frob.com>
13815
13816 * elf/Makefile (common-generated): Set this instead of generated for
13817 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13818 $(all-built-dso)-derived lists.
13819
7ac30cc5
AJ
138202012-05-03 Andreas Jaeger <aj@suse.de>
13821
0c51e550
AJ
13822 * sysdeps/i386/fpu/libm-test-ulps: Update.
13823
7ac30cc5
AJ
13824 * FAQ: Removed.
13825 * FAQ.in: Likewise.
13826 * scripts/gen-FAQ.pl: Likewise.
13827 * manual/install.texi (Installation): Point to online location of
13828 FAQ.
13829 * Makefile (files-for-dist): Remove FAQ.
13830 (FAQ): Remove.
13831
d4c2917f
AM
138322012-05-02 Allan McRae <allan@archlinux.org>
13833
13834 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13835 (LDFLAGS-reldepmod5.so): Likewise.
13836 (LDFLAGS-reldep6mod1.so): Likewise.
13837 (LDFLAGS-reldep6mod4.so): Likewise.
13838 (LDFLAGS-reldep8mod3.so): Likewise.
13839 (LDFLAGS-unload4mod1.so): Likewise.
13840 (LDFLAGS-unload4mod2.so): Likewise.
13841 (LDFLAGS-tst-initorder): Likewise.
13842 (LDFLAGS-tst-initordera2.so): Likewise.
13843 (LDFLAGS-tst-initordera3.so): Likewise.
13844 (LDFLAGS-tst-initordera4.so): Likewise.
13845 (LDFLAGS-tst-initorderb2.so): Likewise.
13846 (LDFLAGS-noload): Likewise.
13847 (LDFLAGS-next): Likewise.
13848 (LDFLAGS-order2mod1.so): Likewise.
13849 (LDFLAGS-order2mod2.so): Likewise.
13850 (LDFLAGS-tst-initorder2): Likewise.
13851 (LDFLAGS-tst-initorder2a.so): Likewise.
13852 (LDFLAGS-tst-initorder2b.so): Likewise.
13853 (LDFLAGS-tst-initorder2c.so): Likewise.
13854 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13855
d77f993f
DM
138562012-05-02 David S. Miller <davem@davemloft.net>
13857
13858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13859
171a70b4
PP
138602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13861
13862 [BZ #14055]
13863 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13864
0be196ad
AJ
138652012-05-02 Andreas Jaeger <aj@suse.de>
13866
13867 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13868 since we manipulate rounding mode.
13869 (CPPFLAGS-test-idouble.c): Likewise.
13870 (CPPFLAGS-test-ifloat.c): Likewise.
13871 (CFLAGS-test-ldouble.c): Likewise.
13872 (CFLAGS-test-double.c): Likewise.
13873 (CFLAGS-test-float.c): Likewise.
13874 (CFLAGS-test-misc.c): Likewise.
13875 (CFLAGS-test-test-fenv.c): Likewise.
13876
4f9d04aa
AZ
138772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13878
2b942cb7
RM
13879 [BZ #2550]
13880 [BZ #2570]
13881 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13882 comparisons to determine direction to adjust input.
4f9d04aa 13883
82a79e7d
RM
138842012-05-01 Roland McGrath <roland@hack.frob.com>
13885
f5a01ca9
RM
13886 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13887 output to the target.
13888
90fe4186
RM
13889 * scripts/localplt.awk: New file.
13890 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13891 (check-localplt-CFLAGS): Variable removed.
13892 ($(all-built-dso:=.jmprel)): New static pattern rule.
13893 (generated): Add those targets.
13894 (localplt-built-dso): New variable.
13895 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13896
13897 * elf/check-localplt.c: File removed.
13898
82397ed6
RM
13899 * scripts/check-execstack.awk: New file.
13900 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13901 (check-execstack-CFLAGS): Variable removed.
13902 ($(objpfx)check-execstack.h): Target removed.
13903 ($(objpfx)execstack-default): New target.
13904 (generated): Add that instead of check-execstack.h.
13905 ($(all-built-dso:=.phdr)): New static pattern rule.
13906 (generated): Add those targets.
13907 * elf/check-execstack.c: File removed.
13908
82a79e7d
RM
13909 * scripts/check-textrel.awk: New file.
13910 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13911 (check-textrel-CFLAGS): Variable removed.
13912 (all-built-dso): Use := to define.o
13913 ($(all-built-dso:=.dyn)): New static pattern rule.
13914 (generated): Add those targets.
13915 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13916 * config.make.in (READELF): New substituted variable.
13917 * elf/check-textrel.c: File removed.
13918
62fde54f 139192012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13920
615605c9
JM
13921 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13922 allow.
13923 * conform/data/ctype.h-data [C99-based standards] (isblank):
13924 Expect function.
13925 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13926 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13928 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13929 Specify type. Require positive value.
13930 (EILSEQ): Likewise.
13931 (ERANGE): Likewise.
13932 [ISO || POSIX] (EILSEQ): Do not expect.
13933 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13934 Specify type. Require positive value.
13935 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13936 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13937 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13938 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13939 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13940 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13941 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13942 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13943 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13944 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13945 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13946 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13947 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13948 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13949 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13950 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13951 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13952 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13953 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13954 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13955 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13956 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13957 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13958 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13959 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13960 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13961 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13962 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13963 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13964 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13965 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13966 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13967 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13968 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13969 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13970 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13971 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13972 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13973 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13974 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13975 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13976 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13977 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13978 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13979 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13980 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13981 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13982 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13983 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13984 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13985 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13986 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13987 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13988 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13989 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13990 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13991 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13992 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13993 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13994 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13995 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13996 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13997 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13998 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13999 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14000 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14001 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14002 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14003 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14004 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14005 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14006 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14007 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14008 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14009 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14010 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14011 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14012 Require >= 2.
14013 (FLT_ROUNDS): Expect as macro, not constant.
14014 (FLT_MANT_DIG): Use macro-int-constant.
14015 (DBL_MANT_DIG): Likewise.
14016 (LDBL_MANT_DIG): Likewise.
14017 (FLT_DIG): Likewise.
14018 (DBL_DIG): Likewise.
14019 (LDBL_DIG): Likewise.
14020 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14021 (DBL_MIN_EXP): Likewise.
14022 (LDBL_MIN_EXP): Likewise.
14023 (FLT_MAX_EXP): Use macro-int-constant.
14024 (DBL_MAX_EXP): Likewise.
14025 (LDBL_MAX_EXP): Likewise.
14026 (FLT_MAX_10_EXP): Likewise.
14027 (DBL_MAX_10_EXP): Likewise.
14028 (LDBL_MAX_10_EXP): Likewise.
14029 (FLT_MAX): Use macro-constant.
14030 (DBL_MAX): Likewise.
14031 (LDBL_MAX): Likewise.
14032 (FLT_EPSILON): Use macro-constant. Give upper bound.
14033 (DBL_EPSILON): Likewise.
14034 (LDBL_EPSILON): Likewise.
14035 (FLT_MIN): Likewise.
14036 (DBL_MIN): Likewise.
14037 (LDBL_MIN): Likewise.
14038 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14039 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14040 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14041 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14042 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14043 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14044 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14045 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14046 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14047 [ISO11] (FLT_TRUE_MIN): Likewise.
14048 [ISO11] (LDBL_TRUE_MIN): Likewise.
14049 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14050 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14051 (SCHAR_MIN): Use macro-int-constant. Specify type.
14052 (SCHAR_MAX): Likewise.
14053 (UCHAR_MAX): Likewise.
14054 (CHAR_MIN): Likewise.
14055 (CHAR_MAX): Likewise.
14056 (MB_LEN_MAX): Use macro-int-constant.
14057 (SHRT_MIN): Use macro-int-constant. Specify type.
14058 (SHRT_MAX): Likewise.
14059 (USHRT_MAX): Likewise.
14060 (INT_MAX): Likewise.
14061 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14062 bound negative.
14063 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14064 bound with "U".
14065 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14066 bound with "L".
14067 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14068 bound negative. Suffix upper bound with "L".
14069 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14070 bound with "UL".
14071 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14072 Specify type.
14073 [C99-based standards] (LLONG_MAX): Likewise.
14074 [C99-based standards] (ULLONG_MAX): Likewise.
14075 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14076 == 0.
14077 [ISO11] (max_align_t): Require type.
14078 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14079
c9140a62
JM
14080 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14081 from $CFLAGS, without defining away __attribute__ calls.
14082 (checknamespace): Use $CFLAGS_namespace.
14083
9af0bf29
JM
14084 * conform/conformtest.pl (@keywords): Only include C99 keywords
14085 for standards based on C99 or C11.
14086
343222a2
JM
14087 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14088 Disable tests.
14089 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14090 UNIX98]: Likewise.
14091
661f8cf0
JM
14092 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14093 usability of symbols in #if.
14094
ee74b9cb
JM
14095 * conform/conformtest.pl: If macro or constant types start
14096 "promoted:", expect the symbol to be of the following type
14097 promoted by the integer promotions.
62fde54f 14098
aafc49b3
JM
14099 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14100 in one place. Also handle "macro-constant".
14101
fefdf574
JM
14102 * conform/conformtest.pl: Only accept expected macro values with
14103 "==". Parse all "macro" lines in one place.
14104 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14105
f2d922fe
JM
14106 * conform/conformtest.pl: Handle braced types on "constant" lines
14107 instead of handling "typed-constant".
14108 * conform/data/signal.h-data: Use "constant" instead of
14109 "typed-constant".
14110
d22956c9
JM
14111 * conform/conformtest.pl: Handle "optional-" at start of lines in
14112 one place rather than duplicating several cases. Handle each
14113 format of "macro" line with initial "optional-".
14114
028e2e38
JM
14115 * conform/conformtest.pl: Only accept expected constant or
14116 optional-constant values with "==". Parse all "constant" lines in
14117 one place. Parse all "optional-constant" lines in one place.
14118 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14119 * conform/data/fmtmsg.h-data: Likewise.
14120 * conform/data/netinet/in.h-data: Likewise.
14121 * conform/data/tar.h-data: Likewise.
14122 * conform/data/limits.h-data: Use "==" form on "constant" and
14123 "optional-constant" lines.
14124
1b8f2850
JM
14125 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14126 Use -std=c99 for XOPEN2K.
14127 (@knownproblems): Remove.
14128 (newtoken): Don't check %isknown.
14129
a05a144b
JM
14130 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14131 Do not expect macro.
14132 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14133 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14134 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14135 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14136 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14137 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14138 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14139 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14140 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14141 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14142 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14143 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14144 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14145 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14146 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14147 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14148 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14149 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14150 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14151 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14152 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14153 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14154 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14155 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14156 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14157 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14158 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14159 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14160 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14161 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14162 [XPG3] (acosh): Likewise.
14163 [XPG3] (asinh): Likewise.
14164 [XPG3] (atanh): Likewise.
14165 [XPG3] (cbrt): Likewise.
14166 [XPG3] (expm1): Likewise.
14167 [XPG3] (ilogb): Likewise.
14168 [XPG3] (log1p): Likewise.
14169 [XPG3] (logb): Likewise.
14170 [XPG3] (nextafter): Likewise.
14171 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14172 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14173 [XPG3] (remainder): Likewise.
14174 [XPG3] (rint): Likewise.
14175 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14176 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14177 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14178 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14179 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14180 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14181 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14182 [UNIX98 || XOPEN2K] (scalb): Expect.
14183 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14184 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14185 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14186 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14187 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14188 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14189 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14190 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14191 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14192 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14193 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14194 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14195 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14196 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14197 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14198 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14199 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14200 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14201 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14202 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14203 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14204 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14205 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14206 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14207 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14208 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14209 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14210 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14211 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14212 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14213 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14214 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14215 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14216 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14217 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14218 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14219 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14220 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14221 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14222 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14223 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14224 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14225 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14226 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14227 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14228 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14229 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14230 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14231 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14232 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14233 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14234 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14235 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14236 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14237 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14245 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14246 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14247 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14248 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14249 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14267 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14268 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14269 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14270 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14271 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14272 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14273 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14274 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14275 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14277 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14278 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14286 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14287 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14288 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14305 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14306 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14307 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14308 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14309 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14310 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14311 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14312 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14313 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14314 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14315 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14316 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14317 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14318 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14319 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14320
73c5ebe3
JM
14321 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14322 _XOPEN_SOURCE_EXTENDED for XPG4.
14323
39c33b6c
JM
14324 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14325
62fde54f
JM
14326 * Makeconfig (localtime): Remove variable.
14327 (inst_localtime-file): Likewise.
14328
0741d64c
AS
143292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14330
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14332 Update.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14334 Update.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14336 Update.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14338 Update.
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14340 Update.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14342 Update.
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14344 Update.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14346 Update.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14348 Update.
14349
7cb029ee
JM
143502012-05-01 Joseph Myers <joseph@codesourcery.com>
14351
14352 [BZ #2550]
14353 [BZ #2570]
14354 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14355 comparisons to determine direction to adjust input.
14356 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14357 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14359 Likewise.
14360 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14361 Likewise.
14362 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14363 Likewise.
14364 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14365 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14366 Likewise.
14367 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14368 Likewise.
14369 * math/libm-test.inc (nexttoward_test): Add more tests.
14370
412bd966
AS
143712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14372
14373 [BZ #14040]
14374 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14375 in version GLIBC_2.1, not GLIBC_2.0.
14376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14377 Likewise.
14378
9568c0c2
JM
143792012-04-30 Joseph Myers <joseph@codesourcery.com>
14380
adfbc8ac
JM
14381 [BZ #13942]
14382 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14383 (1 - x) * (1 + x).
14384 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14385 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14386 * math/libm-test.inc (acos_test): Add more tests.
14387 (asin_test): Likewise.
14388 * sysdeps/i386/fpu/libm-test-ulps: Update.
14389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14390
5ba3cc69
JM
14391 [BZ #14034]
14392 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14393 of square root.
14394 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14395 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14396 * math/libm-test.inc (acos_test_tonearest): New function.
14397 (acos_test_towardzero): Likewise.
14398 (acos_test_downward): Likewise.
14399 (acos_test_upward): Likewise.
14400 (asin_test_tonearest): Likewise.
14401 (asin_test_towardzero): Likewise.
14402 (asin_test_downward): Likewise.
14403 (asin_test_upward): Likewise.
14404 (main): Call the new functions.
14405 * sysdeps/i386/fpu/libm-test-ulps: Update.
14406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14407
9568c0c2
JM
14408 [BZ #13884]
14409 [BZ #13924]
14410 * math/e_exp10.c: Include <float.h>.
14411 (__ieee754_exp10): Handle underflow here rather than multiplying
14412 large negative argument by M_LN10.
14413 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14414 of __ieee754_expf.
14415 * math/e_exp10l.c: Include <float.h>.
14416 (__ieee754_exp10l): Handle underflow here rather than multiplying
14417 large negative argument by M_LN10l.
14418 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14419 spurious overflow exception on underflow.
14420
5ac3ea17
MP
144212012-04-29 Marek Polacek <polacek@redhat.com>
14422
14423 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14424 (__fortify_function): New macro.
14425 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14426 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14427 __extern_always_inline.
14428 * libio/bits/stdio2.h: Likewise.
14429 * libio/bits/stdio.h: Likewise.
14430 * string/string.h: Likewise.
14431 * string/bits/string3.h: Likewise.
14432 * include/stdio.h: Likewise.
14433 * stdlib/bits/stdlib.h: Likewise.
14434 * stdlib/stdlib.h: Likewise.
14435 * rt/bits/mqueue2.h: Likewise.
14436 * rt/mqueue.h: Likewise.
14437 * posix/bits/unistd.h: Likewise.
14438 * posix/unistd.h: Likewise.
14439 * io/bits/poll2.h: Likewise.
14440 * io/bits/fcntl2.h: Likewise.
14441 * io/fcntl.h: Likewise.
14442 * io/sys/poll.h: Likewise.
14443 * misc/bits/syslog.h: Likewise.
14444 * misc/bits/syslog-ldbl.h: Likewise.
14445 * misc/sys/syslog.h: Likewise.
14446 * socket/bits/socket2.h: Likewise.
14447 * socket/sys/socket.h: Likewise.
14448 * debug/tst-chk1.c: Likewise.
14449 * wcsmbs/bits/wchar2.h: Likewise.
14450 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14451 * wcsmbs/wchar.h: Likewise.
14452
ecf0ebfb
AJ
144532012-04-29 Andreas Jaeger <aj@suse.de>
14454
14455 * Makerules (tests): Remove enable-check-abi protection.
14456 (check-abi-warn): Remove.
14457 (check-abi-%): Remove check-abi-warn usage.
14458
14459 * configure.in: Remove check-abi configure option.
14460 * configure: Regenerated.
14461 * config.make.in (enable-check-abi): Remove.
14462
6d5c57fa
AS
144632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14464
24c5d07e 14465 [BZ #14033]
ded5180a
AS
14466 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14467 double functions to double *_finite functions.
14468
7e0d315d
AS
14469 [BZ #13941]
14470 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14471 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14472 LDBL_MIN_EXP.
14473 * stdio-common/Makefile (tests): Add tst-sprintf3.
14474 * stdio-common/tst-sprintf3.c: New file.
14475
6d5c57fa
AS
14476 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14477 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14478
0749ff8b
JM
144792012-04-28 Joseph Myers <joseph@codesourcery.com>
14480
14481 * conform/conformtest.pl: Remove duplicate typed-constant
14482 handling.
14483
8dbd5d7b
DM
144842012-04-28 David S. Miller <davem@davemloft.net>
14485
14486 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14487 (check-abi-%): Remove AWK script prerequisite and explicit
14488 abilist directory.
14489 (check-abi): Rewrite to just diff the symlist with the abilist.
14490 (config-tls, config-abi-config): Delete, no longer used.
14491 (update-abi-%): Remove AWK script and explicit abilist directory.
14492 (update-abi): Rewrite to simply compare and conditionally copy the
14493 symlist and the sysdep abilist file. Remove update-abi-config
14494 checks.
14495 * abilist/ld.abilist: Remove.
14496 * abilist/libBrokenLocale.abilist: Remove.
14497 * abilist/libanl.abilist: Remove.
14498 * abilist/libcrypt.abilist: Remove.
14499 * abilist/libdl.abilist: Remove.
14500 * abilist/librt.abilist: Remove.
14501 * abilist/libthread_db.abilist: Remove.
14502 * abilist/libutil.abilist: Remove.
14503 * scripts/extract-abilist.awk: Remove.
14504 * scripts/merge-abilist.awk: Remove.
14505 * sysdeps/generic/libcidn.abilist: New file.
14506 * sysdeps/generic/libnss_compat.abilist: New file.
14507 * sysdeps/generic/libnss_db.abilist: New file.
14508 * sysdeps/generic/libnss_dns.abilist: New file.
14509 * sysdeps/generic/libnss_files.abilist: New file.
14510 * sysdeps/generic/libnss_hesiod.abilist: New file.
14511 * sysdeps/generic/libnss_nis.abilist: New file.
14512 * sysdeps/generic/libnss_nisplus.abilist: New file.
14513 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14514 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14515 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14516 file.
14517 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14518 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14519 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14520 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14521 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14522 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14523 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14524 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14525 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14526 file.
14527 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14528 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14529 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14530 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14531 file.
14532 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14533 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14534 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14535 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14536 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14537 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14538 file.
14539 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14540 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14541 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14542 file.
14543 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14545 New file.
14546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14547 New file.
14548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14549 New file.
14550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14551 New file.
14552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14553 New file.
14554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14555 New file.
14556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14557 New file.
14558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14559 New file.
14560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14561 New file.
14562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14563 New file.
14564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14565 New file.
14566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14567 New file.
14568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14569 New file.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14571 file.
14572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14573 New file.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14575 New file.
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14577 file.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14579 New file.
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14581 New file.
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14583 file.
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14585 New file.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14587 New file.
14588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14589 New file.
14590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14591 New file.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14593 New file.
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14595 New file.
14596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14598 file.
14599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14600 New file.
14601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14602 file.
14603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14604 file.
14605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14606 file.
14607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14608 file.
14609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14610 file.
14611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14612 New file.
14613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14614 file.
14615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14616 file.
14617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14618 New file.
14619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14620 file.
14621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14623 file.
14624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14625 New file.
14626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14627 file.
14628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14629 file.
14630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14631 file.
14632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14633 file.
14634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14635 file.
14636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14637 New file.
14638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14639 file.
14640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14641 file.
14642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14643 New file.
14644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14645 file.
14646 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14647 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14648 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14649 file.
14650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14651 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14652 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14653 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14654 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14655 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14656 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14657 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14658 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14659 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14662 file.
14663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14664 New file.
14665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14666 file.
14667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14668 file.
14669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14670 file.
14671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14672 file.
14673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14674 file.
14675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14676 New file.
14677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14678 New file.
14679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14680 file.
14681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14682 New file.
14683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14684 file.
14685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14687 file.
14688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14689 New file.
14690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14691 file.
14692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14693 file.
14694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14695 file.
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14697 file.
14698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14699 file.
14700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14701 New file.
14702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14703 New file.
14704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14705 file.
14706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14707 New file.
14708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14709 file.
14710
41d73a1b
JM
147112012-04-28 Joseph Myers <joseph@codesourcery.com>
14712
14713 * conform/conformtest.pl: Fix typo in handling typed-constant from
14714 allow-header.
14715
28aeeda4
JM
147162012-04-27 Joseph Myers <joseph@codesourcery.com>
14717
adae8f5e
JM
14718 * README: Cut down references to pre-2.6 Linux kernels and
14719 Linuxthreads. Update lists of configurations in libc and ports
14720 and sort alphabetically. Say "or newer" with Linux kernel version
14721 requirements.
14722
28aeeda4
JM
14723 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14724
a462cb63
RA
147252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14726
14727 [BZ #887]
14728 * math/libm-test.inc (logb_test_downward): New test to expose
14729 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14730 rounding mode.
14731
6ad3493e
JM
147322012-04-27 Joseph Myers <joseph@codesourcery.com>
14733
14734 [BZ #14027]
14735 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14736 to be done.
14737 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14738 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14739
2ce4f015
JM
147402012-04-26 Joseph Myers <joseph@codesourcery.com>
14741
5aeb141a
JM
14742 * sysdeps/unix/i386/brk.S: Remove file.
14743 * sysdeps/unix/i386/dl-brk.S: Likewise.
14744 * sysdeps/unix/i386/pipe.S: Likewise.
14745 * sysdeps/unix/i386/sigreturn.S: Likewise.
14746 * sysdeps/unix/i386/syscall.S: Likewise.
14747 * sysdeps/unix/i386/vfork.S: Likewise.
14748 * sysdeps/unix/i386/wait.S: Likewise.
14749
7143acae
JM
14750 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14751 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14752
2ce4f015
JM
14753 * configure.in (arm*-none*): Do not allow without
14754 --enable-hacker-mode.
14755 (netbsd*): Remove case setting base_os.
14756 (386bsd*): Likewise.
14757 (freebsd*): Likewise.
14758 (bsdi*): Likewise.
14759 (osf*): Likewise.
14760 (sunos*): Likewise.
14761 (ultrix*): Likewise.
14762 (newsos*): Likewise.
14763 (dynix*): Likewise.
14764 (*bsd*): Likewise.
14765 (sysv*): Likewise.
14766 (isc*): Likewise.
14767 (esix*): Likewise.
14768 (sco*): Likewise.
14769 (minix*): Likewise.
14770 (irix4*): Likewise.
14771 (irix6*): Likewise.
14772 (solaris[2-9]*): Likewise.
14773 (none): Likewise.
14774 * configure: Regenerated.
14775
0ac229c8
AZ
147762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14777
14778 [BZ #11521]
14779 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14780 overflow or cancellation in calculating denominator.
14781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14783 down expression to avoid unexpected rounding in newer GCCs.
14784 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14785
33f244f4
DM
147862012-04-26 David S. Miller <davem@davemloft.net>
14787
14788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14789 long-double compat symbols.
14790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14803
cfa1f3e8
DM
148042012-04-25 David S. Miller <davem@davemloft.net>
14805
14806 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14807 HWCAP_* values only after the memory barriers have been defined.
14808 (atomic_full_barrier): Define.
14809 (atomic_read_barrier): Define.
14810 (atomic_write_barrier): Define.
14811
6e236b92
SP
148122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14813
14814 * shlib-versions: Add libgcc_s version information.
14815 * sysdeps/generic/libgcc_s.h: Remove.
14816 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14817 libgcc_s.h.
14818 * sysdeps/gnu/unwind-resume.c: Likewise.
14819 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14820
aab39a09
DM
148212012-04-25 David S. Miller <davem@davemloft.net>
14822
14823 * sysdeps/unix/sparc/brk.S: Delete.
14824 * sysdeps/unix/sparc/dl-brk.S: Delete.
14825 * sysdeps/unix/sparc/pipe.S: Delete.
14826 * sysdeps/unix/sparc/sysdep.S: Delete.
14827 * sysdeps/unix/sparc/sysdep.h: Delete.
14828 * sysdeps/unix/sparc/vfork.S: Delete.
14829 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14830 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14832 ret_ERRVAL, r0, r1, MOVE): Define.
14833 (JUMPTARGET): Remove.
14834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14835 sysdeps/unix/sparc/sysdep.h
14836 (ENTRY, END): Remove.
14837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14838
a3cc4f48
JM
148392012-04-25 Joseph Myers <joseph@codesourcery.com>
14840
2ed8cda2
JM
14841 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14842 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14843 -DIS_IN_build.
14844
35d76d59
JM
14845 * timezone/README: Update upstream location and email address for
14846 tzcode and tzdata.
14847 * timezone/zdump.c: Update from tzcode 2012b.
14848 * timezone/zic.c: Likewise.
14849
a3cc4f48
JM
14850 * configure.in (libc_cv_as_needed): Remove test.
14851 * configure: Regenerated.
14852 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14853 conditional definition.
14854 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14855 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14856 * config.make.in (have-as-needed): Remove variable.
14857
ceab42c3
SP
148582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14859 Paul Pluzhnikov <ppluzhnikov@google.com>
14860
14861 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14862 strings correctly.
14863
3ce2865f
CLT
148642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14865
14866 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14867 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14868 * sysdeps/sh/strlen.S: Likewise.
14869
f37e0d68
JM
148702012-04-24 Joseph Myers <joseph@codesourcery.com>
14871
ae186e9a
JM
14872 * sysdeps/unix/fork.S: Remove file.
14873 * sysdeps/unix/i386/fork.S: Likewise.
14874 * sysdeps/unix/sparc/fork.S: Likewise.
14875
b96914af
JM
14876 * sysdeps/unix/system.c: Remove file.
14877 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14878
f37e0d68
JM
14879 * sysdeps/unix/getegid.S: Remove file.
14880 * sysdeps/unix/geteuid.S: Likewise.
14881
87ef29ca
RM
148822012-04-24 Roland McGrath <roland@hack.frob.com>
14883
83bcd236
RM
14884 * scripts/check-localplt.awk: New file.
14885 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14886 of diff.
14887 * scripts/data/localplt-generic.data: Add a comment.
14888
87ef29ca
RM
14889 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14890 NODE when __dir_mkfile failed.
14891 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14892 Reported by Ludovic Courtès <ludo@gnu.org>.
14893
e5a6e567
AJ
148942012-04-24 Andreas Jaeger <aj@suse.de>
14895
14896 * Makerules (common-clean): Also remove gen-as-const-headers
14897 files.
14898
c1820385
JM
148992012-04-24 Joseph Myers <joseph@codesourcery.com>
14900
14901 * Makerules (native-compile): Do not change working directory for
14902 build. Use $(OUTPUT_OPTION) in command.
14903 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14904
94e02fc4
AZ
149052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14906
14907 [BZ #13886]
14908 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14909 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14910 * math/libm-test.inc (floor_test): Add more tests.
14911 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14912
3a533ca3
JM
149132012-04-24 Joseph Myers <joseph@codesourcery.com>
14914
940ab4b3
JM
14915 * sysdeps/unix/getdents.c: Remove file.
14916 * sysdeps/unix/sysv/getdents.c: Likewise.
14917 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14918
90e037bd
JM
14919 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14920 sysdeps/unix/mman/syscalls.list.
14921 (mmap): Likewise.
14922 (mprotect): Likewise.
14923 (msync): Likewise.
14924 (munmap): Likewise.
14925 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14926 * sysdeps/unix/mman/syscalls.list: Remove.
14927 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14928
3a533ca3
JM
14929 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14930 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14931 * configure: Regenerated.
14932 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14933 $(libgcc_s_suffix).
14934 * config.make.in (libgcc_s_suffix): Remove variable.
14935
1ad743de
JM
149362012-04-23 Joseph Myers <joseph@codesourcery.com>
14937
4ad451e2
JM
14938 * sysdeps/unix/sysv/gethostname.c: Move to ...
14939 * sysdeps/posix/gethostname.c: ... here.
14940
5e37ce39
JM
14941 * sysdeps/unix/execve.S: Remove file.
14942
1ad743de
JM
14943 * sysdeps/unix/_exit.S: Remove file.
14944
4e681b5b
AJ
149452012-04-23 Andreas Jaeger <aj@suse.de>
14946
14947 [BZ #13739]
14948 * manual/Makefile: Remove make dist support, there's no
14949 need for a stand-alone documentation tar ball.
14950 (TEXI2DVI): Define always, it's not in Makeconfig.
14951 (dist): Removed.
14952 (tar-it): Removed.
14953 (edition): Removed.
14954 (glibc-doc-$(edition).tar): Removed
14955 (%.Z): Removed.
14956 (%.gz): Removed.
14957 (%.uu): Removed.
14958 (ETAGS): Remove, it's in Makeconfig.
14959 (move-if-change): Remove, it's in Makeconfig.
14960
38686a03 149612012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14962
14963 [BZ #13970]
14964 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14965 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14966 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14967 (strtod_l, strtof_l, strtold_l): Remove __wur.
14968 It is not necessarily an error to ignore strtol's return value.
14969 One can reliably look at the stored endptr to decide whether
14970 the number had valid syntax.
14971
7c0616fa
AJ
149722012-04-21 Andreas Jaeger <aj@suse.de>
14973
803cb6b7 14974 [BZ #13739]
7c0616fa
AJ
14975 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14976
b0fe253f
JM
149772012-04-21 Joseph Myers <joseph@codesourcery.com>
14978
14979 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14980 * sysdeps/unix/sysv/Versions: Remove file.
14981
8280f22d
MT
149822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14983
14984 [BZ #13927]
14985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14986
75ce411f 149872012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14988
14989 [BZ #7064]
14990 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14991 version from __vm86.
14992
097d59fa
JM
149932012-04-20 Joseph Myers <joseph@codesourcery.com>
14994
a90f3bcb
JM
14995 * sysdeps/unix/common/lxstat.c: Remove file.
14996 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14997
edc7ea78
JM
14998 * sysdeps/unix/sysv/Makefile: Remove file.
14999
cb78c221
JM
15000 * sysdeps/unix/sysv/direct.h: Remove file.
15001
efa6a45f
JM
15002 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15003 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15004 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15005 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15006 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15007 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15008 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15009
9c9f2d0c
JM
15010 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15011
4541c83b
JM
15012 * sysdeps/unix/xmknod.c: Remove file.
15013 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15014
f5d153a0
JM
15015 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15016
aa746595
JM
15017 * sysdeps/unix/sysv/i386/time.S: Remove file.
15018
cce5905e
JM
15019 * sysdeps/unix/fxstat.c: Remove file.
15020 * sysdeps/unix/xstat.c: Likewise.
15021 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15022
37fa3841
JM
15023 * sysdeps/unix/sysv/sigaction.c: Remove file.
15024
ff1962a3
JM
15025 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15026 (sysdep_headers): Remove variable.
15027 [termio.h not in sysdep_headers] (generated): Likewise.
15028 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15029 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15030 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15031 * sysdeps/unix/sysv/tcflow.c: Likewise.
15032 * sysdeps/unix/sysv/tcflush.c: Likewise.
15033 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15034 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15035 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15036 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15037 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15038
e7740d31
JM
15039 * sysdeps/unix/siglist.c: Remove file.
15040
ee06f18b
JM
15041 * sysdeps/unix/getppid.S: Remove file.
15042
097d59fa
JM
15043 * sysdeps/unix/mkdir.c: Remove file.
15044 * sysdeps/unix/rmdir.c: Likewise.
15045
ff3d51ec
AS
150462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15047
15048 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15049 ERR_MAX value.
15050 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15051 errlist-compat value.
15052
50f81fd7
DM
150532012-04-18 David S. Miller <davem@davemloft.net>
15054
15055 * sysdeps/generic/memcopy.h (reg_char): Delete.
15056 * debug/strcat_chk.c: Use char, not reg_char.
15057 * debug/strcpy_chk.c: Likewise.
15058 * debug/strncat_chk.c: Likewise.
15059 * debug/strncpy_chk.c: Likewise.
15060 * string/memchr.c: Likewise.
15061 * string/memrchr.c: Likewise.
15062 * string/rawmemchr.c: Likewise.
15063 * string/strcat.c: Likewise.
15064 * string/strchr.c: Likewise.
15065 * string/strchrnul.c: Likewise.
15066 * string/strcmp.c: Likewise.
15067 * string/strcpy.c: Likewise.
15068 * string/strncat.c: Likewise.
15069 * string/strncmp.c: Likewise.
15070 * string/strncpy.c: Likewise.
15071
8ff41c46
WS
150722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15073
15074 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15075 __builtin_memcopy is called when src and dest ranges are known to not
15076 overlap.
15077
6b652f46
WS
150782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15079
15080 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15081 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15082 fwd_align_merge macro call.
15083 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15084 bwd_align_merge macro call.
15085 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15086
b282631e
WS
150872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15088
15089 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15090 bwd_align_merge macros.
15091 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15092 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15093 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15094
95aa737c
DM
150952012-04-18 David S. Miller <davem@davemloft.net>
15096
15097 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15098
7a99a614
AJ
150992012-04-18 Andreas Jaeger <aj@suse.de>
15100
15101 [BZ# 6794]
15102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15103 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15104 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15105
15106 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15107 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15108 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15109
15110 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15111 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15112 Adjust for changed ldbl-128 files.
15113
15114 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15115 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15116 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15117
e5270c23
DM
151182012-04-17 David S. Miller <davem@davemloft.net>
15119
15120 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15121
fb5e92c9
AS
151222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15123
15124 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15125 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15126 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15127 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15128 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15129 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15130
76da7265
AZ
151312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15132
15133 [BZ #6794]
15134 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15135 * math/libm-test.inc: Add ilogb errno and exception tests.
15136 * math/w_ilogb.c: New file: ilogb wrapper.
15137 * math/w_ilogbf.c: New file: ilogbf wrapper.
15138 * math/w_ilogbl.c: New file: ilogbl wrapper.
15139 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15140 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15141 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15142 exception being thrown with 0.0 as argument.
15143 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15144 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15145 exception being thrown with 0.0 as argument.
15146 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15147 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15148 exception being thrown with 0.0 as argument.
15149 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15150 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15151 exception being thrown with 0.0 as argument.
15152 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15153 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15154 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15155 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15156 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15157 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15158 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15159 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15160 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15161
0396e69d
PB
151622012-04-17 Petr Baudis <pasky@ucw.cz>
15163
15164 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15165 with altivec.
15166
750b5926
MP
151672012-04-16 Marek Polacek <polacek@redhat.com>
15168
15169 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15170
751728a1
MP
151712012-04-16 Marek Polacek <polacek@redhat.com>
15172
15173 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15174 operands of fdivp instruction.
15175
34a27407
L
151762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15177
15178 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15179 * elf/tst-auditmod3b.c: Likewise.
15180 * elf/tst-auditmod4b.c: Likewise.
15181 * elf/tst-auditmod5b.c: Likewise.
15182 * elf/tst-auditmod6b.c: Likewise.
15183 * elf/tst-auditmod6c.c: Likewise.
15184 * elf/tst-auditmod7b.c: Likewise.
15185 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15186 * sysdeps/x86_64/preconfigure.in: Likewise.
15187 * sysdeps/x86_64/preconfigure: Regenerated.
15188
7e73e17d
L
151892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15190
15191 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15192 __ILP32__.
15193
c7a6ab72
AB
151942012-04-13 Antoine Balestrat <merkil33@gmail.com>
15195
15196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15197 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15198
a9e8e0e0
CL
151992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15200
15201 [BZ #13973]
15202 * locale/iso-639.def: Fix gl language name. Spotted by
15203 Yaron Shahrabani.
15204
ec98af7d
RM
152052012-04-12 Roland McGrath <roland@hack.frob.com>
15206
15207 [BZ #2074]
15208 * libio/libio.h (__io_write_fn): Update comment.
15209
247c3ede
PB
152102012-04-12 Petr Baudis <pasky@ucw.cz>
15211
15212 [BZ #2074]
15213 * stdio.texi (Hook Functions): The user provided writer function
15214 is not allowed to return -1.
15215
55939d6d
DM
152162012-04-11 David S. Miller <davem@davemloft.net>
15217
15218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15219
90020f5a
MF
152202012-04-11 Mike Frysinger <vapier@gentoo.org>
15221
15222 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15223 Add a leading slash to rtkaio.
15224
288f9098
JM
152252012-04-11 Jim Meyering <meyering@redhat.com>
15226
90020f5a
MF
15227 [BZ #11959]
15228 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15229 It is not necessarily an error to ignore fwrite's return
15230 value. One can reliably use ferror to test for errors after
15231 the fact.
288f9098 15232
4be2b570
L
152332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15234
15235 * bits/types.h (__snseconds_t): New type.
15236 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15237
15238 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15240 (__SNSECONDS_T_TYPE): Likewise.
15241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15242 (__SNSECONDS_T_TYPE): Likewise.
15243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15244 (__SNSECONDS_T_TYPE): Likewise.
15245
288f9098 152462012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15247
15248 [BZ #2636]
15249 * manual/time.texi (Processor Time): Return type of times is
15250 elapsed real time since an arbitrary point in the past.
15251 (CPU Time): Move CLK_TCK from here...
15252 (Processor Time): ...to here. Correct description.
15253 * manual/conf.texi (Constants for Sysconf): Correct description of
15254 _SC_CLK_TCK.
15255
d7dd4413
DM
152562012-04-10 David S. Miller <davem@davemloft.net>
15257
15258 [BZ #13967]
15259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15260 where the is a gap between DT_REL(A) and DT_JMPREL.
15261
b46068fc
L
152622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15263
15264 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15265 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15266 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15267
73d65cc3
SP
152682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15269
15270 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15271 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15272 (dl_main): Handle --inhibit-cache.
15273 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15274 _dl_inhibit_cache.
15275 * elf/dl-load.c (_dl_map_object): Use it.
15276 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15277
bcc8d661
JM
152782012-04-09 Joseph Myers <joseph@codesourcery.com>
15279
8f9a2fae
JM
15280 [BZ #13872]
15281 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15282 (__ieee754_powl): Saturate large exponents rather than testing for
15283 overflow of y*log2(x).
15284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15285 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15286 exceptions.
15287
bcc8d661
JM
15288 [BZ #11521]
15289 * math/s_ctan.c: Include <float.h>.
15290 (__ctan): Avoid internal overflow or cancellation in calculating
15291 denominator.
15292 * math/s_ctanf.c: Likewise.
15293 * math/s_ctanl.c: Likewise.
15294 * math/s_ctanh.c: Likewise.
15295 * math/s_ctanhf.c: Likewise.
15296 * math/s_ctanhl.c: Likewise.
15297 * math/libm-test.inc (ctan_test): Add more tests.
15298 (ctanh_test): Likewise.
15299 * sysdeps/i386/fpu/libm-test-ulps: Update.
15300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15301
823fbbb4
AJ
153022012-04-09 Andreas Jaeger <aj@suse.de>
15303
03879793
AJ
15304 [BZ #6894]
15305 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15306 is an optional BSD extension.
15307
823fbbb4
AJ
15308 [BZ #10254]
15309 * manual/stdio.texi (Opening Streams): Document additional fopen
15310 parameters.
15311
8de131cb
RM
153122012-04-09 Roland McGrath <roland@hack.frob.com>
15313
15314 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15315 %eax without telling the compiler.
15316
c0ed9d7d
CD
153172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15318
15319 [BZ # 13963]
15320 * manual/install.texi: Use sourceware.org.
15321
c483f6b4
JM
153222012-04-09 Joseph Myers <joseph@codesourcery.com>
15323
d7dd9453
JM
15324 [BZ #13873]
15325 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15326 (__ieee754_pow): Generate overflow and underflow using huge*huge
15327 and tiny*tiny rather than just returning constant infinity or zero
15328 for large exponents.
15329 * math/libm-test.inc (pow_test): Require overflow exceptions for
15330 applicable cases of large exponents.
15331
c483f6b4
JM
15332 [BZ #706]
15333 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15334 (__ieee754_pow): Use iterative multiplication algorithm only for
15335 integer exponents with absolute value below 1024. Check for odd
15336 integer exponents when using algorithm for real exponents.
15337 * math/libm-test.inc (pow_test): Add more tests.
15338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15339
d2de7579
JM
153402012-04-08 Joseph Myers <joseph@codesourcery.com>
15341
15342 [BZ #13705]
15343 * math/libm-test.inc (exp_test): Do not allow overflow exception
15344 on underflow test.
15345
f77f1232
AJ
153462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15347
15348 [BZ #13705]
15349 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15350 instead of __kernel_standard_f.
15351
3884932b
MF
153522012-04-08 Mike Frysinger <vapier@gentoo.org>
15353
15354 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15355 * sysdeps/x86_64/memset_chk.S: Likewise.
15356
54472e9c
AJ
153572012-04-08 Andreas Jaeger <aj@suse.de>
15358
6ab0fbfc
AJ
15359 [BZ #10153]
15360 * manual/startup.texi (Environment Access): Describe return value
15361 for putenv and setenv.
15362
61efba8c
AJ
15363 [BZ #6895]
15364 * manual/filesys.texi (Directory Entries): Add description for
15365 DT_LNK.
15366
95c3f29a
AJ
15367 [BZ #6890]
15368 * manual/filesys.texi (Directory Entries): Clarify that it's file
15369 system not operating system in the description of DT_UNKNOWN.
15370
54472e9c
AJ
15371 [BZ #6578]
15372 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15373
624254b1
SC
153742012-04-08 Stephen Compall <s11@member.fsf.org>
15375
15376 [BZ #6649]
15377 * manual/llio.texi (Opening and Closing Files): Add cross
15378 reference to explain mode argument.
15379
1e4920e0
MF
153802012-04-07 Mike Frysinger <vapier@gentoo.org>
15381
15382 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15383 * sysdeps/x86_64/memset_chk.S: Likewise.
15384
5ed848f3
DM
153852012-04-07 David S. Miller <davem@davemloft.net>
15386
15387 * elf/elf.h (R_SPARC_WDISP10): Define.
15388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15389 R_SPARC_SIZE32.
15390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15391 R_SPARC_SIZE64 and R_SPARC_H34.
15392
96154cd8
CD
153932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15394
15395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15396 conditions and remove no longer applicable assertion.
15397
9904dc47
L
153982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15399
15400 * bits/byteswap.h: Include <features.h>.
15401 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15402 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15403
f8887d0a
L
154042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15405
15406 * bits/byteswap.h (__bswap_16): Removed.
15407 Include <bits/byteswap-16.h> to get __bswap_16.
15408 * sysdeps/i386/bits/byteswap.h: Likewise.
15409 * sysdeps/s390/bits/byteswap.h: Likewise.
15410 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15411 * bits/byteswap-16.h: New file.
15412 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15413 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15414 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15415 * string/Makefile (headers): Add bits/byteswap-16.h.
15416
62470f60
PP
154172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15418
15419 [BZ #13895]
15420 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15421 extra indirection.
15422 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15423 * nss/tst-nss-static.c: New.
15424
4dad7bab
RM
154252012-04-06 Robert Millan <rmh@gnu.org>
15426
15427 [BZ #6486]
15428 * manual/llio.texi (File Position Primitive): lseek
15429 refers to WHENCE when it really means OFFSET.
15430
e9142a17
AJ
154312012-04-06 Andreas Jaeger <aj@suse.de>
15432
2c040eff
AJ
15433 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15434 strncmp declarations.
15435
e9142a17
AJ
15436 * abilist/libc.abilist: Add __poll and __ppoll.
15437
ff9f1c5f
DM
154382012-04-05 David S. Miller <davem@davemloft.net>
15439
dcd2ae90
DM
15440 * scripts/check-local-headers.sh: Accept a host triplet in the
15441 path matched by the exclude regexp.
15442
993eb054
DM
15443 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15444 definition.
15445 * sysdeps/powerpc/powerpc32/dl-machine.h
15446 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15447 * sysdeps/s390/s390-32/dl-machine.h
15448 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15449 * sysdeps/sparc/sparc32/dl-machine.h
15450 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15451 * sysdeps/sparc/sparc64/dl-machine.h
15452 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15453
ff9f1c5f
DM
15454 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15455 lazy binding.
48e2e132 15456 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
15457 undefined symbol errors.
15458
48e2e132 15459 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
15460 DT_NEEDED entries.
15461
e80d6f94
MM
154622012-04-05 Michael Matz <matz@suse.de>
15463
15464 [BZ #13592]
15465 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15466
349fa79f
AJ
154672012-04-05 Andreas Jaeger <aj@suse.de>
15468
15469 [BZ #13908]
15470 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15471 comment.
15472
f402708f
KK
154732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15474
15475 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15476 which ROUND is no valid rounding mode.
15477
2ecccfc9
KK
154782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15479
15480 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15481 read again.
15482 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15483
8a53f50f
KK
154842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15485
15486 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15487 an exception using FPU order intentionally.
15488
154892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15490
15491 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15492 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15493 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15494 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15495
d653abb7
SJ
154962012-04-05 Simon Josefsson <simon@josefsson.org>
15497
15498 [BZ #12340]
15499 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15500 EINVAL when BUFLEN is too smal.
15501
c3b1bf7d
TS
155022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15503
15504 [BZ #13553]
15505 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15506 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15507
b1aa60f3
AJ
155082012-04-03 Andreas Jaeger <aj@suse.de>
15509
c3b1bf7d 15510 [BZ #13938]
67f60a26
AJ
15511 * manual/setjmp.texi (System V contexts): Fix sentence.
15512
b1aa60f3
AJ
15513 [BZ #13926]
15514 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15515 New macro for this case.
15516 [!__GNUC__] (__bswap_64): New inline function for this case.
15517 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15518 * bits/byteswap.h: Likewise.
15519 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15520 ull, guard with __GLIBC_HAVE_LONG_LONG.
15521
15522 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15523 __GLIBC_HAVE_LONG_LONG.
15524
15525 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15526 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15527
39c59c35
TMQMF
155282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15529
15530 [BZ #13691]
15531 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15532 inptr and inend, rather than using last_ch.
15533
135ffda8
DM
155342012-04-02 David S. Miller <davem@davemloft.net>
15535
15536 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15537 * stdio-common/printf-parse.h (read_int): Change return type to
15538 'int', return -1 on INT_MAX overflow.
15539 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15540 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15541 overflows INT_MAX. Check for overflow of in-format-string precision
15542 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15543 SIZE_MAX not INT_MAX for integer overflow test.
15544 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15545 skip the construct in the format string but do not record anything.
15546 * stdio-common/bug22.c: Adjust to test both width/prevision
15547 INT_MAX overflow as well as total length INT_MAX overflow. Check
15548 explicitly for proper errno values.
15549
228c019e
TS
155502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15551
302cadd3
TS
15552 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15553 CHAR_MAX.
15554 * string/test-strcmp.c [! WIDE]: Likewise.
15555 * time/tst-mktime2.c: Likewise for INT_MAX.
15556 * string/test-string.h: #include <sys/param.h> for MIN.
15557
228c019e
TS
15558 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15559 * sysdeps/i386/init-first.c (init): Likewise.
15560 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15561 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15562 * sysdeps/sh/init-first.c (init): Likewise.
15563
cfa633f5
UD
155642012-04-01 Ulrich Drepper <drepper@gmail.com>
15565
15566 * po/ru.po: Update from translation team.
d1635ef8 15567 * po/vi.po: Likewise.
cfa633f5 15568
6cd0a5ea
SP
155692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15570
15571 * resolv/nss_dns/dns-host.c: Merge copyright years.
15572
4b43400f
LD
155732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15574
15575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15576 Optimize memcpy with prefetch if
15577 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15578 src, dst pointers have unequal 16 byte alignments.
15579
48c41d04
SP
155802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15581
15582 [BZ #13928]
15583 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15584 from a CNAME entry and return the minimum ttl for the query.
15585 (gaih_getanswer_slice): Likewise.
15586
b8dc394d
JL
155872012-03-30 Jeff Law <law@redhat.com>
15588
15589 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15590 due to long keys.
15591 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15592 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15593
2f5a5ed0
JL
15594 * resolv/nss_dns/dns-host.c: Update copyright year.
15595
1d39e359
UD
155962012-03-30 Ulrich Drepper <drepper@gmail.com>
15597
c030f70c 15598 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15599 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15600
1d39e359
UD
15601 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15602 comments for sendmmsg.
15603
156042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15605
15606 [BZ #13691]
15607 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15608 with only 1 character between 0x0041 and 0x01b0.
15609 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15610 * wcsmbs/tst-mbsnrtowcs.c: New file.
15611
20fde227
DM
156122012-03-29 David S. Miller <davem@davemloft.net>
15613
15614 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15615 small copies by hand.
15616
984a4237
JL
156172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15618
15619 [BZ #13761]
15620 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15621 _nss_compat_initgroups_dyn): Fall back to malloc/free
15622 for large group memberships.
15623
18c9d62b
DM
156242012-03-28 David S. Miller <davem@davemloft.net>
15625
88d85d4f
DM
15626 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15627 that branches into memcpy.
15628 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15631 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15633 bits.
15634 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15635 implementation too.
15636 * sysdeps/sparc/mempcpy.S: New file.
15637
e5aa83e1
DM
15638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15639 the IFUNC routine in the libc case.
15640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15641
88570753
DM
15642 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15643 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15644 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15645 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15646 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15647 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15648 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15649 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15650
249d7567
DM
15651 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15652 loop to 256 bytes instead of 64 bytes and fix test signedness.
15653
18c9d62b
DM
15654 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15655 * sysdeps/sparc/sparc32/Makefile: rather than here...
15656 * sysdeps/sparc/sparc64/Makefile: and here.
15657
05f3d1f6
UD
156582012-03-28 Ulrich Drepper <drepper@gmail.com>
15659
15660 * malloc/mallocbug.c: Avoid warnings about unused variables.
15661
86ae07a8
JL
156622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15663
15664 [BZ #13760]
15665 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15666 in the right place. Discard and retry query if response is
15667 larger than input buffer size.
15668
41bf21a1
JM
156692012-03-28 Joseph Myers <joseph@codesourcery.com>
15670
d6270972
JM
15671 [BZ #369]
15672 [BZ #2678]
15673 [BZ #3866]
15674 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15675 x for large integer exponent.
15676 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15677 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15678 sign of result as needed afterwards.
15679 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15680 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15681 result for underflowing pow the same as for overflow.
15682 (__kernel_standard_l): Handle powl overflow and underflow here
15683 rather than calling __kernel_standard.
15684 * math/libm-test.inc (pow_test): Add more tests.
15685
414fca03 15686 [BZ #3868]
41bf21a1
JM
15687 [BZ #13879]
15688 [BZ #13910]
15689 [BZ #13911]
15690 [BZ #13912]
15691 [BZ #13913]
15692 [BZ #13915]
15693 [BZ #13916]
15694 [BZ #13917]
15695 [BZ #13918]
15696 [BZ #13919]
15697 [BZ #13920]
15698 [BZ #13921]
15699 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15700 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15701 (__kernel_standard_l): New function.
15702 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15703 __kernel_standard.
15704 * math/w_acosl.c (__acosl): Likewise.
15705 * math/w_asinl.c (__asinl): Likewise.
15706 * math/w_atan2l.c (__atan2l): Likewise.
15707 * math/w_atanhl.c (__atanhl): Likewise.
15708 * math/w_coshl.c (__coshl): Likewise.
15709 * math/w_exp10l.c (__exp10l): Likewise.
15710 * math/w_exp2l.c (__exp2l): Likewise.
15711 * math/w_fmodl.c (__fmodl): Likewise.
15712 * math/w_hypotl.c (__hypotl): Likewise.
15713 * math/w_j0l.c (__j0l, __y0l): Likewise.
15714 * math/w_j1l.c (__j1l, __y1l): Likewise.
15715 * math/w_jnl.c (__jnl, __ynl): Likewise.
15716 * math/w_lgammal.c (__lgammal): Likewise.
15717 * math/w_log10l.c (__log10l): Likewise.
15718 * math/w_log2l.c (__log2l): Likewise.
15719 * math/w_logl.c (__logl): Likewise.
15720 * math/w_powl.c (__powl): Likewise.
15721 * math/w_remainderl.c (__remainderl): Likewise.
15722 * math/w_scalbl.c (sysv_scalbl): Likewise.
15723 * math/w_sinhl.c (__sinhl): Likewise.
15724 * math/w_sqrtl.c (__sqrtl): Likewise.
15725 * math/w_tgammal.c (__tgammal): Likewise.
15726 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15727 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15728 * math/libm-test.inc (acos_test): Add more tests.
15729 (acosh_test): Likewise.
15730 (asin_test): Likewise.
15731 (atanh_test): Likewise.
15732 (exp_test): Likewise.
15733 (exp10_test): Likewise.
15734 (exp2_test): Likewise.
15735 (expm1_test): Likewise.
15736 (lgamma_test): Likewise.
15737 (log_test): Likewise.
15738 (log10_test): Likewise.
15739 (log1p_test): Likewise.
15740 (log2_test): Likewise.
15741 (pow_test): Do not allow some spurious overflow exceptions.
15742 (sqrt_test): Add more tests.
15743 (tgamma_test): Likewise.
15744 (y0_test): Likewise.
15745 (y1_test): Likewise.
15746 (yn_test): Likewise.
15747
dd62fda6
AB
157482012-03-27 Anton Blanchard <anton@samba.org>
15749
15750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15751 MAP_HUGETLB.
15752 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15753 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15754 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15755
1e3cdfda
AJ
157562012-03-27 David S. Miller <davem@davemloft.net>
15757
b855ab85
DM
15758 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15759
1e3cdfda
AJ
15760 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15761 have-as-vis3 check.
15762
157632012-03-27 Andreas Jaeger <aj@suse.de>
15764
15765 * sysdeps/x86_64/elf/configure.in: Moved to ...
15766 * sysdeps/x86_64/configure.in: ... here.
15767 * sysdeps/x86_64/elf/start.S: Moved to ...
15768 * sysdeps/x86_64/start.S: ... here.
15769 * sysdeps/x86_64/elf/configure: Delete.
15770
15771 * sysdeps/x86_64/configure.in: Merge contents from
15772 sysdeps/i386/configure.in (without i686 check).
15773
15774 * sysdeps/i386/elf/Versions: Merge into ...
15775 * sysdeps/i386/Versions: ... this.
15776 * sysdeps/i386/elf/Versions: Delete file.
15777 * sysdeps/i386/elf/start.S: Moved to ...
15778 * sysdeps/i386/start.S: ...here.
15779 * sysdeps/i386/elf/configure.in: Merge into...
15780 * sysdeps/i386/configure.in: ...here.
15781 * sysdeps/i386/elf/configure.in: Delete file.
15782 * sysdeps/i386/elf/configure: Delete file.
15783
15784 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15785 * debug/backtracesyms.c: ... here.
15786 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15787 * debug/backtracesymsfd.c: ... here.
15788 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15789 * sysdeps/generic/ifunc-sel.h: ... here.
15790
15791 * sysdeps/unix/i386/start.c: Delete file.
15792 * sysdeps/unix/sparc/start.c: Delete file.
15793 * sysdeps/unix/start.c: Delete file.
15794
15795 * sysdeps/sh/elf/configure.in: Moved to ...
15796 * sysdeps/sh/configure.in: ... here.
15797 * sysdeps/sh/elf/start.S: Moved to ...
15798 * sysdeps/sh/start.S: ... here.
15799 * sysdeps/sh/elf/configure: Delete file.
15800
15801 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15802 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15803 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15804 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15805 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15806 * sysdeps/powerpc/powerpc64/start.S: here.
15807 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15808 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15809 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15810 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15811 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15812
15813 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15814 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15815 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15816 * sysdeps/powerpc/powerpc32/start.S: ... here.
15817 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15818 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15819 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15820
15821 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15822 * sysdeps/powerpc/ifunc-sel.h: ... here.
15823 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15824 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15825
15826 * sysdeps/sparc/elf/configure.in: Moved to ...
15827 * sysdeps/sparc/configure.in: ... here.
15828 * sysdeps/sparc/elf/configure: Delete file.
15829 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15830 * sysdeps/sparc/sparc32/start.S: ... here.
15831 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15832 * sysdeps/sparc/sparc64/start.S: ... here.
15833 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15834 * sysdeps/sparc/sparc32/Makefile: ... this.
15835 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15836 * sysdeps/sparc/sparc64/Makefile: ... this.
15837
15838 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15839 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15840 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15841 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15842 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15843 * sysdeps/s390/s390-32/setjmp.S: ... here.
15844 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15845 * sysdeps/s390/s390-32/configure.in: ... here.
15846 * sysdeps/s390/s390-32/elf/configure: Delete file.
15847 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15848 * sysdeps/s390/s390-32/start.S: ... here.
15849
15850 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15851 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15852 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15853 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15854 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15855 * sysdeps/s390/s390-64/setjmp.S: ... here.
15856 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15857 * sysdeps/s390/s390-64/configure.in: ... here
15858 * sysdeps/s390/s390-64/elf/configure: Delete file.
15859 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15860 * sysdeps/s390/s390-64/start.S: ... here.
15861 * sysdeps/s390/s390-64/elf/configure: Delete.
15862
15863 * configure.in: Remove support for elf directories in sysdeps.
15864
15865 * configure: Regenerated.
15866 * sysdeps/i386/configure: Regenerated.
15867 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15868 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15869 * sysdeps/s390/s390-32/configure: Regenerated.
15870 * sysdeps/s390/s390-64/configure: Regenerated.
15871 * sysdeps/sh/configure: Regenerated.
15872 * sysdeps/sparc/configure: Regenerated.
15873 * sysdeps/x86_64/configure: Regenerated.
15874
a3f61311
AS
158752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15876
c876e002
AS
15877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15878
a3f61311
AS
15879 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15880 denormal result into account.
15881
ac4c54f0
RM
158822012-03-25 Roland McGrath <roland@hack.frob.com>
15883
15884 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15885 Reported by Allan McRae <allan@archlinux.org>.
15886
6a9b9c02
JL
158872012-03-23 Jeff Law <law@redhat.com>
15888
15889 * nss/getnssent.c (__nss_getent): Fix typo.
15890
4c42a0c1
DM
158912012-03-23 David S. Miller <davem@davemloft.net>
15892
15893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15894
1532c7ac
L
158952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15896
15897 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15898 to pad to uint64_t for each field.
15899 (dl_tls_index): Replace unsigned long with uint64_t.
15900
3ff42526
PP
159012012-03-23 Daniel Jacobowitz <dmj@google.com>
15902 Paul Pluzhnikov <ppluzhnikov@google.com>
15903
15904 [BZ #6528]
15905 * grp/Makefile (otherlibs): Don't set it.
15906 * inet/Makefile (otherlibs): Likewise.
15907 * login/Makefile (otherlibs): Likewise.
15908 * nscd/Makefile (otherlibs): Likewise.
15909 * posix/Makefile (otherlibs): Likewise.
15910 * pwd/Makefile (otherlibs): Likewise.
15911 * rt/Makefile (otherlibs): Likewise.
15912 * sunrpc/Makefile (otherlibs): Likewise.
15913 * nss/Makefile (otherlibs): Likewise.
15914 Add libnss_files to routines and static-only-routines.
15915 ($(objpfx)getent): Remove rule.
15916 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15917 static-only-routines.
15918
7c69cd14
JM
159192012-03-22 Joseph Myers <joseph@codesourcery.com>
15920
15921 [BZ #13892]
15922 * math/s_cexp.c: Include <float.h>.
15923 (__cexp): Handle exp result overflowing not necessarily
15924 overflowing both real and imaginary parts of result.
15925 * math/s_cexpf.c: Likewise.
15926 * math/s_cexpl.c: Likewise.
15927 * math/libm-test.inc (cexp_test): Add more tests.
15928 * sysdeps/i386/fpu/libm-test-ulps: Update.
15929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15930
81b035fe
L
159312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15932
15933 * include/link.h (ELFW): New macro.
15934 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15935 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15936
1da7940c
L
159372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15938
15939 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15940 with uint64_t.
15941
b749dbb9
L
159422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15943
15944 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15945 declaration.
15946 (struct La_x32_retval): Likewise.
15947
2ff87f3f
L
159482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15949
15950 * sysdeps/x86_64/preconfigure.in: New file.
15951 * sysdeps/x86_64/preconfigure: New generated file.
15952
c0df8e69
JM
159532012-03-22 Joseph Myers <joseph@codesourcery.com>
15954
48e44791
JM
15955 [BZ #13824]
15956 * math/e_exp2l.c: Include <float.h>.
15957 (__ieee754_exp2l): Handle overflow and underflow cases
15958 separately. Only pass fractional part of argument to
15959 __ieee754_expl.
15960 * math/libm-test.inc (exp2_test): Add more tests.
15961
c0df8e69
JM
15962 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15963 negating x to take absolute value.
15964 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15965 Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15967 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15968 Likewise.
15969 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15970 computing low part if x was negated.
15971 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15972
c8e43ba7
L
159732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15976 la_x32_gnu_pltexit.
15977 (pltexit): Cast int_retval to ptrdiff_t.
15978 * elf/tst-auditmod3b.c: Likewise.
15979 * elf/tst-auditmod4b.c: Likewise.
15980 * elf/tst-auditmod5b.c: Likewise.
15981 * elf/tst-auditmod6b.c: Likewise.
15982 * elf/tst-auditmod6c.c: Likewise.
15983 * elf/tst-auditmod7b.c: Likewise.
15984
15985 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15986 and x32_gnu_pltexit.
15987
15988 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15989 __ELF_NATIVE_CLASS.
15990 (La_x32_regs): New macro.
15991 (La_x32_retval): Likewise.
15992 (la_x32_gnu_pltenter): New function prototype.
15993 (la_x32_gnu_pltexit): Likewise.
15994
7998fa78
AS
159952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15996
dcb33988
AS
15997 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15998 exponent.
15999
233fc563
AS
16000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16001
7998fa78
AS
16002 * configure.in (libc_cv_cc_nofma): Check for option to disable
16003 generation of FMA instructions.
16004 * configure: Regenerate.
16005 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16006 * sysdeps/ieee754/dbl-64/Makefile: New file.
16007 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16008 Remove brandred-fma4.
16009 (CFLAGS-brandred-fma4.c): Remove.
16010 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16011 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16012 define.
16013 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16014 define.
16015
8e95c99a
L
160162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16017
16018 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16019 LLONG_MAX != LONG_MAX.
16020 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16021 (_fitoa_word): Likewise.
16022 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16023 LLONG_MAX != LONG_MAX.
16024 * stdio-common/_itowa.h: Include <_itoa.h>.
16025 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16026 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16027 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16028 only if not defined.
16029 (_ITOA_WORD_TYPE): Likewise.
16030 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16031 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16032
6f4db457
DM
160332012-03-21 David S. Miller <davem@davemloft.net>
16034
16035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16036
7785fe5a
L
160372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16038
16039 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16040 of x86_64 when setting libc_cv_slibdir, libdir and
16041 libc_cv_localedir.
16042 * sysdeps/unix/sysv/linux/configure: Regenerated.
16043
4535cd55
JM
160442012-03-21 Joseph Myers <joseph@codesourcery.com>
16045
16046 * manual/lang.texi (Old Varargs): Remove section.
16047 (How Variadic): Update menu.
16048 (va_start): Do not mention varargs.h.
16049
17228132
TS
160502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16051 Joseph Myers <joseph@codesourcery.com>
16052
16053 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16054 link test.
16055 * configure: Regenerated.
16056
8149f976
TS
160572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16058
05f3d1f6
UD
16059 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16060 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16061 conformtest.pl
8149f976 16062
1a4ac776
JM
160632012-03-21 Joseph Myers <joseph@codesourcery.com>
16064
be22ce65
JM
16065 * NOTES: Remove.
16066 * Makefile (files-for-dist): Remove NOTES.
16067 (NOTES): Remove rule.
16068 * README: Don't refer to NOTES.
16069 * manual/creature.texi: Don't include macros.texi.
16070 * manual/intro.texi (creature.texi): Remove comment referring to
16071 NOTES.
16072
40b601fb
JM
16073 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16074 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16075 * configure: Regenerated.
16076 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16077 LIBC_TRY_CC_OPTION.
16078 (libc_cv_as_i686): Likewise.
16079 (libc_cv_cc_avx): Likewise.
16080 (libc_cv_cc_sse2avx): Likewise.
16081 (libc_cv_cc_fma4): Likewise.
16082 (libc_cv_cc_novzeroupper): Likewise.
16083 * sysdeps/i386/configure: Regenerated.
16084
1a4ac776
JM
16085 [BZ #13883]
16086 * sysdeps/i386/fpu/s_cexp.S: Remove.
16087 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16088 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16089 * math/libm-test.inc (cexp_test): Add more tests.
16090 * sysdeps/i386/fpu/libm-test-ulps: Update.
16091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16092
a458e7fe
AM
160932012-03-21 Allan McRae <allan@archlinux.org>
16094
16095 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16096
0cb7efc5
JM
160972012-03-21 Joseph Myers <joseph@codesourcery.com>
16098
16099 [BZ #13871]
16100 * math/w_exp2.c: Do not include <float.h>.
16101 (o_threshold, u_threshold): Remove.
16102 (__exp2): Calculate result before checking finiteness and calling
16103 __kernel_standard.
16104 * math/w_exp2f.c: Likewise.
16105 * math/w_exp2l.c: Likewise.
16106 * math/libm-test.inc (exp2_test): Require overflow exception for
16107 1e6 input.
2460d3aa
JM
16108
16109 [BZ #3866]
16110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16111 range of signed 64-bit integers before using fistpll. Remove
16112 checks for whether integers fit in mantissa bits.
16113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16114 the range of signed 32-bit integers before using fistpl. Remove
16115 checks for whether integers fit in mantissa bits.
16116 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16121 divide-by-zero is raised for zero to large negative powers.
16122 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16123 (__ieee754_powl): Test for y outside the range of signed 64-bit
16124 integers before using fistpll. Reduce 64-bit values to 63-bit
16125 ones as needed.
16126 * math/libm-test.inc (pow_test): Add more tests.
16127
eb96ffb0
L
161282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16129
16130 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16131 <stdio-common/_itoa.h>.
16132 * debug/segfault.c: Likewise.
16133 * elf/dl-cache.c: Likewise.
16134 * elf/dl-minimal.c: Likewise.
16135 * elf/dl-misc.c: Likewise.
16136 * elf/dl-sysdep.c: Likewise.
16137 * elf/dl-version.c: Likewise.
16138 * elf/rtld.c: Likewise.
16139 * hurd/hurdsock.c: Likewise.
16140 * hurd/lookup-retry.c: Likewise.
16141 * malloc/malloc.c: Likewise.
16142 * malloc/mtrace.c: Likewise.
16143 * nscd/nscd_getgr_r.c: Likewise.
16144 * nscd/nscd_getpw_r.c: Likewise.
16145 * nscd/nscd_getserv_r.c: Likewise.
16146 * posix/getopt_init.c: Likewise.
16147 * posix/wordexp.c: Likewise.
16148 * stdio-common/_itoa.c: Likewise.
16149 * stdio-common/printf_fphex.c: Likewise.
16150 * stdio-common/vfprintf.c: Likewise.
16151 * string/_strerror.c: Likewise.
16152 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16153 * sysdeps/i386/i686/hp-timing.h: Likewise.
16154 * sysdeps/mach/_strerror.c: Likewise.
16155 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16156 * sysdeps/mach/hurd/sethostid.c: Likewise.
16157 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16158 * sysdeps/mach/xpg-strerror.c: Likewise.
16159 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16160 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16161 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16162 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16163 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16164 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16165 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16166 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16167 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16168 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16169 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16170 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16171 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16172 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16173 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16174 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16175 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16176 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16177 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16178 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16179 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16180
16181 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16182
16183 * stdio-common/_itoa.h: Moved to ...
16184 * sysdeps/generic/_itoa.h: Here.
16185
16186 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16187
16188 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16189 instead of "_itoa.h" and "_itowa.h".
16190 * stdio-common/vfprintf.: Likewise.
16191
d1af992d
L
161922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16193
16194 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16195 <bits/wordsize.h>.
16196 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16197 (__signbit): Likwise.
16198 (llrintf): Likwise.
16199 (llrint): Likwise.
16200
114883e0
L
162012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16202
16203 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16204 __WORDSIZE != 64.
16205
c135cc1b
JM
162062012-03-20 Joseph Myers <joseph@codesourcery.com>
16207
16208 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16209 OVERFLOW_EXCEPTION_OK.
16210 * math/libm-test.inc ("Philosophy"): Update comment about
16211 exception testing.
16212 (OVERFLOW_EXCEPTION): Define.
16213 (OVERFLOW_EXCEPTION_OK): Likewise.
16214 (INVALID_EXCEPTION_OK): Renumber.
16215 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16216 (IGNORE_ZERO_INF_SIGN): Likewise.
16217 (test_exceptions): Handle FE_OVERFLOW.
16218 (exp10_test): Expect overflow exceptions.
16219 (exp2_test): Likewise.
16220 (expm1_test): Likewise.
16221 (nextafter_test): Likewise.
16222 (pow_test): Likewise.
16223 (scalbn_test): Likewise.
16224 (scalbln_test): Likewise.
16225
95443d88
L
162262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16227
16228 * sysdeps/x86_64/bits/atomic.h
16229 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16230 64bit integer.
16231 (atomic_exchange_acq): Likewise.
16232 (__arch_exchange_and_add_body): Likewise.
16233 (__arch_add_body): Likewise.
16234 (atomic_add_negative): Likewise.
16235 (atomic_add_zero): Likewise.
16236
490df6c4
L
162372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16238
c2722551 16239 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16240 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16241
5e52b189
L
162422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16243
16244 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16245 Check __x86_64__ instead of __WORDSIZE.
16246
a9879d4c
L
162472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16250
5df98260
DM
162512012-03-19 David S. Miller <davem@davemloft.net>
16252
e1497744
DM
16253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16254
5df98260
DM
16255 * sysdeps/sparc/fpu/fenv_private.h: New file.
16256 * sysdeps/sparc/fpu/math_private.h: Use it.
16257 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16258 Remove.
16259 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16260 (libc_feholdexcept_setroundl): Remove.
16261 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16262 Remove.
16263 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16264 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16265
b4c35121
L
162662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16267
16268 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16269 int64_t instead of long int.
16270 (INSERT_WORDS64): Likwise.
16271
56965fd7
L
162722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16273
16274 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16275 _Unwind_GetCFA return to _Unwind_Ptr first.
16276
83d1aec8
JM
162772012-03-19 Joseph Myers <joseph@codesourcery.com>
16278
1897ad44
JM
16279 [BZ #13629]
16280 * math/s_clog.c: Include <float.h>.
16281 (__clog): Scale large or subnormal inputs.
16282 * math/s_clogf.c: Likewise.
16283 * math/s_clogl.c: Likewise.
16284 * math/s_clog10.c: Include <float.h>.
16285 (M_LOG10_2): Define.
16286 (__clog10): Scale large or subnormal inputs.
16287 * math/s_clog10f.c: Likewise.
16288 * math/s_clog10l.c: Likewise.
16289 * math/libm-test.inc (clog_test): Add more tests.
16290 (clog10_test): Likewise.
16291 * sysdeps/i386/fpu/libm-test-ulps: Update.
16292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16293
7726d6a9
JM
16294 [BZ #11451]
16295 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16296 x and y.
16297 * math/libm-test.inc (atan2_test): Add another test.
16298
83d1aec8
JM
16299 * Makerules (common-objdir-compile): Remove.
16300 * sysdeps/unix/Makefile (config-generated): Do not add
16301 $(unix-generated) to variable.
16302 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16303 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16304 Remove rule.
16305 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16306 Likewise.
16307 [generic bits/local_lim.h] (before-compile): Do not append to
16308 variable.
16309 [generic bits/local_lim.h] (common-generated): Likewise.
16310 [generic sys/param.h] (before-compile): Do not append to variable.
16311 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16312 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16313 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16314 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16315 include.
16316 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16317 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16318 [generic sys/param.h] ($(addprefix
16319 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16320 [generic sys/param.h] (common-generated): Do not append to
16321 variable.
16322 [generic sys/param.h] (sysdep_headers): Likewise.
16323 [generic bits/errno.h] (before-compile): Do not append to
16324 variable.
16325 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16326 rule.
16327 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16328 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16329 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16330 [generic bits/errno.h] (common-generated): Do not append to
16331 variable.
16332 [generic bits/ioctls.h] (before-compile): Do not append to
16333 variable.
16334 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16335 rule.
16336 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16337 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16338 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16339 rule.
16340 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16341 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16342 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16343 [generic bits/ioctls.h] (common-generated): Do not append to
16344 variable.
16345 [generic sys/syscall.h] (syscall.h): Remove variable.
16346 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16347 rule.
16348 [generic sys/syscall.h] (before-compile): Do not append to
16349 variable.
16350 [generic sys/syscall.h] (common-generated): Likewise.
16351 * sysdeps/unix/errnos-tmpl.c: Remove file.
16352 * sysdeps/unix/errnos.awk: Likewise.
16353 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16354 * sysdeps/unix/ioctls.awk: Likewise.
16355 * sysdeps/unix/mk-local_lim.c: Likewise.
16356 * sysdeps/unix/snarf-ioctls: Likewise.
16357
4851a949
RH
163582012-03-19 Richard Henderson <rth@twiddle.net>
16359
bd37f2ee
RH
16360 * sysdeps/i386/fpu/fenv_private.h: New file.
16361 * sysdeps/i386/fpu/math_private.h: Use it.
16362 (math_opt_barrier, math_force_eval): Remove.
16363 (libc_feholdexcept_setround_53bit): Remove.
16364 (libc_feupdateenv_53bit): Remove.
16365 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16366 (math_opt_barrier, math_force_eval): Remove.
16367 (libc_feholdexcept): Remove.
16368 (libc_feholdexcept_setround): Remove.
16369 (libc_fetestexcept, libc_fesetenv): Remove.
16370 (libc_feupdateenv_test): Remove.
16371 (libc_feupdateenv, libc_feholdsetround): Remove.
16372 (libc_feresetround): Remove.
16373
d0adc922
RH
16374 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16375 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16376
0fe0f1f8
RH
16377 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16378 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16379 (libc_feupdateenv_testl): New.
16380 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16381 (libc_feupdateenv_testf): New.
16382 (libc_feupdateenv): Use libc_feupdateenv_test.
16383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16384 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16385
eb92c487
RH
16386 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16387 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16388 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16389 (libc_feresetround_noex): New.
16390 (libc_feresetround_noexf): New.
16391 (libc_feresetround_noexl): New.
16392 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16393 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16394 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16395 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16396 SET_RESTORE_ROUND.
16397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16399 (__cos): Likewise.
16400 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16401 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16402 SET_RESTORE_ROUND_NOEX.
16403 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16404 SET_RESTORE_ROUND_NOEXF.
16405 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16406 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16407 (libc_feholdsetroundf): New.
16408 (libc_feresetround, libc_feresetroundf): New.
16409
7d2e8012
RH
16410 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16411 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16412 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16413
b4dabbb4
RH
16414 * sysdeps/generic/math_private.h: Include <fenv.h>.
16415 (default_libc_feholdexcept): New.
16416 (default_libc_feholdexcept_setround): New.
16417 (default_libc_fesetenv, default_libc_feupdateenv): New.
16418 (libc_feholdexcept): Only define if undefined.
16419 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16420 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16421 (libc_feholdexcept_setroundl): Likewise.
16422 (libc_feholdexcept_setround_53bit): Likewise.
16423 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16424 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16425 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16426 (libc_feupdateenv_53bit): Likewise.
16427 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16428 (libc_feholdexcept): Convert from macro to inline function.
16429 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16430 (libc_fesetenv, libc_feupdateenv): Likewise.
16431
4851a949
RH
16432 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16433 not previously defined.
16434 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16435 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16436 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16437 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16438 * sysdeps/ieee754/flt-32/math_private.h: New file.
16439 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16440 math_private.h below SET_FLOAT_WORD.
16441 (__isnan, __isinf_ns, __finite): Remove.
16442 (__isnanf, __isinf_nsf, __finitef): Remove.
16443
e79d442e
AS
164442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16445
16446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16447
90b80344
DM
164482012-03-17 David S. Miller <davem@davemloft.net>
16449
16450 [BZ #6471]
16451 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16452 for 2.16.
16453
edc21804
DM
164542012-03-16 David S. Miller <davem@davemloft.net>
16455
77e927af
DM
16456 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16457 warnings.
16458
374976dd
DM
16459 [BZ #6471]
16460 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16461 properly.
16462 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16463 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16464 sysdep_routines when subdir is sysvipc.
16465 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16466 __getshmlba helper.
16467
edc21804
DM
16468 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16469
473c3ef3
L
164702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16471
16472 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16473 [__LP64__].
16474
eb0f39b6
L
164752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16476
16477 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16478 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16479 (__lround): Renamed to ...
16480 (__llround): This. Replace long int with long long int.
16481 Define lround functions as aliases of llround functions.
16482 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16483
6b6cd74b
L
164842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16487 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16488 adresses to uintptr_t. Replace "long int" and "unsigned long
16489 int" with "greg_t" on va_arg.
16490
f1a77b01
L
164912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16492
16493 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16494 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16495
16496 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16497 Move e_machine check before EI_CLASS check. Handle x32
16498 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16499 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16500 SKIP_EM_IA_64 and include
16501 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16502
16503 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16504 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16505 (add_system_dir): New macro.
16506
16507 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16508 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16509
11b90b9f
JM
165102012-03-16 Joseph Myers <joseph@codesourcery.com>
16511
c36e1d23
JM
16512 [BZ #2551]
16513 [BZ #2552]
16514 [BZ #2553]
16515 [BZ #2554]
16516 [BZ #2562]
16517 [BZ #2563]
16518 [BZ #2565]
16519 [BZ #2566]
16520 [BZ #2576]
16521 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16522 (y0): Likewise.
16523 * math/w_j0f.c (j0f): Likewise.
16524 (y0f): Likewise.
16525 * math/w_j0l.c (__j0l): Likewise.
16526 (__y0l): Likewise.
16527 * math/w_j1.c (j1): Likewise.
16528 (y1): Likewise.
16529 * math/w_j1f.c (j1f): Likewise.
16530 (y1f): Likewise.
16531 * math/w_j1l.c (__j1l): Likewise.
16532 (__y1l): Likewise.
16533 * math/w_jn.c (jn): Likewise.
16534 (yn): Likewise.
16535 * math/w_jnf.c (jnf): Likewise.
16536 (ynf): Likewise.
16537 * math/w_jnl.c (__jnl): Likewise.
16538 (__ynl): Likewise.
16539 * math/libm-test.inc (j0_test): Add more tests.
16540 (j1_test): Likewise.
16541 (jn_test): Likewise. Add trailing semicolon to existing test.
16542 (y0_test): Likewise.
16543 (y1_test): Likewise.
16544 * sysdeps/i386/fpu/libm-test-ulps: Update.
16545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16546
11b90b9f
JM
16547 [BZ #13851]
16548 [BZ #13854]
16549 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16550 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16551 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16552 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16553 (__tanl): Set errno for infinite argument.
16554 * sysdeps/i386/fpu/mptan.c: Remove.
16555 * sysdeps/i386/fpu/s_tan.S: Likewise.
16556 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16557 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16558 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16559 * math/libm-test.inc (tan_test): Add more tests and enable more
16560 tests for double and long double.
16561 * sysdeps/i386/fpu/libm-test-ulps: Update.
16562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16563
6a1bd2a1
JK
165642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16565
16566 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16567 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16568
10a803e0
RM
165692012-03-16 Roland McGrath <roland@hack.frob.com>
16570
16571 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16572 * configure.in: Use it for both main tree and add-ons.
16573 * configure: Regenerated.
16574
f196c7f7
L
165752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16576
16577 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16578
8848d99d
JM
165792012-03-16 Joseph Myers <joseph@codesourcery.com>
16580
96cbe7f4
JM
16581 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16582 in comment.
16583
8848d99d
JM
16584 [BZ #13851]
16585 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16586 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16587 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16588 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16589 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16590 infinite argument.
16591 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16593 != 0 for prec == 2.
16594 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16595 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16596 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16597 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16598 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16599 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16600 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16601 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16602 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16603 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16604 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16605 * math/libm-test.inc (cos_test): Add more tests and enable more
16606 tests for long double.
16607 (sin_test): Likewise.
16608 (sincos_test): Likewise.
16609 * sysdeps/i386/fpu/libm-test-ulps: Update.
16610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16611
dd7f4703
DM
166122012-03-16 David S. Miller <davem@davemloft.net>
16613
16614 * sysdeps/sparc/fpu/math_private.h: New file.
16615
006f1daa
DM
166162012-03-15 David S. Miller <davem@davemloft.net>
16617
c0c83bc8
DM
16618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16619 file.
e6a62e18 16620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16622 file.
e6a62e18
DM
16623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16629 sysdep routines.
16630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16631
88cb87d9
DM
16632 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16633 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16634
006f1daa 16635 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16637 sparc-ifunc.h
006f1daa 16638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16640 Likewise.
16641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16642 Likewise.
006f1daa
DM
16643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16647 Likewise.
006f1daa
DM
16648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16653 Likewise.
16654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16655 Likewise.
006f1daa
DM
16656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16678 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16679 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16680
11e0098e
AS
166812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16682
16683 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16684 scaling.
16685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16686
e85b09d0
AJ
166872012-03-15 Andreas Jaeger <aj@suse.de>
16688
16689 [BZ #13852]
16690 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16691 ieee754/flt-32 implementation for sin, cos and sincos.
16692 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16693 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16694 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16695 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16696 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16697 ieee754/flt-32 implementation for tan.
16698
16699 * math/libm-test.inc (cos_test): Enable some large input tests for
16700 float as well
16701 (sin_test): Likewise.
16702 (sincos_test): Likewise.
16703 (tan_test): Add tests for large input.
16704
16705 * sysdeps/i386/fpu/libm-test-ulps: Update.
16706
81c64153
AJ
167072012-03-15 Andreas Jaeger <aj@suse.de>
16708
16709 [BZ #13658]
16710 * math/libm-test.inc (cos_test): Add more test cases.
16711 (sin_test): Likewise.
16712 (sincos_test): Likewise.
16713
7bbfa5c6
AJ
167142012-03-15 Andreas Jaeger <aj@suse.de>
16715
16716 [BZ #13837]
16717 * math/libm-test.inc (cos_test): Add a test case for large input
16718 value.
16719 (sin_test): Likewise.
16720 (sincos_test): Likewise.
16721
167222012-03-15 Andreas Jaeger <aj@suse.de>,
16723 Joseph Myers <joseph@codesourcery.com>
16724
16725 [BZ #13658]
0671f479 16726 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16727 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16728 * sysdeps/i386/fpu/branred.c: Likewise.
16729 * sysdeps/i386/fpu/dosincos.c: Likewise.
16730 * sysdeps/i386/fpu/mpa.c: Likewise.
16731 * sysdeps/i386/fpu/s_cos.S: Likewise.
16732 * sysdeps/i386/fpu/s_sin.S: Likewise.
16733 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16734 * sysdeps/i386/fpu/sincos32.c: Likewise.
16735
16736 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16737 Define.
16738 (libc_feupdateenv_53bit): Define.
16739 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16740 Define.
16741 (libc_feupdateenv_53bit): Define.
16742
16743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16744 53 bit (without extend i386 double precision).
16745
16746 * math/libm-test.inc (sincos_test): Add tests for large input.
16747 (sin): Likewise.
16748 (cos): Likewise.
16749
16750 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16751
9cad04ea
AS
167522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16753
16754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16755
f7062b9a
DM
167562012-03-15 David S. Miller <davem@davemloft.net>
16757
16758 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16759 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16760 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16761 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16774 file.
f7062b9a 16775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16777 file.
f7062b9a 16778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16780 file.
f7062b9a 16781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16783 file.
f7062b9a
DM
16784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16785 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16786 fmin/fmax sysdep routines.
16787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16788
7bd951ff
DM
167892012-03-14 David S. Miller <davem@davemloft.net>
16790
559398ab
DM
16791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16796 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16798 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16814 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16820 routines.
16821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16822 file.
559398ab 16823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16825 file.
559398ab 16826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16828 file.
559398ab 16829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16831 file.
559398ab 16832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16834 file.
559398ab 16835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16837 file.
16838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16839 file.
16840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16841 file.
16842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16843 file.
16844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16845 New file.
16846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16847 file.
16848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16849 file.
559398ab 16850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16852 file.
559398ab 16853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16855 file.
559398ab 16856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16858 file.
559398ab 16859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16861 VIS3 routines.
559398ab
DM
16862
16863 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16864 New file.
16865
5a1c1e32
DM
16866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16867
eae47a36
DM
16868 * sysdeps/sparc/configure.in: New file.
16869 * sysdeps/sparc/configure: Generate.
16870 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16871 * configure: Regenerate.
16872 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16873 * config.make.in (have-as-vis3): New.
16874 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16875 available use -Av9d instead of -Av9a.
16876 * sysdeps/sparc/sparc64/Makefile: Likewise.
16877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16879 New file.
16880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16881 file.
16882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16883 New file.
16884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16885 file.
eae47a36
DM
16886 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16888 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16890 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16891
c0c83bc8
DM
16892 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16893 fzeros/fnegs to load 0x80000000 into a float register instead of
16894 using the stack.
7bd951ff
DM
16895 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16896
bd951ccb
JM
168972012-03-14 Joseph Myers <joseph@codesourcery.com>
16898
16899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16900 bits/syscall.h.
16901 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16902 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16903 ($(inst_includedir)/bits/syscall.h): Remove rule.
16904 ($(objpfx)bits/syscall.d): Include instead of
16905 $(objpfx)syscall-list.d.
16906 (generated): Change syscall-list.h and syscall-list.d to
16907 bits/syscall.h and bits/syscall.d.
16908
bb4e6db2
RM
169092012-03-14 Roland McGrath <roland@hack.frob.com>
16910
16911 [BZ #13846]
16912 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16913
aa4a2ae1
JM
169142012-03-14 Joseph Myers <joseph@codesourcery.com>
16915
e456826d
JM
16916 [BZ #13841]
16917 * math/s_csqrt.c: Include <float.h>.
16918 (__csqrt): Scale large or subnormal inputs.
16919 * math/s_csqrtf.c: Likewise.
16920 * math/s_csqrtl.c: Likewise.
16921 * math/libm-test.inc (csqrt_test): Add more tests.
16922 * sysdeps/i386/fpu/libm-test-ulps: Update.
16923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16924
aa4a2ae1
JM
16925 [BZ #13840]
16926 * math/libm-test.inc (hypot_test): Add more tests.
16927
7c10fd35
DM
169282012-03-13 David S. Miller <davem@davemloft.net>
16929
16930 [BZ #13840]
16931 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16932 double-precision for the calculation instead of scaling.
16933
f453b98b
JM
169342012-03-13 Joseph Myers <joseph@codesourcery.com>
16935
16936 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16937 manipulate bits before adding and subtracting TWO52[sx].
16938 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16939 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16940 Likewise.
16941 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16942
09a3453f
DM
169432012-03-13 David S. Miller <davem@davemloft.net>
16944
8e59da90
DM
16945 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16946 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16948 rtld-global-offsets.h
16949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16950
2a8ab7f2
DM
16951 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16952 large parameters.
16953
10f62770
DM
16954 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16955
5f0bdb18
DM
16956 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16957 'err' in the ifdef scope in which it is actually used.
16958
09a3453f
DM
16959 * nss/nss_db/db-init.c: Include string.h
16960
b4b2eb5e
DM
169612012-03-12 David S. Miller <davem@davemloft.net>
16962
98bb2f1c
DM
16963 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16964 masking out of the most significant byte of random value used.
16965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16966 Fix coding style in previous change.
16967
b4b2eb5e
DM
16968 * sysdeps/unix/sysv/linux/kernel-features.h
16969 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16970 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16971 expression.
16972 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16973 later.
16974
6e226b09
DM
169752012-03-11 David S. Miller <davem@davemloft.net>
16976
a1bcbd40
DM
16977 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16978 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16979 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16980 for 'resultvar' otherwise things get truncated on 64-bit.
16981
cb9d6174
DM
16982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16983 Fix masking out of the most significant byte of random value used.
16984
6e226b09
DM
16985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16986
058c132d
AS
169872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16988
16989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16990
2d2cd515
DM
169912012-03-09 David S. Miller <davem@davemloft.net>
16992
16993 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16994 variables with appropriate CPP guards.
16995 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16996 frame pointer, not the stack pointer. Correct layout comments. Fix test
16997 on resulting framesize and the management of the outregs buffer for pltexit.
16998 Preserve floating point return values across _dl_call_pltexit call.
16999 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17000 framesize and the management of the outregs buffer for pltexit.
17001 Preserve floating point return values across _dl_call_pltexit
17002 call.
17003 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17004 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17005 (print_exit): Fix format string for return register value.
17006
9a07f9d0
JM
170072012-03-10 Joseph Myers <joseph@codesourcery.com>
17008
17009 * sunrpc/Makefile (others): Add rpcgen.
17010 ($(objpfx)rpcgen): Remove special build rule and dependency on
17011 libc.
17012 * sunrpc/rpcgen.c: New file.
17013
547b5e30
PE
170142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17015
c524201a
PE
17016 [BZ #13673]
17017 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17018 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17019 * sysdeps/i386/crti.S: Likewise.
17020 * sysdeps/i386/crtn.S: Likewise.
17021 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17022 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17023 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17024 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17025 * sysdeps/sh/crti.S: Likewise.
17026 * sysdeps/sh/crtn.S: Likewise.
17027 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17028
7b6235f2
PE
17029 [BZ #13673]
17030 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17031 with URL.
17032 * locale/programs/locfile-kw.gperf: Likewise.
17033 * locale/programs/charmap-kw.h: Regenerated.
17034 * locale/programs/locfile-kw.h: Likewise.
17035
547b5e30
PE
17036 [BZ #13673]
17037 * intl/plural.y: Replace FSF snail mail address with URL.
17038 * intl/plural.c: Regenerated.
17039
5f0a5dae
RH
170402012-03-09 Richard Henderson <rth@twiddle.net>
17041
17042 * include/math_private.h: Remove file.
17043 * math/math_private.h: Move file ...
17044 * sysdeps/generic/math_private.h: ... here.
17045
b8c03620
RH
17046 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17047 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17048 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17049
4e234f5d 17050 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17051 and <math_private.h>.
17052 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17053 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17054 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17055 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17056 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17102 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17103 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17104 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17105 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17108 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17140 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17141 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17142 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17143 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17144 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17145 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17146 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17147 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17149 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17150 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17151 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17152 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17153 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17154 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17155 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17156 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17157 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17158 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17159 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17160 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17161 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17162 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17163 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17164 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17165 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17166 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17167 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17169 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17171 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17172 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17173 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17174 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17175 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17176 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17177 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17178 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17179 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17180 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17181 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17182 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17183 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17184 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17185 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17186 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17187 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17188 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17189 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17190 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17191 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17192 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17194 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17195 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17196 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17197 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17198 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17199 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17200 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17201 * sysdeps/ieee754/k_standard.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17316 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17317 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17321 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17322 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17324 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17329 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17334 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17339 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17351 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17362 * sysdeps/ieee754/s_lib_version.c: Likewise.
17363 * sysdeps/ieee754/s_matherr.c: Likewise.
17364 * sysdeps/ieee754/s_signgam.c: Likewise.
17365 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17366 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17367 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17368 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17369 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17370 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17371 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17372 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17373 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17374 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17375 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17376 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17377 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17378 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17379 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17380 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17381 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17382 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17383 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17386
1991fa03
JM
173872012-03-09 Joseph Myers <joseph@codesourcery.com>
17388
17389 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17390 * sunrpc/rpc_main.c: Likewise.
17391 * sunrpc/rpc_svcout.c: Likewise.
17392
60d6f5a6
DM
173932012-03-09 David S. Miller <davem@davemloft.net>
17394
17395 * include/math_private.h: New file.
17396
4962050e
JM
173972012-03-09 Joseph Myers <joseph@codesourcery.com>
17398
02a6f887
JM
17399 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17400 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17401 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17402 from <bits/socket_type.h>.
17403 (enum __socket_type): Don't define here.
17404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17406 bits/socket_type.h.
17407
c6e013c1
JM
17408 [BZ #13566]
17409 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17410 checking __USE_GNU.
17411
4962050e
JM
17412 * Makerules ($(inst_includedir)/%.h): New rule.
17413 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17414 (install-others): Remove variable setting.
17415 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17416
38842f45
RH
174172012-03-08 Richard Henderson <rth@twiddle.net>
17418
67bb6da6
RH
17419 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17420 from macro to inline function; merge with the
17421 !__LIBC_INTERNAL_MATH_INLINES version.
17422 (__ieee754_sqrtf): Likewise.
17423
15194b4b
RH
17424 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17425 to inline function.
17426 (__rintf, __floor, __floorf): Likewise.
17427
64e21ede
RH
17428 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17429 macro to inline function.
17430 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17431
38842f45
RH
17432 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17433 not <math/math_private.h>.
17434
c64bf5fe
DM
174352012-03-08 David S. Miller <davem@davemloft.net>
17436
17437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17438 copyright year.
17439 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17440
82d86f28
TS
174412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17442
17443 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17444 normalization.
17445 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17446 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17447
aea5d727
UD
174482012-03-08 Ulrich Drepper <drepper@gmail.com>
17449
17450 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17451 be defined individually, they must be defined as a block. Define
17452 S for printing a string instead of hidint the different by using a
17453 macro for adding the 'l'.
17454 * stdio-common/tst-fphex-wide.c: Adjust.
17455
70bca0a3
MP
174562012-03-07 Marek Polacek <polacek@redhat.com>
17457
17458 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17459
65b81130
MP
174602012-03-08 Marek Polacek <polacek@redhat.com>
17461
17462 [BZ #13806]
17463 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17464 * stdio-common/tst-fphex.c: Define a few macros to make the
17465 test reusable. Use them.
17466 * stdio-common/tst-fphex-wide.c: New file.
17467
07037eeb
JM
174682012-03-08 Joseph Myers <joseph@codesourcery.com>
17469
a7a93d50
JM
17470 [BZ #6911]
17471 * manual/macros.texi (gnusystems): New macro.
17472 (nongnusystems): Likewise.
17473 (gnulinuxhurdsystems): Likewise.
17474 (gnuhurdsystems): Likewise..
17475 (gnulinuxsystems): Likewise.
17476 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17477 variants of the GNU system, not "GNU system".
17478 * manual/conf.texi: Likewise.
17479 * manual/errno.texi: Likewise. Update example of errno macro
17480 expansion.
17481 * manual/filesys.texi: Likewise.
17482 (getumask): Document as specific to GNU/Hurd.
17483 * manual/install.texi: Likewise. Reword some references to
17484 GNU/Linux.
17485 * manual/intro.texi: Likewise.
17486 * manual/io.texi: Likewise.
17487 (File Name Portability): Detail which constraints are inapplicable
17488 to all GNU systems and which are only inapplicable to GNU/Hurd.
17489 * manual/job.texi: Likewise.
17490 * manual/llio.texi: Likewise.
17491 (O_NOCTTY): Document as present on GNU/Linux.
17492 * manual/maint.texi: Likewise.
17493 * manual/memory.texi: Likewise.
17494 * manual/pattern.texi: Likewise.
17495 * manual/pipe.texi: Likewise.
17496 * manual/process.texi: Likewise.
17497 * manual/resource.texi: Likewise.
17498 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17499 child on GNU/Hurd.
17500 * manual/setjmp.texi: Likewise.
17501 * manual/signal.texi: Likewise.
17502 * manual/startup.texi: Likewise.
17503 * manual/stdio.texi: Likewise.
17504 * manual/terminal.texi: Likewise.
17505 (ONLCR): Document as POSIX.
17506 (OXTABS): Document availability on GNU/Linux as XTABS.
17507 (ONOEOT): Document availability separately from other bits.
17508 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17509 * manual/time.texi: Likewise.
17510 * manual/users.texi: Likewise.
17511 * INSTALL: Regenerated.
17512 * sysdeps/gnu/errlist.c: Regenerated.
17513
07037eeb
JM
17514 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17515 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17516 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17517 puts.
17518 * configure: Regenerated.
17519
d1d3431a
JM
175202012-03-07 Joseph Myers <joseph@codesourcery.com>
17521
af6a1e37
JM
17522 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17523 default includes instead of AC_HEADER_CHECK.
17524 * sysdeps/i386/configure: Regenerated.
17525
d1d3431a
JM
17526 [BZ #10716]
17527 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17528 * math/s_cacoshf.c (__cacoshf): Likewise.
17529 * math/s_cacoshl.c (__cacoshl): Likewise.
17530 * math/s_casinh.c (__casinh): Set signs of result from argument.
17531 * math/s_casinhf.c (__casinhf): Likewise.
17532 * math/s_casinhl.c (__casinhl): Likewise.
17533 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17534 (casinh_test): Add more tests.
17535 * sysdeps/i386/fpu/libm-test-ulps: Update.
17536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17537
482ff4da
UD
175382012-03-07 Ulrich Drepper <drepper@gmail.com>
17539
872fda05
UD
17540 * po/zh_TW.po: Update from translation team.
17541
a4300c7a
UD
17542 * login/Makefile (distribute): Remove variable.
17543 * catgets/Makefile: Likewise.
17544 * mach/Makefile: Likewise.
17545 * malloc/Makefile: Likewise.
17546 * misc/Makefile: Likewise.
17547 * iconv/Makefile: Likewise.
17548 * nscd/Makefile: Likewise.
17549 * hurd/Makefile: Likewise.
17550 * manual/Makefile: Likewise.
17551 * locale/Makefile: Likewise.
17552 * intl/Makefile: Likewise.
17553 * conform/Makefile: Likewise.
17554 * nss/Makefile: Likewise.
17555 * time/Makefile: Likewise.
17556 * soft-fp/Makefile: Likewise.
17557 * dirent/Makefile: Likewise.
17558 * gmon/Makefile: Likewise.
17559 * po/Makefile: Likewise.
17560 * rt/Makefile: Likewise.
17561 * socket/Makefile: Likewise.
17562 * math/Makefile: Likewise.
17563 * signal/Makefile: Likewise.
17564 * debug/Makefile: Likewise.
17565 * elf/Makefile: Likewise.
17566 * timezone/Makefile: Likewise.
17567 * stdlib/Makefile: Likewise.
17568 * iconvdata/Makefile: Likewise.
17569 * sunrpc/Makefile: Likewise.
17570 * io/Makefile: Likewise.
17571 * argp/Makefile: Likewise.
17572 * inet/Makefile: Likewise.
17573 * hesiod/Makefile: Likewise.
17574 * grp/Makefile: Likewise.
17575 * csu/Makefile: Likewise.
17576 * wctype/Makefile: Likewise.
17577 * crypt/Makefile: Likewise.
17578 * libio/Makefile: Likewise.
17579 * string/Makefile: Likewise.
17580 * nis/Makefile: Likewise.
17581 * resolv/Makefile: Likewise.
17582 * stdio-common/Makefile: Likewise.
17583 * wcsmbs/Makefile: Likewise.
17584 * dlfcn/Makefile: Likewise.
17585 * posix/Makefile: Likewise.
17586
3b7c4e74 17587 [BZ #6959]
482ff4da
UD
17588 * timezone/Makefile: Don't install timezone files, just the programs
17589 and scripts.
17590
f72ed77d
UD
175912012-03-06 Ulrich Drepper <drepper@gmail.com>
17592
a000466f
UD
17593 * nss/databases.def: Add missing gshadow entry.
17594
f72ed77d
UD
17595 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17596
a53b7a4e
MP
175972012-03-06 Marek Polacek <polacek@redhat.com>
17598
17599 [BZ #13726]
17600 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17601 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17602 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17603 * stdio-common/tst-long-dbl-fphex.c: New file.
17604
e9258400
DM
176052012-03-06 David S. Miller <davem@davemloft.net>
17606
17607 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17608 (set_obp_int): New function.
17609 (get_obp_int): New function.
17610 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17611 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17612 Avoid unused variable warnings on 'val' and use builtin_expect.
17613 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17614 __builtin_expect.
e9258400
DM
17615 (INLINE_CLONE_SYSCALL): Likewise.
17616
3bd2c723
DM
176172012-03-05 David S. Miller <davem@davemloft.net>
17618
17619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17620
bbb78d03
AS
176212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17622
884c5db4
AS
17623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17624
bbb78d03
AS
17625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17626 only for |x| >= 40.
17627 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17628
1c9f702a 176292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17630
17631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17632 Replace gettimeofday with __vdso_gettimeofday.
17633
7be16f82
RM
17634 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17635 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17636 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17637
17638 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17639 time with __vdso_time.
17640
ed58a00f
JM
176412012-03-05 Joseph Myers <joseph@codesourcery.com>
17642
17643 * manual/lang.texi (size_t): Note types to which size_t may be
17644 equivalent with the GNU C Library, but do not describe when
17645 differences between them are significant.
17646
30ee4ced
AJ
176472012-03-05 Andreas Jaeger <aj@suse.de>
17648
17649 * sysdeps/i386/fpu/libm-test-ulps: Update.
17650
b7cd39e8
JM
176512012-03-05 Joseph Myers <joseph@codesourcery.com>
17652
17653 [BZ #3976]
17654 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17655 (__ieee754_pow): Save and restore rounding mode and use
17656 round-to-nearest for main computations.
17657 * math/libm-test.inc (pow_test_tonearest): New function.
17658 (pow_test_towardzero): Likewise.
17659 (pow_test_downward): Likewise.
17660 (pow_test_upward): Likewise.
17661 (main): Call the new functions.
17662 * sysdeps/i386/fpu/libm-test-ulps: Update.
17663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17664
17665 [BZ #3976]
17666 * math/libm-test.inc (cosh_test_tonearest): New function.
17667 (cosh_test_towardzero): Likewise.
17668 (cosh_test_downward): Likewise.
17669 (cosh_test_upward): Likewise.
17670 (sinh_test_tonearest): Likewise.
17671 (sinh_test_towardzero): Likewise.
17672 (sinh_test_downward): Likewise.
17673 (sinh_test_upward): Likewise.
17674 (main): Call the new functions.
17675 * sysdeps/i386/fpu/libm-test-ulps: Update.
17676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17677
6c6a98c9
TV
176782012-03-05 Tom de Vries <tom@codesourcery.com>
17679
17680 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17681 default stack guard is set in last bytes.
17682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17683
21bb2d2e 176842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17685
21bb2d2e 17686 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17687
21bb2d2e
AJ
17688 [BZ #13656]
17689 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17690 possibly allocate from heap instead of stack.
17691 * stdio-common/bug-vfprintf-nargs.c: New file.
17692 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17693
c6922934
AS
176942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17695
17696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17697
bc957d53
MP
176982012-03-03 Marek Polacek <polacek@redhat.com>
17699
17700 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17701 * math/math_private.h: Likewise.
17702 * stdlib/tst-strtod.c: Likewise.
17703 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17704 * sysdeps/x86_64/bits/atomic.h: Likewise.
17705
6358490d
DM
177062012-03-02 David S. Miller <davem@davemloft.net>
17707
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17712 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17713 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17714 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17715 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17716
01ae168d
RM
177172012-03-02 Roland McGrath <roland@hack.frob.com>
17718
d9a17c07
RM
17719 [BZ #13792]
17720 * manual/examples/README: New file, says the example source files
17721 can be used under GPL>=2.
17722 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17723 line containing just "*/".
17724 * manual/examples/add.c: Add copyright header (GPL>=2).
17725 * manual/examples/argp-ex1.c: Likewise.
17726 * manual/examples/argp-ex2.c: Likewise.
17727 * manual/examples/argp-ex3.c: Likewise.
17728 * manual/examples/argp-ex4.c: Likewise.
17729 * manual/examples/atexit.c: Likewise.
17730 * manual/examples/db.c: Likewise.
17731 * manual/examples/dir.c: Likewise.
17732 * manual/examples/dir2.c: Likewise.
17733 * manual/examples/execinfo.c: Likewise.
17734 * manual/examples/filecli.c: Likewise.
17735 * manual/examples/filesrv.c: Likewise.
17736 * manual/examples/fmtmsgexpl.c: Likewise.
17737 * manual/examples/genpass.c: Likewise.
17738 * manual/examples/inetcli.c: Likewise.
17739 * manual/examples/inetsrv.c: Likewise.
17740 * manual/examples/isockad.c: Likewise.
17741 * manual/examples/longopt.c: Likewise.
17742 * manual/examples/memopen.c: Likewise.
17743 * manual/examples/memstrm.c: Likewise.
17744 * manual/examples/mkfsock.c: Likewise.
17745 * manual/examples/mkisock.c: Likewise.
17746 * manual/examples/mygetpass.c: Likewise.
17747 * manual/examples/pipe.c: Likewise.
17748 * manual/examples/popen.c: Likewise.
17749 * manual/examples/rprintf.c: Likewise.
17750 * manual/examples/search.c: Likewise.
17751 * manual/examples/select.c: Likewise.
17752 * manual/examples/setjmp.c: Likewise.
17753 * manual/examples/sigh1.c: Likewise.
17754 * manual/examples/sigusr.c: Likewise.
17755 * manual/examples/stpcpy.c: Likewise.
17756 * manual/examples/strdupa.c: Likewise.
17757 * manual/examples/strftim.c: Likewise.
17758 * manual/examples/strncat.c: Likewise.
17759 * manual/examples/subopt.c: Likewise.
17760 * manual/examples/swapcontext.c: Likewise.
17761 * manual/examples/termios.c: Likewise.
17762 * manual/examples/testopt.c: Likewise.
17763 * manual/examples/testpass.c: Likewise.
17764 * manual/examples/timeval_subtract.c: Likewise.
17765
01ae168d
RM
17766 [BZ #13792]
17767 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17768 function to ...
17769 * manual/timeval_subtract.c.texi: ... here, new file.
17770
49efa33d
DM
177712012-03-02 David S. Miller <davem@davemloft.net>
17772
17773 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17774
28afd92d
JM
177752012-03-02 Joseph Myers <joseph@codesourcery.com>
17776
804360ed
JM
17777 [BZ #3976]
17778 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17779 (__sin): Save and restore rounding mode and use round-to-nearest
17780 for all computations.
17781 (__cos): Save and restore rounding mode and use round-to-nearest
17782 for all computations.
17783 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17784 <fenv.h>.
17785 (tan): Save and restore rounding mode and use round-to-nearest for
17786 all computations.
17787 * math/libm-test.inc (cos_test_tonearest): New function.
17788 (cos_test_towardzero): Likewise.
17789 (cos_test_downward): Likewise.
17790 (cos_test_upward): Likewise.
17791 (sin_test_tonearest): Likewise.
17792 (sin_test_towardzero): Likewise.
17793 (sin_test_downward): Likewise.
17794 (sin_test_upward): Likewise.
17795 (tan_test_tonearest): Likewise.
17796 (tan_test_towardzero): Likewise.
17797 (tan_test_downward): Likewise.
17798 (tan_test_upward): Likewise.
17799 (main): Call the new functions.
17800 * sysdeps/i386/fpu/libm-test-ulps: Update.
17801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17802
a6d06d7b
JM
17803 [BZ #10135]
17804 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17805 small n, then large n, before computing and testing k+n.
17806 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17808 Likewise.
17809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17810 Likewise.
17811 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17812 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17813 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17814 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17817 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17818 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17819 * math/libm-test.inc (scalbn_test): Add more tests.
17820 (scalbln_test): Likewise.
17821
07e12bb3
JM
17822 * manual/filesys.texi (mode_t): Describe constraints on size and
17823 signedness, not exact equivalence to a particular type.
17824 (ino_t): Likewise.
17825 (ino64_t): Likewise.
17826 (dev_t): Likewise.
17827 (nlink_t): Likewise.
17828 (blkcnt_t): Likewise.
17829 (blkcnt64_t): Likewise.
17830 * manual/llio.texi (off_t): Likewise.
17831
28afd92d
JM
17832 [BZ #3976]
17833 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17834 (__ieee754_exp): Save and restore rounding mode and use
17835 round-to-nearest for all computations.
17836 * math/libm-test.inc (exp_test_tonearest): New function.
17837 (exp_test_towardzero): Likewise.
17838 (exp_test_downward): Likewise.
17839 (exp_test_upward): Likewise.
17840 (main): Call the new functions.
17841 * sysdeps/i386/fpu/libm-test-ulps: Update.
17842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17843
b1eeb65d
CD
178442012-03-01 Chris Demetriou <cgd@google.com>
17845
17846 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17847 have predictable order.
17848
53362a4b
DM
178492012-03-01 David S. Miller <davem@davemloft.net>
17850
3c969083
DM
17851 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17852
759707de
DM
17853 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17854 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17855 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17856 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17857
dfdb8ff2
DM
17858 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17859 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17860 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17862 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17864 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17865 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17866 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17867
ead89f96
DM
17868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17869
7f66bd07
DM
17870 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17871 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17872 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17873
53362a4b
DM
17874 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17875 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17876 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17877 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17878 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17879 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17880 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17881 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17882 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17883 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17884 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17885 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17890 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17891 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17892 * sysdeps/sparc/elf/configure: Regenerated.
17893
7b1902cb
JM
178942012-03-01 Joseph Myers <joseph@codesourcery.com>
17895
bec039bc
JM
17896 * configure.in (AS, LD): Require binutils 2.20 or later.
17897 * configure: Regenerated.
17898 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17899 as required minimum version.
17900 * INSTALL: Regenerated.
17901
7b1902cb
JM
17902 [BZ #2541]
17903 [BZ #4108]
17904 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17905 before squaring exponent.
17906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17907 bottom long double and 27 bits of top long double before squaring
17908 exponent.
17909 * math/libm-test.inc (erfc_test): Add more tests.
17910 * sysdeps/i386/fpu/libm-test-ulps: Update.
17911 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17913
f775c276
KT
179142012-03-01 Kai Tietz <ktietz@redhat.com>
17915
17916 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17917 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17918 containing bit-fields.
17919 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17920 * soft-fp/single.h (_FP_UNION_S): Likewise.
17921 * soft-fp/double.h (_FP_UNION_D): Likewise.
17922
5b8a4d4a
JM
179232012-02-29 Joseph Myers <joseph@codesourcery.com>
17924
0bab47b6
JM
17925 [BZ #13786]
17926 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17927 not include ../strcmp.S.
17928 [USE_AS_STRNCASECMP_L]: Likewise.
17929 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17930 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17931 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17932 (__strncasecmp_l_ia32): Define as alias to
17933 __strncasecmp_l_nonascii.
17934
0fcad3e2
JM
17935 [BZ #5794]
17936 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17937 * sysdeps/i386/fpu/libm-test-ulps: Update.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17939
5b8a4d4a
JM
17940 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17942
8fdceb2e
JL
179432012-02-29 Jeff Law <law@redhat.com>
17944
17945 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17946 out of bounds read.
17947
1f393a11
MP
179482012-02-29 Marek Polacek <polacek@redhat.com>
17949
17950 [BZ #13706]
17951 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17952 * elf/Makefile: Add rules to run tst-unused-dep.out.
17953
8847f037
DM
179542012-02-28 David S. Miller <davem@davemloft.net>
17955
17956 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17957 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17958 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17960 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17961 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17962
169d7f11
JM
179632012-02-29 Joseph Myers <joseph@codesourcery.com>
17964
17965 * math/libm-test.inc (llround_test): Move one test from
17966 lround_test. Use TEST_f_L in moved test.
17967 (lround_test): Move misplaced test to llround_test. Add testcase
17968 from bug 2561.
17969
39adf059
UD
179702012-02-28 Ulrich Drepper <drepper@gmail.com>
17971
17972 * sysdeps/x86_64/fpu/e_expf.S: New file.
17973 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17974
71b5d1c5
SB
179752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17976
17977 [BZ #13637]
17978 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17979 of remain_len that may cause incomplete multi-byte character and
17980 false match.
17981 * posix/bug-regex33.c: New file.
17982 * posix/Makefile (tests): Add bug-regex33.
17983
1f77f049
JM
179842012-02-28 Joseph Myers <joseph@codesourcery.com>
17985
17986 * manual/macros.texi: New file.
17987 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17988 * manual/libc.texinfo: Include macros.texi.
17989 * manual/creatute.texi: Likewise.
17990 * manual/install.texi: Likewise.
17991 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17992 @glibcadj{} in references to the GNU C Library.
17993 * manual/charset.texi: Likewise.
17994 * manual/conf.texi: Likewise.
17995 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17996 when not using those macros.
17997 * manual/creature.texi: Likewise.
17998 * manual/crypt.texi: Likewise.
17999 * manual/errno.texi: Likewise.
18000 * manual/filesys.texi: Likewise.
18001 * manual/header.texi: Likewise.
18002 * manual/install.texi: Likewise.
18003 * manual/intro.texi: Likewise.
18004 * manual/io.texi: Likewise.
18005 * manual/job.texi: Likewise.
18006 * manual/lang.texi: Likewise.
18007 * manual/libc.texiinfo: Likewise.
18008 * manual/llio.texi: Likewise.
18009 * manual/locale.texi: Likewise.
18010 * manual/maint.texi: Likewise.
18011 * manual/math.texi: Likewise.
18012 * manual/memory.texi: Likewise.
18013 * manual/message.texi: Likewise.
18014 * manual/nss.texi: Likewise.
18015 * manual/pattern.texi: Likewise.
18016 * manual/process.texi: Likewise.
18017 * manual/resource.texi: Likewise.
18018 * manual/search.texi: Likewise.
18019 * manual/setjmp.texi: Likewise.
18020 * manual/signal.texi: Likewise.
18021 * manual/socket.texi: Likewise.
18022 * manual/startup.texi: Likewise.
18023 * manual/stdio.texi: Likewise.
18024 * manual/string.texi: Likewise.
18025 * manual/sysinfo.texi: Likewise.
18026 * manual/syslog.texi: Likewise.
18027 * manual/terminal.texi: Likewise.
18028 * manual/time.texi: Likewise.
18029 * manual/users.texi: Likewise.
18030 * INSTALL: Regenerated.
18031 * NOTES: Regenerated.
d40c5d54 18032 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18033
450bf206
AS
180342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18035
18036 * include/dirent.h: Include <dirstream.h> before
18037 <dirent/dirent.h>.
18038
741a235b
DM
180392012-02-28 David S. Miller <davem@davemloft.net>
18040
18041 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18042 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18043 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18044 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18045
d6b5aa58
DM
180462012-02-27 David S. Miller <davem@davemloft.net>
18047
1aff59a3
DM
18048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18050 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18051 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18052
d6b5aa58
DM
18053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18054 frame pointer instead of stack pointer relative arg slot.
18055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18056 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18057 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18058
433f48bf
CD
180592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18060
18061 [BZ #3992]
18062 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18063
d674b76d
DM
180642012-02-27 David S. Miller <davem@davemloft.net>
18065
18066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18070 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18071 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18072 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18073 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18074
0e7727f7
JM
180752012-02-27 Joseph Myers <joseph@codesourcery.com>
18076
18077 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18078 later. Allow versions 5-9.
43be4ca2 18079 * configure: Regenerated.
0e7727f7
JM
18080 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18081 required minimum version and 4.6 as recommended version. Do not
18082 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18083 * INSTALL: Regenerated.
0e7727f7 18084
a78bc654
DM
180852012-02-27 David S. Miller <davem@davemloft.net>
18086
428d5830
DM
18087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18091 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18092 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18093 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18094 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18095
a78bc654
DM
18096 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18097 manipulate bits before adding and subtracting TWO112[sx].
18098 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18099
4579f81c
RM
181002012-02-27 Roland McGrath <roland@hack.frob.com>
18101
36c8acb4
RM
18102 [BZ #13775]
18103 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18104 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18105 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18106 being in POSIX, because they are in 1003.1-2008.
18107
84ad622b
RM
18108 * rt/tst-aio.c: Include <fcntl.h>.
18109 * rt/tst-aio7.c: Likewise.
18110 * rt/tst-aio64.c: Likewise.
18111
4579f81c
RM
18112 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18113
abd923db
JM
181142012-02-27 Joseph Myers <joseph@codesourcery.com>
18115
18116 * manual/install.texi (--with-headers): Describe headers as
18117 interface headers, not private headers.
18118 (Specific advice for GNU/Linux systems): Describe use of headers
18119 from "make headers_install", not private headers from older
18120 kernels.
43be4ca2 18121 * INSTALL: Regenerated.
abd923db
JM
18122 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18123 Change to 2.6.19.
18124 * sysdeps/unix/sysv/linux/configure: Regenerated.
18125
6664049b
JM
18126 * manual/llio.texi (fclean): Remove documentation.
18127
bb8b6697
JM
18128 * manual/Makefile (libc-texi-generated): New variable. Include
18129 version.texi.
18130 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18131 $(libc-texi-generated), not duplicated list of files.
18132 (version.texi, stamp-version): New rules.
18133 (realclean): Remove $(libc-texi-generated), not individual files
18134 from that list. Do not remove dir-add.texinfo.
18135 * manual/libc.texinfo: Comment out uses of edition numbers and
18136 references to printed manual. Remove last-updated dates.
18137 (EDITION): Comment out.
18138 (ISBN): Likewise.
18139 (VERSION, UPDATED): Remove.
18140 (version.texi): Include.
18141
12e5c3b9
AS
181422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18143
18144 * sysdeps/posix/spawni.c: Include <signal.h>.
18145 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18146 * sysdeps/pthread/aio_fsync.c: Likewise.
18147
4efeffc1 181482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18149
ba63ba08
UD
18150 * conform/Makefile (tests): Run only when not cross-compiling and
18151 when fast-check is not defined.
18152
d94a4670
UD
18153 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18154 * conform/data/limits.h-data: Fixes for POSIX2008.
18155 * conform/run-conformtest.sh: Run all tests.
18156 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18157 headers.
18158 * include/bits/dlfcn.h: Likewise.
18159 * include/langinfo.h: Likewise.
18160 * include/monetary.h: Likewise.
18161 * include/sys/poll.h: Likewise.
18162
18163 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18164 for __USE_GNU.
18165 * posix/spawn.h: Define __need_sigset_t.
18166 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18167 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18168 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18169 to get sigevent_t only.
18170 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18171 only for __USE_GNU.
18172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18173 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18174 process_vm_writev only for __USE_GNU.
18175 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18176
18177 * conform/Makefile: For now ignore errors from run-conformtest.
18178 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18179 POSIX to avoid namespace pollution. Don't prepend headers.
18180 * conform/data/aio.h-data: Fixes for POSIX testing.
18181 * conform/data/fcntl.h-data: Likewise.
18182 * conform/data/glob.h-data: Likewise.
18183 * conform/data/grp.h-data: Likewise.
18184 * conform/data/pthread.h-data: Likewise.
18185 * conform/data/pwd.h-data: Likewise.
18186 * conform/data/signal.h-data: Likewise.
18187 * conform/data/spawn.h-data: Likewise.
18188 * conform/data/stdio.h-data: Likewise.
18189 * conform/data/stdlib.h-data: Likewise.
18190 * conform/data/stropts.h-data: Likewise.
18191 * conform/data/sys/mman.h-data: Likewise.
18192 * conform/data/sys/stat.h-data: Likewise.
18193 * conform/data/sys/types.h-data: Likewise.
18194 * conform/data/sys/wait.h-data: Likewise.
18195 * conform/data/time.h-data: Likewise.
18196 * conform/data/unistd.h-data: Likewise.
18197 * conform/data/utime.h-data: Likewise.
18198
18199 * io/sys/stat.h: fchmod was always in POSIX.
18200 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18201 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18202 * rt/aio.h: Define __need_timespec before including <time.h>.
18203 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18204 struct. Add forward declaration of pthread_attr_t and use it in
18205 sigevent.
18206 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18208 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18209 always remove CLK_TCK definition.
18210
c20105c3
AS
182112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18212
18213 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18214
7a270350
UD
182152012-02-25 Ulrich Drepper <drepper@gmail.com>
18216
31341567
UD
18217 * conform/run-conformtest.sh: New file.
18218 * conform/Makefile: Run run-conformtest for tests.
18219 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18220 support.
18221
18222 * conform/data/uchar.h-data: New file.
18223 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18224 * conform/data/arpa/inet.h-data: Likewise.
18225 * conform/data/assert.h-data: Likewise.
18226 * conform/data/complex.h-data: Likewise.
18227 * conform/data/cpio.h-data: Likewise.
18228 * conform/data/ctype.h-data: Likewise.
18229 * conform/data/dirent.h-data: Likewise.
18230 * conform/data/dlfcn.h-data: Likewise.
18231 * conform/data/errno.h-data: Likewise.
18232 * conform/data/fcntl.h-data: Likewise.
18233 * conform/data/float.h-data: Likewise.
18234 * conform/data/fmtmsg.h-data: Likewise.
18235 * conform/data/fnmatch.h-data: Likewise.
18236 * conform/data/ftw.h-data: Likewise.
18237 * conform/data/glob.h-data: Likewise.
18238 * conform/data/grp.h-data: Likewise.
18239 * conform/data/iconv.h-data: Likewise.
18240 * conform/data/inttypes.h-data: Likewise.
18241 * conform/data/langinfo.h-data: Likewise.
18242 * conform/data/libgen.h-data: Likewise.
18243 * conform/data/limits.h-data: Likewise.
18244 * conform/data/locale.h-data: Likewise.
18245 * conform/data/math.h-data: Likewise.
18246 * conform/data/monetary.h-data: Likewise.
18247 * conform/data/mqueue.h-data: Likewise.
18248 * conform/data/ndbm.h-data: Likewise.
18249 * conform/data/net/if.h-data: Likewise.
18250 * conform/data/netdb.h-data: Likewise.
18251 * conform/data/netinet/in.h-data: Likewise.
18252 * conform/data/nl_types.h-data: Likewise.
18253 * conform/data/poll.h-data: Likewise.
18254 * conform/data/pthread.h-data: Likewise.
18255 * conform/data/pwd.h-data: Likewise.
18256 * conform/data/regex.h-data: Likewise.
18257 * conform/data/sched.h-data: Likewise.
18258 * conform/data/search.h-data: Likewise.
18259 * conform/data/semaphore.h-data: Likewise.
18260 * conform/data/setjmp.h-data: Likewise.
18261 * conform/data/signal.h-data: Likewise.
18262 * conform/data/spawn.h-data: Likewise.
18263 * conform/data/stdarg.h-data: Likewise.
18264 * conform/data/stdio.h-data: Likewise.
18265 * conform/data/stdlib.h-data: Likewise.
18266 * conform/data/string.h-data: Likewise.
18267 * conform/data/strings.h-data: Likewise.
18268 * conform/data/stropts.h-data: Likewise.
18269 * conform/data/sys/ipc.h-data: Likewise.
18270 * conform/data/sys/mman.h-data: Likewise.
18271 * conform/data/sys/msg.h-data: Likewise.
18272 * conform/data/sys/resource.h-data: Likewise.
18273 * conform/data/sys/select.h-data: Likewise.
18274 * conform/data/sys/sem.h-data: Likewise.
18275 * conform/data/sys/shm.h-data: Likewise.
18276 * conform/data/sys/socket.h-data: Likewise.
18277 * conform/data/sys/stat.h-data: Likewise.
18278 * conform/data/sys/statvfs.h-data: Likewise.
18279 * conform/data/sys/time.h-data: Likewise.
18280 * conform/data/sys/timeb.h-data: Likewise.
18281 * conform/data/sys/times.h-data: Likewise.
18282 * conform/data/sys/types.h-data: Likewise.
18283 * conform/data/sys/uio.h-data: Likewise.
18284 * conform/data/sys/un.h-data: Likewise.
18285 * conform/data/sys/utsname.h-data: Likewise.
18286 * conform/data/sys/wait.h-data: Likewise.
18287 * conform/data/syslog.h-data: Likewise.
18288 * conform/data/tar.h-data: Likewise.
18289 * conform/data/termios.h-data: Likewise.
18290 * conform/data/utime.h-data: Likewise.
18291 * conform/data/utmpx.h-data: Likewise.
18292 * conform/data/varargs.h-data: Likewise.
18293 * conform/data/wchar.h-data: Likewise.
18294 * conform/data/wctype.h-data: Likewise.
18295 * conform/data/wordexp.h-data: Likewise.
18296
18297 * include/stropts.h: New file.
18298 * include/uchar.h: New file.
18299 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18300 * include/assert.h: Likewise.
18301 * include/ctype.h: Likewise.
18302 * include/dirent.h: Likewise.
18303 * include/dlfcn.h: Likewise.
18304 * include/fcntl.h: Likewise.
18305 * include/fnmatch.h: Likewise.
18306 * include/glob.h: Likewise.
18307 * include/grp.h: Likewise.
18308 * include/libio.h: Likewise.
18309 * include/locale.h: Likewise.
18310 * include/math.h: Likewise.
18311 * include/net/if.h: Likewise.
18312 * include/netdb.h: Likewise.
18313 * include/netinet/in.h: Likewise.
18314 * include/pthread.h: Likewise.
18315 * include/pwd.h: Likewise.
18316 * include/regex.h: Likewise.
18317 * include/sched.h: Likewise.
18318 * include/search.h: Likewise.
18319 * include/setjmp.h: Likewise.
18320 * include/signal.h: Likewise.
18321 * include/stdio.h: Likewise.
18322 * include/stdlib.h: Likewise.
18323 * include/string.h: Likewise.
18324 * include/sys/cdefs.h: Likewise.
18325 * include/sys/mman.h: Likewise.
18326 * include/sys/msg.h: Likewise.
18327 * include/sys/resource.h: Likewise.
18328 * include/sys/select.h: Likewise.
18329 * include/sys/socket.h: Likewise.
18330 * include/sys/stat.h: Likewise.
18331 * include/sys/statvfs.h: Likewise.
18332 * include/sys/time.h: Likewise.
18333 * include/sys/times.h: Likewise.
18334 * include/sys/uio.h: Likewise.
18335 * include/sys/utsname.h: Likewise.
18336 * include/sys/wait.h: Likewise.
18337 * include/termios.h: Likewise.
18338 * include/time.h: Likewise.
18339 * include/ulimit.h: Likewise.
18340 * include/unistd.h: Likewise.
18341 * include/utime.h: Likewise.
18342 * include/wchar.h: Likewise.
18343 * include/wctype.h: Likewise.
18344 * include/wordexp.h: Likewise.
18345
18346 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18347
7a270350
UD
18348 * time/time.h: TIME_UTC must be a macro.
18349 Make timespec_get available for ISO C11 only as well.
18350
7724defc
UD
183512012-02-24 Ulrich Drepper <drepper@gmail.com>
18352
18353 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18354 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18355
6b1d1d46
JM
183562012-02-24 Joseph Myers <joseph@codesourcery.com>
18357
18358 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18359
0f8bbd69
JM
183602012-02-24 Joseph Myers <joseph@codesourcery.com>
18361
18362 * manual/texinfo.tex: Update to version 2012-01-19.16.
18363
66ab80bc
JM
183642012-02-24 Joseph Myers <joseph@codesourcery.com>
18365
18366 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18367
74981cc5
RM
183682012-02-24 Roland McGrath <roland@hack.frob.com>
18369
ee968201
RM
18370 [BZ #13738]
18371 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18372 * manual/fdl-1.3.texi: New file.
18373 * manual/fdl-1.1.texi: File removed.
18374
74981cc5
RM
18375 [BZ #13738]
18376 * manual/libc.texinfo (FDL_VERSION): New @set.
18377 Use it for mention of FDL in cover text.
18378 (Documentation License): Use it in @include file name.
18379
7bb764bc
JM
183802012-02-22 Joseph Myers <joseph@codesourcery.com>
18381 Roland McGrath <roland@hack.frob.com>
18382
18383 [BZ #5461]
18384 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18385 not LONG_LONG_MAX and LONG_LONG_MIN.
18386 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18387 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18388 name.
18389 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18390
6cbeae47
JM
183912012-02-22 Joseph Myers <joseph@codesourcery.com>
18392
18393 [BZ #2547]
18394 [BZ #11365]
18395 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18396 manipulate bits before adding and subtracting TWO23[sx].
18397 * math/libm-test.inc (nearbyint_test): Add more tests.
18398
fe45ce09
JM
183992012-02-22 Joseph Myers <joseph@codesourcery.com>
18400
18401 [BZ #2548]
18402 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18403 bits before adding and subtracting TWO23[sx].
18404 * math/libm-test.inc (rint_test): Add more tests.
18405 (rint_test_tonearest): Likewise.
18406 (rint_test_towardzero): Likewise.
18407 (rint_test_downward): Likewise.
18408 (rint_test_upward: Likewise.
18409
ff3b3d82
JM
184102012-02-22 Joseph Myers <joseph@codesourcery.com>
18411
18412 [BZ #10110]
18413 * include/stdc-predef.h: New file. Extracted from features.h.
18414 * include/features.h: Include stdc-predef.h.
18415 * Makefile (headers): Add stdc-predef.h.
18416 * CONFORMANCE (Compiler limitations): Update.
18417
ef0aab35
JM
184182012-02-22 Joseph Myers <joseph@codesourcery.com>
18419
18420 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18421
58639409
DM
184222012-02-21 David S. Miller <davem@davemloft.net>
18423
18424 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18425 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18426
c0e70b25
DM
184272012-02-20 David S. Miller <davem@davemloft.net>
18428
18429 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18430 using a normal save/restore sequence, rather than allocating a
18431 dummy stack frame just to store a frame pointer and restore.
18432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18433
fb06851d
JM
184342012-02-21 Joseph Myers <joseph@codesourcery.com>
18435
18436 * manual/install.texi: Fix stray word in line-wrapped comment.
18437
7a8b71c3
DM
184382012-02-20 David S. Miller <davem@davemloft.net>
18439
d510c123
DM
18440 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18441 both binutils and gcc support GOTDATA.
18442
0722d7c2
DM
18443 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18444 "rd %pc" in the PIC register setup sequences.
18445
3d2b3019
DM
18446 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18447 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18448 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18449 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18450 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18452 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18453 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18455 (SYSCALL_ERROR_HANDLER): Likewise.
18456 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18457 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18459 (SYSCALL_ERROR_HANDLER): Likewise.
18460
c80098a9
DM
18461 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18462 (HAVE_GCC_GOTDATA): New.
18463 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18464 relocation support in both binutils and gcc.
18465 * sysdeps/sparc/elf/configure: Regenerate.
18466
3a2545a0
DM
18467 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18468 * sysdeps/sparc/sparc32/elf/configure: Delete.
18469 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18470 * sysdeps/sparc/sparc64/elf/configure: Delete.
18471 * sysdeps/sparc/elf/configure.in: New file.
18472 * sysdeps/sparc/elf/configure: Generate.
18473
7a8b71c3
DM
18474 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18475 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18476 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18477 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18478 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18479
f1e86fca
JM
184802012-02-21 Joseph Myers <joseph@codesourcery.com>
18481
18482 * manual/install.texi: Do not mention specific glibc version
18483 numbers.
18484 * manual/libc.texinfo (VERSION, UPDATED): Update.
18485 (@copying): Use @copyright{} and range of years.
18486
0e7dfaef
JM
184872012-02-21 Joseph Myers <joseph@codesourcery.com>
18488
18489 [BZ #13695]
18490 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18491 [crti.S not in sysdirs] (generated): Do not append.
18492 [crti.S not in sysdirs] (omit-deps): Likewise.
18493 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18494 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18495 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18496 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18497 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18498 Likewise.
18499 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18500 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18501 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18502 * csu/defs.awk: Remove file.
18503 * sysdeps/generic/initfini.c: Likewise.
18504 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18505 variable.
18506 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18507 Likewise.
18508
599af3ca
JM
185092012-02-20 Joseph Myers <joseph@codesourcery.com>
18510
18511 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18512 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18513 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18514 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18516 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18517 <bits/epoll.h>.
18518 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18519 (__EPOLL_PACKED): Define to empty if not defined by
18520 <bits/epoll.h>.
18521 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18523 bits/epoll.h.
18524
0e499750
JM
185252012-02-20 Joseph Myers <joseph@codesourcery.com>
18526
18527 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18528 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18529 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18530 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18531 <bits/timerfd.h>.
18532 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18534 bits/timerfd.h.
18535
5ad91f6e
JM
185362012-02-20 Joseph Myers <joseph@codesourcery.com>
18537
18538 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18539 in C locale.
18540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18541 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18542 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18544
06b99b02
AJ
185452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18546
18547 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18548 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18549
7638c0fd
AS
185502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18551
18552 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18553 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18554 defined.
18555 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18556 Likewise.
18557 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18558 entry for 2.16.
18559
92221550
AJ
185602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18561
18562 * math/w_acos.c: Use non-signaling floating-point comparisons.
18563 * math/w_acosf.c: Likewise.
18564 * math/w_acosh.c: Likewise.
18565 * math/w_acoshf.c: Likewise.
18566 * math/w_acoshl.c: Likewise.
18567 * math/w_acosl.c: Likewise.
18568 * math/w_asin.c: Likewise.
18569 * math/w_asinf.c: Likewise.
18570 * math/w_asinl.c: Likewise.
18571 * math/w_atanh.c: Likewise.
18572 * math/w_atanhf.c: Likewise.
18573 * math/w_atanhl.c: Likewise.
18574 * math/w_exp2.c: Likewise.
18575 * math/w_exp2f.c: Likewise.
18576 * math/w_exp2l.c: Likewise.
18577 * math/w_j0.c: Likewise.
18578 * math/w_j0f.c: Likewise.
18579 * math/w_j0l.c: Likewise.
18580 * math/w_j1.c: Likewise.
18581 * math/w_j1f.c: Likewise.
18582 * math/w_j1l.c: Likewise.
18583 * math/w_jn.c: Likewise.
18584 * math/w_jnf.c: Likewise.
18585 * math/w_log.c: Likewise.
18586 * math/w_log10.c: Likewise.
18587 * math/w_log10f.c: Likewise.
18588 * math/w_log10l.c: Likewise.
18589 * math/w_log2.c: Likewise.
18590 * math/w_log2f.c: Likewise.
18591 * math/w_log2l.c: Likewise.
18592 * math/w_logf.c: Likewise.
18593 * math/w_logl.c: Likewise.
18594 * math/w_sqrt.c: Likewise.
18595 * math/w_sqrtf.c: Likewise.
18596 * math/w_sqrtl.c: Likewise.
18597 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18598 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18599 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18600 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18601 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18602
ebaf36eb
JM
186032012-02-19 Joseph Myers <joseph@codesourcery.com>
18604
18605 [BZ #9739]
18606 * manual/string.texi (strnlen): Use correct parameter name in
18607 equivalent expression.
18608
71c254a6
JM
186092012-02-19 Joseph Myers <joseph@codesourcery.com>
18610
18611 [BZ #11174]
18612 * manual/users.texi (seteuid): Consistently use neweuid for
18613 argument name.
18614
16d2c631
JM
186152012-02-19 Joseph Myers <joseph@codesourcery.com>
18616
18617 [BZ #13704]
18618 * manual/nss.texi (Services in the NSS configuration): Correct
18619 list of services in example configuration file.
18620
cd837b09
NB
186212012-02-19 Nick Bowler <nbowler@draconx.ca>
18622
18623 [BZ #11322]
18624 * manual/arith.texi: Remove statements about negative zero
18625 behaving identically to zero.
18626
02c4bbad
JM
186272012-02-18 Joseph Myers <joseph@codesourcery.com>
18628
18629 [BZ #5993]
18630 * manual/install.texi: Do not document upgrading from libc5.
18631
366842e7
JM
186322012-02-18 Joseph Myers <joseph@codesourcery.com>
18633
18634 [BZ #4596]
18635 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18636
dd54084d
DM
186372012-02-18 David S. Miller <davem@davemloft.net>
18638
18639 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18640 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18641 %o7 across the call.
18642 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18643 instead.
18644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18645 SETUP_PIC_REG_LEAF.
18646 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18647 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18648 * sysdeps/sparc/crtn.S: Likewise.
18649
2bcc53a3
UD
186502012-02-17 Ulrich Drepper <drepper@gmail.com>
18651
18652 * aout/Makefile: Remove.
18653
09c093b5
RK
186542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18655
18656 [BZ #13058]
18657 * manual/examples/argp-ex1.c (main): Format definition in GNU
18658 style.
18659 * manual/examples/argp-ex2.c (main): Likewise.
18660 * manual/examples/argp-ex3.c (main): Likewise.
18661 * manual/examples/argp-ex4.c (main): Likewise.
18662 * manual/examples/longopt.c (main): Use new-style prototype
18663 definition.
18664 * manual/examples/strncat.c (main): Specify return type and use
18665 (void) for arguments.
18666 * manual/examples/subopt.c (main): Use char **argv argument.
18667
2ee633a2
JM
186682012-02-17 Joseph Myers <joseph@codesourcery.com>
18669
18670 [BZ #5077]
18671 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18672 rounding modes.
18673
0520adde
FB
186742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18675
18676 [BZ #6907]
18677 * manual/string.texi (strchr): Change when strchrnul is
18678 recommended.
18679
3f4081cd
DGM
186802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18681
18682 [BZ #174]
18683 * manual/locale.texi (setlocale): Document LOCPATH.
18684
d1b10e78
JM
186852012-02-17 Joseph Myers <joseph@codesourcery.com>
18686
18687 [BZ #10210]
18688 * manual/process.texi (execle): Move @dots{} before last argument.
18689
79c6869c
PB
186902012-02-17 Paul Bolle <pebolle@tiscali.nl>
18691
18692 [BZ #12047]
18693 * manual/charset.texi (Generic Charset Conversion): Fix typo
18694 (LC_TYPE -> LC_CTYPE).
18695
cc6e48bc
NB
186962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18697
18698 [BZ #5805]
18699 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18700 (scalbnf): Likewise.
18701 (scalbnl): Likewise.
18702 (scalbln): Likewise.
18703 (scalblnf): Likewise.
18704 (scalblnl): Likewise.
18705 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18706 (vwarnx): Likewise.
18707 (verr): Likewise.
18708 (verrx): Likewise.
18709 * manual/filesys.texi (telldir): Use braces around return type.
18710 * manual/llio.texi (mmap): Add space after comma.
18711 (mmap64): Likewise.
18712 * manual/math.texi (jn): Use @var{} on parameter names.
18713 (jnf): Likewise.
18714 (jnl): Likewise.
18715 (yn): Likewise.
18716 (ynf): Likewise.
18717 (ynl): Likewise.
18718 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18719 line.
18720 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18721 "...".
18722 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18723 (sched_get_priority_max): Likewise.
18724 * manual/signal.texi (sigvec): Add space after comma.
18725 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18726 names.
18727 (if_indextoname): Likewise.
18728 (if_freenameindex): Likewise.
18729 (sendto): Use ',' instead of '.' in prototype.
18730 * manual/startup.texi (syscall): Use @dots{} instead of literal
18731 "...".
18732 * manual/stdio.texi (__fpending): Separate initial words of
18733 paragraph from @deftypefun line.
18734 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18735 "...".
18736 (vsyslog): Use @var{} on parameter names.
18737 * manual/terminal.texi (stty): Use @var{} on parameter names.
18738 * manual/users.texi (getutmp): Use @var{} on parameter names.
18739 (getutmpx): Likewise.
18740
5b23062f
JM
187412012-02-17 Joseph Myers <joseph@codesourcery.com>
18742
18743 [BZ #6884]
18744 * manual/stdio.texi (fopen): Fix typos in description of
18745 ",ccs=STRING".
18746
8dee4833
AJ
187472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18748
18749 [BZ #4026]
18750 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18751 get clock_id definition.
18752
9078ce93
TS
187532012-02-17 Thomas Schwinge <thomas@schwinge.name>
18754
18755 [BZ #4822]
18756 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18757 (madvise): Cast every argument to void on its own.
18758
3835c55f
JM
187592012-02-17 Joseph Myers <joseph@codesourcery.com>
18760
18761 [BZ #9902]
18762 * manual/startup.texi (Exit Status): Fix typo.
18763
35c47e37
JM
187642012-02-17 Joseph Myers <joseph@codesourcery.com>
18765
18766 [BZ #10140]
18767 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18768 * manual/examples/argp-ex2.c: Likewise.
18769 * manual/examples/argp-ex3.c: Likewise.
18770
e3b69ca7
RH
187712012-02-16 Richard Henderson <rth@redhat.com>
18772
18773 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18774 * sysdeps/s390/s390-32/initfini.c: Remove.
18775 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18776 * sysdeps/s390/s390-64/initfini.c: Remove.
18777
df83af67
KK
187782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18779
18780 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18781 compiler output for sysdeps/generic/initfini.c.
18782 * sysdeps/sh/elf/initfini.c: Remove file.
18783
f63f3380
DM
187842012-02-16 David S. Miller <davem@davemloft.net>
18785
fb59b3a4
DM
18786 [BZ #11494]
18787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18788
f63f3380
DM
18789 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18790 * sysdeps/sparc/crti.S: New file.
18791 * sysdeps/sparc/crtn.S: New file.
18792 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18793 * sysdeps/sparc/sparc64/Makefile: Likewise.
18794
df6a4a4a
MF
187952012-02-15 Mike Frysinger <vapier@gentoo.org>
18796
6dd8f3dc 18797 [BZ #3335]
df6a4a4a
MF
18798 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18799
1cac7236
RM
188002012-02-15 Roland McGrath <roland@hack.frob.com>
18801
d2c736f8
RM
18802 [BZ #4822]
18803 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18804
1cac7236
RM
18805 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18806 (write, read, close): Likewise.
18807 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18808
8e475601
JM
188092012-02-15 Joseph Myers <joseph@codesourcery.com>
18810
18811 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18812 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18813 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18814 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18815 <bits/signalfd.h>.
18816 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18818 bits/signalfd.h.
18819
ed656b40
MP
188202012-02-14 Marek Polacek <polacek@redhat.com>
18821
18822 * sysdeps/x86_64/crti.S: New file.
18823 * sysdeps/x86_64/crtn.S: New file.
18824 * sysdeps/x86_64/elf/initfini.c: Remove file.
18825
2a979d3a
JM
188262012-02-13 Joseph Myers <joseph@codesourcery.com>
18827
18828 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18829 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18830 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18831 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18832 <bits/inotify.h>.
18833 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18835 bits/inotify.h.
18836
2a418ac3
JM
188372012-02-13 Joseph Myers <joseph@codesourcery.com>
18838
18839 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18840 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18841 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18842 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18843 <bits/eventfd.h>.
18844 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18846 bits/eventfd.h.
18847
fb779be7
TS
188482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18849
e19e83c5
RM
18850 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18851 __feraiseexcept instead of feraiseexcept.
7c35ffed 18852
fb779be7
TS
18853 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18854 nanosleep invocations.
18855 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18856 strings, and add error checking for a nanosleep invocations.
18857
59ba27a6
PE
188582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18859
18860 Replace FSF snail mail address with URLs, as per GNU coding standards.
18861 Most of the snail mail addresses were wrong anyway, and omitting
18862 them makes the source code easier to maintain. Almost all of the
18863 changes are to license notices and to locale LC_IDENTIFICATION
18864 addresses, except for this one:
18865 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18866 not its snail mail address.
18867
57b957eb
RH
188682012-02-09 Richard Henderson <rth@twiddle.net>
18869
af850b1c
RH
18870 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18871 of kernel-features.h.
18872
57b957eb
RH
18873 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18874
6b73181a
MP
188752012-02-08 Marek Polacek <polacek@redhat.com>
18876
18877 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18878 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18879 * sysdeps/gnu/_G_config.h: Likewise.
18880 * sysdeps/generic/_G_config.h: Likewise.
18881
26ecc33a
AS
188822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18883
6c6dbc63
AS
18884 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18885 tests.
18886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18887
e216c012
AS
18888 * sysdeps/powerpc/powerpc32/crti.S: New file.
18889 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18890 * sysdeps/powerpc/powerpc64/crti.S: New file.
18891 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18892
26ecc33a
AS
18893 * Makeconfig (have-initfini): Don't set.
18894 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18895 * configure.in (nopic_initfini): Don't substitute.
18896 * config.h.in (HAVE_INITFINI): Don't #undef.
18897 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18898 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18899
3add8e13
JM
189002012-02-08 Joseph Myers <joseph@codesourcery.com>
18901
18902 Support crti.S and crtn.S provided directly by architectures.
18903 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18904 [crti.S in sysdirs] (omit-deps): Likewise.
18905 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18906 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18907 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18908 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18909 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18910 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18911 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18912 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18913 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18914 compiler output for sysdeps/generic/initfini.c.
18915 * sysdeps/i386/elf/Makefile: Remove file.
18916 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18917
a22f12b4
MP
189182012-02-07 Marek Polacek <polacek@redhat.com>
18919
18920 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18921 * sysdeps/gnu/_G_config.h: Likewise.
18922 * sysdeps/mach/hurd/_G_config.h: Likewise.
18923
148cf100
MP
189242012-02-07 Marek Polacek <polacek@redhat.com>
18925
18926 * math/Makefile (tests): Add tst-CMPLX2.
18927 * math/tst-CMPLX2.c: New file.
18928
cfdc0dd7
AS
189292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18930
84ba42c4
AS
18931 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18932
cfdc0dd7
AS
18933 * math/libm-test.inc (jn_test): Add missing L suffix.
18934
622c86f4
MP
189352012-02-06 Marek Polacek <polacek@redhat.com>
18936
18937 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18938 * sysdeps/i386/fpu/e_powf.S: Likewise.
18939 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18940 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18941 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18942 * sysdeps/i386/fpu/e_pow.S: Likewise.
18943 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18945 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18946 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18947 * sysdeps/i386/fpu/e_log2.S: Likewise.
18948 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18949 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18950 * sysdeps/i386/fpu/e_powl.S: Likewise.
18951 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18952 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18953 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18954 * sysdeps/i386/fpu/e_logl.S: Likewise.
18955 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18956 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18957 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18958 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18959 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18960 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18961 * sysdeps/i386/fpu/e_log.S: Likewise.
18962 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18963 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18964 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18965 * sysdeps/i386/fpu/e_logf.S: Likewise.
18966 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18967 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18968 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18969 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18970 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18971 * sysdeps/i386/fpu/e_log10.S: Likewise.
18972 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18973 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18974 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18975 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18976 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18977 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18978 * sysdeps/i386/asm-syntax.h: Likewise.
18979 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18980 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18981 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18982 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18983 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18984 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18985 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18986 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18987 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18988 * sysdeps/powerpc/sysdep.h: Likewise.
18989 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18990 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18991
d4a54ac6
JM
189922012-02-06 Joseph Myers <joseph@codesourcery.com>
18993
18994 [BZ #411]
18995 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18996
314054ea
JM
189972012-02-06 Joseph Myers <joseph@codesourcery.com>
18998
18999 * sysdeps/i386/sysdep.h: Include <features.h>.
19000 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19001 version.
19002
d8e0ca50
JM
190032012-02-05 Joseph Myers <joseph@codesourcery.com>
19004
19005 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19006 Define.
19007 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19008 LOAD_PIC_REG_STR.
19009
b1da7dd9
JM
190102012-02-03 Joseph Myers <joseph@codesourcery.com>
19011
19012 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19013 (SETUP_PIC_REG): Use GET_PC_THUNK.
19014 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19015 macro.
19016
9a1d9254
JM
190172012-02-03 Joseph Myers <joseph@codesourcery.com>
19018
19019 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19020 for non-PIC compilation.
19021 (SETUP_PIC_REG): Add .p2align directive.
19022 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19023 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19024 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19025 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19026 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19027 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19028 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19029 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19030 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19031 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19032 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19033 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19034 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19035 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19036 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19037 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19038 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19039 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19040 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19041 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19043 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19044 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19045 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19046 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19048 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19049 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19050 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19051 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19052 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19053 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19054 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19055 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19056 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19057 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19058 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19059 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19060 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19061 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19062 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19063
65dc3b75
JM
190642012-02-03 Joseph Myers <joseph@codesourcery.com>
19065
19066 * math/tst-CMPLX.c: Include <stdio.h>.
19067
d55bf177
JM
190682012-01-31 Joseph Myers <joseph@codesourcery.com>
19069
19070 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19071 float.
19072 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19073 * sysdeps/sparc/bits/mathdef.h: Likewise.
19074
69db4f8f
MP
190752012-01-31 Marek Polacek <polacek@redhat.com>
19076
19077 * libio/libio.h: Don't define _PARAMS.
19078 * locale/programs/config.h: Don't define PARAMS.
19079 * stdlib/strtol_l.c: Likewise.
19080 (__strtol_l): Remove PARAMS from the prototype.
19081
41b81892
UD
190822012-01-31 Ulrich Drepper <drepper@gmail.com>
19083
3b49edc0
UD
19084 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19085 names. Just use the correct names. Remove unnecessary wrapper
19086 functions.
19087 * malloc/arena.c: Likewise.
19088 * malloc/hooks.c: Likewise.
19089
41b81892
UD
19090 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19091 ARENA_TEST says not to. Simplify test for creation of a new arena.
19092 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19093
27a25b6e
UD
190942012-01-30 Ulrich Drepper <drepper@gmail.com>
19095
19096 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19097 into tail calls.
19098 (update_get_addr): New function.
19099 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19100 GET_ADDR_MODULE parameter.
19101
c8a89e7d
JM
191022012-01-30 Joseph Myers <joseph@codesourcery.com>
19103
19104 * crypt/cert.c: Remove __STDC__ conditionals.
19105 * crypt/crypt-entry.c: Likewise.
19106 * crypt/crypt_util.c: Likewise.
19107 * libio/filedoalloc.c: Likewise.
19108 * libio/fileops.c: Likewise.
19109 * libio/genops.c: Likewise.
19110 * libio/iofclose.c: Likewise.
19111 * libio/iofdopen.c: Likewise.
19112 * libio/iofopen.c: Likewise.
19113 * libio/iofopen64.c: Likewise.
19114 * libio/iogetdelim.c: Likewise.
19115 * libio/iopopen.c: Likewise.
19116 * libio/obprintf.c: Likewise.
19117 * libio/oldfileops.c: Likewise.
19118 * libio/oldiofclose.c: Likewise.
19119 * libio/oldiofdopen.c: Likewise.
19120 * libio/oldiofopen.c: Likewise.
19121 * libio/oldiopopen.c: Likewise.
19122 * libio/wfiledoalloc.c: Likewise.
19123 * libio/wgenops.c: Likewise.
19124 * locale/programs/xmalloc.c: Likewise.
19125 * misc/syslog.c: Likewise.
19126 * stdio-common/xbug.c: Likewise.
19127 * string/memchr.c: Likewise.
19128 * string/memcmp.c: Likewise.
19129 * string/memrchr.c: Likewise.
19130 * string/rawmemchr.c: Likewise.
19131 * sysdeps/posix/getcwd.c: Likewise.
19132 * time/strftime_l.c: Likewise.
19133
3b100462
JM
191342012-01-30 Joseph Myers <joseph@codesourcery.com>
19135
19136 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19137 * config.make.in (config-cflags-sse2avx): Define.
19138 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19139 Fix typo.
19140
607998af
CM
191412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19142
19143 * scripts/config.guess: Update from upstream config git repository.
19144 * scripts/config.sub: Likewise.
19145
3601428f
CM
191462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19147
3ac8b282
CM
19148 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19149 (EM_NUM): Update.
19150 (R_TILEPRO_*, R_TILEGX_*): New macros.
19151
e034841e
CM
19152 * scripts/firstversions.awk: Fix bug in version range handling.
19153
540d7568
CM
19154 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19155
3601428f
CM
19156 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19157
463de862
CM
19158 * include/sys/epoll.h: New file.
19159 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19160 libc_hidden_def.
19161
73139a76
UD
191622012-01-28 Ulrich Drepper <drepper@gmail.com>
19163
96bc5b45
UD
19164 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19165 Avoid unnecessary __WORDSIZE == 64 test.
19166 (fmaxf): Use VEX format if possible.
19167 (fmax): Likewise.
19168 (fminf): Likewise.
19169 (fmin): Likewise.
19170
56f6f6a2
UD
19171 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19172 * math/math_private.h: Remove libc_fegetround* and
19173 libc_fesetround*.
19174 * sysdeps/i386/configure.in: Check for -msse2avx.
19175 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19176 also if SSE2AVX is defined.
19177 Remove libc_fegetround* and libc_fesetround*.
19178 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19179 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19180 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19181 of HAS_YMM_USABLE.
19182 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19183 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19184 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19185 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19186 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19187
73139a76
UD
19188 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19189
d73f93a4
AZ
191902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19191
19192 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19193 size is not set.
19194 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19195
6ee65ed6
UD
191962012-01-27 Ulrich Drepper <drepper@gmail.com>
19197
19198 [BZ #13618]
19199 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19200 relocation.
19201 * Makeconfig (libm): Define.
19202 * elf/Makefile: Add rules to build and run tst-relsort1.
19203 * elf/tst-relsort1.c: New file.
19204 * elf/tst-relsort1mod1.c: New file.
19205 * elf/tst-relsort1mod2.c: New file.
19206
8db21882
JM
192072012-01-27 Joseph Myers <joseph@codesourcery.com>
19208
19209 * math/s_ldexp.c: Remove __STDC__ conditionals.
19210 * math/s_ldexpf.c: Likewise.
19211 * math/s_ldexpl.c: Likewise.
19212 * math/s_nextafter.c: Likewise.
19213 * math/s_nexttowardf.c: Likewise.
19214 * math/s_significand.c: Likewise.
19215 * math/s_significandf.c: Likewise.
19216 * math/s_significandl.c: Likewise.
19217 * math/w_jnl.c: Likewise.
19218 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19219 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19220 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19221 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19222 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19237 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19238 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19239 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19240 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19241 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19242 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19243 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19244 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19245 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19246 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19247 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19248 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19249 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19250 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19251 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19252 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19253 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19254 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19255 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19256 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19257 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19258 * sysdeps/ieee754/k_standard.c: Likewise.
19259 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19260 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19261 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19262 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19263 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19268 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19272 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19273 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19277 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19278 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19282 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19288 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19295 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19296 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19297 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19298 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19299 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19301 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19302 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19303 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19304 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19305 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19306 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19308 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19309 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19310 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19319 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19320 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19322 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19323 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19325 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19327 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19333 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19334 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19337 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19338 * sysdeps/ieee754/s_matherr.c: Likewise.
19339 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19340 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19343
965a54a4
JM
193442012-01-26 Joseph Myers <joseph@codesourcery.com>
19345
19346 * crypt/md5.h: Remove __STDC__ conditionals.
19347 * libio/libioP.h: Likewise.
19348 * locale/programs/config.h: Likewise.
19349 * sysdeps/generic/sysdep.h: Likewise.
19350 * sysdeps/i386/asm-syntax.h: Likewise.
19351 * sysdeps/s390/asm-syntax.h: Likewise.
19352 * sysdeps/unix/sysdep.h: Likewise.
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19355
7071ad79
JM
193562012-01-26 Joseph Myers <joseph@codesourcery.com>
19357
19358 * libio/libio.h: Remove __STDC__ conditionals.
19359 * malloc/obstack.h: Likewise.
19360 * math/complex.h: Likewise.
19361 * math/math.h: Likewise.
19362 * sysdeps/generic/_G_config.h: Likewise.
19363 * sysdeps/gnu/_G_config.h: Likewise.
19364 * sysdeps/mach/hurd/_G_config.h: Likewise.
19365 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19366 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19367 * sysdeps/sparc/bits/mathdef.h: Likewise.
19368
afc5ed09
UD
193692012-01-26 Ulrich Drepper <drepper@gmail.com>
19370
19371 [BZ #13583]
19372 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19373 Clean up HAS_* macros.
afc5ed09 19374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19375 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19376 possible.
19377 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19378 HAS_AVX.
19379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19380 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19381 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19382 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19383 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19384
bdb6de1d
JM
193852012-01-25 Joseph Myers <joseph@codesourcery.com>
19386
19387 * elf/tst-unique3.cc (gets): Remove declaration.
19388 * elf/tst-unique3lib.cc (gets): Likewise.
19389 * elf/tst-unique3lib2.cc (gets): Likewise.
19390 * elf/tst-unique4.cc (gets): Likewise.
19391
b15549e6
UD
193922012-01-24 Ulrich Drepper <drepper@gmail.com>
19393
19394 * include/stdio.h: Add C++ protection. Add gets declarations and
19395 definitions.
19396 * debug/tst-chk1.c: Don't declare gets here.
19397 * stdio-common/tst-gets.c: Likewise.
19398
a037381f
JM
193992012-01-24 Joseph Myers <joseph@codesourcery.com>
19400
19401 * posix/glob: Remove directory.
19402
f1d4aa75
JM
194032012-01-24 Joseph Myers <joseph@codesourcery.com>
19404
19405 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19406
81c0c964
PT
194072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19408
19409 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19410 of the non-standard EPFNOSUPPORT.
19411
0ea698ae
ST
194122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19413
19414 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19415 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19416 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19417
d220b117
UD
194182012-01-21 Ulrich Drepper <drepper@gmail.com>
19419
19420 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19421
3e1aa84e
UD
194222012-01-20 Ulrich Drepper <drepper@gmail.com>
19423
19424 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19425 transient errors.
19426 * nscd/grpcache.c (cache_addgr): Likewise.
19427 * nscd/hstcache.c (cache_addhst): Likewise.
19428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19429 * nscd/pwdcache.c (cache_addpw): Likewise.
19430 * nscd/servicescache.c (cache_addserv): Likewise.
19431
400aa020
UD
194322012-01-16 Ulrich Drepper <drepper@gmail.com>
19433
d77e7869
UD
19434 * malloc/malloc.c: Various cleanups.
19435 * malloc/hooks.c: Likewise.
19436
400aa020
UD
19437 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19438 * stdlib/bug-fmtmsg1.c: New file.
19439
19440 * stdlib/fmtmsg.c (init): Add missing unlock.
19441 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19442
e0a309cf
MP
194432012-01-12 Marek Polacek <polacek@redhat.com>
19444
19445 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19446 and _GNU_SOURCE.
19447
929d11c7
WS
194482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19449
19450 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19451 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19452 macro to ensure uniqueness of label name.
19453 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19454 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19455
41d0e869
UD
194562012-01-11 Ulrich Drepper <drepper@gmail.com>
19457
0cc5ed3b
UD
19458 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19459
41d0e869
UD
19460 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19461 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19462 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19464
a47a831a
UD
194652012-01-10 Ulrich Drepper <drepper@gmail.com>
19466
daa891c0
UD
19467 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19468
19469 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19470 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19471 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19472
e58ef0f2
UD
19473 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19474
a47a831a 19475 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19476 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19477 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19478 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19479
19480 * math/bits/math-finite.h: Add ldexp support.
19481
a0bfc9c7
MP
194822012-01-10 Marek Polacek <polacek@redhat.com>
19483
19484 * locale/programs/localedef.h (show_archive_content): Add noreturn
19485 attribute.
19486
d6e97a1d
UD
194872012-01-09 Ulrich Drepper <drepper@gmail.com>
19488
19489 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19490
d5835c26
UD
194912012-01-08 Ulrich Drepper <drepper@gmail.com>
19492
e5f484c6
UD
19493 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19494
d5835c26
UD
19495 * io/Makefile (headers): Add bits/poll2.h.
19496
d1f741e9
WS
194972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19498
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19500 typo #include statement.
19501
ec09c1c4
UD
195022012-01-08 Ulrich Drepper <drepper@gmail.com>
19503
19504 * include/sys/cdefs.h: Define __attribute_alloc_size.
19505 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19506 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19507 * elf/pldd.c: Likewise.
19508 * iconv/iconv_charmap.c: Likewise.
19509 * iconv/iconvconfig.c: Likewise.
19510 * iconv/strtab.c: Likewise.
19511 * locale/programs/locale.c: Likewise.
19512 * locale/programs/localedef.h: Likewise.
19513 * locale/programs/simple-hash.c: Likewise.
19514 * nscd/nscd.h: Likewise.
19515 * nss/makedb.c: Likewise.
19516 * sysdeps/generic/ldconfig.h: Likewise.
19517 * locale/programs/localedef.c: Remove xmalloc prototype.
19518 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19519
20b38e03
PP
195202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19521
19522 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19523 appropriate.
19524
a0da5fe1
UD
195252012-01-08 Ulrich Drepper <drepper@gmail.com>
19526
1d5a644a 19527 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19528 * math/tst-CMPLX.c: New file.
1d5a644a 19529
8784a6db
UD
19530 * math/complex.h (CMPLXL): Fix typo.
19531
d9a216c0
UD
19532 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19533 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19534 GLIBC_2.16.
19535 * debug/tst-chk1.c: Add poll and ppoll tests.
19536 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19537 * include/sys/poll.h: Add hidden proto for ppoll.
19538 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19539 * sysdeps/mach/hurd/ppoll.c: Likewise.
19540 * io/ppoll.c: Likewise.
19541 * debug/poll_chk.c: New file.
19542 * debug/ppoll_chk.c: New file.
19543 * include/bits/poll2.h: New file.
19544 * io/bits/poll2.h: New file.
19545
ac097f5c
UD
19546 [BZ #1350]
19547 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19548
2119dcfa
UD
19549 * configure.in: static is always set to yes. Remove.
19550 * config.make.in: Don't set build-static.
19551 * Makeconfig: Remove use of build-static.
19552 * dlfcn/Makefile: Likewise.
19553 * elf/Makefile: Likewise.
19554 * math/Makefile: Likewise.
19555 * misc/Makefile: Likewise.
19556 * nptl/Makefile: Likewise.
19557 * sysdeps/mach/hurd/Makefile: Likewise.
19558
121766a9
UD
19559 * configure.in: PWD_P is not used anymore.
19560 * config.make.in: Remove PWD_P entry.
19561
51a1d39c 19562 * configure.in: Remove last remnants of RANLIB.
8720d066 19563 No need to check for signed size_t anymore.
215f4bdc
UD
19564 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19565 and IA-64.
3857022a 19566 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19567 * aclocal.m4: Likewise.
19568
d3ed7225
UD
19569 * wcsmbs/mbrtoc16.c: Implement using towc function.
19570 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19571 * wcsmbs/wcsmbsload.c: Likewise.
19572 * iconv/gconv_simple.c: Likewise.
19573 * iconv/gconv_int.h: Likewise.
19574 * iconv/gconv_builtin.h: Likewise.
19575 * iconv/iconv_prog.c: Remove CHAR16 handling.
19576
19577 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19578
19579 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19580
a0da5fe1
UD
19581 * configure.in: Remove --with-elf and --enable-bounded options.
19582 Dont set base_machine for ia64. More non-ELF conditions removed.
19583 Remove testing and setting of leading underscore information.
19584 * config.make.in (build-bounded): Set to no.
19585 * config.h.in: Remove NO_UNDERSCORES entry.
19586 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19587 them.
19588 * csu/start.c: Remove !NO_UNDERSCORE code.
19589 * locale/localeinfo.h: Likewise.
19590 * sysdeps/generic/machine-gmon.h: Likewise.
19591 * sysdeps/generic/sysdep.h: Likewise.
19592 * sysdeps/i386/sysdep.h: Likewise.
19593 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19594 * sysdeps/mach/sysdep.h: Likewise.
19595 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19596 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19597 * sysdeps/sh/sysdep.h: Likewise.
19598 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19599 * sysdeps/unix/i386/sysdep.S: Likewise.
19600 * sysdeps/unix/sparc/start.c: Likewise.
19601 * sysdeps/unix/sparc/sysdep.S: Likewise.
19602 * sysdeps/unix/sparc/sysdep.h: Likewise.
19603 * sysdeps/unix/start.c: Likewise.
19604 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19605 * sysdeps/x86_64/sysdep.h: Likewise.
19606
df78418a
UD
196072012-01-07 Ulrich Drepper <drepper@gmail.com>
19608
a784e502
UD
19609 [BZ #13553]
19610 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19611 for non-gcc.
19612 * argp/argp-fmtstream.h: Use const instead __const.
19613 * argp/argp.h: Likewise.
19614 * assert/assert.h: Likewise.
19615 * bits/fenv.h: Likewise.
19616 * bits/sched.h: Likewise.
19617 * bits/sigset.h: Likewise.
19618 * bits/sigthread.h: Likewise.
19619 * catgets/nl_types.h: Likewise.
19620 * conform/data/pthread.h-data: Likewise.
19621 * crypt/crypt-private.h: Likewise.
19622 * crypt/crypt.h: Likewise.
19623 * crypt/crypt_util.c: Likewise.
19624 * ctype/ctype.h: Likewise.
19625 * debug/execinfo.h: Likewise.
19626 * debug/mbsnrtowcs_chk.c: Likewise.
19627 * debug/mbsrtowcs_chk.c: Likewise.
19628 * debug/wcsnrtombs_chk.c: Likewise.
19629 * debug/wcsrtombs_chk.c: Likewise.
19630 * debug/wcstombs_chk.c: Likewise.
19631 * dirent/dirent.h: Likewise.
19632 * dlfcn/dlfcn.h: Likewise.
19633 * elf/neededtest4.c: Likewise.
19634 * grp/grp.h: Likewise.
19635 * gshadow/gshadow.h: Likewise.
19636 * iconv/gconv.h: Likewise.
19637 * iconv/gconv_int.h: Likewise.
19638 * iconv/gconv_simple.c: Likewise.
19639 * iconv/iconv.h: Likewise.
19640 * iconv/loop.c: Likewise.
19641 * iconv/skeleton.c: Likewise.
19642 * include/aio.h: Likewise.
19643 * include/aliases.h: Likewise.
19644 * include/argz.h: Likewise.
19645 * include/arpa/inet.h: Likewise.
19646 * include/assert.h: Likewise.
19647 * include/dirent.h: Likewise.
19648 * include/dlfcn.h: Likewise.
19649 * include/execinfo.h: Likewise.
19650 * include/fcntl.h: Likewise.
19651 * include/fenv.h: Likewise.
19652 * include/glob.h: Likewise.
19653 * include/grp.h: Likewise.
19654 * include/libintl.h: Likewise.
19655 * include/mntent.h: Likewise.
19656 * include/netdb.h: Likewise.
19657 * include/pwd.h: Likewise.
19658 * include/rpc/netdb.h: Likewise.
19659 * include/sched.h: Likewise.
19660 * include/search.h: Likewise.
19661 * include/shadow.h: Likewise.
19662 * include/signal.h: Likewise.
19663 * include/stdio.h: Likewise.
19664 * include/stdlib.h: Likewise.
19665 * include/string.h: Likewise.
19666 * include/sys/socket.h: Likewise.
19667 * include/sys/stat.h: Likewise.
19668 * include/sys/statfs.h: Likewise.
19669 * include/sys/statvfs.h: Likewise.
19670 * include/sys/syslog.h: Likewise.
19671 * include/sys/time.h: Likewise.
19672 * include/sys/uio.h: Likewise.
19673 * include/time.h: Likewise.
19674 * include/unistd.h: Likewise.
19675 * include/utmp.h: Likewise.
19676 * include/wchar.h: Likewise.
19677 * include/wctype.h: Likewise.
19678 * inet/aliases.h: Likewise.
19679 * inet/arpa/inet.h: Likewise.
19680 * inet/netinet/ether.h: Likewise.
19681 * inet/netinet/in.h: Likewise.
19682 * intl/libintl.h: Likewise.
19683 * io/bits/fcntl2.h: Likewise.
19684 * io/fcntl.h: Likewise.
19685 * io/ftw.h: Likewise.
19686 * io/sys/poll.h: Likewise.
19687 * io/sys/stat.h: Likewise.
19688 * io/sys/statfs.h: Likewise.
19689 * io/sys/statvfs.h: Likewise.
19690 * io/utime.h: Likewise.
19691 * libio/bits/stdio.h: Likewise.
19692 * libio/bits/stdio2.h: Likewise.
19693 * libio/libio.h: Likewise.
19694 * libio/libioP.h: Likewise.
19695 * libio/stdio.h: Likewise.
19696 * locale/lc-ctype.c: Likewise.
19697 * locale/locale.h: Likewise.
19698 * login/utmp.h: Likewise.
19699 * malloc/arena.c: Likewise.
19700 * malloc/malloc.c: Likewise.
19701 * malloc/malloc.h: Likewise.
19702 * malloc/mcheck.c: Likewise.
19703 * malloc/mtrace.c: Likewise.
19704 * math/bits/mathcalls.h: Likewise.
19705 * math/fenv.h: Likewise.
19706 * math/math_private.h: Likewise.
19707 * misc/bits/error.h: Likewise.
19708 * misc/bits/syslog.h: Likewise.
19709 * misc/err.h: Likewise.
19710 * misc/error.h: Likewise.
19711 * misc/fstab.h: Likewise.
19712 * misc/mntent.h: Likewise.
19713 * misc/regexp.h: Likewise.
19714 * misc/search.h: Likewise.
19715 * misc/sgtty.h: Likewise.
19716 * misc/sys/mman.h: Likewise.
19717 * misc/sys/syslog.h: Likewise.
19718 * misc/sys/uio.h: Likewise.
19719 * misc/sys/xattr.h: Likewise.
19720 * misc/ttyent.h: Likewise.
19721 * nis/rpcsvc/ypclnt.h: Likewise.
19722 * nss/nss.h: Likewise.
19723 * posix/bits/unistd.h: Likewise.
19724 * posix/fnmatch.h: Likewise.
19725 * posix/glob.h: Likewise.
19726 * posix/sched.h: Likewise.
19727 * posix/spawn.h: Likewise.
19728 * posix/sys/wait.h: Likewise.
19729 * posix/unistd.h: Likewise.
19730 * posix/wordexp.h: Likewise.
19731 * pwd/pwd.h: Likewise.
19732 * resolv/netdb.h: Likewise.
19733 * resource/sys/resource.h: Likewise.
19734 * rt/aio.h: Likewise.
19735 * rt/bits/mqueue2.h: Likewise.
19736 * rt/mqueue.h: Likewise.
19737 * shadow/shadow.h: Likewise.
19738 * signal/signal.h: Likewise.
19739 * socket/send.c: Likewise.
19740 * socket/sendto.c: Likewise.
19741 * socket/sys/socket.h: Likewise.
19742 * stdio-common/printf.h: Likewise.
19743 * stdlib/bits/stdlib.h: Likewise.
19744 * stdlib/fmtmsg.h: Likewise.
19745 * stdlib/monetary.h: Likewise.
19746 * stdlib/stdlib.h: Likewise.
19747 * stdlib/ucontext.h: Likewise.
19748 * streams/stropts.h: Likewise.
19749 * string/argz.h: Likewise.
19750 * string/bits/string2.h: Likewise.
19751 * string/string.h: Likewise.
19752 * string/strings.h: Likewise.
19753 * sunrpc/rpc/auth.h: Likewise.
19754 * sunrpc/rpc/auth_des.h: Likewise.
19755 * sunrpc/rpc/clnt.h: Likewise.
19756 * sunrpc/rpc/netdb.h: Likewise.
19757 * sunrpc/rpc/pmap_clnt.h: Likewise.
19758 * sunrpc/rpc/xdr.h: Likewise.
19759 * sysdeps/generic/inttypes.h: Likewise.
19760 * sysdeps/generic/net/if.h: Likewise.
19761 * sysdeps/generic/sys/swap.h: Likewise.
19762 * sysdeps/gnu/net/if.h: Likewise.
19763 * sysdeps/gnu/utmpx.h: Likewise.
19764 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19765 * sysdeps/i386/i486/bits/string.h: Likewise.
19766 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19767 * sysdeps/s390/bits/string.h: Likewise.
19768 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19769 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19770 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19771 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19772 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19773 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19774 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19775 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19776 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19777 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19778 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19779 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19780 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19781 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19782 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19783 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19784 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19788 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19789 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19790 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19791 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19792 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19793 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19794 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19795 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19796 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19797 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19798 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19799 * sysvipc/sys/ipc.h: Likewise.
19800 * sysvipc/sys/msg.h: Likewise.
19801 * sysvipc/sys/sem.h: Likewise.
19802 * sysvipc/sys/shm.h: Likewise.
19803 * termios/termios.h: Likewise.
19804 * time/sys/time.h: Likewise.
19805 * time/time.h: Likewise.
19806 * wcsmbs/bits/wchar2.h: Likewise.
19807 * wcsmbs/uchar.h: Likewise.
19808 * wcsmbs/wchar.h: Likewise.
19809 * wctype/wctype.h: Likewise.
19810
0269750c
UD
19811 [BZ #13551]
19812 * Makeconfig: Remove all but ELF support including AIX support.
19813 * Makerules: Likewise.
19814 * config.h.in: Likewise.
19815 * config.make.in: Likewise.
19816 * configure: Likewise.
19817 * configure.in: Likewise.
19818 * csu/Makefile: Likewise.
19819 * csu/version.c: Likewise.
19820 * debug/Makefile: Likewise.
19821 * dlfcn/Makefile: Likewise.
19822 * elf/Makefile: Likewise.
19823 * extra-lib.mk: Likewise.
19824 * iconv/Makefile: Likewise.
19825 * include/libc-symbols.h: Likewise.
19826 * include/shlib-compat.h: Likewise.
19827 * resolv/Makefile: Likewise.
19828 * resolv/res_libc.c: Likewise.
19829 * rt/Makefile: Likewise.
19830 * sysdeps/i386/asm-syntax.h: Likewise.
19831 * sysdeps/i386/sysdep.h: Likewise.
19832 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19833 * sysdeps/mach/sysdep.h: Likewise.
19834 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19835 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19836 * sysdeps/s390/asm-syntax.h: Likewise.
19837 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19838 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19839 * sysdeps/sh/sysdep.h: Likewise.
19840 * sysdeps/unix/sparc/sysdep.h: Likewise.
19841 * sysdeps/wordsize-32/divdi3.c: Likewise.
19842 * sysdeps/x86_64/sysdep.h: Likewise.
19843
00bbd29b
UD
19844 * argp/Versions: Remove _argp_unlock_xxx.
19845
19846 [BZ #13559]
19847 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19848 * abilist/libBrokenLocale.abilist: Likewise.
19849 * abilist/libanl.abilist: Likewise.
19850 * abilist/libc.abilist: Likewise.
19851 * abilist/libcrypt.abilist: Likewise.
19852 * abilist/libdl.abilist: Likewise.
19853 * abilist/libm.abilist: Likewise.
19854 * abilist/libnsl.abilist: Likewise.
19855 * abilist/libpthread.abilist: Likewise.
19856 * abilist/libresolv.abilist: Likewise.
19857 * abilist/librt.abilist: Likewise.
19858 * abilist/libthread_db.abilist: Likewise.
19859 * abilist/libutil.abilist: Likewise.
19860 * abilist/libnss_db.abilist: New file.
19861
19862 * scripts/abilist.awk: Add support for indirect functions.
19863
a2693a0e
UD
19864 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19865
3f05895f
UD
19866 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19867
ecb6fb48
UD
19868 * shlib-versions: Remove entries for ports architectures.
19869
664f8cb9
UD
19870 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19871 files in ports.
19872 * elf/stackguard-macros.h: Remove support for IA-64.
19873 * elf/tst-auditmod1.c: Likewise.
19874 * sysdeps/generic/ldsodefs.h: Likewise.
19875
7ae81d88
UD
19876 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19877 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19878 configure files.
19879
bdeba135
UD
19880 [BZ #13552]
19881 * configure.in: Remove --enable-omitfp support.
19882 * FAQ.in: Adjust.
19883 * config.make.in: Likewise.
19884 * Makeconfig: Likewise.
19885 * manual/install.texi: Likewise.
19886
d75a0a62
UD
19887 In case anyone cares, the IA-64 architecture could move to ports.
19888 * sysdeps/ia64/*: Removed.
19889 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19890 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19891
dcc9756b
UD
19892 [BZ #13555]
19893 * configure.in: Remove entries for unsupported architectures.
19894
d3761ebc 19895 [BZ #13533]
9954432e
UD
19896 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19897 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19898 routines.
19899 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19900 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19901 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19902 fall back to using wcrtomb.
19903 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19904 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19905 renaming.
19906 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19907 * wcsmbs/tst-c16c32-1.c: New file.
19908
19909 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19910 local variable.
19911
c3a87236
UD
19912 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19913
28926a1b
UD
19914 * elf/tst-unique3.cc: Add explicit declaration of gets.
19915 * elf/tst-unique3lib.cc: Likewise.
19916 * elf/tst-unique3lib2.cc: Likewise.
19917 * elf/tst-unique4.cc: Likewise.
19918
df78418a
UD
19919 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19920
8ecd6b2a
JM
199212012-01-06 Joseph Myers <joseph@codesourcery.com>
19922
19923 [BZ #13566]
19924 * assert/assert.h (static_assert): Don't define for C++.
19925 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19926 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19927
9f115170
UD
199282012-01-03 Ulrich Drepper <drepper@gmail.com>
19929
5e0d0300
UD
19930 * iconv/loop.c (single loop): Fix assertion in storing of
19931 remaining bytes.
19932
9f115170
UD
19933 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19934
81fb02b0
UD
199352012-01-01 Ulrich Drepper <drepper@gmail.com>
19936
19937 * posix/getconf.c: Update copyright year.
19938 * nss/getent.c: Likewise.
a316c1f6 19939 * nss/makedb.c: Likewise.
81fb02b0
UD
19940 * iconv/iconvconfig.c: Likewise.
19941 * iconv/iconv_prog.c: Likewise.
19942 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19943 * elf/pldd.c: Likewise.
19944 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19945 * catgets/gencat.c: Likewise.
19946 * csu/version.c: Likewise.
19947 * elf/ldd.bash.in: Likewise.
19948 * elf/sprof.c (print_version): Likewise.
19949 * locale/programs/locale.c: Likewise.
19950 * locale/programs/localedef.c: Likewise.
a316c1f6 19951 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19952 * nscd/nscd.c (print_version): Likewise.
19953 * debug/xtrace.sh: Likewise.
19954 * malloc/memusage.sh: Likewise.
19955 * malloc/mtrace.pl: Likewise.
19956 * debug/catchsegv.sh: Likewise.
19957
2ba92745
JJ
199582011-12-30 Jakub Jelinek <jakub@redhat.com>
19959
19960 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19961 pure attribute.
19962
dadebdae
UD
199632011-12-24 Ulrich Drepper <drepper@gmail.com>
19964
d3761ebc 19965 [BZ #13533]
db6af3eb
UD
19966 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19967 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19968 transformations.
19969 * iconv/gconv_int.h: Likewise.
19970 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19971 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19972 from libc for GLIBC_2.16.
19973 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19974 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19975 * wcsmbs/uchar.h: Really define mbstate_t.
19976 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19977 * wcsmbs/c16rtomb.c: New file.
19978 * wcsmbs/mbrtoc16.c: New file.
19979 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19980 for C/POSIX locale.
19981 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19982 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19983
dadebdae
UD
19984 * wcsmbs/wchar.h: Add missing __restrict.
19985
67371b56
UD
199862011-12-23 Ulrich Drepper <drepper@gmail.com>
19987
74033a25
UD
19988 [BZ #13532]
19989 * time/Makefile (routines): Add timespec_get.
19990 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19991 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19992 timespec for ISO C11.
19993 * time/timespec_get.c: New file.
19994 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19995 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19996
380d7e87
UD
19997 [BZ #13531]
19998 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19999 * stdlib/stdlib.h: Declare aligned_alloc.
20000 * Versions.def: Add GLIBC_2.16 for libc.
20001 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20002
4e9e7a35
UD
20003 [BZ 13527]
20004 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20005 ISO C11.
20006
380d7e87 20007 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20008 code.
20009
03a71829
UD
20010 [BZ #13528]
20011 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20012
839e283e
UD
20013 [BZ #13529]
20014 * assert/assert.h (static_assert): Define.
20015
ce5294e2 20016 * version.h: Update for 2.16 development version.
90fa7312 20017
8d44e150 20018 [BZ #13526]
d7809905
UD
20019 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20020 _ISOC11_SOURCE.
20021
c0da14cd
UD
20022 * version.h (RELEASE): Bump for 2.15 release.
20023 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20024
530a3249
MP
20025 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20026 Patch by Marek Polacek <mpolacek@redhat.com>.
20027
67371b56
UD
20028 * bits/byteswap.h: Protect long long constants with __extension__.
20029 * sysdeps/i386/bits/byteswap.h: Likewise.
20030 * sysdeps/ia64/bits/byteswap.h: Likewise.
20031 * sysdeps/s390/bits/byteswap.h: Likewise.
20032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20033
15db4de1
LD
200342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20035
20036 [BZ #13540]
bbe315ea
LD
20037 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20038 destination buffer.
15db4de1
LD
20039 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20040
2b2596b1
MP
200412011-12-23 Marek Polacek <polacek@redhat.com>
20042
20043 * elf/dl-addr.c (determine_info): Add inline keyword.
20044 * elf/tst-auditmod4b.c (check_avx): Likewise.
20045 * elf/tst-auditmod6b.c (check_avx): Likewise.
20046 * elf/tst-auditmod6c.c (check_avx): Likewise.
20047 * elf/tst-auditmod7b.c (check_avx): Likewise.
20048
70c6c246
UD
200492011-12-23 Ulrich Drepper <drepper@gmail.com>
20050
20051 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20052 !__SSE_MATH__.
20053
c044cf14
LD
200542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20055
15db4de1 20056 [BZ #13540]
c044cf14
LD
20057 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20058 processing for last bytes.
20059
6b13d9d9
BH
200602011-08-06 Bruno Haible <bruno@clisp.org>
20061
d455f537
BH
20062 [BZ #13061]
20063 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20064 U+0385, not to U+1FEE.
20065
6b13d9d9
BH
20066 [BZ #13062]
20067 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20068 entry for U+00A5 U+0301.
20069
db910efd
UD
200702011-12-22 Ulrich Drepper <drepper@gmail.com>
20071
27deeafc
UD
20072 [BZ #13166]
20073 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20074 buffer for the output is too small.
20075
aed9d171
UD
20076 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20077 optimization.
20078
db910efd
UD
20079 [BZ #13185]
20080 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20081 SSE flags if possible.
20082
2bd779ae
LD
200832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20084
e7f9dac3 20085 [BZ #13540]
2bd779ae
LD
20086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20087 processing for last bytes.
20088
154bfc16
JM
200892011-12-22 Joseph Myers <joseph@codesourcery.com>
20090
20091 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20092 (syscall-list-default-options, syscall-list-default-condition)
20093 (syscall-list-includes): Define.
20094 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20095 list of ABIs and options and #if conditions for each ABI. Do not
20096 handle common syscalls between ABIs specially.
20097 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20098 Remove.
20099 (syscall-list-variants, syscall-list-32bit-options)
20100 (syscall-list-32bit-condition, syscall-list-64bit-options)
20101 (syscall-list-64bit-condition): Define.
20102 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20103 (syscall-list-variants, syscall-list-32bit-options)
20104 (syscall-list-32bit-condition, syscall-list-64bit-options)
20105 (syscall-list-64bit-condition): Define.
20106 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20107 Remove.
20108 (syscall-list-variants, syscall-list-32bit-options)
20109 (syscall-list-32bit-condition, syscall-list-64bit-options)
20110 (syscall-list-64bit-condition): Define.
20111 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20112 Remove.
20113 (syscall-list-variants, syscall-list-32bit-options)
20114 (syscall-list-32bit-condition, syscall-list-64bit-options)
20115 (syscall-list-64bit-condition): Define.
20116
21eaf3a5
UD
201172011-12-22 Ulrich Drepper <drepper@gmail.com>
20118
16c6f992
UD
20119 * locale/iso-639.def: Add brx entry.
20120
41043168
UD
20121 [BZ #13328]
20122 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20123 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20124
21eaf3a5
UD
20125 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20126 __feraiseexcept_renamed.
20127
e3a851a2
UD
201282011-12-21 Ulrich Drepper <drepper@gmail.com>
20129
4920765e
UD
20130 [BZ #13538]
20131 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20132 EPOLLET with unsigned values.
20133 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20135
e3a851a2
UD
20136 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20137 to large cancellation.
20138 * math/s_cacoshf.c: Likewise.
20139 * math/s_cacoshl.c: Likewise.
20140
b27e24b8
RK
201412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20142
20143 [BZ #13305]
aebefeee 20144 [BZ #12786]
b27e24b8
RK
20145 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20146 * math/s_cacoshf.c: Likewise.
20147 * math/s_cacoshl.c: Likewise.
20148
ee190f67
UD
201492011-12-21 Ulrich Drepper <drepper@gmail.com>
20150
20151 [BZ #13439]
20152 * iconv/gconv.h: Define __GCONV_SWAP.
20153 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20154 * iconvdata/utf-16.c: Likewise.
20155 * iconvdata/utf-32.c: Likewise.
20156
707f25df
AS
201572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20158
20159 [BZ #13524]
20160 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20161 numerator after shifting it by one limb.
20162
d2daaa1e
RÁE
201632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20164
20165 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20166 under [__USE_EXTERN_INLINES].
20167
a4647e72
UD
201682011-12-17 Ulrich Drepper <drepper@gmail.com>
20169
20170 [BZ #13446]
20171 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20172
f0b264f1
AZ
201732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20174
20175 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20176 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20177 optimized code.
20178 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20179 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20180 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20181 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20182 for strncasecmp/strncasecmp_l compilation.
20183 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20184 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20185
8ef4f244
MP
201862011-12-08 Marek Polacek <mpolacek@redhat.com>
20187
20188 [BZ #13484]
20189 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20190 of __asm__.
20191
97ac2654
UD
201922011-12-17 Ulrich Drepper <drepper@gmail.com>
20193
20194 [BZ #13506]
20195 * time/tzfile.c (__tzfile_read): Check values from file header.
20196
91d2a845
WS
201972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20198
20199 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20200 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20201 * powerpc/powerpc32/dl-start.S: Likewise.
20202 * powerpc/powerpc32/elf/start.S: Likewise.
20203 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20204 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20205 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20206 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20207 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20208 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20209 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20210 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20211 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20212 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20213 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20214 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20215 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20216 * powerpc/powerpc32/memset.S: Likewise.
20217 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20218 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20219 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20220 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20221 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20222 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20223 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20224 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20225 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20226 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20227 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20230
a1267ba1
AZ
202312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20232
20233 * math/libm-test.inc: Added more nearbyint tests.
20234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20235 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20237 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20238
ad8ac1bd
RL
202392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20240
20241 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20242 FD_CLOEXEC.
20243
1d3e4b61
UD
202442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20245
20246 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20247 Add wcscpy-ssse3 wcscpy-c.
20248 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20249 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20250 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20251 * sysdeps/x86_64/wcschr.S: New file.
20252 * sysdeps/x86_64/wcsrchr.S: New file.
20253 * string/test-strcmp.c: Remove checking of wcscmp function for
20254 wrong alignments.
20255 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20256 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20257 wcsrchr-sse2 wcsrchr-c.
20258 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20259 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20260 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20261 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20262 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20263 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20264 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20265 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20266 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20267 * wcsmbc/wcschr.c (WCSCHR): New macro.
20268
5b330a2d
UD
202692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20270
20271 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20272 * wcsmbs/test-wcsrchr.c: New file.
20273 * string/test-strrchr.c: Add wcsrchr support.
20274 (WIDE): New macro.
20275 * wcsmbs/test-wcscpy.c: New file.
20276 * string/test-strcpy.c: Add wcscpy support.
20277 (WIDE): New macro.
26428b7c 20278
f039c043
UD
202792011-12-10 Ulrich Drepper <drepper@gmail.com>
20280
20281 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20282 the inner loop.
20283
850fb039
AS
202842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20285
20286 [BZ #13472]
20287 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20288
4efbd5cb
UD
202892011-12-04 Ulrich Drepper <drepper@gmail.com>
20290
52ff5dd0 20291 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20292 Minor optimizations.
52ff5dd0 20293
4efbd5cb
UD
20294 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20295 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20296 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20297
8a426e12
UD
202982011-12-03 Ulrich Drepper <drepper@gmail.com>
20299
aff2453d
UD
20300 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20301 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20302 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20303 for gcc to avoid warnings.
20304 * inet/Makefile (tests): Add tst-checks.
20305 * inet/tst-checks.c: New file.
20306
20307 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20308 warning.
20309
20310 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20311 __wmemcmp_sse2.
20312
20313 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20314 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20315
8a426e12
UD
20316 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20317
9bea3473
UD
203182011-12-02 Ulrich Drepper <drepper@gmail.com>
20319
3a965496
UD
20320 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20321 problem.
20322
9bea3473
UD
20323 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20324
f101631b
UD
203252011-11-29 Joseph Myers <joseph@codesourcery.com>
20326
20327 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20328 conditional on GCC version.
20329 (__arch_compare_and_exchange_val_8_acq)
20330 (__arch_compare_and_exchange_val_16_acq)
20331 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20332 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20333 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20334
a98275aa
UD
203352011-12-02 Joseph Myers <joseph@codesourcery.com>
20336
20337 * sysdeps/sh/backtrace.c: New file.
20338
d4cc29a2
AS
203392011-12-02 Andreas Schwab <schwab@redhat.com>
20340
20341 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20342 parenthesis.
20343
6257af2d
AS
203442011-12-01 Andreas Schwab <schwab@redhat.com>
20345
20346 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20347 falling back to utime.
20348
b5f44c1a
AS
203492011-11-30 Andreas Schwab <schwab@redhat.com>
20350
20351 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20352 expectations for float.
20353
f3a6cc0a
AS
203542011-11-29 Andreas Schwab <schwab@redhat.com>
20355
20356 * locale/weight.h (findidx): Add parameter len.
20357 * locale/weightwc.h (findidx): Likewise.
20358 * posix/fnmatch_loop.c (FCT): Adjust caller.
20359 * posix/regcomp.c (build_equiv_class): Likewise.
20360 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20361 * posix/regexec.c (check_node_accept_bytes): Likewise.
20362 * string/strcoll_l.c (STRCOLL): Likewise.
20363 * string/strxfrm_l.c (STRXFRM): Likewise.
20364
9d65ea3a
UD
203652011-11-17 Ulrich Drepper <drepper@gmail.com>
20366
20367 * Makefile.in: Remove CVSOPT handling.
20368 * configure.in: Remove use of AC_REVISION.
20369 * iconvdata/Makefile (distribute): No need to filter out CVS.
20370 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20371 handling.
20372
5583a086
AS
203732011-11-16 Andreas Schwab <schwab@redhat.com>
20374
20375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20376 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20377 [USE_AS_STRNCASECMP_L]: Likewise.
20378 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20379 NO_TLS_DIRECT_SEG_REFS.
20380 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20381 Fix argument offsets for non-PIC.
20382 [USE_AS_STRNCASECMP_L]: Likewise.
20383 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20384 NO_TLS_DIRECT_SEG_REFS.
20385
d62a8200
UD
203862011-11-15 Ulrich Drepper <drepper@gmail.com>
20387
9d65ea3a 20388 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20389 O_CLOEXEC.
20390 * locale/loadlocale.c (_nl_load_locale): Likewise.
20391
09f93bd3
AS
203922011-11-15 Andreas Schwab <schwab@redhat.com>
20393
446514f9
AS
20394 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20395 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20396 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20397 (SYSCALL_GETTIME): Set errno on error.
20398
09f93bd3
AS
20399 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20400 count references to noai6ai_cached.
20401
312be3f9
UD
204022011-11-15 Ulrich Drepper <drepper@gmail.com>
20403
20404 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20405
20406 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20407 FD_CLOEXEC for /proc/self/maps.
20408
20409 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20410 FD_CLOEXEC for /proc/meminfo.
20411
20412 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20413 gai.conf.
20414
20415 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20416 FD_CLOEXEC for given file.
20417
20418 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20419
20420 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20421 FD_CLOEXEC for /etc/hosts.
20422 (_gethtent): Likewise.
20423
20424 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20425
20426 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20427 cancellation and set FD_CLOEXEC for /etc/netgroup.
20428
20429 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20430 reading /etc/publickey.
20431
20432 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20433 allow cancellation when reading /etc/group.
20434
20435 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20436 cancellation.
20437 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20438
20439 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20440 when using data file.
20441
20442 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20443
20444 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20445 (write_nis_obj): Use "c" and "e" in fopen.
20446
20447 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20448
20449 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20450
20451 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20452
20453 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20454
20455 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20456 locale.alias.
20457
20458 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20459
20460 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20461
20462 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20463
20464 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20465 file parsing and set FD_CLOEXEC.
20466
82af0fa8
UD
204672011-11-14 Ulrich Drepper <drepper@gmail.com>
20468
20469 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20470
a5fb313c
AS
204712011-11-14 Andreas Schwab <schwab@redhat.com>
20472
20473 * malloc/arena.c (arena_get2): Don't call reused_arena when
20474 _int_new_arena failed.
20475
6abf3465
UD
204762011-11-14 Ulrich Drepper <drepper@gmail.com>
20477
20478 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20479 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20480 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20481 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20482 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20483 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20484 to compile strcasecmp and strncasecmp.
20485 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20486 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20487
20488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20489
76e3966e
UD
204902011-11-13 Ulrich Drepper <drepper@gmail.com>
20491
20492 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20493 locale-defines.sym to gen-as-const-headers.
20494 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20495 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20497 to compile strcasecmp and strncasecmp.
20498 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20499 strcasecmp_l and strncasecmp_l.
20500 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20501 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20502 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20503 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20504 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20505 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20506 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20507 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20508 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20509 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20510 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20511
ab26144e
UD
205122011-11-12 Ulrich Drepper <drepper@gmail.com>
20513
7edb22ef
UD
20514 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20515 result of SYSDEP_GETTIME_CPU to retval.
20516 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20517 parameter list to macro. Remove trailing semicolon. Adjust users.
20518
9694fc44
UD
20519 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20520 variable.
20521
8ad89ef8
UD
20522 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20523 mantissa words.
20524 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20525
0c822ef9
UD
20526 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20527 from unused variable.
20528
874e0564
UD
20529 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20530 DWARF definitions.
20531 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20532 for assembling.
20533
3a2edc79
UD
20534 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20535 over namespaces.
20536
f3c2577f
UD
20537 * sunrpc/rpc_prot.c (rejected): Fix case value.
20538
294ce126
UD
20539 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20540 unsigned long long int to avoid warnings in shift.
20541
5e2b63c6
UD
20542 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20543 of use of trans.
20544 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20545 variable tmp.
20546
e7f4b08e
UD
20547 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20548 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20549 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20550
ab26144e
UD
20551 * nis/nis_table.c (nis_list): Use variable of correct type for
20552 result of __follow_path call.
20553
8a6d5255
AZ
205542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20555
20556 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20557 of math functions ceil, trunc, floor, round, and sqrt, when
20558 avaliable on the platform.
20559 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20560 name clash.
20561 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20562 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20563 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20564
aaddc98c
MP
205652011-10-30 Marek Polacek <mpolacek@redhat.com>
20566
20567 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20568 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20569
95b7042b
RM
205702011-11-11 Roland McGrath <roland@hack.frob.com>
20571
20572 * include/unistd.h: Fix __readlink return type.
20573 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20574
57769839
UD
205752011-11-11 Ulrich Drepper <drepper@gmail.com>
20576
20577 * stdlib/ucontext.h: Undo last change for makecontext.
20578
edc5984d
AS
205792011-11-11 Andreas Schwab <schwab@redhat.com>
20580
98591e58
AS
20581 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20582
edc5984d
AS
20583 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20584 * setjmp/setjmp.h: Mark functions as non-leaf.
20585 * setjmp/bits/setjmp2.h: Likewise.
20586 * stdlib/ucontext.h: Likewise.
20587
77cdc054
AS
205882011-11-10 Andreas Schwab <schwab@redhat.com>
20589
20590 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20591 (reused_arena): Don't check arena limit.
20592 (arena_get2): Atomically check arena limit.
20593
fe72eebd
UD
205942011-11-08 Ulrich Drepper <drepper@gmail.com>
20595
5f078c32
UD
20596 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20597 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20598
fe72eebd
UD
20599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20600 instructions.
20601
ae1bc2fa
AS
206022011-11-07 Andreas Schwab <schwab@redhat.com>
20603
7583a88d
AS
20604 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20605 handler when locking.
20606
ae1bc2fa
AS
20607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20608 Fix size of allocated buffer.
20609
10fb0bfa
AS
206102011-11-04 Andreas Schwab <schwab@redhat.com>
20611
998832a4
AS
20612 [BZ #10103]
20613 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20614 declarations for long double functions.
20615 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20616
10fb0bfa
AS
20617 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20618
3d7ba52b
AS
206192011-11-03 Andreas Schwab <schwab@redhat.com>
20620
a9ae54a1
AS
20621 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20622 installed.
20623
3d7ba52b
AS
20624 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20625 is disabled.
20626
bc8db248
ST
206272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20628
20629 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20630
45b96dd6
AS
206312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20632
647776f6
AS
20633 * include/alloca.h (stackinfo_alloca_round): Define.
20634 (extend_alloca): Use it.
20635 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20636 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20637 here.
20638
d91a8b93
AS
20639 * scripts/check-local-headers.sh: Ignore libaudit.h.
20640
45b96dd6
AS
20641 * nscd/Makefile (extra-objs): Make recursively expanded.
20642
432d41ce
UD
206432011-11-01 Ulrich Drepper <drepper@gmail.com>
20644
34372fc6
UD
20645 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20646 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20647
fadb59f8
UD
20648 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20649 * posix/tst-rfc3484-2.c: Likewise.
20650 * posix/tst-rfc3484-3.c: Likewise.
20651
78239589
UD
20652 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20653 process_vm_writev.
20654 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20655 process_vm_writev.
20656 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20657 process_vm_writev from libc using GLIBC_2.15 version.
20658
432d41ce
UD
20659 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20660
02f9c6cf
PP
206612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20662
20663 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20664 stack usage.
20665
3a2c0242
UD
206662011-10-31 Ulrich Drepper <drepper@gmail.com>
20667
f4ec4833
UD
20668 [BZ #13367]
20669 * nss/getent.c (initgroups_keys): Show error message in case no group
20670 names are given.
20671
3a2c0242
UD
20672 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20673 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20674 __bump_nl_timestamp.
20675 * nscd/connections (nscd_init): When host database is served open
20676 netlink socket and request notification about configuration changes.
20677 (main_loop_poll): Track netlink file descriptor and bump timestamp
20678 in case data becomes available.
20679 (main_loop_epoll): Likewise.
20680 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20681 (database_pers_head): Add extra_data fileds.
20682 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20683 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20684 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20685 Adjust caller.
20686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20687 in6ai data, call __free_in6ai.
20688 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20689 Add -DHAVE_NETLINK.
20690 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20691 interface information. Reuse previous data if netlink timestamp
20692 is not changed.
20693 (__bump_nl_timestamp): New function.
20694 (__free_in6ai): New function.
20695
636064eb
UD
206962011-10-30 Ulrich Drepper <drepper@gmail.com>
20697
20698 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20699 close_not_cancel_no_status here.
20700 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20701
9beb2334
UD
207022011-10-29 Ulrich Drepper <drepper@gmail.com>
20703
6ef76f3b
UD
20704 [BZ #13276]
20705 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20706 return value.
20707
0ffc4f3e 20708 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20709 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20710 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20711
cb95113e
UD
207122011-07-03 Andreas Jaeger <aj@suse.de>
20713
20714 [BZ #10709]
20715 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20716 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20717 * math/libm-test.inc (sin_test): Add test case.
20718
a1b560ff
UD
207192011-10-29 Ulrich Drepper <drepper@gmail.com>
20720
c9aaface
UD
20721 [BZ #13337]
20722 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20723 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20724
d272e7f1
UD
20725 * elf/chroot_canon.c (chroot_canon): Cleanups.
20726
1bc33071
UD
20727 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20728
1760874d
TJ
20729 [BZ #13335]
20730 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20731 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20732
51d91b18
UD
20733 * string/test-strchr.c: Make usable for strchrnul testing.
20734 * string/test-strchrnul.c: New file.
20735 * string/Makefile (strop-tests): Add strchrnul.
20736
a1b560ff 20737 * po/it.po: Update from translation team.
b611fb81 20738 * po/es.po: Likewise.
a1b560ff 20739
a5b81e1f
UD
207402011-10-28 Ulrich Drepper <drepper@gmail.com>
20741
fd52bc6d
UD
20742 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20743 the three constants needed as parameters. Drop the others.
20744 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20745 __m128i_strloadu_tolower.
52e4b9eb
UD
20746 Create and initialize variable zero and use it in all the places
20747 where _mm_setzero_si128 was used.
fd52bc6d 20748
a5b81e1f
UD
20749 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20750 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20751 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20752 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20753 anymore.
20754 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20755 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20756 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20757 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20758 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20759 __mpranred, __mptan.
20760 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20761 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20762 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20763 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20764 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20765 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20766 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20767 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20768 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20769
b4343346
AS
207702011-10-28 Andreas Schwab <schwab@redhat.com>
20771
0c92d8a8
AS
20772 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20773 redefine if SHARED.
20774 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20775
b4343346
AS
20776 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20777 wide char related routines to wcsmbs subdir.
20778
3871f58f
AS
207792011-10-27 Andreas Schwab <schwab@redhat.com>
20780
20781 [BZ #13344]
20782 * misc/sys/cdefs.h (__THROWNL): Define.
20783 * posix/unistd.h: Use __THREADNL instead of __THREAD
20784 for memory synchronization functions.
20785
94d44d9f
RM
207862011-10-26 Roland McGrath <roland@hack.frob.com>
20787
21b64b15 20788 [BZ #13349]
94d44d9f
RM
20789 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20790 doesn't exist.
20791 * manual/stdio.texi (Obstack Streams): Node removed.
20792
f6ce9294
AS
207932011-10-26 Andreas Schwab <schwab@redhat.com>
20794
80479147
AS
20795 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20796 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20797 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20798
f6ce9294
AS
20799 * math/math_private.h (math_force_eval): Allow non-addressable
20800 arguments.
20801 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20802
618280a1
UD
208032011-10-25 Ulrich Drepper <drepper@gmail.com>
20804
e0016b11
UD
20805 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20806 file is not needed.
20807
20808 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20815 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20816 Add AVX variants.
20817 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20818 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20819 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20820 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20821 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20822 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20823 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20824 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20825 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20826 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20827 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20828 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20830 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20831 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20832 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20833 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20834 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20835 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20836
20837 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20838 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20839
618280a1
UD
20840 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20841 place. Use VEX encoding when compiling for AVX.
20842
37822576
AS
208432011-10-25 Andreas Schwab <schwab@redhat.com>
20844
1f1e1947
AS
20845 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20846 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20847
37822576
AS
20848 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20849
31ea014d
UD
208502011-10-25 Ulrich Drepper <drepper@gmail.com>
20851
d7826aa1 20852 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20853 useless if() expression.
d7826aa1
UD
20854 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20864 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20865 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20866 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20867 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20868 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20869 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20870 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20871 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20872 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20873
31ea014d
UD
20874 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20875
16437fec
AS
208762011-10-25 Andreas Schwab <schwab@redhat.com>
20877
20878 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20879 condition.
20880 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20881
31d3cc00
UD
208822011-10-25 Ulrich Drepper <drepper@gmail.com>
20883
20884 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20885 .text section. Avoid duplicate constants.
20886 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20892 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20893 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20894 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20895 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20896 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20898 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20901 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20903 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20906 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20907 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20908 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20909 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20910 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20911 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20912 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20913 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20914 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20915 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20916 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20917 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20918 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20919 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20920 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20921 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20922 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20923 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20924 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20925 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20928 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20929 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20930 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20931
58985aa9
UD
209322011-10-24 Ulrich Drepper <drepper@gmail.com>
20933
202c9deb
UD
20934 * sysdeps/x86_64/dla.h: Move to ...
20935 * sysdeps/x86_64/fpu/dla.h: ...here.
20936 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20937 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20938
af968f62
UD
20939 * config.make.in: Add have-mfma4 entry.
20940 * configure.in: Substitute libc_cv_cc_fma4.
20941 * math/Makefile (dbl-only-routines): Add sincostab.
20942 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20943 Use __sincostab not sincos.
20944 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20945 name is a macro.
20946 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20950 using __copysign.
20951 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20952 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20953 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20954 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20955 and __inv.
20956 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20957 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20958 __copysign.
20959 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20960 define aliases when function name is a macro.
20961 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20962 sysdeps/ieee754/dbl-64/sincos.tbl.
20963 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20964 fma4-enabled routines.
20965 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20966 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20967 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20968 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20969 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20970 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20971 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20973 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20974 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20975 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20976 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20977 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20978 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20979 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20980 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20981 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20982 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20983 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20984 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20985 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20986 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20987 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20988 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20989 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20990 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20991 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20992 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20993 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20994 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20995
58985aa9
UD
20996 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20997 rename.
20998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21004 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21006
a201fbcf
AS
210072011-10-24 Andreas Schwab <schwab@redhat.com>
21008
21009 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21010
fc2ee42a
LD
210112011-10-23 Ulrich Drepper <drepper@gmail.com>
21012
bb3129bd
UD
21013 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21014
0275fff8
UD
21015 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21016 prediction.
21017 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21018
2fa2ae85
UD
21019 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21020 Remove unused variable magic_bits.
21021 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21022
fc2ee42a
LD
21023 * string/strnlen.c: Define and use STRNLEN macro.
21024 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21025 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21026 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21027 * wcsmbs/wcslen.c: Define and use WCSLEN.
21028 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21029 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21030 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21031 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21032 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21033 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21034 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21035
ce7dd29f
LD
210362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21037
21038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21039 strnlen-sse2-no-bsf.
21040 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21042 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21043 Add strnlen support.
21044 (USE_AS_STRNLEN): New macro.
21045 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21046 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21047 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21048 * sysdeps/x86_64/wcslen.S: New file.
21049
979c70a3
MZ
210502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21051
21052 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21053 XMM-moves are used for copying on small sizes.
21054
2d09f82f
LD
210552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21056
21057 * wcsmbs/Makefile (strop-tests): Add wcschr.
21058 * wcsmbs/test-wcschr.c: New file.
21059 * string/test-strchr.c: Update.
21060 Add wcschr support.
21061 (WIDE): New macro.
21062
619fccca
LD
210632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21064
2d09f82f 21065 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21066 * wcsmbs/test-wcslen.c: New file.
21067 * string/test-strlen.c: Update.
21068 Add wcslen support.
21069 (WIDE): New macro.
21070
09f699ea
UD
210712011-10-23 Ulrich Drepper <drepper@gmail.com>
21072
21073 * po/it.po: Update from translation team.
21074
95584d3b
LD
210752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21076
21077 * sysdeps/x86_64/wcscmp.S: Update.
21078 Fix wrong comparison semantics.
21079 wcscmp shall use signed comparison not unsigned.
21080 Don't use substraction to avoid overflow bug.
21081 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21082 * wcsmbc/wcscmp.c: Likewise.
21083 * string/test-strcmp.c: Likewise.
21084 Add new tests to check cases with negative values.
21085
c8b3296b
UD
210862011-10-23 Ulrich Drepper <drepper@gmail.com>
21087
21088 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21089 * sysdeps/x86_64/dla.h: ...here. New file.
21090 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21091 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21095 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21099
246ad57a
AS
211002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21101
21102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21103 __ynl_finite aliases.
21104
a1a87169
UD
211052011-10-22 Ulrich Drepper <drepper@gmail.com>
21106
0d355eb7
UD
21107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21108
a1a87169
UD
21109 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21110 define DLA_FMA.
21111 [DLA_FMA] (EMULV): Use DLA_FMA.
21112 [DLA_FMA] (MUL12): Use EMULV.
21113 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21114 that are not needed.
21115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21122
ee2aafe0
AS
211232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21124
21125 * math/s_nan.c: Undef __nan.
21126 * math/s_nanf.c: Undef __nanf.
21127 * math/s_nanl.c: Undef __nanl.
21128 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21129 "math_private.h".
21130
bc62c2fb
UD
211312011-10-22 Ulrich Drepper <drepper@gmail.com>
21132
77425c63
UD
21133 * math/s_catan.c: Add branch predictions.
21134 * math/s_catanf.c: Likewise.
21135 * math/s_catanh.c: Likewise.
21136 * math/s_catanhf.c: Likewise.
21137 * math/s_catanhl.c: Likewise.
21138 * math/s_catanl.c: Likewise.
21139 * math/s_cexp.c: Likewise.
21140 * math/s_cexpf.c: Likewise.
21141 * math/s_cexpl.c: Likewise.
21142 * math/s_clog.c: Likewise.
21143 * math/s_clog10.c: Likewise.
21144 * math/s_clog10f.c: Likewise.
21145 * math/s_clog10l.c: Likewise.
21146 * math/s_clogf.c: Likewise.
21147 * math/s_clogl.c: Likewise.
21148 * math/s_csqrt.c: Likewise.
21149 * math/s_csqrtf.c: Likewise.
21150 * math/s_csqrtl.c: Likewise.
21151 * math/s_ctanf.c: Likewise.
21152 * math/s_ctanh.c: Likewise.
21153 * math/s_ctanhf.c: Likewise.
21154 * math/s_ctanhl.c: Likewise.
21155 * math/s_ctanl.c: Likewise.
21156
bc62c2fb
UD
21157 * math/math_private.h: Define __nan, __nanf, __nanl.
21158 * math/s_cacosh.c: Include <math_private.h>.
21159 * math/s_cacoshl.c: Likewise.
21160 * math/s_casinh.c: Likewise.
21161 * math/s_casinhf.c: Likewise.
21162 * math/s_casinhl.c: Likewise.
21163 * math/s_ccos.c: Rely entire on ccosh.
21164 * math/s_ccosf.c: Rely entire on ccoshf.
21165 * math/s_ccosl.c: Rely entirely on ccoshl.
21166 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21167 Remove tests for FE_INVALID.
21168 * math/s_ccoshf.c: Likewise.
21169 * math/s_ccoshl.c: Likewise.
21170 * math/s_csin.c: Likewise.
21171 * math/s_csinf.c: Likewise.
21172 * math/s_csinh.c Likewise.
21173 * math/s_csinhf.c: Likewise.
21174 * math/s_csinhl.c: Likewise.
21175 * math/s_csinl.c: Likewise.
21176 * math/s_ctan.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21178 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21179 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21180
8ec250a4
UD
211812011-10-21 Ulrich Drepper <drepper@gmail.com>
21182
c196fed8
UD
21183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21184 compilation problems.
21185
8ec250a4
UD
21186 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21187 __builtin_expect.
21188
8d4f46c6
UD
211892011-10-20 Ulrich Drepper <drepper@gmail.com>
21190
ed72b654
UD
21191 * sysdeps/i386/configure.in: Test for -mfma4 option.
21192 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21193 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21194 COMMON_CPUID_INDEX_80000001.
21195 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21196 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21197 use it if FMA3 is not supported.
21198 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21199
8d4f46c6
UD
21200 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21201 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21202
d45c60c2
AS
212032011-10-20 Andreas Schwab <schwab@redhat.com>
21204
21205 [BZ #12892]
21206 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21207 it would create a cycle with a link time dependency.
21208
d9a4d2ab
UD
212092011-10-19 Ulrich Drepper <drepper@gmail.com>
21210
855d1560
UD
21211 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21212 instruction.
21213 * string/Makefile (strop-tests): Add rawmemchr.
21214 * string/test-rawmemchr.c: New file.
21215
d9a4d2ab
UD
21216 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21218 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21219 when compiling str{,n}casecmp and when AVX is available. Hook up
21220 new optimized code in initializers.
21221
8f3b1ffe
AS
212222011-10-19 Andreas Schwab <schwab@redhat.com>
21223
21224 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21225 __feraiseexcept instead of feraiseexcept.
21226
d38f1dba
UD
212272011-10-18 Ulrich Drepper <drepper@gmail.com>
21228
d9a8d0ab
UD
21229 * math/math_private.h: Define defaults for libc_fetestexcept and
21230 libc_feupdateenv.
21231 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21232 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21233 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21234 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21235 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21236 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21237 libc_fetestexcept and libc_feupdateenv.
21238
4855e3dd
UD
21239 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21240 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21241 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21242 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21243 libc_feholdexcept_setround.
21244
581d30e3
UD
21245 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21246 Add s_nearbyint-c and s_nearbyintf-c.
21247 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21248 nearbyintf inlines.
21249 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21250 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21251 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21252 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21253
d38f1dba
UD
21254 * math/math_private.h: Define defaults for libc_fegetround,
21255 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21256 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21257 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21258 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21259 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21260 standard functions.
21261 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21262 Remove comments and hacks for old compiler versions.
21263 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21264 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21265 libc_feholdexceptl.
21266
caa6c9d8
AS
212672011-10-18 Andreas Schwab <schwab@redhat.com>
21268
21269 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21270 (__feraiseexcept_renamed): Add __NTH.
21271 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21272 namespace violations.
21273
97c066e6
UD
212742011-10-17 Ulrich Drepper <drepper@gmail.com>
21275
99ce7b04
UD
21276 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21277
1004d182
UD
21278 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21279
228a984d
UD
21280 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21281 recently added interfaces.
21282 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21283
c8553a6a
UD
21284 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21285 about macro parameter expansion.
21286
ed22dcf6
UD
21287 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21288 __NO_MATH_INLINES is defined. Cleanups.
21289
21290 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21291 and __floorf is target has SSE4.1.
21292 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21293 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21294 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21295 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21296
b171c137
UD
21297 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21298 name.
21299 (floorf): Likewise.
21300
97c066e6
UD
21301 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21302
629f62ef
AS
213032011-10-17 Andreas Schwab <schwab@redhat.com>
21304
49a43d80
AS
21305 * misc/sys/cdefs.h: Fix last change.
21306
629f62ef
AS
21307 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21308 database lookup.
21309
e453f6cd
UD
213102011-10-16 Ulrich Drepper <drepper@gmail.com>
21311
aa78043a
UD
21312 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21313
ad0f5cad
UD
21314 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21316 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21317 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21319 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21320 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21321 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21322 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21323 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21324 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21325 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21326 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21327 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21328 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21329 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21330 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21331 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21332 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21333 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21334 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21335 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21336
21337 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21338 ceil, ceilf, floor, floorf.
21339
21340 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21341 Perform IRELATIVE relocations last.
21342
e453f6cd
UD
21343 * elf/do-rel.h: Add another parameter nrelative, replacing the
21344 local variable with the same name. Change name of the function
21345 to end in Rel or Rela (uppercase).
21346 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21347 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21348 elf_dynamic_do_##reloc function.
21349
fd5bdc09
UD
213502011-10-15 Ulrich Drepper <drepper@gmail.com>
21351
79b195b5
UD
21352 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21353 is sufficient, at least on modern CPUs.
21354
d4a28569
UD
21355 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21356
b61099b5
UD
21357 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21358 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21359
bcf01e6d
UD
21360 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21361 __expl_finite.
21362 * math/bits/math-finite.h: Add entries for exp.
21363 * math/e_expl.c: Add __*_finite alias.
21364 * sysdeps/i386/fpu/e_exp.S: Likewise.
21365 * sysdeps/i386/fpu/e_expf.S: Likewise.
21366 * sysdeps/i386/fpu/e_expl.c: Likewise.
21367 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21368 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21369 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21371 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21372 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21373 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21374
ba1a0d59
UD
21375 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21376 is sufficient, at least on modern CPUs.
21377
fd5bdc09
UD
21378 * ctype/ctype-info.c (__ctype_init): Define.
21379 * include/ctype.h (__ctype_init): Declare.
21380 (__ctype_b_loc): The variable is always initialized.
21381 (__ctype_toupper_loc): Likewise.
21382 (__ctype_tolower_loc): Likewise.
21383 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21384 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21385
7872cfb0
AS
213862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21387
b468825a
AS
21388 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21389
7872cfb0
AS
21390 * configure.in: Also look in $cxxmachine/include for C++ system
21391 headers.
21392
be13f7bf
LD
213932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21394
21395 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21396 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21397 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21398 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21399 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21400 (USE_AS_WMEMCMP): New macro.
21401 Fixing indents.
21402 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21403 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21404 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21405 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21407 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21408 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21409 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21410 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21411 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21412 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21413 (USE_AS_WMEMCMP): New macro.
21414 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21415 * sysdeps/string/test-memcmp.c: Update.
21416 Fix simple_wmemcmp.
21417 Add new tests.
21418 * wcsmbs/wmemcmp.c: Update.
21419 (WMEMCMP): New macro.
21420 Fix overflow bug.
21421
556a2007
AJ
214222011-10-12 Andreas Jaeger <aj@suse.de>
21423
21424 [BZ #13268]
21425 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21426
538faaa7
UD
214272011-10-15 Ulrich Drepper <drepper@gmail.com>
21428
ab6737ff
UD
21429 * libio/iofwide.c (do_length): Avoid warning.
21430
538faaa7
UD
21431 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21432
396a21b1
UD
214332011-10-14 Ulrich Drepper <drepper@gmail.com>
21434
cdf2901f
UD
21435 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21436
38ad40ce
UD
21437 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21438 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21439 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21440 * sysdeps/i386/i686/fpu/e_log.S: New file.
21441 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21442 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21443
396a21b1
UD
21444 * ctype/ctype.h: Add support for inlined isXXX functions when
21445 compiling C++ code.
21446
6b1f68c9
AS
214472011-10-14 Andreas Schwab <schwab@redhat.com>
21448
349290c0
AS
21449 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21450
6b1f68c9
AS
21451 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21452
f2282d42
RM
214532011-10-13 Roland McGrath <roland@hack.frob.com>
21454
21455 [BZ #13291]
21456 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21457
5298ffa8
AS
214582011-10-13 Andreas Schwab <schwab@redhat.com>
21459
714fad23
AS
21460 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21461 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21462 feraiseexcept.
21463
81dcc7fb
AS
21464 * sysdeps/x86_64/memrchr.S: Check for zero size.
21465
5298ffa8
AS
21466 * string/stratcliff.c: Add memrchr tests.
21467
951fbcec
LD
214682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21469
21470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21471 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21472 rawmemchr-sse2 rawmemchr-sse2-bsf.
21473 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21474 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21475 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21476 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21477 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21478 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21479 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21480 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21481 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21482 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21483 * string/memrchr.c (MEMRCHR): New macro.
21484
0ac5ae23
UD
214852011-10-12 Ulrich Drepper <drepper@gmail.com>
21486
21487 Add integration with gcc's -ffinite-math-only and optimize wrapper
21488 functions in libm.
21489 * Versions.def: Define GLIBC_2.15 version for libm.
21490 * math/Makefile (headers): Add bits/math-finite.h.
21491 * math/bits/math-finite.h: New file.
21492 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21493 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21494 * math/e_acoshl.c: Add __*_finite alias.
21495 * math/e_acosl.c: Likewise.
21496 * math/e_asinl.c: Likewise.
21497 * math/e_atan2l.c: Likewise.
21498 * math/e_atanhl.c: Likewise.
21499 * math/e_coshl.c: Likewise.
21500 * math/e_exp10.c: Likewise.
21501 * math/e_exp10f.c: Likewise.
21502 * math/e_exp10l.c: Likewise.
21503 * math/e_exp2l.c: Likewise.
21504 * math/e_fmodl.c: Likewise.
21505 * math/e_gammal_r.c: Likewise.
21506 * math/e_hypotl.c: Likewise.
21507 * math/e_j0l.c: Likewise.
21508 * math/e_j1l.c: Likewise.
21509 * math/e_jnl.c: Likewise.
21510 * math/e_lgammal_r.c: Likewise.
21511 * math/e_log10l.c: Likewise.
21512 * math/e_log2l.c: Likewise.
21513 * math/e_logl.c: Likewise.
21514 * math/e_powl.c: Likewise.
21515 * math/e_sinhl.c: Likewise.
21516 * math/e_sqrtl.c: Likewise.
21517 * math/e_scalb.c: Completely rewritten and optimized.
21518 * math/e_scalbf.c: Likewise.
21519 * math/e_scalbl.c: Likewise.
21520 * math/w_acos.c: Likewise.
21521 * math/w_acosf.c: Likewise.
21522 * math/w_acosl.c: Likewise.
21523 * math/w_acosh.c: Likewise.
21524 * math/w_acoshf.c: Likewise.
21525 * math/w_acoshl.c: Likewise.
21526 * math/w_asin.c: Likewise.
21527 * math/w_asinf.c: Likewise.
21528 * math/w_asinl.c: Likewise.
21529 * math/w_atan2.c: Likewise.
21530 * math/w_atan2f.c: Likewise.
21531 * math/w_atan2l.c: Likewise.
21532 * math/w_atanh.c: Likewise.
21533 * math/w_atanhf.c: Likewise.
21534 * math/w_atanhl.c: Likewise.
21535 * math/w_exp10.c: Likewise.
21536 * math/w_exp10f.c: Likewise.
21537 * math/w_exp10l.c: Likewise.
21538 * math/w_fmod.c: Likewise.
21539 * math/w_fmodf.c: Likewise.
21540 * math/w_fmodl.c: Likewise.
21541 * math/w_j0.c: Likewise.
21542 * math/w_j0f.c: Likewise.
21543 * math/w_j0l.c: Likewise.
21544 * math/w_j1.c: Likewise.
21545 * math/w_j1f.c: Likewise.
21546 * math/w_j1l.c: Likewise.
21547 * math/w_jn.c: Likewise.
21548 * math/w_jnf.c: Likewise.
21549 * math/w_log.c: Likewise.
21550 * math/w_logf.c: Likewise.
21551 * math/w_logl.c: Likewise.
21552 * math/w_log10.c: Likewise.
21553 * math/w_log10f.c: Likewise.
21554 * math/w_log10l.c: Likewise.
21555 * math/w_log2.c: Likewise.
21556 * math/w_log2f.c: Likewise.
21557 * math/w_log2l.c: Likewise.
21558 * math/w_pow.c: Likewise.
21559 * math/w_powf.c: Likewise.
21560 * math/w_powl.c: Likewise.
21561 * math/w_remainder.c: Likewise.
21562 * math/w_remainderf.c: Likewise.
21563 * math/w_remainderl.c: Likewise.
21564 * math/w_scalb.c: Likewise.
21565 * math/w_scalbf.c: Likewise.
21566 * math/w_scalbl.c: Likewise.
21567 * math/w_sqrt.c: Likewise.
21568 * math/w_sqrtf.c: Likewise.
21569 * math/w_sqrtl.c: Likewise.
21570 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21571 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21572 used.
21573 * math/math_private.h: Declare __kernel_standard_f.
21574 * math/w_cosh.c: Remove cruft and optimize a bit.
21575 * math/w_coshf.c: Likewise.
21576 * math/w_coshl.c: Likewise.
21577 * math/w_exp2.c: Likewise.
21578 * math/w_exp2f.c: Likewise.
21579 * math/w_exp2l.c: Likewise.
21580 * math/w_hypot.c: Likewise.
21581 * math/w_hypotf.c: Likewise.
21582 * math/w_hypotl.c: Likewise.
21583 * math/w_lgamma.c: Likewise.
21584 * math/w_lgamma_r.c: Likewise.
21585 * math/w_lgammaf.c: Likewise.
21586 * math/w_lgammaf_r.c: Likewise.
21587 * math/w_lgammal.c: Likewise.
21588 * math/w_lgammal_r.c: Likewise.
21589 * math/w_sinh.c: Likewise.
21590 * math/w_sinhf.c: Likewise.
21591 * math/w_sinhl.c: Likewise.
21592 * math/w_tgamma.c: Likewise.
21593 * math/w_tgammaf.c: Likewise.
21594 * math/w_tgammal.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21597 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21598 Minor optimizations. Pretty printing. Remove cruft.
21599 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21600 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21601 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21603 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21604 * sysdeps/i386/fpu/e_asin.S: Likewise.
21605 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21606 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21607 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21608 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21609 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21610 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21611 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21612 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21613 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21614 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21615 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21616 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21617 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21618 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21619 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21620 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21621 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21622 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21623 * sysdeps/i386/fpu/e_log.S: Likewise.
21624 * sysdeps/i386/fpu/e_log10.S: Likewise.
21625 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21626 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21627 * sysdeps/i386/fpu/e_log2.S: Likewise.
21628 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21629 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21630 * sysdeps/i386/fpu/e_logf.S: Likewise.
21631 * sysdeps/i386/fpu/e_logl.S: Likewise.
21632 * sysdeps/i386/fpu/e_pow.S: Likewise.
21633 * sysdeps/i386/fpu/e_powf.S: Likewise.
21634 * sysdeps/i386/fpu/e_powl.S: Likewise.
21635 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21636 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21637 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21638 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21639 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21640 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21641 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21642 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21643 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21660 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21661 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21662 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21665 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21666 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21667 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21668 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21669 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21670 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21671 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21672 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21673 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21674 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21675 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21676 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21677 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21678 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21679 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21680 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21681 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21682 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21683 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21684 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21685 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21690 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21691 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21692 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21700 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21701 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21724 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21726 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21727 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21729 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21730 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21732 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21735 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21736 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21737 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21738 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21739 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21740 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21741 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21742 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21743 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21744 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21745 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21746 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21747 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21748 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21749 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21750 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21751 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21752 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21753 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21754 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21755 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21756 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21757 (__isnanf): Likewise.
21758 (__isinf_ns): Likewise.
21759 (__isinf_nsf): Likewise.
21760 (__finite): Likewise.
21761 (__finitef): Likewise.
21762 (__ieee754_sqrt): Define as macro.
21763 (__ieee754_sqrtf): Define as macro.
21764 (__ieee754_sqrtl): Define as macro.
21765 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21766 inlined copy.
21767 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21768 __FINITE_MATH_ONLY__ consistent.
21769 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21770
12cc2fcd
AS
217712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21772
a843a204
AS
21773 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21774 of rawmemchr.
21775
12cc2fcd
AS
21776 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21777
c853acd5
UD
217782011-10-09 Ulrich Drepper <drepper@gmail.com>
21779
21780 * po/ja.po: Update from translation team.
21781
c658d255
RM
217822011-10-08 Roland McGrath <roland@hack.frob.com>
21783
110946e4
RM
21784 * locale/programs/locarchive.c (prepare_address_space): New function.
21785 (create_archive, enlarge_archive, open_archive): Use it.
21786
50604220
RM
21787 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21788 inside [SHARED], where it is used.
21789
c658d255
RM
21790 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21791
21792 * nss/getent.c (netgroup_keys): Remove unused variable.
21793 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21794
6a621eb7
UD
217952011-10-08 Ulrich Drepper <drepper@gmail.com>
21796
7edb55ce
UD
21797 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21798 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21799 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21800 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21801 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21802 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21803 * math/Makefile (libm-calls): Add s_isinf_ns.
21804 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21805 * math/multc3.c: Likewise.
21806 * math/s_casin.c: Likewise.
21807 * math/s_casinf.c: Likewise.
21808 * math/s_casinl.c: Likewise.
21809 * math/s_ccos.c: Likewise.
21810 * math/s_ccosf.c: Likewise.
21811 * math/s_ccosl.c: Likewise.
21812 * math/s_ctan.c: Likewise.
21813 * math/s_ctanf.c: Likewise.
21814 * math/s_ctanh.c: Likewise.
21815 * math/s_ctanhf.c: Likewise.
21816 * math/s_ctanhl.c: Likewise.
21817 * math/s_ctanl.c: Likewise.
21818 * math/w_fmod.c: Likewise.
21819 * math/w_fmodf.c: Likewise.
21820 * math/w_fmodl.c: Likewise.
21821 * math/w_remainder.c: Likewise.
21822 * math/w_remainderf.c: Likewise.
21823 * math/w_remainderl.c: Likewise.
21824 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21825 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21826 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21828 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21829 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21830 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21831 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21832
187da0ae
UD
21833 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21834 of the number.
21835 * stdio-common/printf_fphex.c: Likewise.
21836 * stdio-common/printf_size.c: Likewise.
21837
9277c064
UD
21838 * math/e_exp10.c: Include math_private.h using <...> not "...".
21839 * math/e_exp10f.c: Likewise.
21840 * math/e_exp10l.c: Likewise.
21841 * math/e_exp2l.c: Likewise.
21842 * math/e_j0l.c: Likewise.
21843 * math/e_j1l.c: Likewise.
21844 * math/e_jnl.c: Likewise.
21845 * math/e_lgammal_r.c: Likewise.
21846 * math/e_rem_pio2l.c: Likewise.
21847 * math/e_scalb.c: Likewise.
21848 * math/e_scalbf.c: Likewise.
21849 * math/e_scalbl.c: Likewise.
21850 * math/k_cosl.c: Likewise.
21851 * math/k_sinl.c: Likewise.
21852 * math/k_tanl.c: Likewise.
21853 * math/s_cacoshf.c: Likewise.
21854 * math/s_catan.c: Likewise.
21855 * math/s_catanf.c: Likewise.
21856 * math/s_catanh.c: Likewise.
21857 * math/s_catanhf.c: Likewise.
21858 * math/s_catanhl.c: Likewise.
21859 * math/s_catanl.c: Likewise.
21860 * math/s_ccosh.c: Likewise.
21861 * math/s_ccoshf.c: Likewise.
21862 * math/s_ccoshl.c: Likewise.
21863 * math/s_cexp.c: Likewise.
21864 * math/s_cexpf.c: Likewise.
21865 * math/s_cexpl.c: Likewise.
21866 * math/s_clog.c: Likewise.
21867 * math/s_clog10.c: Likewise.
21868 * math/s_clog10f.c: Likewise.
21869 * math/s_clog10l.c: Likewise.
21870 * math/s_clogf.c: Likewise.
21871 * math/s_clogl.c: Likewise.
21872 * math/s_csin.c: Likewise.
21873 * math/s_csinf.c: Likewise.
21874 * math/s_csinh.c: Likewise.
21875 * math/s_csinhf.c: Likewise.
21876 * math/s_csinhl.c: Likewise.
21877 * math/s_csinl.c: Likewise.
21878 * math/s_csqrt.c: Likewise.
21879 * math/s_csqrtf.c: Likewise.
21880 * math/s_csqrtl.c: Likewise.
21881 * math/s_ctan.c: Likewise.
21882 * math/s_ctanf.c: Likewise.
21883 * math/s_ctanh.c: Likewise.
21884 * math/s_ctanhf.c: Likewise.
21885 * math/s_ctanhl.c: Likewise.
21886 * math/s_ctanl.c: Likewise.
21887 * math/s_ldexp.c: Likewise.
21888 * math/s_ldexpf.c: Likewise.
21889 * math/s_ldexpl.c: Likewise.
21890 * math/s_significand.c: Likewise.
21891 * math/s_significandf.c: Likewise.
21892 * math/s_significandl.c: Likewise.
21893 * math/w_acos.c: Likewise.
21894 * math/w_acosf.c: Likewise.
21895 * math/w_acosh.c: Likewise.
21896 * math/w_acoshf.c: Likewise.
21897 * math/w_acoshl.c: Likewise.
21898 * math/w_acosl.c: Likewise.
21899 * math/w_asin.c: Likewise.
21900 * math/w_asinf.c: Likewise.
21901 * math/w_asinl.c: Likewise.
21902 * math/w_atan2.c: Likewise.
21903 * math/w_atan2f.c: Likewise.
21904 * math/w_atan2l.c: Likewise.
21905 * math/w_atanh.c: Likewise.
21906 * math/w_atanhf.c: Likewise.
21907 * math/w_atanhl.c: Likewise.
21908 * math/w_cosh.c: Likewise.
21909 * math/w_coshf.c: Likewise.
21910 * math/w_coshl.c: Likewise.
21911 * math/w_dremf.c: Likewise.
21912 * math/w_exp10.c: Likewise.
21913 * math/w_exp10f.c: Likewise.
21914 * math/w_exp10l.c: Likewise.
21915 * math/w_exp2.c: Likewise.
21916 * math/w_exp2f.c: Likewise.
21917 * math/w_fmod.c: Likewise.
21918 * math/w_fmodf.c: Likewise.
21919 * math/w_fmodl.c: Likewise.
21920 * math/w_hypot.c: Likewise.
21921 * math/w_hypotf.c: Likewise.
21922 * math/w_hypotl.c: Likewise.
21923 * math/w_j0.c: Likewise.
21924 * math/w_j0f.c: Likewise.
21925 * math/w_j0l.c: Likewise.
21926 * math/w_j1.c: Likewise.
21927 * math/w_j1f.c: Likewise.
21928 * math/w_j1l.c: Likewise.
21929 * math/w_jn.c: Likewise.
21930 * math/w_jnf.c: Likewise.
21931 * math/w_jnl.c: Likewise.
21932 * math/w_lgamma.c: Likewise.
21933 * math/w_lgamma_r.c: Likewise.
21934 * math/w_lgammaf.c: Likewise.
21935 * math/w_lgammaf_r.c: Likewise.
21936 * math/w_lgammal.c: Likewise.
21937 * math/w_lgammal_r.c: Likewise.
21938 * math/w_log.c: Likewise.
21939 * math/w_log10.c: Likewise.
21940 * math/w_log10f.c: Likewise.
21941 * math/w_log10l.c: Likewise.
21942 * math/w_log2.c: Likewise.
21943 * math/w_log2f.c: Likewise.
21944 * math/w_log2l.c: Likewise.
21945 * math/w_logf.c: Likewise.
21946 * math/w_logl.c: Likewise.
21947 * math/w_pow.c: Likewise.
21948 * math/w_powf.c: Likewise.
21949 * math/w_powl.c: Likewise.
21950 * math/w_remainder.c: Likewise.
21951 * math/w_remainderf.c: Likewise.
21952 * math/w_remainderl.c: Likewise.
21953 * math/w_scalb.c: Likewise.
21954 * math/w_scalbf.c: Likewise.
21955 * math/w_scalbl.c: Likewise.
21956 * math/w_sinh.c: Likewise.
21957 * math/w_sinhf.c: Likewise.
21958 * math/w_sinhl.c: Likewise.
21959 * math/w_sqrt.c: Likewise.
21960 * math/w_sqrtf.c: Likewise.
21961 * math/w_sqrtl.c: Likewise.
21962 * math/w_tgamma.c: Likewise.
21963 * math/w_tgammaf.c: Likewise.
21964 * math/w_tgammal.c: Likewise.
21965
6a621eb7
UD
21966 * po/ja.po: Update from translation team.
21967
bf582445
AJ
219682011-09-29 Andreas Jaeger <aj@suse.de>
21969
f9efbf3a
AJ
21970 [BZ #13179]
21971 * sunrpc/netname.c (netname2host): Fix logic.
21972
bf582445
AJ
21973 [BZ #6779]
21974 [BZ #6783]
21975 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21976 correctly.
21977 * math/w_remainder.c (__remainder): Likewise.
21978 * math/w_remainderf.c (__remainderf): Likewise.
21979 * math/libm-test.inc (remainder_test): Add test cases.
21980
48693bea
AK
219812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21982
21983 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21984 sdiv_qrnnd.
21985
42622229
LD
219862011-10-07 Ulrich Drepper <drepper@gmail.com>
21987
21988 * string/test-memcmp.c: Avoid unncessary #defines.
21989 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21990
093ecf92
LD
219912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21992
21993 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21994 Use new sse2 version for core i3 - i7 as it's faster
21995 than sse42 version.
21996 (bit_Prefer_PMINUB_for_stringop): New.
21997 * sysdeps/x86_64/rawmemchr.S: Update.
21998 Replace with faster SSE2 version.
21999 * sysdeps/x86_64/memrchr.S: New file.
22000 * sysdeps/x86_64/memchr.S: Update.
22001 Replace with faster SSE2 version.
22002
fde56e5c
MP
220032011-09-12 Marek Polacek <mpolacek@redhat.com>
22004
22005 * elf/dl-load.c (lose): Add cast to avoid warning.
22006
21fd49a9
UD
220072011-10-07 Ulrich Drepper <drepper@gmail.com>
22008
5a06e643
UD
22009 * po/ca.po: Update from translation team.
22010
684ae515
UD
22011 * inet/getnetgrent_r.c: Hook up nscd.
22012 * nscd/Makefile (routines): Add nscd_netgroup.
22013 (nscd-modules): Add netgroupcache.
22014 (CFLAGS-netgroupcache.c): Define.
22015 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22016 (cache_search): Add const to second parameter.
22017 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22018 INNETGR.
22019 (dbs): Add netgrdb entry.
22020 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22021 (verify_persistent_db): Handle netgrdb.
22022 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22023 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22024 GETFDNETGR.
22025 (netgroup_response_header): Define.
22026 (innetgroup_response_header): Define.
22027 (datahead): Add netgroup_response_header and innetgroup_response_header
22028 elements.
22029 * nscd/nscd.conf: Add entries for netgroup cache.
22030 * nscd/nscd.h (dbtype): Add netgrdb.
22031 (_PATH_NSCD_NETGROUP_DB): Define.
22032 (netgroup_iov_disabled): Declare.
22033 (xmalloc, xcalloc, xrealloc): Move declarations here.
22034 (cache_search): Adjust prototype.
22035 Add netgroup-related prototypes.
22036 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22037 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22038 (__nscd_innetgr): Declare.
22039 * nscd/selinux.c (perms): Use access_vector_t as element type and
22040 add netgroup-related initializers.
22041 * nscd/netgroupcache.c: New file.
22042 * nscd/nscd_netgroup.c: New file.
22043 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22044 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22045 For four parameters use innetgr.
22046 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22047 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22048 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22049 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22050
21fd49a9
UD
22051 * nscd/connections.c (register_traced_file): Don't register file
22052 for disabled databases.
22053
054c0457
UD
220542011-10-06 Ulrich Drepper <drepper@gmail.com>
22055
32b63198
UD
22056 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22057
054c0457
UD
22058 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22059 from tree and freeing node.
22060
64031225
JO
220612011-09-25 Jiri Olsa <jolsa@redhat.com>
22062
22063 * nss/nsswitch.c (__nss_database_lookup): Handle
22064 nss_parse_service_list out of memory case.
22065
0490345c
JO
220662011-09-15 Jiri Olsa <jolsa@redhat.com>
22067
22068 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22069 out of memory case.
22070
3a62d00d
AS
220712011-10-04 Andreas Schwab <schwab@redhat.com>
22072
22073 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22074 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22075 pass it down.
22076 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22077 elf_machine_rela, elf_machine_lazy_rel.
22078 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22079 (ELF_DYNAMIC_DO_REL): Likewise.
22080 (ELF_DYNAMIC_DO_RELA): Likewise.
22081 (ELF_DYNAMIC_RELOCATE): Likewise.
22082 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22083 to ELF_DYNAMIC_DO_REL.
22084 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22085 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22086 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22087 elf_machine_rela.
22088 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22089 skip_ifunc, don't call ifunc function if non-zero.
22090 (elf_machine_rela): Likewise.
22091 (elf_machine_lazy_rel): Likewise.
22092 (elf_machine_lazy_rela): Likewise.
22093 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22094 (elf_machine_lazy_rel): Likewise.
22095 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22096 Likewise.
22097 (elf_machine_lazy_rel): Likewise.
22098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22099 Likewise.
22100 (elf_machine_lazy_rel): Likewise.
22101 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22102 (elf_machine_lazy_rel): Likewise.
22103 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22104 (elf_machine_lazy_rel): Likewise.
22105 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22106 (elf_machine_lazy_rel): Likewise.
22107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22108 (elf_machine_lazy_rel): Likewise.
22109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22110 (elf_machine_lazy_rel): Likewise.
22111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22112 (elf_machine_lazy_rel): Likewise.
22113
68577918
UD
221142011-09-28 Ulrich Drepper <drepper@gmail.com>
22115
22116 * nss/nss_files/files-init.c (_nss_files_init): Use static
22117 initialization for all the *_traced_file variables.
22118
68822d74
AS
221192011-09-28 Andreas Schwab <schwab@redhat.com>
22120
22121 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22122
2056100b
RM
221232011-09-27 Roland McGrath <roland@hack.frob.com>
22124
22125 [BZ #13226]
22126 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22127
32c76b63
AS
221282011-09-27 Andreas Schwab <schwab@redhat.com>
22129
22130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22131 Reread the line before reparsing it.
22132
bf972c9d
AS
221332011-09-26 Andreas Schwab <schwab@redhat.com>
22134
22135 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22136
e057a1b5
JM
221372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22138 Maxim Kuvyrkov <maxim@codesourcery.com>
22139 Joseph Myers <joseph@codesourcery.com>
22140
22141 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22142 if needed for __stack_chk_guard.
22143
bc7e1c36
RM
221442011-09-19 Roland McGrath <roland@hack.frob.com>
22145
ecb1482f
RM
22146 * sysdeps/posix/spawni.c (script_execute): Always define it.
22147 It will be optimized away if unused.
22148 (maybe_script_execute): New function.
22149 (__spawni): Call it.
22150
bc7e1c36
RM
22151 * Makerules: Don't include tls.make.
22152 (config-tls): Always set to thread.
22153 * tls.make.c: File removed.
22154
1c3b002b
MF
221552011-09-19 Mike Frysinger <vapier@gentoo.org>
22156
22157 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22158 * config.make.in (CPPFLAGS-config): New substituted variable.
22159
2840865d
UD
221602011-09-15 Ulrich Drepper <drepper@gmail.com>
22161
88738eb6
UD
22162 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22163
cbf645a6 22164 [BZ #13192]
2840865d
UD
22165 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22166 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22167
b402e91a
RM
221682011-09-15 Roland McGrath <roland@hack.frob.com>
22169
22170 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22171 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22172 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22173 (CALL_FAIL): Likewise.
22174 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22175 (CALL_FAIL): Macro removed.
22176 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22177
4c1a1f71
UD
221782011-09-15 Ulrich Drepper <drepper@gmail.com>
22179
22180 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22181 for __FINITE_MATH_ONLY__ == 1.
22182
edc121be
AS
221832011-09-15 Andreas Schwab <schwab@redhat.com>
22184
22185 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22186 __ieee754_sqrt instead of sqrt.
22187 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22188 __ieee754_sqrtf instead of sqrtf.
22189 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22190 __floorf instead of floorf.
22191 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22192 __floorf, __truncf instead of floorf, truncf.
22193
cd205654
UD
221942011-09-14 Ulrich Drepper <drepper@gmail.com>
22195
ee4d0315
UD
22196 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22197
cd205654
UD
22198 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22199 __extern_always_inline.
22200 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22201 32-bit.
22202
48b67d71
AS
222032011-09-14 Andreas Schwab <schwab@redhat.com>
22204
22205 * elf/rtld.c (dl_main): Also relocate in dependency order when
22206 doing symbol dependency testing.
22207
1ae12c75
AS
222082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22209
22210 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22211 Always define `refsym'.
22212
995a80df
AS
222132011-09-13 Andreas Schwab <schwab@redhat.com>
22214
e529793b
AS
22215 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22216 (__FD_ELT): Renamed from __FDELT.
22217 * misc/bits/select2.h (__FD_ELT): Likewise.
22218 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22219 __FD_MASK instead of __FDELT, __FDMASK.
22220 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22221 Likewise.
22222 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22223 Likewise.
22224
52d4fef8
AS
22225 * elf/Makefile (gen-ldd): Fix pattern.
22226
995a80df
AS
22227 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22228 (init_tls): Likewise.
22229
8682f8b0
UD
222302011-09-12 Ulrich Drepper <drepper@gmail.com>
22231
22232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22233
de82006d
AS
222342011-09-12 Andreas Schwab <schwab@redhat.com>
22235
a7c8e6a1
AS
22236 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22237 `struct cmsghdr *' instead of `void *'.
22238 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22239 Likewise.
22240
0f31fe77
AS
222412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22242
22243 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22244 if non-absolute.
22245 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22246 ldd_rewrite_script.
0f31fe77 22247
32b4c839
UD
222482011-09-11 Ulrich Drepper <drepper@gmail.com>
22249
83cd1420
UD
22250 * configure.in: Remove --with-tls option.
22251 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22252 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22253 out in case it is missing.
22254 * sysdeps/ia64/elf/configure.in: Likewise.
22255 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22256 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22257 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22258 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22259 * sysdeps/sh/elf/configure.in: Likewise.
22260 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22261 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22262 * sysdeps/x86_64/elf/configure.in: Likewise.
22263 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22264 * sysdeps/mach/hurd/tls.h: Likewise.
22265
633f745d
UD
22266 [BZ #13067]
22267 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22268
f318beb8
UD
22269 [BZ #13090]
22270 * configure.in: Fix use of AC_INIT.
22271
32b4c839
UD
22272 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22273
3ce1f295
UD
222742011-09-10 Ulrich Drepper <drepper@gmail.com>
22275
bb016596
UD
22276 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22277 __set_errno.
8e58439c
UD
22278 * malloc/hooks.c: Likewise.
22279
aebae053 22280 [BZ #11929]
02d46fc4
UD
22281 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22282 variables statically.
22283 (narenas): Initialize.
22284 (list_lock): Initialize.
bb016596
UD
22285 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22286 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22287 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22288 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22289 Add initializers to main_arena and mp_.
22290 (malloc_state): Remove pagesize member. Change all users to use
22291 GLRO(dl_pagesize).
22292
22293 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22294 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22295 is always initialized.
22296
22a89187
UD
22297 * malloc/malloc.c: Removed unused configurations and dead code.
22298 * malloc/arena.c: Likewise.
22299 * malloc/hooks.c: Likewise.
02d46fc4 22300 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22301
d063d164
UD
22302 * include/tls.h: Removed. USE___THREAD must always be defined.
22303 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22304 * elf/dl-libc.c: Likewise.
22305 * elf/dl-tsd.c: Likewise.
22306 * include/errno.h: Likewise.
22307 * include/netdb.h: Likewise.
22308 * include/resolv.h: Likewise.
22309 * inet/herrno-loc.c: Likewise.
22310 * inet/herrno.c: Likewise.
22311 * malloc/arena.c: Likewise.
22312 * malloc/hooks.c: Likewise.
22313 * malloc/malloc.c: Likewise.
22314 * resolv/res-state.c: Likewise.
22315 * resolv/res_libc.c: Likewise.
22316 * sysdeps/i386/dl-machine.h: Likewise.
22317 * sysdeps/ia64/dl-machine.h: Likewise.
22318 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22319 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22320 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22321 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22322 * sysdeps/sh/dl-machine.h: Likewise.
22323 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22324 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22325 * sysdeps/unix/i386/sysdep.S: Likewise.
22326 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22327 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22330 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22331 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22332 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22337 * sysdeps/x86_64/dl-machine.h: Likewise.
22338 * tls.make.c: Likewise.
22339
3ce1f295
UD
22340 * configure.in: Remove --with-__thread option. Make tests for
22341 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22342 tls_model attribute fail if no support is available. Remove
22343 USE_IN_LIBIO.
22344 * Makeconfig: Adjust for dropped configure option. All features are
22345 now mandatory.
22346 * Makerules: Likewise.
22347 * Versions.def: Likewise.
22348 * argp/argp-fmtstream.c: Likewise.
22349 * argp/argp-fmtstream.h: Likewise.
22350 * argp/argp-help.c: Likewise.
22351 * assert/assert.c: Likewise.
22352 * config.h.in: Likewise.
22353 * config.make.in: Likewise.
22354 * configure: Likewise.
22355 * configure.in: Likewise.
22356 * csu/Versions: Likewise.
22357 * csu/init.c: Likewise.
22358 * elf/tst-audit2.c: Likewise.
22359 * elf/tst-tls10.c: Likewise.
22360 * elf/tst-tls10.h: Likewise.
22361 * elf/tst-tls11.c: Likewise.
22362 * elf/tst-tls12.c: Likewise.
22363 * elf/tst-tls14.c: Likewise.
22364 * elf/tst-tlsmod11.c: Likewise.
22365 * elf/tst-tlsmod12.c: Likewise.
22366 * elf/tst-tlsmod13.c: Likewise.
22367 * elf/tst-tlsmod13a.c: Likewise.
22368 * elf/tst-tlsmod14a.c: Likewise.
22369 * elf/tst-tlsmod15b.c: Likewise.
22370 * elf/tst-tlsmod16a.c: Likewise.
22371 * elf/tst-tlsmod16b.c: Likewise.
22372 * elf/tst-tlsmod7.c: Likewise.
22373 * elf/tst-tlsmod8.c: Likewise.
22374 * elf/tst-tlsmod9.c: Likewise.
22375 * gmon/gmon.c: Likewise.
22376 * grp/fgetgrent_r.c: Likewise.
22377 * grp/putgrent.c: Likewise.
22378 * hurd/fopenport.c: Likewise.
22379 * include/libc-symbols.h: Likewise.
22380 * include/tls.h: Likewise.
22381 * intl/gettextP.h: Likewise.
22382 * intl/loadinfo.h: Likewise.
22383 * locale/global-locale.c: Likewise.
22384 * locale/localeinfo.h: Likewise.
22385 * mach/devstream.c: Likewise.
22386 * malloc/arena.c: Likewise.
22387 * malloc/set-freeres.c: Likewise.
22388 * misc/err.c: Likewise.
22389 * misc/getttyent.c: Likewise.
22390 * misc/mntent_r.c: Likewise.
22391 * posix/getopt.c: Likewise.
22392 * posix/wordexp.c: Likewise.
22393 * pwd/fgetpwent_r.c: Likewise.
22394 * resolv/Versions: Likewise.
22395 * resolv/res_hconf.c: Likewise.
22396 * shadow/fgetspent_r.c: Likewise.
22397 * shadow/putspent.c: Likewise.
22398 * stdio-common/printf_fphex.c: Likewise.
22399 * stdio-common/tmpfile.c: Likewise.
22400 * stdlib/abort.c: Likewise.
22401 * stdlib/fmtmsg.c: Likewise.
22402 * sunrpc/auth_unix.c: Likewise.
22403 * sunrpc/clnt_perr.c: Likewise.
22404 * sunrpc/clnt_tcp.c: Likewise.
22405 * sunrpc/clnt_udp.c: Likewise.
22406 * sunrpc/clnt_unix.c: Likewise.
22407 * sunrpc/openchild.c: Likewise.
22408 * sunrpc/svc_simple.c: Likewise.
22409 * sunrpc/svc_tcp.c: Likewise.
22410 * sunrpc/svc_udp.c: Likewise.
22411 * sunrpc/svc_unix.c: Likewise.
22412 * sunrpc/xdr.c: Likewise.
22413 * sunrpc/xdr_array.c: Likewise.
22414 * sunrpc/xdr_rec.c: Likewise.
22415 * sunrpc/xdr_ref.c: Likewise.
22416 * sunrpc/xdr_stdio.c: Likewise.
22417
1248c1c4
PB
224182011-09-09 Ulrich Drepper <drepper@gmail.com>
22419
22420 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22421
224222011-07-03 Andreas Jaeger <aj@suse.de>
22423
22424 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22425 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22426 regenerate with gen-libm-tests.pl.
22427
224282010-05-12 Petr Baudis <pasky@suse.cz>
22429
22430 [BZ #11589]
22431 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22432 around j0() zero points by switching to j1().
22433 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22434 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22436 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22437
f22e1074
UD
224382011-09-09 Ulrich Drepper <drepper@gmail.com>
22439
f19009c1
UD
22440 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22441 instead of 0.
22442 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22443 instead of 0.
f19009c1
UD
22444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22445 Patch in part by Pavel Roskin <proski@gnu.org>.
22446
3f8cc204
UD
22447 [BZ #13138]
22448 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22449 realloc.
22450 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22451 Free memory block if necessary.
22452
f22e1074
UD
22453 [BZ #12847]
22454 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22455 be NULL. Don't lock in this case.
22456
0a2349f9
RM
224572011-09-09 Roland McGrath <roland@hack.frob.com>
22458
22459 * elf/elf.h (ELFOSABI_GNU): New macro.
22460 (ELFOSABI_LINUX): Define to that.
22461
f3cdd467
DZ
224622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22463
22464 * string/strncat.c (strncat): Undef the symbol in case it has been
22465 defined in bits/string.h.
22466
74718d13
UD
224672011-09-09 Ulrich Drepper <drepper@gmail.com>
22468
633e9e0f
UD
22469 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22470
0a2349f9 22471 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22472 link map.
22473
f9924780
AJ
224742011-08-17 Andreas Jaeger <aj@suse.de>
22475
22476 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22477
7f5517aa
PP
224782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22479 Ian Lance Taylor <iant@google.com>
22480
22481 * math/libm-test.inc (lround_test): New testcase.
22482 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22483
762011fe
UD
224842011-09-08 Ulrich Drepper <drepper@gmail.com>
22485
92963737
UD
22486 * Makefile: Remove support for automatic cvs check-ins.
22487 * Makerules: Likewise.
22488 * config.make.in: Likewise.
22489 * configure.in: Likewise.
22490 * intl/Makefile: Likewise.
22491 * locale/Makefile: Likewise.
22492 * po/Makefile: Likewise.
22493 * posix/Makefile: Likewise.
22494 * sysdeps/gnu/Makefile: Likewise.
22495 * sysdeps/mach/hurd/Makefile: Likewise.
22496 * sysdeps/sparc/sparc32/Makefile: Likewise.
22497
b0727fd8
JS
22498 [BZ #13118]
22499 * posix/Makefile (bug-regex32-ENV): Define.
22500 Patch by John Stanley <jpsinthemix@verizon.net>.
22501
a0f33f99
UD
22502 * misc/Makefile (headers): Add bits/select2.h.
22503 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22504 * misc/bits/select2.h: New file.
22505 * include/bits/select2.h: New file.
22506 * debug/Makefile (routines): Add fdelt_chk.
22507 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22508 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22509 FD_ISSET.
22510 * debug/fdelt_chk.c: New file.
22511
762011fe
UD
22512 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22513 * wcsmbs/test-wmemcmp.c: Likewise.
22514 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22515 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22516
225172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22518
22519 * string/Makefile (strop-tests): Add memcmp.
22520 * string/test-wmemcmp.c: New file.
22521 * string/test-memcmp.c: Add wmemcmp support.
22522
7f513ec8
RM
225232011-09-08 Roland McGrath <roland@hack.frob.com>
22524
0442afb4
RM
22525 [BZ #13153]
22526 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22527 2011-07-19 change.
22528
7f513ec8
RM
22529 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22530 garbage value in a __mach_port_mod_refs call in the cases of the
22531 task-self and thread-self ports.
22532
a12b2239
ST
225332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22534
22535 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22536
610f9ab4
AS
225372011-09-08 Andreas Schwab <schwab@redhat.com>
22538
7f513ec8 22539 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22540
48882a1a
LD
225412011-09-07 Ulrich Drepper <drepper@gmail.com>
22542
b49865be
UD
22543 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22544
fdc86bc9
UD
22545 * elf/dl-libc.c (dlerror_run): Pass back error code from
22546 dl_catch_error.
22547
c966526a
UD
22548 [BZ #13123]
22549 * elf/dl-load.c (lose): Free l_origin if it is valid.
22550
48882a1a
LD
22551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22552 names.
22553 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22554 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22555 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22556 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22557 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22558 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22559
77a2a8b4
AZ
225602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22561
22562 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22563 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22564 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22565 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22566 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22567 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22568 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22569 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22570 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22571 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22572
24f579d8
AM
225732011-08-15 Alan Modra <amodra@gmail.com>
22574
22575 [BZ #13092]
22576 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22577 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22578 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22579 ppc_mcount to static-only-routines.
22580 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22581 __mcount_internal.
22582 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22583 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22584
3d4837df
UD
225852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22586
22587 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22588 for finite and infinity parameters.
22589
22700377
WS
225902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22591
22592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22593 and add nop instructions for throughput optimization.
22594 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22595
5025581e
WS
225962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22597
22598 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22599 aligned copy for power7 with vector-scalar instructions.
22600 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22601
08a300c9
L
226022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22603
22604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22605 AVX check.
22606
59178ef9
AS
226072011-09-07 Andreas Schwab <schwab@redhat.com>
22608
22609 [BZ #13144]
22610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22611 last change.
22612
e38ba7ab
UD
226132011-09-07 Ulrich Drepper <drepper@gmail.com>
22614
22615 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22616 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22617 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22618 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22619 clock_gettime.
22620
d53a73ac
UD
226212011-09-06 Ulrich Drepper <drepper@gmail.com>
22622
fc8bffcc
UD
22623 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22624 Forgot to demangle the pointer.
22625
ceaa0c5d
UD
22626 * sysdeps/i386/sysdep.h: Define atom_text_section.
22627 * sysdeps/x86_64/sysdep.h: Likewise.
22628 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22629 section with atom_text_section.
22630 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22631 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22632 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22634 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22635
a77d3c17
UD
22636 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22637 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22638 already be defined. Change to take two parameters and don't assign
22639 result to variable. Adjust all users.
22640 Define INTERNAL_GETTIME if not already defined.
22641 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22642 call.
22643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22644 HAVE_CLOCK_GETTIME_VSYSCALL.
22645 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22646
d53a73ac
UD
22647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22648 gettimeofday vsyscall, just use time.
22649
a8f84144
AS
226502011-09-06 Andreas Schwab <schwab@redhat.com>
22651
22652 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22653 <errno.h>.
22654
ef606249
UD
226552011-09-06 Ulrich Drepper <drepper@gmail.com>
22656
22657 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22658 syscall on x86-64.
22659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22660 syscall.
22661 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22662 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22663 syscall if possible.
22664
6585cb60
UD
226652011-09-05 Ulrich Drepper <drepper@gmail.com>
22666
22667 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22668 e_ident. Don't pass to find_mapsXX.
22669 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22670
a5f524e4
LD
226712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22672
22673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22674 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22675 * sysdeps/x86_64/multiarch/strchr.S: Update.
22676 Check bit_slow_BSF bit.
22677 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22678 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22679 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22680
554881ef
UD
226812011-09-05 Ulrich Drepper <drepper@gmail.com>
22682
d96de963
UD
22683 [BZ #13134]
22684 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22685 before glibc 2.15.
22686 (tryshell): Define.
22687 (__spawni): Change last parameter to be flag. Test
22688 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22689 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22690 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22691 * posix/spawni.c: Likewise.
22692 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22693 * posix/spawnp.c: Likewise. Change normal version to use
22694 SPAWN_XFLAGS_USE_PATH.
22695 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22696 SPAWN_XFLAGS_TRY_SHELL.
22697
d48e5868
UD
22698 [BZ #13150]
22699 * posix/glob.h: Remove gcc 1.x support.
22700
554881ef
UD
22701 [BZ #13068]
22702 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22703
693fb948
LD
227042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22705
22706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22707 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22708 strrchr-sse2-bsf
22709 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22710 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22711 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22712 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22713 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22714 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22715
1b48c537
UD
227162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22717
49d42c37
UD
22718 * sysdeps/x86_64/wcscmp.S: New file.
22719
1b48c537
UD
22720 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22721 wcscmp-c wcscmp-sse2
22722 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22723 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22724 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22725 * wcsmbs/wcscmp.c: Allow renaming.
22726
15c95c5d
DM
227272011-09-05 David S. Miller <davem@davemloft.net>
22728
22729 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22730 stack slot, rather than the struct return pointer slot.
22731 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22732 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22734 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22735
2f0ad8f3
UD
227362011-09-05 Ulrich Drepper <drepper@gmail.com>
22737
d88ae418
UD
22738 * po/ja.po: Update from translation team.
22739
2f0ad8f3
UD
22740 [BZ #13144]
22741 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22742 kernel in 64-bit binaries.
22743
5f4318d1
DM
227442011-09-01 David S. Miller <davem@davemloft.net>
22745
22746 * elf/elf.h (HWCAP_SPARC_*): Move to..
22747 * sysdeps/sparc/sysdep.h: this new file and add new values.
22748 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22749 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22750 _DL_HWCAP_COUNT to 24.
22751 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22752 entries.
22753 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22754 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22755 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22757 instead of magic constants.
22758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22759
3ba57516
DM
227602011-08-31 David S. Miller <davem@davemloft.net>
22761
22762 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22764 Reimplement to do errno handling inline.
22765 (SYSCALL_ERROR_HANDLER): New macro.
22766 (__SYSCALL_STRING): Do not do errno handling in asm.
22767 (__CLONE_SYSCALL_STRING): Delete.
22768 (__INTERNAL_SYSCALL_STRING): Delete.
22769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22770 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22771 (PSEUDO): Reimplement to do errno handling inline.
22772 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22773 (SYSCALL_ERROR_HANDLER): New macro.
22774 (__SYSCALL_STRING): Do not do errno handling in asm.
22775 (__CLONE_SYSCALL_STRING): Delete.
22776 (__INTERNAL_SYSCALL_STRING): Delete.
22777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22778 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22779 i386.
22780 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22781 (inline_syscall*): Add 'err' argument.
22782 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22783 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22784 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22785 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22786
22787 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22788 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22789
2bc17433
AS
227902011-08-30 Andreas Schwab <schwab@redhat.com>
22791
22792 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22793
fbeb5f4d
JO
227942011-08-29 Jiri Olsa <jolsa@redhat.com>
22795
22796 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22797 directive.
22798
ad69cc26
DM
227992011-08-24 David S. Miller <davem@davemloft.net>
22800
22801 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22802
39dd69df
AS
228032011-08-24 Andreas Schwab <schwab@redhat.com>
22804
22805 * elf/Makefile: Add rules to build and run unload8 test.
22806 * elf/unload8.c: New file.
22807 * elf/unload8mod1.c: New file.
22808 * elf/unload8mod1x.c: New file.
22809 * elf/unload8mod2.c: New file.
22810 * elf/unload8mod3.c: New file.
22811
22812 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22813 it wasn't used.
22814
2c0b250a
DM
228152011-08-23 David S. Miller <davem@davemloft.net>
22816
22817 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22818 subtract stack bias.
22819 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22820 %sp not %fp in calculations.
22821 (_JMPBUF_UNWINDS_ADJ): Likewise.
22822
22044b48
DM
22823 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22824 (aio_suspend): Call it to force an exception region around the
22825 AIO_MISC_WAIT() invocation.
22826
2cae4995
AS
228272011-08-23 Andreas Schwab <schwab@redhat.com>
22828
22829 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22830 backslash.
22831
873a772e
AJ
228322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22833
22834 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22835 protection macro.
22836 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22837 and <dl-machine.h>.
22838 (Elf64_FuncDesc): Remove.
22839
25ad0df1
DM
228402011-08-22 David S. Miller <davem@davemloft.net>
22841
22842 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22843 sigaltstack check, add missing cfi directives.
22844 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22845 missing cfi directives, and sigaltstack handling.
22846
e888bcbe
AS
228472011-08-16 Andreas Schwab <schwab@redhat.com>
22848
22849 [BZ #11724]
22850 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22851 object is seen twice.
22852 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22853
22854 * elf/Makefile (distribute): Add tst-initorder2.c.
22855 (tests): Add tst-initorder2.
22856 (modules-names): Add tst-initorder2a tst-initorder2b
22857 tst-initorder2c tst-initorder2d. Add rules to build them.
22858 ($(objpfx)tst-initorder2.out): New rule.
22859 * elf/tst-initorder2.c: New file.
22860 * elf/tst-initorder2.exp: New file.
22861
87162f46
AS
228622011-08-22 Andreas Schwab <schwab@redhat.com>
22863
70538b7f
AS
22864 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22865
f55ffe58
AS
22866 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22867 dependencies back to end of function.
22868
87162f46
AS
22869 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22870 $(elfobjdir)/ld.so.
22871
91b392a4
UD
228722011-08-21 Ulrich Drepper <drepper@gmail.com>
22873
22874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22875 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22877 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22878 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22879 of __vdso_gettimeofday.
22880 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22881 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22882 attribute_hidden.
22883 (_libc_vdso_platform_setup): Remove initialization of
22884 __vdso_gettimeofday and __vdso_time.
22885
5c43483f
UD
228862011-08-20 Ulrich Drepper <drepper@gmail.com>
22887
775a77e7
UD
22888 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22889 and fgetc_unlocked.
22890 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22891 getc_unlocked.
89f447ed 22892
49c74ba9
UD
22893 * elf/dl-open.c (add_to_global): Report additions to the global scope
22894 for LD_DEBUG=scopes.
22895 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22896 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22897
5c43483f
UD
22898 [BZ #13114]
22899 * stdio-common/Makefile (tests): Add bug24.
22900 * stdio-common/bug24.c: New file.
22901
a101b025
AJ
229022011-08-19 Andreas Jaeger <aj@suse.de>
22903
22904 [BZ #13114]
22905 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22906 non-existant file when using close-on-exec mode.
22907
c88f1766
UD
229082011-08-20 Ulrich Drepper <drepper@gmail.com>
22909
0276a718
UD
22910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22911 the very first instruction.
22912
c88f1766
UD
22913 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22914 the CFI state in the end.
22915 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22916 inclusion of dl-trampoline.h.
22917 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22918
51ccffa0
AS
229192011-08-19 Andreas Schwab <schwab@redhat.com>
22920
94d7165f
AS
22921 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22922 expectations for long double.
22923
51ccffa0
AS
22924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22925 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22926
fd708658 229272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22928
22929 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22930 artificual limit depends upon the system page size.
22931
44f0a71e
UD
229322011-08-17 Ulrich Drepper <drepper@gmail.com>
22933
22934 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22935 * resolv/Makefile: Define CFLAGS-libresolv.
22936
8de79a24
AS
229372011-08-17 Andreas Schwab <schwab@redhat.com>
22938
22939 * nss/makedb.c (compute_tables): Make variables used in nested
22940 function static.
22941
27724598
UD
229422011-08-17 Ulrich Drepper <drepper@gmail.com>
22943
c5305d88
UD
22944 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22945 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22946 if buffer was too small.
22947
27724598
UD
22948 * elf/pldd.c (main): Attach to all threads in the process.
22949 Rewrite /proc handling to use *at functions.
22950
076fe015
UD
229512011-08-16 Ulrich Drepper <drepper@gmail.com>
22952
174baab3
UD
22953 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22954 specifies first scope to show.
22955 (dl_open_worker): Update callers. Move printing scope of new
22956 object to before the relocation.
44f0a71e 22957 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22958 * sysdeps/generic/ldsodefs.h: Update declaration.
22959
076fe015
UD
22960 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22961 string for the scope number.
22962
a60df2c3
UD
229632011-08-14 Ulrich Drepper <drepper@gmail.com>
22964
22965 * nscd/servicescache.c (cache_addserv): Make sure written is always
22966 initialized.
22967
5e4287d1
RM
229682011-08-14 Roland McGrath <roland@hack.frob.com>
22969
85ae0589
RM
22970 * sysdeps/i386/i486/bits/atomic.h
22971 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22972 statement expression, so as to suppress "set but not used" warning.
22973 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22974
69f63097
RM
22975 * string/strncat.c (STRNCAT): Use prototype definition.
22976
675456ef
RM
22977 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22978 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22979 -Iprograms here.
22980 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22981 (localedef-modules): Add localedef.
22982 (locale-modules): Add locale.
22983
5e4287d1
RM
22984 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22985 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22986 to avoid a warning.
22987
9c96ff23
DM
229882011-08-14 David S. Miller <davem@davemloft.net>
22989
22990 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22991 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22992
f9ddf089
UD
229932011-08-13 Ulrich Drepper <drepper@gmail.com>
22994
44f0a71e 22995 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22996 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22997 * elf/rtld.c (dl_main): Set l_name of vDSO.
22998 Call _dl_show_scope when DL_DEBUG_SCOPES.
22999 (process_dl_debug): Recognize scopes flag and also set it for all.
23000 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23001 Declare _dl_show_scope.
23002
1dc27704
UD
23003 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23004 (do_dlopen): Pass caller_dlopen to dl_open.
23005 (__libc_dlopen_mode): Initialize caller_dlopen.
23006
f9ddf089
UD
23007 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23008 of libc. Make tolower call locale-independent. Optimize a bit by
23009 using isdigit instead of isalnum.
23010 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23011
9ac533d3
UD
230122011-08-12 Ulrich Drepper <drepper@gmail.com>
23013
23014 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23015 was a dependency or dynamically loaded.
23016
89edf2e9
UD
230172011-08-11 Ulrich Drepper <drepper@gmail.com>
23018
8e999d29
UD
23019 * intl/l10nflist.c: Allow architecture-specific pop function.
23020 * sysdeps/x86_64/l10nflist.c: New file.
23021
89edf2e9
UD
23022 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23023 classification.
23024
14d96785
AS
230252011-08-10 Andreas Schwab <schwab@redhat.com>
23026
23027 * include/dirent.h: Add libc_hidden_proto for scandirat and
23028 scandirat64. Don't declare __scandirat64.
23029 * dirent/scandirat.c: Add libc_hidden_def.
23030 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23031 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23032
6761ac04
DM
230332011-08-10 David S. Miller <davem@davemloft.net>
23034
23035 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23036 enum.
23037 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23040
c55fbd1e
UD
230412011-08-09 Ulrich Drepper <drepper@gmail.com>
23042
23043 * Versions.def [libc]: Add GLIBC_2.15.
23044 * dirent/Makefile (routines): Add scandirat and scandirat64.
23045 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23046 GLIBC_2.15.
23047 * dirent/dirent.h: Declare scandirat and scandirat64.
23048 * dirent/scandirat.c: New file.
23049 * dirent/scandirat64.c: New file.
23050 * sysdeps/wordsize-64/scandirat.c: New file.
23051 * sysdeps/wordsize-64/scandirat64.c: New file.
23052 * dirent/opendir.c: Define opendirat.
23053 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23054 using scandirat.
23055 * dirent/scandir64.c: Adjust for scandir.c change.
23056 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23057 __scandirat64, and __scandir_cancel_handler.
23058 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23059 additional parameter and use openat instead of open (outside of ld.so).
23060 Add new __opendir as wrapper around __opendirat.
23061 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23062 here without requiring old scandirat implementation.
23063
879165f2
UD
230642011-08-08 Ulrich Drepper <drepper@gmail.com>
23065
23066 * dirent/scandir.c (cancel_handler): Renamed to
23067 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23068 defined. Adjust users.
23069 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23070 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23071
cb7e923b
UD
230722011-08-04 Ulrich Drepper <drepper@gmail.com>
23073
16292edd
UD
23074 * string/test-string.h (IMPL): Use __STRING to expand name and then
23075 stringify it.
23076
cb7e923b
UD
23077 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23078 of cleanups.
23079
cff82933
LD
230802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23081
23082 * string/Makefile: Update.
23083 (strop-tests): Append strncat.
23084 * string/test-wcscmp.c: New file.
23085 New comprehensive test for wcscmp.
23086 * string/test-strcmp.c: Update.
23087 (WIDE): New define.
23088
9be9bfcc
AS
230892011-07-22 Andreas Schwab <schwab@redhat.com>
23090
23091 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23092 line.
23093
2e96f1c7
AS
230942011-07-26 Andreas Schwab <schwab@redhat.com>
23095
23096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23097 encoding to ACE if AI_IDN.
23098
85188888
JJ
230992011-08-01 Jakub Jelinek <jakub@redhat.com>
23100
23101 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23102 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23103
5fa16e9b
LD
231042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23105
23106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23107 Fix overflow bug in strncat.
23108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23109
23110 * string/test-strncat.c: Update.
23111 Add new tests for checking overflow bugs.
23112
231132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23114
23115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23116 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23117 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23118 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23119 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23120 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23121 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23122 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23123 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23124
23125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23126 (USE_AS_STRCAT): Define.
23127 Add strcat and strncat support.
23128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23129
8c1a459f
AS
231302011-07-25 Andreas Schwab <schwab@redhat.com>
23131
23132 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23133 __n bigger than INT_MAX+1.
23134 (__strncmp_g): Likewise.
23135
bba33c28
UD
231362011-07-23 Ulrich Drepper <drepper@gmail.com>
23137
798be72d
UD
23138 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23139 * libio/stido.h: Likewise.
23140
8accd4dc
UD
23141 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23142 (AF_NFC): Define.
23143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23144 (AF_NFC): Define.
23145
cbff0d96
UD
23146 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23147 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23148 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23149 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23150 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23151
9191c04a
UD
23152 [BZ #13021]
23153 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23154 installed.
23155
bba33c28
UD
23156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23157 typo.
23158 (_dl_x86_64_save_sse): Likewise.
23159
90f139dd
UD
231602011-07-22 Ulrich Drepper <drepper@gmail.com>
23161
1aae088a
UD
23162 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23163 OSXSAVE.
23164 (_dl_x86_64_save_sse): Likewise.
23165
8e2045f5
UD
23166 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23167
90f139dd
UD
23168 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23169
1d002f25
AS
231702011-07-21 Andreas Schwab <schwab@redhat.com>
23171
23172 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23173 change.
23174 (_dl_x86_64_save_sse): Use correct AVX check.
23175
21137f89
UD
231762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23177
23178 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23179 bug in strncpy/strncat.
23180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23181
a65c0b7a
UD
231822011-07-21 Ulrich Drepper <drepper@gmail.com>
23183
23184 * string/tester.c (test_strcat): Add tests for different alignments
23185 of source and destination.
23186 (test_strncat): Likewise.
23187
6986b98a
UD
231882011-07-20 Ulrich Drepper <drepper@gmail.com>
23189
90bb2039
UD
23190 [BZ #12852]
23191 * posix/glob.c (glob): Check passed in values before using them in
23192 expressions to avoid some overflows.
23193 (glob_in_dir): Likewise.
23194
5644ef54
UD
23195 [BZ #13007]
23196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23197 check for AVX enablement so that we don't crash with old kernels and
23198 new hardware.
23199 * elf/tst-audit4.c: Add same checks here.
23200 * elf/tst-audit6.c: Likewise.
23201
23202 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23203
bfc9dc9b
AS
232042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23205
23206 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23207
702e64bb
UD
232082011-07-20 Ulrich Drepper <drepper@gmail.com>
23209
23210 * po/cs.po: Update from translation team.
23211 * po/bg.po: Likewise.
23212
295e904f
MP
232132011-07-12 Marek Polacek <mpolacek@redhat.com>
23214
23215 * misc/sys/cdefs.h: Add support for const attribute.
23216 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23217 to gnu_dev_{major,minor,makedev} functions.
23218
3ff94596
MP
232192011-07-20 Marek Polacek <mpolacek@redhat.com>
23220
23221 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23222
28b59fca
AS
232232011-07-20 Andreas Schwab <schwab@redhat.com>
23224
23225 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23226 strlen results.
23227
19df733e
AK
232282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23229
23230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23231 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23232 register in order to avoid conflicts with the soft frame pointer
23233 being held in r11 when necessary.
23234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23235 (INTERNAL_VSYSCALL_NCS): Likewise.
23236
c8835729
MP
232372011-07-14 Marek Polacek <mpolacek@redhat.com>
23238
23239 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23240 * elf/dl-fini.c (_dl_fini): Adjust caller.
23241 * elf/dl-close.c (_dl_close_worker): Likewise.
23242 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23243
b902330c
MP
232442011-07-15 Marek Polacek <mpolacek@redhat.com>
23245
8991e135
MP
23246 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23247 "aux_cache->nlibs < 0".
23248
b902330c
MP
23249 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23250 in the reload-count case.
23251
99710781
LD
232522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23253
23254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23255 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23256 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23257 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23258 * sysdeps/x86_64/multiarch/strcat.S: New file.
23259 * sysdeps/x86_64/multiarch/strncat.S: New file.
23260 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23261 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23262 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23263 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23264 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23265 (USE_AS_STRCAT): Define.
23266 Add strcat and strncat support.
23267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23268 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23269 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23270 * string/strncat.c: Update.
23271 (USE_AS_STRNCAT): Define.
23272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23273 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23274 and i7.
23275 * sysdeps/x86_64/multiarch/init-arch.h
23276 (bit_Prefer_PMINUB_for_stringop): New.
23277 (index_Prefer_PMINUB_for_stringop): Likewise.
23278 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23279 bit_Prefer_PMINUB_for_stringop.
23280
7dc6bd90
UD
232812011-07-19 Ulrich Drepper <drepper@gmail.com>
23282
23283 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23284 buffer64.
23285 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23286 of casting of buffer.
23287 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23288 buffer32 and buffer64.
23289 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23290 writes instead of casting of buffer.
23291 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23292 buffer32.
23293 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23294 casting of buffer.
23295
e0e72284
AS
232962011-07-19 Andreas Schwab <schwab@redhat.com>
23297
23298 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23299
feb1eb0b
UD
233002011-07-19 Ulrich Drepper <drepper@gmail.com>
23301
23302 * nscd/nscd.c (termination_handler): Don't do anything for a database
23303 if it has not yet been initialized.
23304
298711ff
UD
233052011-07-18 Ulrich Drepper <drepper@gmail.com>
23306
23307 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23308
233092011-07-15 Marek Polacek <mpolacek@redhat.com>
23310
23311 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23312
f9d68389
UD
233132011-07-18 Ulrich Drepper <drepper@gmail.com>
23314
23315 * po/nl.po: Update from translation team.
23316 * po/sv.po: Likewise.
23317
db290cf5
RM
233182011-07-16 Roland McGrath <roland@hack.frob.com>
23319
23320 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23321 now disallowed by GCC.
5c550700 23322
fd5e21c7
RM
23323 * configure.in (use-default-link): Default to yes if a test -shared
23324 link meets our qualifications.
23325 * configure: Regenerated.
23326
5c550700
RM
23327 * config.make.in (output-format): New variable.
23328 * configure.in: Check for ld --print-output-format support.
23329 * configure: Regenerated.
23330 * Makerules ($(common-objpfx)format.lds)
23331 [$(output-format) != unknown]: Just use $(output-format),
23332 instead of the linker-script munging.
23333
9fa2c032
RM
233342011-07-14 Roland McGrath <roland@hack.frob.com>
23335
a6928d51
RM
23336 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23337 of $(common-objpfx)shlib.lds.
23338 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23339
661607b3
RM
23340 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23341 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23342
9fa2c032
RM
23343 * configure.in (-z relro check): Adjust test code to add a large
23344 writable data section after it.
23345 * configure: Regenerated.
23346
defe9061
RM
233472011-07-11 Roland McGrath <roland@hack.frob.com>
23348
23349 * configure.in (-z relro check): Fix test code to make the variable
23350 truly const.
23351 * configure: Regenerated.
23352
319b9ad4
UD
233532011-07-11 Ulrich Drepper <drepper@gmail.com>
23354
23355 * nscd/nscd.h (struct traced_file): Define.
23356 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23357 elements. Add traced_files.
23358 (inotify_fd): Declare.
23359 (register_traced_file): Declare.
23360 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23361 (inotify_fd): Export.
23362 (resolv_conf_descr): Remove.
23363 (nscd_init): Move inotify descriptor creation to main.
23364 Don't register files for notification here.
23365 (register_traced_file): New function.
23366 (invalidate_cache): Don't use reset_res to determine whether to call
23367 res_init, go through the list of registered files.
23368 (main_loop_poll): The inotify descriptors are now stored in the
23369 structures for the traced files.
23370 (main_loop_epoll): Likewise
23371 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23372 to __nss_disable_nscd.
23373 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23374 for a database anymore. Check the records for all the registered
23375 files instead.
23376 * nss/Makefile (libnss_files-routines): Add files-init.
23377 (libnss_db-routines): Add db-init.
23378 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23379 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23380 * nss/nss_db/db-init.c: New file.
23381 * nss/nss_files/files-init.c: New file.
23382 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23383 __nss_lookup_function.
23384 (__nss_lookup_function): Call nss_load_library.
23385 (nss_load_all_libraries): New function.
23386 (__nss_disable_nscd): Take parameter with callback function for files
23387 to register. Set is_nscd. Load all the DSOs for the NSS modules
23388 used for the cached services.
23389 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23390 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23391 options for features to all the files in nscd.
23392
23393 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23394
23bee3e8
RM
233952011-07-10 Roland McGrath <roland@hack.frob.com>
23396
23397 * csu/elf-init.c (__libc_csu_init): Comment typo.
23398
46a5b7f0
UD
233992011-07-09 Ulrich Drepper <drepper@gmail.com>
23400
23401 * po/pl.po: Update from translation team.
23402 * po/ja.po: Likewise.
23403 * po/ru.po: Likewise.
23404 * po/ko.po: Likewise.
23405 * po/fr.po: Likewise.
23406
d30cf5bb
RM
234072011-07-09 Roland McGrath <roland@hack.frob.com>
23408
113ddea4
RM
23409 * configure.in (.ctors/.dtors header and trailer check):
23410 Use an empirical test on a built program.
23411 * configure: Regenerated.
23412
574920b4
RM
23413 * configure.in (-z relro check): Use an empirical test on a built DSO.
23414 Detect, but do not require, on ia64.
23415 * configure: Regenerated.
23416
d30cf5bb
RM
23417 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23418 Update tests that use readelf to use $READELF instead.
23419 * configure: Regenerated.
23420
8538fdb3
UD
234212011-07-08 Ulrich Drepper <drepper@gmail.com>
23422
23423 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23424 if the result is not used.
23425
04d08991
AJ
234262011-07-05 Andreas Jaeger <aj@suse.de>
23427
23428 [BZ#9696]
23429 * stdlib/tst-strtod.c: Add testcase.
23430
de283087
AD
234312011-07-07 Ulrich Drepper <drepper@gmail.com>
23432
4e5f31c8 23433 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23434 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23435 The latter has a higher limit. Take additional parameter to pass to
23436 the new function.
23437 (__pathconf): Pass file to __statfs_link_max.
23438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23439 __statfs_link_max.
23440 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23441 __statfs_link_max.
23442
de283087
AD
23443 [BZ #12868]
23444 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23445 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23446 Handle Lustre.
23447 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23448 (__statfs_filesize_max): Likewise.
23449 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23450
c75fa153
AJ
234512011-07-05 Andreas Jaeger <aj@suse.de>
23452
23453 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23454
1a544854
UD
234552011-07-06 Marek Polacek <mpolacek@redhat.com>
23456
23457 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23458 `status' variable.
23459 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23460 Likewise.
23461
6f0eec67
UD
234622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23463
23464 * Makefile (strop-tests): Add strncat.
23465 * string/test-strncat.c: New file.
23466
aae30307
UD
234672011-06-30 Marek Polacek <mpolacek@redhat.com>
23468
23469 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23470
c0cfb5eb
UD
234712011-06-21 Andreas Jaeger <aj@suse.de>
23472
23473 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23474 Copy rule from iconvdata/Makefile.
23475
01636b21
UD
234762011-07-06 Ulrich Drepper <drepper@gmail.com>
23477
23478 [BZ #12922]
23479 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23480 but no long options are defined, just return 'W'.
23481
9895c8bc
UD
234822011-06-22 Marek Polacek <mpolacek@redhat.com>
23483
23484 [BZ #9696]
23485 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23486
5d4cf042
UD
234872011-07-06 Ulrich Drepper <drepper@gmail.com>
23488
23489 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23490 netgroups to read.
960e5535 23491 (innetgr): Likewise.
5d4cf042 23492
751eb97e
RM
234932011-07-05 Roland McGrath <roland@hack.frob.com>
23494
23495 * config.make.in (install_root): Default to $(DESTDIR).
23496
f15f1e45
UD
234972011-07-05 Ulrich Drepper <drepper@gmail.com>
23498
23499 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23500
4e34ac6a
RM
235012011-07-02 Roland McGrath <roland@hack.frob.com>
23502
5e9b6af4
RM
23503 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23504
84f9ea0f
RM
23505 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23506 containing directory rather than embedding absolute directory names.
23507
ea5ee9f7
RM
23508 * scripts/check-local-headers.sh: Rewritten using awk.
23509 Match by word, not by line. Print error messages for matches.
23510 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23511
1b74661a
RM
23512 * Makerules [shlib-lds-flags empty]:
23513 ($(common-objpfx)libc_pic.opts): New target.
23514 ($(common-objpfx)libc_pic.os.clean): New target.
23515 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23516
23517 * config.make.in (OBJCOPY): New variable.
23518 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23519 * configure: Regenerated.
23520
f781ef40
RM
23521 * config.make.in (use-default-link): New variable.
23522 * configure.in (use_default_link): Grok --with-default-link to set it.
23523 * configure: Regenerated.
23524 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23525 (shlib-lds, shlib-lds-flags): Define to empty.
23526
2d4fa81e
RM
23527 * Makerules (shlib-lds): New variable.
23528 (shlib-lds-flags): New variable.
23529 (build-shlib, build-moduile, build-module-asneeded): Use it.
23530 ($(common-objpfx)libc.so): Use $(shlib-lds).
23531 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23532 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23533
31fffa6b
RM
23534 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23535 DT_FLAGS/DT_FLAGS_1 with zero flags.
23536
4e34ac6a
RM
23537 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23538 linker script munging.
23539
fcfc776b
UD
235402011-07-02 Ulrich Drepper <drepper@gmail.com>
23541
23542 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23543 as 128-bit value.
23544 * crypt/sha512.c (sha512_process_block): Perform total addition using
23545 128-bit if possible.
23546 (__sha512_finish_ctx): Likewise.
23547 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23548 as 64-bit value.
23549 * crypt/sha256.c (SWAP64): Define.
23550 (sha256_process_block): Perform total addition using 64-bit if
23551 possible.
23552 (__sha256_finish_ctx): Likewise.
23553
99231d9a
UD
235542011-07-01 Ulrich Drepper <drepper@gmail.com>
23555
23556 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23557 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23558 * nscd/hstcache.c (cache_addhst): Likewise.
23559 * nscd/grpcache.c (cache_addgr): Likewise.
23560 * nscd/aicache.c (addhstaiX): Likewise
23561 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23562
445b4a53
TK
235632011-07-01 Thorsten Kukuk <kukuk@suse.de>
23564
23565 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23566 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23567 * nscd/hstcache.c (cache_addhst): Likewise.
23568 * nscd/grpcache.c (cache_addgr): Likewise.
23569 * nscd/aicache.c (addhstaiX): Likewise
23570
6d4d8e8e
AS
235712011-07-01 Andreas Schwab <schwab@redhat.com>
23572
23573 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23574 domain only when needed.
23575
89f654c5
AS
235762011-06-30 Andreas Schwab <schwab@redhat.com>
23577
23578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23579 is always restored.
23580
cf3b23ff
UD
235812011-06-29 Ulrich Drepper <drepper@gmail.com>
23582
23583 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23584 are re-adding the entry.
23585 * nscd/servicescache.c (cache_addserv): Likewise.
23586
751626f9
AJ
235872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23588
23589 * sysdeps/generic/dl-irel.h: fix protection against multiple
23590 inclusions.
23591 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23592
9113ea1f
UD
235932011-06-28 Ulrich Drepper <drepper@gmail.com>
23594
5c0b8d90
UD
23595 [BZ #12935]
23596 * malloc/memusage.sh: Fix quoting in message.
23597 * debug/xtrace.sh: Likewise.
23598
9113ea1f
UD
23599 * configure.in: Remove support for --experimental-malloc option, make
23600 it the default.
23601 * config.make.in: Likewise.
23602 * malloc/Makefile: Likewise.
23603
a4172181
AS
236042011-06-27 Andreas Schwab <schwab@redhat.com>
23605
23606 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23607 two-byte characters.
23608
78a7eee7
RM
236092011-06-27 Roland McGrath <roland@hack.frob.com>
23610
62bede13
RM
23611 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23612 AC_CACHE_CHECK invocation.
23613 * configure: Regenerated.
23614
78a7eee7
RM
23615 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23616
5ce33a62
UD
236172011-06-27 Ulrich Drepper <drepper@gmail.com>
23618
034807a9
UD
23619 [BZ #12350]
23620 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23621 bit from old_res_options.
23622
4902da17
UD
23623 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23624
5ce33a62
UD
23625 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23626 value type for setfct.
23627
c2344f56
L
236282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23629
23630 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23631 __gettimeofday instead of gettimeofday.
23632
68468076
UD
236332011-06-26 Ulrich Drepper <drepper@gmail.com>
23634
23635 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23636
acb0d739
L
236372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23638
23639 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23640
23641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23642 info.
23643
8912479f
L
236442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23645
23646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23647 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23648 strcpy-sse2-unaligned strncpy-sse2-unaligned
23649 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23650 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23651 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23652 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23653 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23655 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23656 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23657 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23658 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23659 (STRCPY): Support SSE2 and SSSE3 versions.
23660
d5495a11
UD
236612011-06-24 Ulrich Drepper <drepper@gmail.com>
23662
23663 [BZ #12874]
23664 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23665 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23666 kernels which artificially limit size of requests.
23667
0b1cbaae
L
236682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23669
23670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23671 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23672 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23673 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23674 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23675 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23676 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23677 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23678 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23680 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23681 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23682 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23683 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23684 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23686 Enable unaligned load optimization for Intel Core i3, i5 and i7
23687 processors.
23688 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23689 Define.
23690 (index_Fast_Unaligned_Load): Define.
23691 (HAS_FAST_UNALIGNED_LOAD): Define.
23692
07f494a0
MP
236932011-06-23 Marek Polacek <mpolacek@redhat.com>
23694
23695 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23696
fa3fc0fe
UD
236972011-06-22 Ulrich Drepper <drepper@gmail.com>
23698
23699 [BZ #12907]
23700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23701 until it is clear that the information is realy needed.
23702 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23703
e12df166
AS
237042011-06-22 Andreas Schwab <schwab@redhat.com>
23705
23706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23707
852eb34d
UD
237082011-06-22 Ulrich Drepper <drepper@gmail.com>
23709
84e2a551
UD
23710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23711 /sys/devices/system/cpu/online if it is usable.
23712
852eb34d
UD
23713 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23714 reading the information from the /proc filesystem to once a second.
23715
6e502e19
UD
237162011-06-21 Andreas Jaeger <aj@suse.de>
23717
23718 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23719 NULL after inclusion of kernel headers.
23720
75d39ff2
UD
237212011-06-21 Ulrich Drepper <drepper@gmail.com>
23722
51f9aa6a
UD
23723 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23724 calls to internal_setent.
23725
c0244a9d
UD
23726 [BZ #12885]
23727 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23728 addresses using gethostbyname4_r ignore IPv4 addresses.
23729
c5e3c2ae
UD
23730 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23731 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23732
75d39ff2
UD
23733 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23734
42675c6f
DM
237352011-06-20 David S. Miller <davem@davemloft.net>
23736
23737 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23738 inclusions.
23739 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23740
23741 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23742 (elf_irel): Use it.
23743 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23744 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23745 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23746 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23747 * sysdeps/x86_64/dl-irel.h: Likewise.
23748
23749 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23750 * elf/dl-sym.c: Likewise.
23751
57912a71
UD
237522011-06-15 Ulrich Drepper <drepper@gmail.com>
23753
23754 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23755 need to dereference resplen2.
23756
ee22793d
AS
237572011-06-14 Andreas Schwab <schwab@redhat.com>
23758
23759 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23760
a9e836b0
UD
237612011-06-15 Ulrich Drepper <drepper@gmail.com>
23762
77fb9117
UD
23763 * Makeconfig: Define vardbdir and inst_vardbdir.
23764 * nss/Makefile: Add rules to install db-Makefile.
23765
40c1b22c
UD
23766 * nss/nss_db/db-XXX.c: Cleanup.
23767
9f2da732
UD
23768 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23769 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23770 GLIBC_PRIVATE.
23771 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23772 * nss/makedb.c: Implement -g option to specify that value strings
23773 are generated and should not be added to table iterated over for
23774 get*ent calls.
23775 * nss/nss_db/db-initgroups.c: New file.
23776
82e9a1f7
UD
23777 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23778 interface.
23779
c41af17e
UD
23780 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23781 (internal_getgrouplist): Adjust to name change.
23782 Update use_initgroups_entry if this is not the first call.
23783 * nss/databases.def: Add initgroups entry.
23784
a9e836b0
UD
23785 * nss/makedb.c (compute_tables): Check result of multiple hash table
23786 sizes to minimize maximum chain length.
23787
2666d441
UD
237882011-06-14 Ulrich Drepper <drepper@gmail.com>
23789
23790 * Versions.def: Add entry for libnss_db.
23791 * shlib-versions: Likewise.
23792 * nss/Makefile: Add rules to build libnss_db.
23793 * nss/Versions: Add libnss_db information. Organize libnss_files
23794 entries better.
23795 * nss/db-Makefile: Add gshadow support. Change rules for the new
23796 makedb progra. Some minor improvements to generate smaller files.
23797 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23798 here from...
23799 * nss/makedb.c: ...here.
23800 Improve database format to be smaller and require less memory at
23801 runtime.
23802 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23803 db anymore.
23804 * nss/nss_db/db-netgrp.c: Likewise.
23805 * nss/nss_db/db-open.c: Likewise.
23806 * nss/nss_files/flies-XXX.x: Adjust comments.
23807 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23808 * nss/nss_files/files-grp.c: Likewise.
23809 * nss/nss_files/files-hosts.c: Likewise.
23810 * nss/nss_files/files-network.c: Likewise.
23811 * nss/nss_files/files-proto.c: Likewise.
23812 * nss/nss_files/files-pwd.c: Likewise.
23813 * nss/nss_files/files-rpc.c: Likewise.
23814 * nss/nss_files/files-service.c: Likewise.
23815 * nss/nss_files/files-sgrp.c: Likewise.
23816 * nss/nss_files/files-spwd.c: Likewise.
23817 * nss/nss_db/db-alias.c: Removed.
23818 * nss/nss_db/dummy-db.h: Removed.
23819
9ee76b5a
UD
238202011-06-02 Ulrich Drepper <drepper@gmail.com>
23821
23822 * nss/makedb.c: Rewritten to not use database library.
23823 * nss/Makefile: Update to build new makedb program.
23824
c71ca1f8
AJ
238252011-06-14 Andreas Jaeger <aj@suse.de>
23826
23827 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23828 memset declaration.
23829
3154bfb8
UD
238302011-06-10 Andreas Schwab <schwab@redhat.com>
23831
23832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23833 tmpbuf.
23834
b350afab
RM
238352011-06-10 Roland McGrath <roland@hack.frob.com>
23836
decd4e50
RM
23837 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23838 * elf/Makefile ($(objpfx)ld.so): Likewise.
23839
5615eaf2
RM
23840 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23841 Don't list ld.so twice in dependencies.
23842
23843 * posix/bug-regex31.c: Include <stdlib.h>.
23844
23845 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23846
23847 * nis/nss_compat/compat-spwd.c
23848 (getspent_next_nss_netgr): Remove unused variable.
23849 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23850
23851 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23852 nonmembers" output to use the right array.
23853
23854 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23855
23856 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23857
23858 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23859 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23860 * catgets/gencat.c (read_input_file): Likewise.
23861 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23862
23863 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23864 variable definition inside #if's controlling its use.
23865
23866 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23867
23868 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23869
23870 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23871
23872 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23873 unreachable code.
23874
23875 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23876
b68e08db
RM
23877 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23878 * configure: Regenerated.
23879
b350afab
RM
23880 * Makerules: Revert last change.
23881 * elf/Makefile: Likewise.
23882
28368601
RM
238832011-06-09 Roland McGrath <roland@hack.frob.com>
23884
23885 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23886 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23887 (reloc-link): Likewise.
23888
11988f8f
UD
238892011-06-09 Ulrich Drepper <drepper@gmail.com>
23890
23891 * elf/Makefile: Add rules to build pldd.
23892 * elf/pldd.c: New file.
23893 * elf/pldd-xx.c: New file.
23894
e80fab37
UD
238952011-06-07 Ulrich Drepper <drepper@gmail.com>
23896
23897 * version.h: Update for 2.15 development version.
23898
9b849836
DM
238992011-06-07 David S. Miller <davem@davemloft.net>
23900
23901 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23902 ifuncs.
23903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23904 elf_machine_lazy_rel): Likewise.
23905 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23906 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23907 elf_machine_lazy_rel): Likewise.
23908 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23909 dl_hwcap via passed in argument.
23910 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23911 Likewise.
23912
5a31b283
AK
239132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23914
23915 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23916
069e52f8
RM
239172011-06-06 Roland McGrath <roland@hack.frob.com>
23918
23919 [BZ #12849]
23920 * manual/fdl-1.1.texi: New file, verbatim from:
23921 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23922 * manual/lgpl-2.1.texi: New file, verbatim from:
23923 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23924 * manual/Makefile (licenses): New variable, list those new file names.
23925 (texis): Use it.
23926 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23927
23928 * manual/fdl.texi: File removed.
23929 * manual/lesser.texi: File removed.
23930 * manual/libc.texinfo (Copying, Documentation License):
23931 Use new @include file names, put @appendix directive before @include.
23932
f16846a5
JJ
239332011-06-04 Jakub Jelinek <jakub@redhat.com>
23934
23935 [BZ #12841]
23936 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23937 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23938 (mq_open): Add __NTH.
23939
3d29045b
L
239402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23941
23942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23943 Assume Intel Core i3/i5/i7 processor if AVX is available.
23944
8c297311
UD
239452011-05-31 Ulrich Drepper <drepper@gmail.com>
23946
23947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23948 typo.
23949
c8fc0c91
UD
239502011-05-31 Andreas Schwab <schwab@redhat.com>
23951
23952 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23953 memory. Use alloca_account. Fix memory leak when retrying.
23954
5b27a807
UD
239552011-05-31 Ulrich Drepper <drepper@gmail.com>
23956
356f8bc6
UD
23957 * version.h (RELEASE): Bump for 2.14 release.
23958 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23959
5b27a807
UD
23960 * config.make.in (RANLIB): Remove entry.
23961
01f16ab0
UD
239622011-05-30 Ulrich Drepper <drepper@gmail.com>
23963
41fce8bd
UD
23964 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23965 (libc.pot): Work around missing support for .ksh extension in xgettext.
23966
4769ae77
UD
23967 [BZ #12684]
23968 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23969 if both request failed.
23970 (send_dg): In case of server errors clear resplen or *resplen2.
23971
6b1e7d19
UD
23972 [BZ #12454]
23973 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23974 when there are multiple maps.
23975 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23976 (_dl_fini): Remove test here.
23977
01f16ab0
UD
23978 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23979
b1ebd700
UD
239802011-05-29 Ulrich Drepper <drepper@gmail.com>
23981
7ae22829
UD
23982 [BZ #12350]
23983 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23984 bit from old_res_options.
23985 (gaih_inet): Likewise.
23986
553149f6 23987 [BZ #11099]
18a84741 23988 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23989 as signed.
23990
652ffab1
UD
23991 * resolv/res_init.c (res_setoptions): Make the code more compact.
23992
16985fd0
UD
23993 [BZ #11558]
23994 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23995 set RES_USEVC.
23996
0464f746
UD
23997 [BZ #11634]
23998 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23999
7d17596c
UD
24000 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24001
cf6bbbd7
UD
24002 [BZ #11781]
24003 * malloc/malloc.h: Declare malloc hook variables as volatile.
24004
13f1ab36
UD
24005 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24006 in last patch.
24007
b1ebd700
UD
24008 [BZ #11799]
24009 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24010 raise in the comment.
80e2212d
UD
24011 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24012 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24013 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24014
ce67228d
UD
240152011-05-28 Ulrich Drepper <drepper@gmail.com>
24016
8887a920
UD
24017 [BZ #12811]
24018 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24019 grow the buffers more if it already has to be sufficient.
24020 (build_wcs_upper_buffer): Likewise.
24021 * posix/regexec.c (check_matching): Likewise.
24022 (clean_state_log_if_needed): Likewise.
24023 (extend_buffers): Don't enlarge buffers beyond size of the input
24024 buffer.
24025 Patches mostly by Emil Wojak <emil@wojak.eu>.
24026 * posix/bug-regex32.c: New file.
24027 * posix/Makefile (tests): Add bug-regex32.
24028
4f031072
UD
24029 * locale/findlocale.c (_nl_find_locale): Return right away if
24030 _nl_explode_name failed.
24031 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24032
d0478f0c
UD
24033 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24034
de81b246
UD
24035 * debug/xtrace.sh: Unify messages.
24036 * malloc/memusage.sh: Likewise.
24037
c738465a
UD
24038 [BZ #12813]
24039 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24040 time symbol from vDSO. Substitute with vsyscall if not available.
24041 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24042 __vdso_time.
24043
f1f929d7
UD
24044 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24045 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24046 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24047 Add sendmmsg and internal_sendmmsg.
24048 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24049 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24050 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24051
ce67228d
UD
24052 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24053 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24054 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24055
e57420c6
UD
240562011-05-27 Ulrich Drepper <drepper@gmail.com>
24057
a8509ca5
UD
24058 [BZ #12813]
24059 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24060 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24061 available.
24062 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24063 __vdso_getcpu.
24064
e57420c6
UD
24065 [BZ #12814]
24066 * iconvdata/Makefile (tests): Add bug-iconv9.
24067 * iconvdata/bug-iconv9.c: New file.
24068
4d07db15
AS
240692011-05-27 Andreas Schwab <schwab@redhat.com>
24070
24071 [BZ #12814]
24072 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24073
ea486f69
JJ
240742011-05-25 Jakub Jelinek <jakub@redhat.com>
24075
24076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24077 (struct user_regs_struct): Change intcs field back to cs.
24078
6f038433
UD
240792011-05-25 Ulrich Drepper <drepper@gmail.com>
24080
24081 * po/ja.po: Update from translation team.
24082
67f86a25
UD
240832011-05-23 Ulrich Drepper <drepper@gmail.com>
24084
24085 [BZ #12795]
24086 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24087 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24088
def7fbd6
AS
240892011-05-20 Andreas Schwab <schwab@redhat.com>
24090
24091 * stdlib/longlong.h: Update from GCC.
24092
f50ef8f1
AS
240932011-05-23 Andreas Schwab <schwab@redhat.com>
24094
24095 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24096 parameter name.
24097 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24098 Add parameter name.
24099 (__sysconf): Pass it down.
24100
de7ce8f1
UD
241012011-05-22 Ulrich Drepper <drepper@gmail.com>
24102
f2962a71
UD
24103 [BZ #12671]
24104 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24105 some situations.
24106 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24107 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24108 add in in __libc_use_alloca calls. Adjust callers.
24109 (glob): Use malloc in some situations.
24110
de7ce8f1
UD
24111 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24112 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24113 pltexit.
24114
aec84f53
UD
241152011-05-21 Ulrich Drepper <drepper@gmail.com>
24116
05bb4a68
UD
24117 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24118 and CLOCK_BOOTTIME_ALARM.
24119
7ea72f99
UD
24120 [BZ #12782]
24121 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24122 is returned.
24123
7e4afad5
UD
24124 * string/_strerror.c (__strerror_r): Print negative errors as signed
24125 numbers.
24126
8e211fec
UD
24127 [BZ #12777]
24128 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24129 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24130 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24131
f7d82dc9
UD
24132 * configure.in: Fix typo in redirection and correct removal of test
24133 files in two cases.
24134
cc9e536d
UD
24135 [BZ #12788]
24136 * locale/setlocale.c (new_composite_name): Fix test to check for
24137 identical name of all categories.
24138
aec84f53
UD
24139 [BZ #12792]
24140 * libio/filedoalloc.c (local_isatty): New function.
24141 (_IO_file_doallocate): Use local_isatty.
24142 * stdio-common/perror.c (perror): In case a new stream is used
24143 forward the stream error.
24144 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24145 error flag.
24146
78e64fdc
RT
241472011-05-20 Ulrich Drepper <drepper@gmail.com>
24148
34a9094f
UD
24149 [BZ #11869]
24150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24151 alloca.
24152 * include/alloca.h (extend_alloca_account): Define.
24153
78e64fdc
RT
24154 [BZ #11857]
24155 * posix/regex.h: Fix comments with documentation of user-accessible
24156 fields after compilation and describe correct free'ing of pattern
24157 after re_compile_pattern.
24158 Patch by Reuben Thomas <rrt@sc3d.org>.
24159
457bddfc
RA
241602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24161
24162 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24163 and -mno-altivec to prevent the compiler from using Altivec and/or
24164 VSX instructions when the corresponding registers are not available.
24165
a4527b51
AS
241662011-05-19 Andreas Schwab <schwab@redhat.com>
24167
24168 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24169
ed690b2f
UD
241702011-05-19 Ulrich Drepper <drepper@gmail.com>
24171
24172 * libio/freopen.c (freopen): Use __dup2, not dup2.
24173 * libio/freopen64.c (freopen64): Likewise.
24174
8db73634
L
241752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24176
24177 [BZ #12775]
24178 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24179 * math/Makefile (tests): Add test-powl.
24180 (CFLAGS-test-powl.c): Define.
24181 * math/test-powl.c: New file.
24182
0a197a9d
L
241832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24184
24185 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24186
ee30c380
UD
241872011-05-17 Ulrich Drepper <drepper@gmail.com>
24188
24189 [BZ #11837]
24190 * iconvdata/gb18030.c: Update to GB18020-2005.
24191
6ce75379
UD
241922011-05-16 Ulrich Drepper <drepper@gmail.com>
24193
a4b89fd8
AR
24194 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24195 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24196 Patch by Aharon Robbins <arnold@skeeve.com>.
24197
ea389b12
UD
24198 [BZ #11892]
24199 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24200 on the stack.
24201
68a3f91f
UD
24202 [BZ #11895]
24203 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24204 through underflows.
24205
15cc7dd1
UD
24206 [BZ #12766]
24207 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24208 point to strings before performing equality test for error_one_per_line
24209 mode.
24210
f3799213
UD
24211 [BZ #11697]
24212 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24213
d79a9c94
UD
24214 [BZ #11820]
24215 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24216 (struct user_fpregs_struct): Avoid __uint*_t types.
24217
56e5eb46
UD
24218 [BZ #6420]
24219 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24220 symbol info. Use it instead of calling _dl_addr locally.
24221 (lock_and_info): New function.
24222 (tr_freehook): Call lock_and_info and pass symbol info as additional
24223 parameter to tr_where.
24224 (tr_mallochook): Likewise.
24225 (tr_reallochook): Likewise.
24226 (tr_memalignhook): Likewise.
24227
6ce75379
UD
24228 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24229 used and couldn't be at all thread-safe.
24230
f8a3b5bf
UD
242312011-05-15 Ulrich Drepper <drepper@gmail.com>
24232
94b7cc37
UD
24233 * libio/freopen.c (freopen): Don't close old file descriptor
24234 before the new one is opened. Instead dup the new file descriptor
24235 to the old one after the new stream is created.
24236 * libio/freopen64.c (freopen64): Likewise.
24237 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24238 * libio/fileops.c (_IO_new_file_close_it): Handle new
24239 _IO_FLAGS2_NOCLOSE flag.
24240 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24241 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24242 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24243 _IO_FLAGS2_NOCLOSE flag.
24244 * include/unistd.h: Add hidden_proto for dup3.
24245 Define __have_dup3.
24246 * io/dup3.c: Define hidden symbol.
24247 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24248
bd25564e
UD
24249 [BZ #7101]
24250 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24251 when an incomplete long option is used.
24252 * posix/tst-getopt_long1.c: New file.
24253 * posix/Makefile (tests): Add tst-getopt_long1.
24254
c84cfef4
UD
24255 [BZ #10138]
24256 * scripts/config.guess: Update from autoconf-2.68.
24257 * scripts/config.sub: Likewise.
24258
3b85df27
UD
24259 [BZ #10157]
24260 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24261 tests into ...
24262 (has_cpuclock): ...this. New function.
24263 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24264 macro here based on has_cpuclock code.
24265
15a856b1
UD
24266 [BZ #10149]
24267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24268 First byte (not low byte) is now always NUL.
24269 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24270
05f399e6
UD
24271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24272 Use non-cancelable interfaces.
24273
10a52685 24274 [BZ #9809]
94ecc67d
UD
24275 * locale/iso-639.def: Add entry for Sorani.
24276
f8a3b5bf
UD
24277 [BZ #11901]
24278 * include/stdlib.h: Move include protection to the right place.
24279 Define abort_msg_s. Declare __abort_msg with it.
24280 * stdlib/abort.c (__abort_msg): Adjust type.
24281 * assert/assert.c (__assert_fail_base): New function. Majority
24282 of code from __assert_fail. Allocate memory for __abort_msg with
24283 mmap.
24284 (__assert_fail): Now call __assert_fail_base.
24285 * assert/assert-perr.c: Remove bulk of implementation. Use
24286 __assert_fail_base.
24287 * include/assert.hL Declare __assert_fail_base.
24288 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24289 mmap.
24290 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24291
1af4e298
UD
242922011-05-14 Ulrich Drepper <drepper@gmail.com>
24293
f8a3b5bf 24294 [BZ #11952]
d26dfc60
MG
24295 [BZ #12453]
24296 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24297 until all modules are registered in the DTV.
24298 * elf/Makefile: Add rules to build and run tst-tls19.
24299 * elf/tst-tls19.c: New file.
24300 * elf/tst-tls19mod1.c: New file.
24301 * elf/tst-tls19mod2.c: New file.
24302 * elf/tst-tls19mod3.c: New file.
24303 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24304
2fc54d6f
UD
24305 [BZ #12083]
24306 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24307 correctly.
24308
98d76b46
UD
24309 [BZ #12601]
24310 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24311 two-byte sequence errors.
24312 * iconvdata/Makefile (tests): Add bug-iconv8.
24313 * iconvdata/bug-iconv8.c: New file.
24314
da3c19ef
UD
24315 [BZ #12626]
24316 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24317 buf2 definition.
24318
ca408c15
UD
24319 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24320
d6f67f7d
UD
24321 [BZ #12432]
24322 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24323 (dummy_getcfa): New function.
24324 (init): Get _Unwind_GetCFA address, use dummy if not found.
24325 (backtrace_helper): In recursion check, also check whether CFA changes.
24326 (__backtrace): Completely initialize arg.
24327
1af4e298 24328 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24329 storing incomplete byte sequence in state object. Avoid testing for
24330 guaranteed too small input if we know there is enough data available.
1af4e298 24331
da62f81b
AS
243322011-05-11 Andreas Schwab <schwab@redhat.com>
24333
24334 * Makeconfig (+link-pie): Indent.
24335 * Rules (binaries-pie): Define if $(have-fpie) and
24336 $(build-shared).
24337 (binaries-shared): Also filter out $(binaries-pie).
24338 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24339 * nscd/Makefile (others-pie): Add nscd.
24340 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24341 ($(objpfx)nscd): Remove command override.
24342 * login/Makefile (others-pie): Add pt_chown.
24343 ($(objpfx)pt_chown): Remove command override.
24344 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24345 remove command overrides.
24346
fcabc0f8
UD
243472011-05-13 Ulrich Drepper <drepper@gmail.com>
24348
20030ae6
UD
24349 * libio/tst_putwc.c: Fix error messages.
24350
fcabc0f8
UD
24351 [BZ #12724]
24352 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24353 currently writing and seek to current position when not.
24354 * libio/Makefile (tests): Add bug-fclose1.
24355 * libio/bug-fclose1.c: New file.
24356
320a5dc0
PB
243572011-05-12 Ulrich Drepper <drepper@gmail.com>
24358
24359 [BZ #12511]
24360 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24361 don't set DF_1_NODELETE here.
24362 (do_lookup_x): When entering new entry test for copy relocation
24363 and if necessary set DF_1_NODELETE flag.
24364 * elf/tst-unique4.cc: New file.
24365 * elf/tst-unique4.h: New file.
24366 * elf/tst-unique4lib.cc: New file.
24367 * elf/Makefile: Add rules to build and run tst-unique4.
24368 Patch by Piotr Bury <pbury@goahead.com>.
24369
22836f52
UD
243702011-05-11 Ulrich Drepper <drepper@gmail.com>
24371
f574184a
UD
24372 [BZ #12052]
24373 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24374
e1fb097f
UD
24375 [BZ #12625]
24376 * misc/mntent_r.c (addmntent): Flush the stream after the output
24377
22836f52
UD
24378 [BZ #12393]
24379 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24380 (is_trusted_path_normalize): Skip initial colon. Append slash
24381 to empty buffer. Duplicate is_trusted_path code but allow
24382 constructed patch to be prefix.
24383 (is_dst): Allow $ORIGIN followed by /.
24384 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24385 Correct testing of result of is_trusted_path_normalize
24386 (decompose_rpath): Fix warning.
24387
7b3b0b2a
UD
243882011-05-10 Ulrich Drepper <drepper@gmail.com>
24389
24390 [BZ #11257]
24391 * grp/initgroups.c (internal_getgrouplist): When we found the service
24392 list through the initgroups entry in nsswitch.conf do not always
24393 continue on a successful lookup. Don't always use the
eac80ce2 24394 __nss_group_database value if it is set.
7b3b0b2a
UD
24395 * nss/nsswitch.conf (initgroups): Change action for successful db
24396 lookup to continue for compatibility.
24397
2a81eaa5
UD
243982011-05-09 Ulrich Drepper <drepper@gmail.com>
24399
be97a69e
UD
24400 [BZ #11532]
24401 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24402 and CP774 modules.
24403 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24404 and CP774 modules.
24405 * iconvdata/tst-tables.sh: Likewise.
24406 * iconvdata/cp770.c: New file.
24407 * iconvdata/cp771.c: New file.
24408 * iconvdata/cp772.c: New file.
24409 * iconvdata/cp773.c: New file.
24410 * iconvdata/cp774.c: New file.
24411 * iconvdata/testdata/CP770: New file.
24412 * iconvdata/testdata/CP770..UTF8: New file.
24413 * iconvdata/testdata/CP771: New file.
24414 * iconvdata/testdata/CP771..UTF8: New file.
24415 * iconvdata/testdata/CP772: New file.
24416 * iconvdata/testdata/CP772..UTF8: New file.
24417 * iconvdata/testdata/CP773: New file.
24418 * iconvdata/testdata/CP773..UTF8: New file.
24419 * iconvdata/testdata/CP774: New file.
24420 * iconvdata/testdata/CP774..UTF8: New file.
24421
24422 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24423 END CHARMAP line.
24424 * iconvdata/gen-8bit-gap.sh: Likewise.
24425 * iconvdata/gen-8bit.sh: Likewise.
24426
c1e9e399
UD
24427 * locale/iso-639.def: Add ary entry.
24428
24c55fb3 24429 [BZ #11258]
96b4b1b0
UD
24430 * locale/C-translit.h.in: Add U20A1 transliteration.
24431
bdc2f971
KB
24432 [BZ #12178]
24433 * locale/iso-639.def: Add wae entry.
24434 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24435
2952b117
UD
24436 [BZ #12545]
24437 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24438 for n.
24439
2a81eaa5
UD
24440 [BZ #12711]
24441 * locale/C-translit.h.in: Add entry for U20B9.
24442 Patch by pravin.d.s@gmail.com.
24443
28377d1b
UD
244442011-05-08 Ulrich Drepper <drepper@gmail.com>
24445
7fb90fb8
UD
24446 [BZ #12713]
24447 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24448 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
24449 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24450 in rtld. Use *stat64.
7fb90fb8 24451 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 24452 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 24453 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
24454 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24455 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24456 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24457 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24458 __fstatat64 macros.
7fb90fb8
UD
24459 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24460 * dirent/rewinddir.c: Add libc_hidden_def.
24461 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 24462 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 24463
28377d1b
UD
24464 * include/dirent.h (__alloc_dir): Add flags parameter.
24465 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24466 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24467 __alloc_dir.
24468 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24469 from fdopendir if O_CLOEXEC is already set.
24470
66bdbaa4
AM
244712011-03-15 Alan Modra <amodra@gmail.com>
24472
24473 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24474 l_tls_firstbyte_offset non-zero. Save padding offset in
24475 l_tls_firstbyte_offset for later use.
24476 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24477 freeing static tls block.
24478
95721191
JN
244792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24480
24481 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24482 where #ifdef was intended. The intent is to prevent ARG_MAX from
24483 being defined by the kernel headers.
24484
f87dfb1f
UD
244852011-05-07 Ulrich Drepper <drepper@gmail.com>
24486
24487 [BZ #12734]
24488 * resolv/resolv.h: Define RES_NOTLDQUERY.
24489 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24490 no-tld-query and set RES_NOTLDQUERY.
24491 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24492 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24493 modern BIND to search name as TLD unless forbidden.
24494
47c3cd7a
UD
244952011-05-07 Petr Baudis <pasky@suse.cz>
24496 Ulrich Drepper <drepper@gmail.com>
24497
24498 [BZ #12393]
24499 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24500 (is_trusted_path): ...to here.
c1e9ea35 24501 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24502 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24503 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24504
8a35c912
PP
245052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24506
24507 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24508 __BEGIN/__END_DECLS.
24509
acd41f47
UD
245102011-05-06 Ulrich Drepper <drepper@gmail.com>
24511
24512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24513 NSS_STATUS_NOTFOUND if no record was found.
24514
597df647
AS
245152011-05-05 Andreas Schwab <schwab@redhat.com>
24516
24517 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24518 (headers-not-in-tirpc): Remove rpc/netdb.h
24519 * resolv/netdb.h: Revert last change.
24520
b9af1301
PP
245212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24522
24523 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24524 circular dependency between libgcc.a and libc.a.
24525
4e34d5f5
AS
245262011-05-05 Andreas Schwab <schwab@redhat.com>
24527
24528 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24529 * nis/Makefile: Don't install rpcsvc/*.
24530 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24531 instead of <rpc/types.h>.
24532 (MAXHOSTNAMELEN): Define.
24533
00ee369c
AS
245342011-05-03 Andreas Schwab <schwab@redhat.com>
24535
24536 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24537
0b592a30
MB
245382011-04-28 Maciej Babinski <mbabinski@google.com>
24539
24540 [BZ #12714]
24541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24542 gethostbyname4_r when IPv6 results are possible.
24543
6e04cbbe
UD
245442011-05-02 Ulrich Drepper <drepper@gmail.com>
24545
24546 [BZ #12723]
24547 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24548 _PC_PIPE_BUF handling.
24549
e4ecafe0
BH
245502011-04-30 Bruno Haible <bruno@clisp.org>
24551
24552 [BZ #12717]
24553 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24554 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24555 to 'int'.
24556 * inet/getnameinfo.c (getnameinfo): Likewise.
24557
125ee683
UD
245582011-04-29 Ulrich Drepper <drepper@gmail.com>
24559
24560 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24561 to groups setting in database lookup.
24562 * nss/nsswitch.conf: Add initgroups entry.
24563
b722481a
EB
245642011-04-22 Ulrich Drepper <drepper@gmail.com>
24565
24566 [BZ #12685]
24567 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24568 mode string.
24569 Patch by Eric Blake <eblake@redhat.com>.
24570
4df46dbd
L
245712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24572
24573 * sunrpc/Makefile (need-export-routines): Add svc_run.
24574 (routines): Remove svc_run.
24575 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24576 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24577 * sunrpc/svc_run.c (svc_run): Likewise.
24578 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24579
e84142d2
UD
245802011-04-21 Ulrich Drepper <drepper@gmail.com>
24581
24582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24583 problem in reallocation in last patch.
24584
877175d8
UD
245852011-04-20 Ulrich Drepper <drepper@gmail.com>
24586
24587 * sunrpc/Makefile: Move inclusion of Rules.
24588
ab8eed78
UD
245892011-04-19 Ulrich Drepper <drepper@gmail.com>
24590
24591 * nss/nss_files/files-initgroups.c: New file.
24592 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24593 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24594 _nss_files_initgroups_dyn.
24595
e3d8f584
RS
245962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24597
24598 * elf/elf.h (R_ARM_IRELATIVE): Define.
24599
af190f45
UD
246002011-04-19 Ulrich Drepper <drepper@gmail.com>
24601
24602 * po/ru.po: Update from translation team.
24603
53cf59ef
UD
246042011-04-17 Ulrich Drepper <drepper@gmail.com>
24605
24606 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24607 dependencies.
24608
4c559bcd
MF
246092011-02-06 Mike Frysinger <vapier@gentoo.org>
24610
24611 [BZ #12653]
24612 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24613 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24614 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24615 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24617
4420675c
AS
246182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24619
24620 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24621 differing bytes.
24622 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24623 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24625
75ea32ab
UD
246262011-04-17 Ulrich Drepper <drepper@gmail.com>
24627
24628 [BZ #12420]
24629 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24630 storing it.
24631 * stdlib/bug-getcontext.c: New file.
24632 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24633
27390476
AK
246342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24635
24636 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24637 instructions into .machine "z9-109".
24638 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24639 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24640
10442705
AK
246412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24642
24643 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24644 between environment variables and auxiliary vector.
24645
7b57bfe5
UD
246462011-04-16 Ulrich Drepper <drepper@gmail.com>
24647
24648 * Makefile: Add rules to build linkobj/libc.so.
24649 * include/libc-symbols.h: Define libc_hidden_nolink.
24650 * include/rpc/auth.h: Mark functions which are to be hidden.
24651 * include/rpc/auth_des.h: Likewise.
24652 * include/rpc/auth_unix.h: Likewise.
24653 * include/rpc/clnt.h: Likewise.
24654 * include/rpc/des_crypt.h: Likewise.
24655 * include/rpc/key_prot.h: Likewise.
24656 * include/rpc/pmap_clnt.h: Likewise.
24657 * include/rpc/pmap_prot.h: Likewise.
24658 * include/rpc/pmap_rmt.h: Likewise.
24659 * include/rpc/rpc_msg.h: Likewise.
24660 * include/rpc/svc.h: Likewise.
24661 * include/rpc/svc_auth.h: Likewise.
24662 * include/rpc/xdr.h: Likewise.
24663 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24664 * nss/Makefile: Likewise.
24665 * sunrpc/Makefile: Don't install headers. Build library with normal
24666 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24667 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24668 for the compat linking library. Remove use of INTDEF/INTUSE.
24669 * sunrpc/auth_none.c: Likewise.
24670 * sunrpc/auth_unix.c: Likewise.
24671 * sunrpc/authdes_prot.c: Likewise.
24672 * sunrpc/authuxprot.c: Likewise.
24673 * sunrpc/clnt_gen.c: Likewise.
24674 * sunrpc/clnt_perr.c: Likewise.
24675 * sunrpc/clnt_raw.c: Likewise.
24676 * sunrpc/clnt_simp.c: Likewise.
24677 * sunrpc/clnt_tcp.c: Likewise.
24678 * sunrpc/clnt_udp.c: Likewise.
24679 * sunrpc/clnt_unix.c: Likewise.
24680 * sunrpc/des_crypt.c: Likewise.
24681 * sunrpc/des_soft.c: Likewise.
24682 * sunrpc/get_myaddr.c: Likewise.
24683 * sunrpc/key_call.c: Likewise.
24684 * sunrpc/key_prot.c: Likewise.
24685 * sunrpc/netname.c: Likewise.
24686 * sunrpc/pm_getmaps.c: Likewise.
24687 * sunrpc/pm_getport.c: Likewise.
24688 * sunrpc/pmap_clnt.c: Likewise.
24689 * sunrpc/pmap_prot.c: Likewise.
24690 * sunrpc/pmap_prot2.c: Likewise.
24691 * sunrpc/pmap_rmt.c: Likewise.
24692 * sunrpc/publickey.c: Likewise.
24693 * sunrpc/rpc_cmsg.c: Likewise.
24694 * sunrpc/rpc_common.c: Likewise.
24695 * sunrpc/rpc_dtable.c: Likewise.
24696 * sunrpc/rpc_prot.c: Likewise.
24697 * sunrpc/rpc_thread.c: Likewise.
24698 * sunrpc/rtime.c: Likewise.
24699 * sunrpc/svc.c: Likewise.
24700 * sunrpc/svc_auth.c: Likewise.
24701 * sunrpc/svc_authux.c: Likewise.
24702 * sunrpc/svc_raw.c: Likewise.
24703 * sunrpc/svc_run.c: Likewise.
24704 * sunrpc/svc_simple.c: Likewise.
24705 * sunrpc/svc_tcp.c: Likewise.
24706 * sunrpc/svc_udp.c: Likewise.
24707 * sunrpc/svc_unix.c: Likewise.
24708 * sunrpc/svcauth_des.c: Likewise.
24709 * sunrpc/xcrypt.c: Likewise.
24710 * sunrpc/xdr.c: Likewise.
24711 * sunrpc/xdr_array.c: Likewise.
24712 * sunrpc/xdr_float.c: Likewise.
24713 * sunrpc/xdr_intXX_t.c: Likewise.
24714 * sunrpc/xdr_mem.c: Likewise.
24715 * sunrpc/xdr_rec.c: Likewise.
24716 * sunrpc/xdr_ref.c: Likewise.
24717 * sunrpc/xdr_sizeof.c: Likewise.
24718 * sunrpc/xdr_stdio.c: Likewise.
24719
e6c61494
UD
247202011-04-10 Ulrich Drepper <drepper@gmail.com>
24721
24722 [BZ #12650]
24723 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24724 * sysdeps/ia64/dl-tls.h: Likewise.
24725 * sysdeps/powerpc/dl-tls.h: Likewise.
24726 * sysdeps/s390/dl-tls.h: Likewise.
24727 * sysdeps/sh/dl-tls.h: Likewise.
24728 * sysdeps/sparc/dl-tls.h: Likewise.
24729 * sysdeps/x86_64/dl-tls.h: Likewise.
24730 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24731
34fe483e
AS
247322011-03-14 Andreas Schwab <schwab@redhat.com>
24733
24734 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24735 rpath element also skip the following colon.
24736 (expand_dynamic_string_token): Add is_path parameter and pass
24737 down to DL_DST_REQUIRED and _dl_dst_substitute.
24738 (decompose_rpath): Call expand_dynamic_string_token with
24739 non-zero is_path. Ignore empty rpaths.
24740 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24741 with zero is_path.
24742
f12a32e6
AS
247432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24744
24745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24746 Make cancelable.
24747
38a7d692
UD
247482011-04-09 Ulrich Drepper <drepper@gmail.com>
24749
24750 [BZ #12655]
24751 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24752 Patch by Filipe David Manana <fdmanana@apache.org>.
24753
e451d22b
AS
247542011-04-07 Andreas Schwab <schwab@redhat.com>
24755
24756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24757 Maintain aligned stack.
24758 (CHECK_RSP): Remove unused macro.
24759
dedc7c7b
UD
247602011-04-03 Ulrich Drepper <drepper@gmail.com>
24761
24762 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24763 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24764
94521213
UD
247652011-04-02 Ulrich Drepper <drepper@gmail.com>
24766
24767 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24768
8cb700c0 24769 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24770
0354e355
L
247712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24772
24773 [BZ #12518]
24774 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24775 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24776 * sysdeps/x86_64/memmove.c: New file.
24777 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24778 (memcpy): Renamed to ...
24779 (__new_memcpy): This.
24780 (memcpy): Provide GLIBC_2_14 memcpy.
24781 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24782 (memcpy): Provide GLIBC_2_2_5 memcpy.
24783
8593482f
UD
247842011-04-01 Ulrich Drepper <drepper@gmail.com>
24785
24786 [BZ #12631]
24787 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24788
81a5726b
AS
247892011-03-30 Andreas Schwab <schwab@redhat.com>
24790
24791 * misc/syncfs.c: New file.
24792 * misc/Makefile (routines): Add syncfs.
24793 * posix/unistd.h: Declare syncfs.
24794 * sysdeps/unix/syscalls.list: Add syncfs.
24795
00e5419f
AS
247962011-04-01 Andreas Schwab <schwab@redhat.com>
24797
24798 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24799 open_by_handle_at.
24800 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24801 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24805 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24806 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24807
748876bf
UD
248082011-04-01 Ulrich Drepper <drepper@gmail.com>
24809
658e451d
UD
24810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24811 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24812 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24813 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24814 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24817
748876bf
UD
24818 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24819 sync_file_range.c with -fexceptions.
24820 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24821 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24822 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24823 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24824 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24825 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24827 sync_file_range as cancellation point
24828 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24829 now a wrapper around __call_sync_file_range with cancellation handling.
24830 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24831 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24832 function name to __call_sync_file_range.
24833 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24834 Add call_sync_file_range.
748876bf 24835
6e63d5e1
AS
248362011-04-01 Andreas Schwab <schwab@redhat.com>
24837
24838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24839 bits/timex.h.
6e63d5e1 24840
46998f74
UD
248412011-04-01 Ulrich Drepper <drepper@gmail.com>
24842
4c1423ed
UD
24843 * iconv/iconv.h: Fix typo in comment.
24844 * io/fcntl.h: Likewise.
24845 * libio/stdio.h: Likewise.
24846 * posix/spawn.h: Likewise.
24847 * posix/unistd.h: Likewise.
24848 * stdlib/stdlib.h: Likewise.
24849 * time/time.h: Likewise.
24850 * wcsmbs/wchar.h: Likewise.
24851
158648c0
UD
24852 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24853 open_by_handle): Add.
24854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24855 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24856 Augment a few comments.
24857 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24858 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24859 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24862 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24863 open_by_handle.
24864
46998f74
UD
24865 * io/fcntl.h (AT_EMPTY_PATH): Define.
24866
83fe108b
UD
248672011-03-30 Ulrich Drepper <drepper@gmail.com>
24868
24869 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24870 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24871 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24872 to...
24873 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24874 * Versions.def: Add GLIBC_2.14.
24875 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24876 Export.
83fe108b 24877
bb242059
UD
248782011-03-22 Ulrich Drepper <drepper@gmail.com>
24879
24880 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24881 round counter.
24882 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24883
c97a1282
L
248842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24885
24886 [BZ #12597]
24887 * string/test-strncmp.c (do_page_test): New function.
24888 (check2): Likewise.
24889 (test_main): Call check2.
24890 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24891
2a115601
UD
248922011-03-20 Ulrich Drepper <drepper@gmail.com>
24893
24894 [BZ #12587]
24895 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24896 Handle cache information in CPU leaf 4.
24897 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24898
8126d904
UD
248992011-03-18 Ulrich Drepper <drepper@gmail.com>
24900
042c49c6 24901 [BZ #12583]
8126d904
UD
24902 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24903 character representation.
24904 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24905
ccfe366e
RA
249062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24907
24908 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24909 END(__isnan) to END(__isnanf) to match function entry point/label
24910 EALIGN(__isnanf,...).
24911
c6e13027
JJ
249122011-03-10 Jakub Jelinek <jakub@redhat.com>
24913
24914 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24915
33f85a3f
UD
249162011-03-10 Ulrich Drepper <drepper@gmail.com>
24917
028478fa
UD
24918 [BZ #12510]
24919 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24920 copy from the symbol referenced in the relocation to initialize the
24921 used variable.
24922 Patch by Piotr Bury <pbury@goahead.com>.
24923 * elf/Makefile: Add rules to build and tst-unique3.
24924 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24925 * elf/tst-unique3.cc: New file.
24926 * elf/tst-unique3.h: New file.
24927 * elf/tst-unique3lib.cc: New file.
24928 * elf/tst-unique3lib2.cc: New file.
24929
33f85a3f
UD
24930 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24931
03592fc7
MF
249322011-03-10 Mike Frysinger <vapier@gentoo.org>
24933
24934 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24935 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24936 to _start.
03592fc7 24937
6a5ee102
UD
249382011-03-06 Ulrich Drepper <drepper@gmail.com>
24939
24940 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24941 to-be-loaded object along a path to loader is ld.so.
24942
7e4ba49c
HJ
249432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24944 Ulrich Drepper <drepper@gmail.com>
24945
24946 * sysdeps/x86_64/memset.S: After aligning destination, code
24947 branches to different locations depending on the value of
24948 misalignment, when multiarch is enabled. Fix this.
24949
249502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24951
24952 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24953 Set _x86_64_preferred_memory_instruction for AMD processsors.
24954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24955 Set bit_Prefer_SSE_for_memop for AMD processors.
24956
13a804de
UD
249572011-03-04 Ulrich Drepper <drepper@gmail.com>
24958
24959 * libio/fmemopen.c (fmemopen): Optimize a bit.
24960
9d25c392
AS
249612011-03-03 Andreas Schwab <schwab@redhat.com>
24962
24963 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24964
a5543c6a
RM
249652011-03-03 Roland McGrath <roland@redhat.com>
24966
24967 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24968
012d35f7
DM
249692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24970
7e4ba49c 24971 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24972 __bzero_ultra1 instead of __memset_ultra1.
24973
4bff6e01
AS
249742011-02-23 Andreas Schwab <schwab@redhat.com>
24975 Ulrich Drepper <drepper@gmail.com>
24976
24977 [BZ #12509]
24978 * include/link.h (struct link_map): Add l_orig_initfini.
24979 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24980 returning unsuccessfully.
24981 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24982 close of a file loaded at startup, restore the original l_initfini
24983 list.
24984 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24985 list, store the pointer.
24986 * elf/Makefile ($(objpfx)noload-mem): New rule.
24987 (noload-ENV): Define.
24988 (tests): Add $(objpfx)noload-mem.
24989 * elf/noload.c: Include <memcheck.h>.
24990 (main): Call mtrace. Close all opened handles.
24991
f2092faf
AS
249922011-02-17 Andreas Schwab <schwab@redhat.com>
24993
24994 [BZ #12454]
24995 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24996 dependencies are missing.
24997
6c8a2e88
ST
249982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24999
f2092faf 25000 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25001 Hurd needs munmap.
25002 * sysdeps/mach/hurd/ifreq.h: New file.
25003
84a42118
PB
250042011-01-27 Petr Baudis <pasky@suse.cz>
25005 Ulrich Drepper <drepper@gmail.com>
25006
071f805e 25007 [BZ 12445]#
84a42118
PB
25008 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25009 to extend_alloca().
25010 * stdio-common/bug23.c: New file.
25011 * stdio-common/Makefile (tests): Add bug23.
25012
e23fe25b
AS
250132010-09-28 Andreas Schwab <schwab@redhat.com>
25014 Ulrich Drepper <drepper@gmail.com>
25015
25016 [BZ #12489]
25017 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25018 before performing relro protection. At old place add assertion
25019 to make sure nothing changed.
25020
d3f02e10
NS
250212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25022 Glauber de Oliveira Costa <glommer@gmail.com>
25023
25024 * elf/elf.h: Add new ARM TLS relocs.
25025
d55fd7a5
RA
250262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25027
25028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25029 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25030 cast from r3.
25031 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25032 'tests' variable.
25033 * sysdeps/wordsize-64/tst-writev.c: New file.
25034
2206397e
RA
250352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25036
25037 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25038 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25039 insns in _dl_start to prevent a TOC reference before relocs are
25040 resolved.
25041
e9433893
UD
250422011-02-15 Ulrich Drepper <drepper@gmail.com>
25043
25044 [BZ #12469]
25045 * Makeconfig: Remove RANLIB definition.
25046 * Makerules: Don't use RANLIB.
25047 * aclocal.m4: Remove ranlib test.
25048 * configure.in: No need to check for ranlib.
25049 * elf/rtld-Rules: Don't use RANLIB.
25050
f75286c6
ST
250512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25052
8e31c82d
ST
25053 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25054 protection macro.
25055 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25056 inclusion protection macro.
25057
f75286c6
ST
25058 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25059 SIGRTMIN and SIGRTMAX and print information in that case only when
25060 SIGRTMIN is defined.
25061
c1d0e639
JJ
250622011-02-11 Jakub Jelinek <jakub@redhat.com>
25063
25064 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25065 arginfo fn returning -1.
25066
25067 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25068 and thousands string is zero terminated.
25069
edf9294e
AS
250702011-02-03 Andreas Schwab <schwab@redhat.com>
25071
25072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25073 sysdeps/unix/sysv/linux/bits/socket.h.
25074
2b7e92df
ST
250752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25076
edf9294e
AS
25077 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25078 (__CPU_COUNT): Remove old macros.
25079 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25080 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25081 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25082 (__sched_cpualloc, __sched_cpufree): Add declarations.
25083
a4c7ea7b
UD
250842011-02-05 Ulrich Drepper <drepper@gmail.com>
25085
25086 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25087 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25088 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25089 (readdhstai): Return value of addhstaiX call.
25090 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25091 (addgrbyX): Return value returned by cache_addgr.
25092 (readdgrbyname): Return value returned by addgrbyX.
25093 (readdgrbygid): Likewise.
25094 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25095 (addpwbyX): Return value returned by cache_addpw.
25096 (readdpwbyname): Return value returned by addhstbyX.
25097 (readdpwbyuid): Likewise.
25098 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25099 (addservbyX): Return value returned by cache_addserv.
25100 (readdservbyname): Return value returned by addservbyX:
25101 (readdservbyport): Likewise.
25102 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25103 (addhstbyX): Return value returned by cache_addhst.
25104 (readdhstbyname): Return value returned by addhstbyX.
25105 (readdhstbyaddr): Likewise.
25106 (readdhstbynamev6): Likewise.
25107 (readdhstbyaddrv6): Likewise.
25108 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25109 (readdinitgroups): Return value returned by addinitgroupsX.
25110 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25111 (prune_cache): Keep track of timeout value of re-added entries.
25112 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25113 * nscd/nscd.h: Adjust prototypes of readd* functions.
25114
a0bf67cc
RM
251152011-02-04 Roland McGrath <roland@redhat.com>
25116
25117 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25118 (nis_stats): Likewise.
25119 * nis/nis_modify.c (nis_modify): Likewise.
25120 * nis/nis_remove.c (nis_remove): Likewise.
25121 * nis/nis_add.c (nis_add): Likewise.
25122
25123 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25124
25125 * posix/fnmatch_loop.c: Add some consts.
25126
25127 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25128
435b95eb
L
251292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25130
25131 [BZ #12460]
25132 * config.make.in (config-cflags-novzeroupper): Define.
25133 * configure.in: Substitute libc_cv_cc_novzeroupper.
25134 * elf/Makefile (AVX-CFLAGS): Define.
25135 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25136 (CFLAGS-tst-auditmod4a.c): Likewise.
25137 (CFLAGS-tst-auditmod4b.c): Likewise.
25138 (CFLAGS-tst-auditmod6b.c): Likewise.
25139 (CFLAGS-tst-auditmod6c.c): Likewise.
25140 (CFLAGS-tst-auditmod7b.c): Likewise.
25141 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25142
8517b15e
UD
251432011-02-02 Ulrich Drepper <drepper@gmail.com>
25144
25145 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25146 function to the callback.
25147 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25148
10a656fe
AS
251492011-02-02 Andreas Schwab <schwab@redhat.com>
25150
25151 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25152 of errno.
25153
968dad0a
UD
251542011-01-19 Ulrich Drepper <drepper@gmail.com>
25155
9f94d2ea 25156 [BZ #11724]
968dad0a
UD
25157 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25158 of constructors.
25159 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25160 of destructors.
25161 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25162
25163 [BZ #11724]
25164 * elf/Makefile: Add rules to build and run new test.
25165 * elf/tst-initorder.c: New file.
25166 * elf/tst-initorder.exp: New file.
25167 * elf/tst-initordera1.c: New file.
25168 * elf/tst-initordera2.c: New file.
25169 * elf/tst-initordera3.c: New file.
25170 * elf/tst-initordera4.c: New file.
25171 * elf/tst-initorderb1.c: New file.
25172 * elf/tst-initorderb2.c: New file.
25173 * elf/tst-order-a1.c: New file.
25174 * elf/tst-order-a2.c: New file.
25175 * elf/tst-order-a3.c: New file.
25176 * elf/tst-order-a4.c: New file.
25177 * elf/tst-order-b1.c: New file.
25178 * elf/tst-order-b2.c: New file.
25179 * elf/tst-order-main.c: New file.
25180 New test case by George Gensure <werkt0@gmail.com>.
25181
86e92359
UD
251822010-10-01 Andreas Schwab <schwab@redhat.com>
25183
25184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25185 decoding ACE if AI_CANONIDN.
25186
5d5732b0
UD
251872011-01-18 Ulrich Drepper <drepper@gmail.com>
25188
25189 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25190
a77e8cbc
UD
251912011-01-17 Ulrich Drepper <drepper@gmail.com>
25192
6392473f
UD
25193 * version.h (RELEASE): Bump for 2.13 release.
25194 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25195
620a0529
UD
25196 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25197
18ba70a5
UD
25198 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25199 MADV_NOHUGEPAGE.
32465c3e
UD
25200 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25201 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25202 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25203 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25204 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25205 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25206
c0dafcf1
UD
25207 * posix/getconf.c: Update copyright year.
25208 * catgets/gencat.c: Likewise.
25209 * csu/version.c: Likewise.
25210 * debug/catchsegv.sh: Likewise.
25211 * debug/xtrace.sh: Likewise.
25212 * elf/ldconfig.c: Likewise.
25213 * elf/ldd.bash.in: Likewise.
25214 * elf/sprof.c (print_version): Likewise.
25215 * iconv/iconv_prog.c: Likewise.
25216 * iconv/iconvconfig.c: Likewise.
25217 * locale/programs/locale.c: Likewise.
25218 * locale/programs/localedef.c: Likewise.
25219 * malloc/memusage.sh: Likewise.
25220 * malloc/mtrace.pl: Likewise.
25221 * nscd/nscd.c (print_version): Likewise.
25222 * nss/getent.c: Likewise.
25223
a77e8cbc
UD
25224 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25225 PF_CAIF, and PF_ALG.
25226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25227
77e8bddf
AS
252282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25229
1f20b93a
AS
25230 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25231 (modules-names): Use them.
25232 (ifunc-test-modules, ifunc-pie-tests): Define.
25233 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25234 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25235 (test-extras): Likewise.
25236 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25237 $(compile-command.c).
25238 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25239 (all-built-dso): Define.
25240 (check-textrel.out, check-execstack.out): Depend on it.
25241
77e8bddf
AS
25242 * configure.in: Don't override --enable-multi-arch.
25243
bc425b33
UD
252442011-01-15 Ulrich Drepper <drepper@gmail.com>
25245
25246 [BZ #6812]
25247 * nscd/hstcache.c (tryagain): Define.
25248 (cache_addhst): Return tryagain not notfound for temporary errors.
25249 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25250 failed.
25251
794c3ad3
UD
252522011-01-14 Ulrich Drepper <drepper@gmail.com>
25253
70181fdd
UD
25254 [BZ #10563]
25255 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25256 to make the syscall.
25257 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25258
794c3ad3
UD
25259 [BZ #12378]
25260 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25261 and fall back to matching as normal character if the string ends before
25262 the matching ']' is found. This is what POSIX requires.
25263 * posix/testfnm.c: Adjust test result.
25264 * posix/globtest.sh: Adjust test result. Add new test.
25265 * posix/tst-fnmatch.input: Likewise.
25266 * posix/tst-fnmatch2.c: Add new test.
25267
68dc9497
AS
252682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25269
25270 * elf/Makefile (check-execstack): Revert last change. Depend on
25271 check-execstack.h.
25272 (check-execstack.h): New target.
25273 (generated): Add check-execstack.h.
25274 * elf/check-execstack.c: Include "check-execstack.h".
25275 (main): Revert last change.
25276 (handle_file): Return zero if GNU_STACK is absent and
25277 DEFAULT_STACK_PERMS doesn't include PF_X.
25278
451f001b
UD
252792011-01-13 Ulrich Drepper <drepper@gmail.com>
25280
cfa28e56
UD
25281 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25282 in child fails because the descriptor is already closed.
8cf8ce17
UD
25283 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25284 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25285 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25286
1086d70d
UD
25287 [BZ #12397]
25288 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25289 syscall.
25290
451f001b
UD
25291 [BZ #10484]
25292 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25293 temporary buffer used to handle multi lookups locally.
a85b5cb4 25294 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25295
08769175
UD
252962011-01-12 Ulrich Drepper <drepper@gmail.com>
25297
25298 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25299 loader is ld.so.
25300
5e49c52e
UD
253012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25302
25303 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25304 alignment for SSE2.
25305
60522a5f
UD
253062011-01-12 Ulrich Drepper <drepper@gmail.com>
25307
25308 [BZ #12394]
25309 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25310 characters. When rounding increased number of integer digits recompute
25311 number of groups.
25312 * stdio-common/tst-grouping.c: New file.
25313 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25314
f257bbd7
UD
253152011-01-09 Ulrich Drepper <drepper@gmail.com>
25316
25317 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25318 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25319
25320 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25321 void.
25322 * bits/select.h: Likewise.
25323
fa9c15cb
UD
253242011-01-08 Ulrich Drepper <drepper@gmail.com>
25325
25326 * po/ja.po: Update from translation team.
25327
16c2895f
DM
253282011-01-04 David S. Miller <davem@sunset.davemloft.net>
25329
25330 [BZ #11155]
25331 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25332 implementation just like for lxstat, fxstatat, et al.
25333
2543fef2
JM
253342010-12-27 Jim Meyering <meyering@redhat.com>
25335
25336 [BZ #12348]
25337 * posix/regexec.c (build_trtable): Return failure indication upon
25338 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25339
98727dbe
UD
253402010-12-25 Ulrich Drepper <drepper@gmail.com>
25341
5bd6dc5c
UD
25342 [BZ #12201]
25343 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25344 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25345 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25347
97983464
UD
25348 [BZ #12207]
25349 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25350
98727dbe
UD
25351 [BZ #12204]
25352 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25353 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25354
4a531bb0
L
253552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25356
25357 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25358 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25359 script has SORT_BY_INIT_PRIORITY.
25360 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25361 NO_CTORS_DTORS_SECTIONS is defined.
25362 * elf/soinit.c: Likewise.
25363 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25364 NO_CTORS_DTORS_SECTIONS is defined.
25365 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25366 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25367 * sysdeps/sh/init-first.c: Likewise.
25368 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25369
07eb4b71
UD
253702010-12-24 Ulrich Drepper <drepper@gmail.com>
25371
25372 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25373 always use the slow path.
25374
30950a5f
RA
253752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25376
25377 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25378 similar rule which adds the sysdep directories to the header search in
25379 order to pick up the correct platform stackinfo.h.
25380 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25381 perform test if it is, otherwise return successfully without testing.
25382 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25383 DEFAULT_STACK_PERMS define in stackinfo.h.
25384 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25385 defined in stackinfo.h.
25386 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25387 DEFAULT_STACK_PERMS defined in stackinfo.h.
25388 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25389 * sysdeps/ia64/stackinfo.h: Likewise.
25390 * sysdeps/s390/stackinfo.h: Likewise.
25391 * sysdeps/sh/stackinfo.h: Likewise.
25392 * sysdeps/sparc/stackinfo.h: Likewise.
25393 * sysdeps/x86_64/stackinfo.h: Likewise.
25394 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25395 PF_X for powerpc64. Retain PF_X for powerpc32.
25396
db753e2c
UD
253972010-12-19 Ulrich Drepper <drepper@gmail.com>
25398
14b697f7
UD
25399 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25400 accurately.
db753e2c
UD
25401 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25402 GETDENTS_64BIT_ALIGNED.
25403
28300719
UD
254042010-12-14 Ulrich Drepper <dreper@gmail.com>
25405
14b697f7 25406 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25407
4f197237
AS
254082010-12-10 Andreas Schwab <schwab@redhat.com>
25409
dbb0472f
AS
25410 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25411 _GNU_SOURCE.
25412
4f197237
AS
25413 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25414 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25415 Remove __restrict.
25416 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25417 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25418
fb88ac72
UD
254192010-12-09 Ulrich Drepper <drepper@gmail.com>
25420
25421 [BZ #11655]
25422 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25423 are initialized.
25424
42acbb92
JJ
254252010-12-09 Jakub Jelinek <jakub@redhat.com>
25426
25427 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25428
c038d98d
UD
254292010-12-03 Ulrich Drepper <drepper@gmail.com>
25430
25431 * po/it.po: Update from translation team.
25432
3a4a2499
L
254332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25434
25435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25436 unused codes.
25437
1e24cf6e
UD
254382010-11-30 Ulrich Drepper <drepper@gmail.com>
25439
25440 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25441
a7690819
AS
254422010-11-24 Andreas Schwab <schwab@redhat.com>
25443
25444 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25445 specially.
25446 (gaih_getanswer_slice): Likewise.
25447
3bf8d1b1
JJ
254482010-10-20 Jakub Jelinek <jakub@redhat.com>
25449
25450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25451
6db52fbb
PB
254522010-05-31 Petr Baudis <pasky@suse.cz>
25453
25454 [BZ #11149]
25455 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25456 silently even in the chroot mode.
25457
eaca7569
UD
254582010-11-22 Ulrich Drepper <drepper@gmail.com>
25459
25460 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25461 last patch a bit. Pretty printing
25462
3056dcdb
UD
254632010-05-31 Petr Baudis <pasky@suse.cz>
25464
25465 [BZ #10085]
25466 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25467 initialization of skip_initgroups_dyn.
25468
cf7c9078
UD
254692010-11-19 Ulrich Drepper <drepper@gmail.com>
25470
25471 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25473
a1fb5e3e
UD
254742010-11-16 Ulrich Drepper <drepper@gmail.com>
25475
25476 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25477
3540d66b
AS
254782010-11-11 Andreas Schwab <schwab@redhat.com>
25479
25480 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25481 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25482 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25483 ($(objpfx)tst-fnmatch-mem): New rule.
25484 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25485 * posix/tst-fnmatch.c (main): Call mtrace.
25486
13b69574
L
254872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25488
25489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25490 Support Intel processor model 6 and model 0x2c.
25491
da93d214
LM
254922010-11-10 Luis Machado <luisgpm@br.ibm.com>
25493
25494 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25495 signed comparison.
25496
8ca52c6e
L
254972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25498
25499 [BZ #12205]
25500 * string/test-strncasecmp.c (check_result): New function.
25501 (do_one_test): Use it.
25502 (check1): New function.
25503 (test_main): Use it.
25504 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25505 Support strcasecmp and strncasecmp.
25506
69da074d
UD
255072010-11-08 Ulrich Drepper <drepper@gmail.com>
25508
25509 [BZ #12194]
25510 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25511 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25512
ff02d528
L
255132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25514
25515 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25516 IFUNC support.
25517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25518 memset-x86-64.
25519 * sysdeps/x86_64/multiarch/bzero.S: New file.
25520 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25521 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25522 * sysdeps/x86_64/multiarch/memset.S: New file.
25523 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25525 Set bit_Prefer_SSE_for_memop for Intel processors.
25526 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25527 Define.
25528 (index_Prefer_SSE_for_memop): Define.
25529 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25530
344d0b54
LM
255312010-11-04 Luis Machado <luisgpm@br.ibm.com>
25532
25533 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25534 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25535
c0dde15b
UD
255362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25537
25538 [BZ #12191]
25539 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25540 (__x86_64_raw_data_cache_size_half): Likewise.
25541 (__x86_64_raw_shared_cache_size): Likewise.
25542 (__x86_64_raw_shared_cache_size_half): Likewise.
25543
25544 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25545 (__x86_64_raw_data_cache_size_half): Likewise.
25546 (__x86_64_raw_shared_cache_size): Likewise.
25547 (__x86_64_raw_shared_cache_size_half): Likewise.
25548 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25549 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25550 and __x86_64_raw_shared_cache_size_half. Round
25551 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25552 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25553 to multiple of 256 bytes.
25554
0e516e0e
MS
255552010-11-03 Ulrich Drepper <drepper@gmail.com>
25556
25557 [BZ #12167]
25558 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25559 of inacessible symlinks. Verify result of symlink before returning it.
25560 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25561 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25562
0e012e87
ER
255632010-10-28 Erich Ritz <erichritz@gmail.com>
25564
25565 * math/math.h (isinf): Fix typo in comment.
25566
de0ff7bc
UD
255672010-11-01 Ulrich Drepper <drepper@gmail.com>
25568
25569 * po/da.po: Update from translation team.
25570
fa41c84d
UD
255712010-10-26 Ulrich Drepper <drepper@gmail.com>
25572
25573 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25574 is added to the list.
25575
f0967738
AK
255762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25577 Ulrich Drepper <drepper@gmail.com>
25578
25579 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25580 the global list here. Move code to...
25581 (_dl_add_to_namespace_list): ...here. New function.
25582 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25583 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25584 * elf/dl-load.c (lose): Don't remove the element from the list.
25585 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25586 (_dl_map_object): Likewise.
25587
255882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25589
25590 [BZ #12159]
25591 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25592 into all bytes of SSE register.
25593 Patch by Richard Li <richardpku@gmail.com>.
25594
f0967738 255952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25596
25597 [BZ #12140]
25598 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25599 perturbing.
25600
d0b9e94f
MB
256012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25602
25603 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25604 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25605 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25606 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25608 submachine.
25609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25610
8e9f92e9
AS
256112010-10-22 Andreas Schwab <schwab@redhat.com>
25612
25613 * include/dlfcn.h (__RTLD_SECURE): Define.
25614 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25615 mode & __RTLD_SECURE instead.
25616 (open_path): Rename preloaded parameter to secure.
25617 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25618 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25619 * elf/dl-deps.c (openaux): Likewise.
25620 * elf/rtld.c (struct map_args): Remove is_preloaded.
25621 (map_doit): Don't use it.
25622 (dl_main): Likewise.
25623 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25624 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25625
bc96fbda
AS
256262010-09-09 Andreas Schwab <schwab@redhat.com>
25627
25628 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25629 (sysd-rules-targets): Remove duplicates.
25630 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25631 rtld-%.$o dependency.
25632
22cd1c9b
AS
256332010-10-18 Andreas Schwab <schwab@redhat.com>
25634
25635 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25636 _dl_map_object do it.
25637
18edac48
UD
256382010-10-19 Ulrich Drepper <drepper@gmail.com>
25639
25640 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25641 fast fma builtins, define the macros in the C99 standard.
25642 (FP_FAST_FMAF): Likewise.
25643 (FP_FAST_FMAL): Likewise.
25644 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25645
25646 * bits/mathdef.h: Update copyright year.
25647 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25648
d2050124
MM
256492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25650
25651 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25652 builtins, define the macros in the C99 standard.
25653 (FP_FAST_FMAF): Likewise.
25654 (FP_FAST_FMAL): Likewise.
25655 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25656 multiply/add.
25657 (FP_FAST_FMAF): Likewise.
25658
475facd1
JJ
256592010-10-15 Jakub Jelinek <jakub@redhat.com>
25660
25661 [BZ #3268]
25662 * math/libm-test.inc (fma_test): Some new testcases.
25663 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25664 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25665 y and infinite z. Do multiplication by C already in long double.
25666 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25668 y and infinite z. Do bitwise or of inexact bit into u.d.
25669 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25670 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25671 * sysdeps/i386/fpu/s_fma.S: Removed.
25672 * sysdeps/i386/fpu/s_fmal.S: Removed.
25673
7c08a05c
JJ
256742010-10-16 Jakub Jelinek <jakub@redhat.com>
25675
25676 [BZ #3268]
25677 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25679 computation is not scheduled after fetestexcept. Fix value
25680 of minimum denormal long double.
25681
f3f7372d
JJ
256822010-10-14 Jakub Jelinek <jakub@redhat.com>
25683
25684 [BZ #3268]
25685 * math/libm-test.inc (fma_test): Add some more tests.
25686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25687 correctly.
25688
14d43591
AS
256892010-10-15 Andreas Schwab <schwab@redhat.com>
25690
25691 * scripts/data/localplt-s390-linux-gnu.data: New file.
25692 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25693
5e908464
JJ
256942010-10-13 Jakub Jelinek <jakub@redhat.com>
25695
25696 [BZ #3268]
25697 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25698 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25699 instead of dbl-64.
25700 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25701 inlines.
25702 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25704 if one of x and y is very large and the other is subnormal.
25705 * sysdeps/s390/fpu/s_fmaf.c: New file.
25706 * sysdeps/s390/fpu/s_fma.c: New file.
25707 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25708 * sysdeps/powerpc/fpu/s_fma.S: New file.
25709 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25710 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25711 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25712
257132010-10-12 Jakub Jelinek <jakub@redhat.com>
25714
25715 [BZ #3268]
25716 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25717 fma tests.
25718 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25719 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25720 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25721 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25722 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25723 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25724 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25725
b833d51f
UD
257262010-10-12 Ulrich Drepper <drepper@redhat.com>
25727
25728 [BZ #12078]
25729 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25730 * posix/bug-regex31.input: Add test case.
25731
1751705d
UD
257322010-10-11 Ulrich Drepper <drepper@gmail.com>
25733
e9b9cbf5
UD
25734 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25735 * posix/bug-regex31.input: New file.
25736
25737 [BZ #12078]
25738 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25739 (parse_sub_exp): Fix last change, use postorder.
25740
ef06edbe
UD
25741 * posix/bug-regex31.c: New file.
25742 * posix/Makefile: Add rules to build and run bug-regex31.
25743
a129c80d
UD
25744 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25745
25746 [BZ #12078]
25747 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25748
b76b818e
UD
25749 [BZ #12108]
25750 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25751 to have entries in sys_siglist.
25752
1751705d
UD
25753 [BZ #12093]
25754 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25755 be NULL.
25756
9ff8d36f
JJ
257572010-10-07 Jakub Jelinek <jakub@redhat.com>
25758
25759 [BZ #3268]
25760 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25761 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25762 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25763 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25764 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25765 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25766 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25767 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25768 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25769 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25770 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25771 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25772 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25773 * math/ftestexcept.c (fetestexcept): Likewise.
25774 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25775 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25776 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25777 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25778 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25779 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25780 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25781
af325969
UD
257822010-10-11 Ulrich Drepper <drepper@gmail.com>
25783
c579b202 25784 [BZ #12107]
af325969
UD
25785 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25786 newline.
25787
67a67b95
UD
257882010-10-06 Ulrich Drepper <drepper@gmail.com>
25789
25790 * string/bug-strstr1.c: New file.
25791 * string/Makefile: Add rules to build and run bug-strstr1.
25792
5fb308bc
EB
257932010-10-05 Eric Blake <eblake@redhat.com>
25794
25795 [BZ #12092]
25796 * string/str-two-way.h (two_way_long_needle): Always clear memory
25797 when skipping input due to the shift table.
25798
45db99c7
UD
257992010-10-03 Ulrich Drepper <drepper@gmail.com>
25800
3b111893
UD
25801 [BZ #12005]
25802 * malloc/mcheck.c: Handle large requests.
25803
45db99c7
UD
25804 [BZ #12077]
25805 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25806 for strncmp and strncasecmp.
25807 * string/stratcliff.c: Add tests for strcmp and strncmp.
25808 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25809
cf7a1eb8
NI
258102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25811
25812 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25813 __set_fpscr.
25814
6484ba5e
AJ
258152010-09-30 Andreas Jaeger <aj@suse.de>
25816
25817 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25818 (CGROUP_SUPER_MAGIC): Define.
25819 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25820 Handle btrfs and cgroup file systems.
25821 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25822 Likewise.
25823
91c42559
LM
258242010-09-27 Luis Machado <luisgpm@br.ibm.com>
25825
25826 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25827 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25828
87a97932
AK
258292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25830
25831 [BZ #12067]
25832 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25833 trying to locate the ELF header.
25834
c21cc9bc
AS
258352010-09-27 Andreas Schwab <schwab@redhat.com>
25836
25837 [BZ #11611]
25838 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25839 Mask out sign-bit copies when constructing f_fsid.
25840
315970f6
PB
258412010-09-24 Petr Baudis <pasky@suse.cz>
25842
25843 * debug/stack_chk_fail_local.c: Add missing licence exception.
25844 * debug/warning-nop.c: Likewise.
25845
1ac7a2c7
JM
258462010-09-15 Joseph Myers <joseph@codesourcery.com>
25847
25848 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25849 implementing getdents64 using getdents syscall, set d_type if
25850 __ASSUME_GETDENTS32_D_TYPE.
25851
56801c50
AS
258522010-09-16 Andreas Schwab <schwab@redhat.com>
25853
25854 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25855 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25856
dda51327
UD
258572010-09-21 Ulrich Drepper <drepper@redhat.com>
25858
25859 [BZ #12037]
25860 * posix/unistd.h: Undo change of feature selection for ftruncate from
25861 2010-01-11.
25862
8ffcee4a
UD
258632010-09-20 Ulrich Drepper <drepper@redhat.com>
25864
a545ecd9 25865 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25866 detection.
25867
e24f0a8b
AS
258682010-09-20 Andreas Schwab <schwab@redhat.com>
25869
25870 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25871 fanotify_mark.
25872 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25873
7291c56f
AS
258742010-09-14 Andreas Schwab <schwab@redhat.com>
25875
25876 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25877 variables after CHECK_SP call.
25878 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25879
bc5fb037
AS
258802010-09-13 Andreas Schwab <schwab@redhat.com>
25881 Ulrich Drepper <drepper@redhat.com>
25882
25883 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25884 re-relocationg ld.so.
25885 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25886 _dl_init_paths call.
25887 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25888 here anymore.
25889
e66e7419
UD
258902010-09-14 Ulrich Drepper <drepper@redhat.com>
25891
25892 * resolv/res_init.c (__res_vinit): Count the default server we added.
25893
c044aa75
CLT
258942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25895 Ulrich Drepper <drepper@redhat.com>
25896
25897 [BZ #11968]
25898 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25899 (____longjmp_chk): Use %ebx for saving value across system call.
25900 Add unwind info.
25901
32cf4069
AS
259022010-09-06 Andreas Schwab <schwab@redhat.com>
25903
25904 * manual/Makefile: Don't mix pattern rules with normal rules.
25905
817328ee
AS
259062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25907
25908 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25909 operation.
25910 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25911 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25912 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25913 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25915 Likewise.
25916
29fddf61
UD
259172010-09-04 Ulrich Drepper <drepper@redhat.com>
25918
25919 [BZ #11979]
25920 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25921 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25922
0959ffc9
UD
259232010-09-02 Ulrich Drepper <drepper@redhat.com>
25924
25925 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25926 * sysdeps/x86_64/addmul_1.S: Likewise.
25927 * sysdeps/x86_64/lshift.S: Likewise.
25928 * sysdeps/x86_64/mul_1.S: Likewise.
25929 * sysdeps/x86_64/rshift.S: Likewise.
25930 * sysdeps/x86_64/sub_n.S: Likewise.
25931 * sysdeps/x86_64/submul_1.S: Likewise.
25932
ece29840
ST
259332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25934
0959ffc9
UD
25935 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25936 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25937 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25938 * bits/sched.h [__need_schedparam]
ece29840 25939 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25940 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25941 (__defined_schedparam): Define to 1.
ece29840
ST
25942 (__sched_param): New structure, identical to sched_param.
25943 (__need_schedparam): Undefine.
25944
e53a31fe
MF
259452010-08-31 Mike Frysinger <vapier@gentoo.org>
25946
fdc0c10d
MF
25947 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25948 (epoll_create1): Declare.
25949
e53a31fe
MF
25950 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25951
a726d796
AS
259522010-08-31 Andreas Schwab <schwab@redhat.com>
25953
25954 [BZ #7066]
25955 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25956 shifting retval into place.
25957
2f3e3dc7
UD
259582010-09-01 Ulrich Drepper <drepper@redhat.com>
25959
f2933da9
UD
25960 * nis/rpcsvc/nis.h: Update copyright notice.
25961 * nis/rpcsvc/nis.x: Likewise.
25962 * nis/rpcsvc/nis_callback.h: Likewise.
25963 * nis/rpcsvc/nis_callback.x: Likewise.
25964 * nis/rpcsvc/nis_object.x: Likewise.
25965 * nis/rpcsvc/nis_tags.h: Likewise.
25966 * nis/rpcsvc/yp.h: Likewise.
25967 * nis/rpcsvc/yp.x: Likewise.
25968 * nis/rpcsvc/ypupd.h: Likewise.
25969 * nis/yp_xdr.c: Likewise.
25970 * nis/ypupdate_xdr.c: Likewise.
25971
2f3e3dc7
UD
25972 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25973 mainly the body of pmap_getport. Add parameters to specify timeouts.
25974 (pmap_getport): Use __libc_rpc_getport.
25975 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25976 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25977 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25978
f3dcc2f9
AS
259792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25980
25981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25982 fanotify_mark.
25983
6d34eb5b
RM
259842010-08-27 Roland McGrath <roland@redhat.com>
25985
25986 * sysdeps/i386/i686/multiarch/Makefile
25987 (CFLAGS-varshift.c): New variable.
25988
9ea3de11
UD
259892010-08-27 Ulrich Drepper <drepper@redhat.com>
25990
c96d23fc
UD
25991 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25992 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25993
9ea3de11
UD
25994 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25995
25996 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25997
623aac7f
L
259982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25999
26000 * sysdeps/x86_64/strlen.S: Unroll the loop.
26001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26002 strlen-sse2 strlen-sse2-bsf.
26003 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26004 __strlen_no_bsf if bit_Slow_BSF is set.
26005 (__strlen_sse42): Removed.
26006 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26007 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26008
8b2b7715
RM
260092010-08-25 Roland McGrath <roland@redhat.com>
26010
26011 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26012 * sysdeps/x86_64/multiarch/varshift.c: New file.
26013 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26014 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26015 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26016 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26017
e73015f2
L
260182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26019
26020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26021 strlen-sse2 strlen-sse2-bsf.
26022 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26023 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26024 (__strlen_sse2): Removed.
26025 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26026 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26028 bit_Slow_BSF for Atom.
26029 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26030 (index_Slow_BSF): Define.
26031 (HAS_SLOW_BSF): Define.
26032
df24a73e
UD
260332010-08-25 Ulrich Drepper <drepper@redhat.com>
26034
26035 [BZ #10851]
26036 * resolv/res_init.c (__res_vinit): When no server address at all
26037 is given default to loopback.
26038
f2ac4868
RM
260392010-08-24 Roland McGrath <roland@redhat.com>
26040
09055553
RM
26041 * configure.in: Remove config-name.h generation.
26042 * configure: Regenerated.
26043 * config-name.in: File removed.
26044 * scripts/config-uname.sh: New file.
26045 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26046 ($(objdir)config-name.h): New target.
26047
f2ac4868
RM
26048 * sunrpc/rpc_parse.h: Avoid nested comment.
26049
73f27d5e
RH
260502010-08-24 Richard Henderson <rth@redhat.com>
26051 Ulrich Drepper <drepper@redhat.com>
26052 H.J. Lu <hongjiu.lu@intel.com>
26053
26054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26056 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26057 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26058 _mm_alignr_epi8 with _mm_loadu_si128.
26059 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26060 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26061 (__m128i_shift_right): Removed.
26062 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26063 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26064 * sysdeps/x86_64/multiarch/varshift.h: New file.
26065 * sysdeps/x86_64/multiarch/varshift.S: New file.
26066
84b9230c
MF
260672010-08-21 Mike Frysinger <vapier@gentoo.org>
26068
26069 * configure.in: Move assembler checks to before sysdep dir checking.
26070
9bbd0ddc
PB
260712010-08-20 Petr Baudis <pasky@suse.cz>
26072
26073 * LICENSES: Sync the sunrpc license.
26074
9da4bb31
UD
260752010-08-19 Ulrich Drepper <drepper@redhat.com>
26076
a7ab6ec8
UD
26077 * sunrpc/auth_des.c: Update copyright notice once again.
26078 * sunrpc/auth_none.c: Likewise.
26079 * sunrpc/auth_unix.c: Likewise.
26080 * sunrpc/authdes_prot.c: Likewise.
26081 * sunrpc/authuxprot.c: Likewise.
26082 * sunrpc/bindrsvprt.c: Likewise.
26083 * sunrpc/clnt_gen.c: Likewise.
26084 * sunrpc/clnt_perr.c: Likewise.
26085 * sunrpc/clnt_raw.c: Likewise.
26086 * sunrpc/clnt_simp.c: Likewise.
26087 * sunrpc/clnt_tcp.c: Likewise.
26088 * sunrpc/clnt_udp.c: Likewise.
26089 * sunrpc/clnt_unix.c: Likewise.
26090 * sunrpc/des_crypt.c: Likewise.
26091 * sunrpc/des_soft.c: Likewise.
26092 * sunrpc/get_myaddr.c: Likewise.
26093 * sunrpc/getrpcport.c: Likewise.
26094 * sunrpc/key_call.c: Likewise.
26095 * sunrpc/key_prot.c: Likewise.
26096 * sunrpc/openchild.c: Likewise.
26097 * sunrpc/pm_getmaps.c: Likewise.
26098 * sunrpc/pm_getport.c: Likewise.
26099 * sunrpc/pmap_clnt.c: Likewise.
26100 * sunrpc/pmap_prot.c: Likewise.
26101 * sunrpc/pmap_prot2.c: Likewise.
26102 * sunrpc/pmap_rmt.c: Likewise.
26103 * sunrpc/rpc/auth.h: Likewise.
26104 * sunrpc/rpc/auth_unix.h: Likewise.
26105 * sunrpc/rpc/clnt.h: Likewise.
26106 * sunrpc/rpc/des_crypt.h: Likewise.
26107 * sunrpc/rpc/key_prot.h: Likewise.
26108 * sunrpc/rpc/netdb.h: Likewise.
26109 * sunrpc/rpc/pmap_clnt.h: Likewise.
26110 * sunrpc/rpc/pmap_prot.h: Likewise.
26111 * sunrpc/rpc/pmap_rmt.h: Likewise.
26112 * sunrpc/rpc/rpc.h: Likewise.
26113 * sunrpc/rpc/rpc_des.h: Likewise.
26114 * sunrpc/rpc/rpc_msg.h: Likewise.
26115 * sunrpc/rpc/svc.h: Likewise.
26116 * sunrpc/rpc/svc_auth.h: Likewise.
26117 * sunrpc/rpc/types.h: Likewise.
26118 * sunrpc/rpc/xdr.h: Likewise.
26119 * sunrpc/rpc_clntout.c: Likewise.
26120 * sunrpc/rpc_cmsg.c: Likewise.
26121 * sunrpc/rpc_common.c: Likewise.
26122 * sunrpc/rpc_cout.c: Likewise.
26123 * sunrpc/rpc_dtable.c: Likewise.
26124 * sunrpc/rpc_hout.c: Likewise.
26125 * sunrpc/rpc_main.c: Likewise.
26126 * sunrpc/rpc_parse.c: Likewise.
26127 * sunrpc/rpc_parse.h: Likewise.
26128 * sunrpc/rpc_prot.c: Likewise.
26129 * sunrpc/rpc_sample.c: Likewise.
26130 * sunrpc/rpc_scan.c: Likewise.
26131 * sunrpc/rpc_scan.h: Likewise.
26132 * sunrpc/rpc_svcout.c: Likewise.
26133 * sunrpc/rpc_tblout.c: Likewise.
26134 * sunrpc/rpc_util.c: Likewise.
26135 * sunrpc/rpc_util.h: Likewise.
26136 * sunrpc/rpcinfo.c: Likewise.
26137 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26138 * sunrpc/rpcsvc/key_prot.x: Likewise.
26139 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26140 * sunrpc/rpcsvc/mount.x: Likewise.
26141 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26142 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26143 * sunrpc/rpcsvc/rex.x: Likewise.
26144 * sunrpc/rpcsvc/rstat.x: Likewise.
26145 * sunrpc/rpcsvc/rusers.x: Likewise.
26146 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26147 * sunrpc/rpcsvc/spray.x: Likewise.
26148 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26149 * sunrpc/rtime.c: Likewise.
26150 * sunrpc/svc.c: Likewise.
26151 * sunrpc/svc_auth.c: Likewise.
26152 * sunrpc/svc_authux.c: Likewise.
26153 * sunrpc/svc_raw.c: Likewise.
26154 * sunrpc/svc_run.c: Likewise.
26155 * sunrpc/svc_simple.c: Likewise.
26156 * sunrpc/svc_tcp.c: Likewise.
26157 * sunrpc/svc_udp.c: Likewise.
26158 * sunrpc/svc_unix.c: Likewise.
26159 * sunrpc/svcauth_des.c: Likewise.
26160 * sunrpc/xcrypt.c: Likewise.
26161 * sunrpc/xdr.c: Likewise.
26162 * sunrpc/xdr_array.c: Likewise.
26163 * sunrpc/xdr_float.c: Likewise.
26164 * sunrpc/xdr_mem.c: Likewise.
26165 * sunrpc/xdr_rec.c: Likewise.
26166 * sunrpc/xdr_ref.c: Likewise.
26167 * sunrpc/xdr_sizeof.c: Likewise.
26168 * sunrpc/xdr_stdio.c: Likewise.
26169
9da4bb31
UD
26170 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26171 handling.
26172
bdaa77bc
AS
261732010-08-19 Andreas Schwab <schwab@redhat.com>
26174
26175 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26176
fe2f79db
LM
261772010-08-19 Luis Machado <luisgpm@br.ibm.com>
26178
26179 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26180 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26181 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26182 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26183 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26184 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26185 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26186 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26187 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26188 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26189 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26190 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26191 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26192 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26193
b9b42ee0
AB
261942010-07-26 Anton Blanchard <anton@samba.org>
26195
26196 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26197 * malloc/arena.c (heap_trim): Likewise.
26198
1c06ba31
UD
261992010-08-16 Ulrich Drepper <drepper@redhat.com>
26200
26201 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26202 here. Not...
26203 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26204 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26205
f8392f40
L
262062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26207
26208 * sysdeps/i386/elf/Makefile: New file.
26209
3162f12e
AS
262102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26211
26212 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26213 from fanotify_init.
26214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26215 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26216
28c90b2c
UD
262172010-08-15 Ulrich Drepper <drepper@redhat.com>
26218
26219 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26220 of strncasecmp_l.
1feccb6c 26221 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26222
ca6bb004
UD
262232010-08-14 Ulrich Drepper <drepper@redhat.com>
26224
e9f82e0d
UD
26225 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26226 strncase_l-nonascii.
26227 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26228 Add strncase_l-ssse3.
26229 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26230 * sysdeps/x86_64/strcmp.S: Likewise.
26231 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26232 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26233 * sysdeps/x86_64/strncase.S: New file.
26234 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26235 * sysdeps/x86_64/strncase_l.S: New file.
26236 * string/Makefile (strop-tests): Add strncasecmp.
26237 * string/test-strncasecmp.c: New file.
26238
26239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26240 warning.
26241
ca6bb004
UD
26242 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26243 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26244
052fa7b3
AS
262452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26246
26247 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26248
962dba78
UD
262492010-08-12 Ulrich Drepper <drepper@redhat.com>
26250
26251 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26252 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26253 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26254
bebff237
AM
262552010-05-01 Alan Modra <amodra@gmail.com>
26256
26257 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26258 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26259 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26260 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26261 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26262 tidying. Don't tail-call __sigjmp_save for static lib.
26263 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26264 save location.
26265 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26266 (CALL_MCOUNT): Add eh info, and nop after bl.
26267 (TAIL_CALL_SYSCALL_ERROR): New macro.
26268 (PSEUDO_RET): Use it.
26269 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26270 Correct save location of integer regs and cr.
26271 (_dl_profile_resolve): Correct cr save location. Delete nops
26272 after bl when SHARED. Reduce cfi size a little by better
26273 placement of cfi directives.
26274 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26275 make a stack frame. Instead use parm save area as a temp.
26276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26277 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26279 Don't make a stack frame for parent, use parm save area.
26280 Increase child stack frame to 112 bytes. Don't save unused reg,
26281 and adjust reg usage. Set up cfi on error recovery and
26282 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26284 (__makecontext): Add dummy nop after jump to exit.
26285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26286 Use correct parm save area and cr save, reduce stack frame.
26287 Correct cfi for possible PSEUDO_RET frame setup.
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26289 Branch to local label emitted by PSEUDO_RET rather than
26290 __syscall_error.
26291
02637374
AS
262922010-08-12 Andreas Schwab <schwab@redhat.com>
26293
26294 [BZ #11904]
26295 * locale/programs/locale.c (print_assignment): New function.
26296 (show_locale_vars): Use it.
26297
c3e2f19b
UD
262982010-08-11 Ulrich Drepper <drepper@redhat.com>
26299
3cdaa6ad
UD
26300 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26301 field.
26302 (struct statfs64): Likewise.
26303 (_STATFS_F_FLAGS): Define.
26304 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26305 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26306 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26307 (ST_VALID): Define locally.
26308 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26309 __statvfs_getflags, use the provided value.
26310 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26311 __ASSUME_STATFS_F_FLAGS.
26312
754f7da3
UD
26313 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26314
10b3bedc
UD
26315 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26316 Add sys/fanotify.h.
26317 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26318 fanotify_mask for GLIBC_2.13.
26319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26320 fanotify_init and fanotify_mark.
26321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26322 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26323
c08fb0d7
UD
26324 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26325 Add prlimit.
26326 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26327 prlimit64 for GLIBC_2.13.
26328 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26329 prlimit64.
26330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26331 syscall.
26332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26334 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26335 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26337 add prlimit alias.
26338 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26339
15bac72b
UD
26340 [BZ #11903]
26341 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26342 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26343
c3e2f19b
UD
26344 * nss/Makefile: Add rules to build and run tst-nss-test1.
26345 * shlib-versions: Add entry for libnss_test1.
26346 * nss/nss_test1.c: New file.
26347 * nss/tst-nss-test1.c: New file.
26348
26349 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26350 (__nss_configure_lookup): Set appropriate entry in
26351 __nss_configure_lookup to true.
26352 * nss/nsswitch.h: Define enum with indeces of databases in
26353 databases and __nss_database_custom arrays. Declare
26354 __nss_database_custom.
26355 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26356 to avoid using nscd when custom rules are installed.
26357 * nss/getXXbyYY_r.c: Likewise.
26358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26359
26360 * nss/nss_files/files-parse.c: Whitespace fixes.
26361
f15ce4d8
UD
263622010-08-09 Ulrich Drepper <drepper@redhat.com>
26363
26364 [BZ #11883]
26365 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26366 * posix/fnmatch_loop.c: Likewise.
26367
d22e4cc9
AK
263682010-07-17 Andi Kleen <ak@linux.intel.com>
26369
26370 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26371 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26372 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26373 * Versions.def [GLIBC_2.13]: Add.
26374
805bc17d
UD
263752010-08-06 Ulrich Drepper <drepper@redhat.com>
26376
26377 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26378 Also fail if tpwd after pwuid call is NULL.
26379
5a42321d
ST
263802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26381
26382 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26383 when converting to ms.
26384
fd3ebeda
ST
263852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26386
26387 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26388 EOPNOTSUPP errors with ENOTTY.
26389 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26390 EOPNOTSUPP errors with ENOTTY.
26391
73507d3a
UD
263922010-07-31 Ulrich Drepper <drepper@redhat.com>
26393
26394 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26395 Add strcasecmp_l-ssse3.
26396 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26397 strcasecmp.
26398 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26399 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26400 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26401
fe36dd02
UD
264022010-07-30 Ulrich Drepper <drepper@redhat.com>
26403
66f6765a
UD
26404 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26405
42e08a54
UD
26406 * string/Makefile (strop-tests): Add strcasecmp.
26407 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26408 strcasecmp_l-nonascii.
26409 (gen-as-const-headers): Add locale-defines.sym.
26410 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26411 * sysdeps/x86_64/strcasecmp.S: New file.
26412 * sysdeps/x86_64/strcasecmp_l.S: New file.
26413 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26414 * sysdeps/x86_64/locale-defines.sym: New file.
26415 * string/test-strcasecmp.c: New file.
26416
fe36dd02
UD
26417 * string/test-strcasestr.c: Test both ends of the range of characters.
26418 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26419
48cbc0d6
RM
264202010-07-29 Roland McGrath <roland@redhat.com>
26421
76e6d6bc 26422 [BZ #11856]
48cbc0d6
RM
26423 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26424
880113d9
UD
264252010-07-27 Ulrich Drepper <drepper@redhat.com>
26426
26427 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26428 for ld.so.
26429
deb9cabb
AS
264302010-07-27 Andreas Schwab <schwab@redhat.com>
26431
26432 * manual/memory.texi (Malloc Tunable Parameters): Document
26433 M_PERTURB.
26434
1c7570ff
RM
264352010-07-26 Roland McGrath <roland@redhat.com>
26436
26437 [BZ #11840]
26438 * configure.in (-fgnu89-inline check): Set and substitute
26439 gnu89_inline, not libc_cv_gnu89_inline.
26440 * configure: Regenerated.
26441 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26442
24fb0f88
UD
264432010-07-26 Ulrich Drepper <drepper@redhat.com>
26444
26445 * string/test-strnlen.c: New file.
26446 * string/Makefile (strop-tests): Add strnlen.
26447 * string/tester.c (test_strnlen): Add a few more test cases.
26448 * string/tst-strlen.c: Better error reporting.
26449
26450 * sysdeps/x86_64/strnlen.S: New file.
26451
8e96b93a
UD
264522010-07-24 Ulrich Drepper <drepper@redhat.com>
26453
26454 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26455 lower-latency instructions.
26456
dbc676d4
UD
264572010-07-23 Ulrich Drepper <drepper@redhat.com>
26458
26459 * string/test-strcasestr.c: New file.
26460 * string/test-strstr.c: New file.
26461 * string/Makefile (strop-tests): Add strstr and strcasestr.
26462 * string/str-two-way.h: Don't undefine MAX.
26463 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26464
f6a31e0e
AS
264652010-07-21 Andreas Schwab <schwab@redhat.com>
26466
26467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26468 strcasestr-nonascii.
26469 (CFLAGS-strcasestr-nonascii.c): Define.
26470 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26471 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26472 Remove unused attribute.
26473
5dbc3b6c
RM
264742010-07-20 Roland McGrath <roland@redhat.com>
26475
26476 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26477 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26478 ld.so.cache was broken. With it, there is no way to disable dsocaps
26479 like LD_HWCAP_MASK can disable hwcaps.
26480
23d101d8
EPM
264812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26482
26483 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26484
cc9f2e47
UD
264852010-07-16 Ulrich Drepper <drepper@redhat.com>
26486
26487 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26488 call in strcasestr.
26489 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26490 __strcasestr_sse42_nonascii.
26491 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26492 strcasestr-nonascii.c.
26493 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26494
77c1b069
LM
264952010-06-15 Luis Machado <luisgpm@br.ibm.com>
26496
26497 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26498 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26499 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26500 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26501
440566c3
UD
265022010-07-09 Ulrich Drepper <drepper@redhat.com>
26503
26504 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26505 fcntl.
26506
5be9d05d
AS
265072010-07-06 Andreas Schwab <schwab@redhat.com>
26508
c30b7ee2 26509 [BZ #11577]
5be9d05d
AS
26510 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26511 dl_signal_cerror.
26512
8a492a67
UD
265132010-07-06 Ulrich Drepper <drepper@redhat.com>
26514
26515 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26516 _PC_PIPE_BUF using F_GETPIPE_SZ.
26517
713df3d5
RM
265182010-07-05 Roland McGrath <roland@redhat.com>
26519
26520 * manual/arith.texi (Rounding Functions): Fix rint description
26521 implicit in round description.
26522
702e8f14
UD
265232010-07-02 Ulrich Drepper <drepper@redhat.com>
26524
26525 * elf/Makefile: Fix linking for a few tests to make recent linker
26526 happy.
26527
52ed8be9
AS
265282010-06-30 Andreas Schwab <schwab@redhat.com>
26529
26530 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26531 $(common-objpfx)libc_nonshared.a.
26532
f47c9a11
LM
265332010-06-21 Luis Machado <luisgpm@br.ibm.com>
26534
26535 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26536 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26537 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26538 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26539 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26540 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26541 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26542 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26557 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26558 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26559 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26560 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26561 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26562 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26563 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26564 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26565 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26566 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26567 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26568 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26583
6fb8cbcb
L
265842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26585
26586 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26587 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26588 * string/memmove.c (memmove): Renamed to ...
26589 (MEMMOVE): ...this. Default to memmove.
26590 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26591 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26592 (END_CHK): Define.
26593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26594 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26595 mempcpy-ssse3-back memmove-ssse3-back.
26596 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26597 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26599 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26600 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26601 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26602 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26603 * sysdeps/x86_64/multiarch/memmove.c: New file.
26604 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26605 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26606 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26607 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26608 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26609 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26610 Define.
26611 (index_Fast_Copy_Backward): Define.
26612 (HAS_ARCH_FEATURE): Define.
26613 (HAS_FAST_REP_STRING): Define.
26614 (HAS_FAST_COPY_BACKWARD): Define.
26615
4e733bac 266162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26617
26618 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26619 Restore proper fallback handling.
26620
63c4ed22
UD
266212010-06-19 Ulrich Drepper <drepper@redhat.com>
26622
ac2b484c
UD
26623 [BZ #11701]
26624 * posix/group_member.c (__group_member): Correct checking loop.
26625
63c4ed22
UD
26626 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26627 OOM in getpwuid_r correctly. Return error number when the caller
26628 should return, otherwise -1.
26629 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26630 call returning > 0 value.
26631 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26632
765ade4b
AS
266332010-06-07 Andreas Schwab <schwab@redhat.com>
26634
26635 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26636 libc_nonshared.a from targets in modules-names.
26637
80da2e09
KS
266382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26639
26640 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26641 requires it.
26642
158db122
LM
266432010-06-10 Luis Machado <luisgpm@br.ibm.com>
26644
26645 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26646 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26649
caa78cf8
AS
266502010-06-02 Andreas Schwab <schwab@redhat.com>
26651
26652 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26653
b2ef2c01
UD
266542010-06-14 Ulrich Drepper <drepper@redhat.com>
26655
26656 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26657 and F_GETPIPE_SZ.
26658 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26662 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26663 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26664
fbd643b6
RM
266652010-06-14 Roland McGrath <roland@redhat.com>
26666
26667 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26668
f32f2869
JJ
266692010-06-07 Jakub Jelinek <jakub@redhat.com>
26670
26671 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26672 __REDIRECT followed by __THROW.
26673 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26674 * posix/getopt.h (getopt): Likewise.
26675
2a50c078
EPM
266762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26677
26678 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26679 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26680 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26681 in AT_FLAGS.
26682 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26683 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26684
eb5ad2eb
LM
266852010-05-28 Luis Machado <luisgpm@br.ibm.com>
26686
26687 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26688
3c88fe1e
L
266892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26690
26691 [BZ #11640]
26692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26693 Properly check family and model.
26694
d2f73151
TY
266952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26696
26697 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26698
ebd2e13d
LM
266992010-05-24 Luis Machado <luisgpm@br.ibm.com>
26700
26701 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26702
b32b8b45
UD
267032010-05-21 Ulrich Drepper <drepper@redhat.com>
26704
26705 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26706 symbol reference.
26707
9acbe24d
AS
267082010-05-19 Andreas Schwab <schwab@redhat.com>
26709
26710 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26711 symbol reference.
26712
f0ccf6ea
AS
267132010-05-21 Andreas Schwab <schwab@redhat.com>
26714
3d04ff3a
AS
26715 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26716 and internal_recvmmsg.
26717 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26718 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26719 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26720 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26721
f0ccf6ea
AS
26722 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26723 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26724 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26725
5b08ac57
AS
267262010-05-20 Andreas Schwab <schwab@redhat.com>
26727
26728 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26729
4828935d
LM
267302010-05-17 Luis Machado <luisgpm@br.ibm.com>
26731
26732 POWER7 optimizations.
26733 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26734 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26735
373d545e
UD
267362010-05-19 Ulrich Drepper <drepper@redhat.com>
26737
26738 * version.h: Update for 2.13 development version.
26739
21a2b1ae
AS
267402010-05-12 Andrew Stubbs <ams@codesourcery.com>
26741
26742 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26743 exceptions. Return 0.
26744
3f7dcb2b
RM
267452010-05-07 Roland McGrath <roland@redhat.com>
26746
26747 * elf/ldconfig.c (main): Add a const.
26748
5f24d53a 267492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26750
a160f8d8
UD
26751 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26752 (args_options): Add no-idn option.
26753 (ahosts_keys_int): Add idn_flags to ai_flags.
26754 (parse_option): Handle 'i' option to clear idn_flags.
26755
5f24d53a
UD
26756 * malloc/malloc.c (_int_free): Possible race in the most recently
26757 added check. Only act on the data if no current modification
26758 happened.
265bb1ce
UD
26759
26760See ChangeLog.17 for earlier changes.
This page took 3.424587 seconds and 5 git commands to generate.